QuadEM: EPICS Software for Fast Electrometers for Beam Position Monitors Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.

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

Status of the LANSCE Upgrade LA-UR Eric Bjorklund.
AreaDetector for ADCs How to deal with 1D data Tom Cobb.
Mark Heron Diamond Light Source Oct 2007 EPICS EPICS Interface to the Libera Electron Beam Position Monitor.
Data Acquisition Risanuri Hidayat.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct , Geneva, Switzerland.
CMOS VLSIAnalog DesignSlide 1 CMOS VLSI Analog Design.
Multichannel Analyzers A multichannel pulse-height analyzer (MCA) consists of an ADC, a histogramming memory, and a visual display of the histogram recorded.
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.
High-Intensity Focused Ultrasound Therapy Array May1005 Alex Apel Stephen Rashid Justin Robinson.
EPICS Meeting, APS, June 14 th 2006 MCS-8 The 8 axes motion control system Rok Šabjan
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)
Development of EPICS Embedded Image Processing System Takashi Obina, Jun-ichi Odagiri, Ryota Takai KEK, Accelerator Laboratory.
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
USB DAQ Product USB DAQ Product Κώστας Γρηγορίου Sales Engineer Ιούνιος 26, 2007.
Data Acquisition Data acquisition (DAQ) basics Connecting Signals Simple DAQ application Computer DAQ Device Terminal Block Cable Sensors.
CRIO as a hardware platform for Machine Protection. W. Blokland S. Zhukov.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Data Acquisition Systems
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
Conversion to EPICS R3.14 Mark Rivers. New capabilities Progress in converting synApps/GSECARS Outstanding issues Work to be done Outline.
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
Digitization When data acquisition hardware receives an analog signal it converts it to a voltage. An A/D (analog-to-digital) converter then digitizes.
Quaesta Instruments Tucson Arizona Founded in 2008 Staff: 10 Electronic devices: radiation detection environmental monitoring data logging telemetry Off-the-shelf.
January 22, 1999SciFi L1 Trigger Review 1 Analog Hardware Front-end Board (CTT_FE) –Transmit (and split) the VLPC signal to the Multi-chip Modules –Discriminate.
ArgonneBeamTest_ ppt1 Argonne Beam Test preparation Tsunefumi Mizuno Tuneyoshi Kamae
The microIOC Family Gasper Pajor EPICS Collaboration Meeting Argonne National Laboratory June 2006.
CEA DSM Irfu Spiral2 Injector diagnostics acquisition based on new hardware Françoise Gougnaud CEA Saclay IRFU - Françoise Gougnaud– Spiral2 Injector Diagnostics.
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.
UF –PNPI HV system status August 2008 Sergey Volkov Nikolai Bondar PNPI.
Acquisition Crate Design BI Technical Board 26 August 2011 Beam Loss Monitoring Section William Vigano’ 26 August
Fast Fault Finder A Machine Protection Component.
Update on final LAV front-end M. Raggi, T. Spadaro, P. Valente & G. Corradi, C. Paglia, D. Tagnani.
Motor drivers for asyn motor device support Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric.
An EPICS solution for Galil products that can provide a comprehensive, and high performance motor and PLC control system for use at synchrotrons and other.
EPICS Detector and Feedback Software Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
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.
Diagnostics and Optimization Procedures for Beamline Control at BESSY A. Balzer, P. Bischoff, R. Follath, D. Herrendörfer, G. Reichardt, P. Stange.
CEA DSM Irfu SIS LDISC 18/04/2012 Paul Lotrus 1 Control Command Overview GBAR Collaboration Meeting Paul Lotrus CEA/DSM/Irfu/SIS.
Controls Test Stand Test stand proposal document review - Dayle. The activities can be prioritized according to which measurements we need to do first.
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
S. Smith LCLS Facility Advisory October 12, Beam Position Monitors Facility Advisory Committee October 12, 2006.
Sampling. Introduction  Sampling refers to the process of converting a continuous, analog signal to discrete digital numbers.
Microprocessors Data Converters Analog to Digital Converters (ADC)
Setup for automated measurements (parametrization) of ASD2 chip
Microcontroller Applications
BCTW calibration status and future
EPICS MCA and Canberra Support
Electronics requirements for special diagnostics for the XFEL
EPICS Detector and Feedback Software
Commodity Flash ADC-FPGA Based Electronics for an
BESIII EMC electronics
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Power Supply Control for BEPCII
Control Systems for the APTM and GRID
quadEM: New Beam Position Monitor & Electrometer Hardware and Software
GeoSoilEnviroCARS The University of Chicago
Red Pitaya with EPICS Andraz Pozar EPICS Collaboration Meeting
Presentation transcript:

quadEM: EPICS Software for Fast Electrometers for Beam Position Monitors Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago

Outline Hardware – APS Electrometer (Steve Ross design) (old) – AH401 series from Trieste and CaenEls (new) – AH501 series from Trieste and CaenEls (new) EPICS software (complete rewrite) – Averaging using areaDetector NDPluginStats – Fast Time series – Fast feedback Demonstration with AH401B

Hardware: Common Features 4-channel electrometers for measuring currents in the pA to mA range. Main application reading x-ray beam positions using 4 photodiodes or split ion chambers. Compact electrometer box, can be placed close to the position monitor hardware – Keep signal leads short! Outputs digital data at high-speed (~1-10 kHz) over a remote interface (Ethernet or dedicated fiber) Digital interface allows reliable data transmission over long distances, for example from a BPM in an experiment station to a VME crate in the FOE, where feedback to a monochromator crystal can be implemented. – No analog signal runs over long distances! Replaces: – 4 SRS570 current amplifiers – 4 ADCs, or 4 V/F converters and 4 scaler channels

APS Electrometer (Steve Ross) Based on Texas Instruments Inc. (formerly Burr Brown Inc.) ddc112 chip Texas Instruments Inc. (formerly Burr Brown Inc.) ddc112 Selectable integration capacitors ( pF, plus external=200pF-5000pF) Selectable integration time ( ms) 2 separate channels (ping/pong). – One is integrating while other is reading out – Can each have separate external capacitors, i.e. gain) 20-bit resolution Maximum update rate 815 Hz. Remote box plus pair of VME cards No direct VME interrupts – TTL pulse on conversion can be used with Ip-Unidig for interrupt support.

APS Electrometer Hardware Remote ADC unit and battery VME boards

ADCMOD2 quad electrometer VME card1 Fiber connection quadEM IP-Unidig digital I/O card with interrupts 4 photodiodes waveform record (time series) EPID record (fast feedback) VME card2 (PASSTH) ai record (averaged inputs) P2 connection Hardware Software wire connection VME Crate System Architecture

AH401 Series Based on selectable integration capacitor and integration time, like APS meter Ethernet interface, UDP or TCP Integration time to s Capacitance (charge) 50pC pC Ping-pong: use only 1 ADC channel, reduce noise, reduce bandwidth 2X Trigger input: convert only on hardware trigger

AH401 Series

AH501 Series Based on transconductance amplifier 3 ranges: mA, +-2.5uA, +-2.5nA 16-bit or 24-bit data Programmable bias power supply (30V) Voltage monitor output proportional to current Programmable number of channels (1,2,4) Ethernet interface, UDP or TCP Update time: 38.4 µsec * numChannels (*2 for 24-bits): – 6.5 kHz for 4-channels, 16-bits – 3.2 kHz for 4-channels, 24-bits – 26.2 kHz for 1 channel, 16-bits – Data rates can burden slow VME crates – need to average

AH501 Series

EPICS Software – quadEM Driver

EPICS Software – Common Controls Acquire – Start and stop acquisition Range (sensitivity) Reset (allows power-cycling device without rebooting IOC) Readings to Average (software) – Reduces CPU time when bandwidth is not needed – Reduces number of asynOctet read operations on AH401 and AH501 series Current offset (software) Position offset (software) Position scale (software)

EPICS Software – Hardware Specific Controls Integration Time (APS_EM, AH401) PingPong (APS_EM, AH401) Number of channels (AH501) Resolution (16 or 24 bits) (AH501) External Trigger (AH401, AH501) Bias Supply Enable and Voltage (AH501C, AH501D)

EPICS Software – areaDetector plugins 11 values per time point (4 currents, A-B, C-D, A+B, C+D, A+B+C+D, A-B/A+B, C-D/C+D The samples for the AveragingTime are put in 11 NDArrays (Nsamples) These arrays are used for callbacks to NDPlugStats They are also packaged into [11,Nsamples] array used for callbacks to file-saving plugins Individual points are used for callbacks to EPID record for fast feedback and Individual points are used for callbacks to drvFastSweep in MCA module for time-series data.

QECommonPlugins

NDStats for current 1

netCDF file plugin Stream BPM data to disk for 26 kHz readings

EPICS Software – Time Series Uses drvFastSweep driver in mca module – quadEM driver calls fast sweep driver each time there is a new reading (up to 26 kHz). Fast sweep driver puts point in a time series in waveform records – Fast sweep dwell time is constrained to be an integer multiple N of the quadEM sample time – If N>1 then fast sweep driver does averaging SNL program does: – Processing each waveform record when acquisition completes or on periodic read – Computing FFTs (if enabled) – Autorestarting fast sweep (if enabled)

EPICS Software – Time Series

EPICS Software – FFT Power Spectra

Demo

GSECARS Quad Foil Beam Position Monitor - Cartoon

GSECARS Quad Foil Beam Position Monitor – Solid Works Design

EPID record: An Enhanced EPICS Feedback Record Many applications for feedback on x-ray beamlines –Beam position stabilization from monochromators and mirrors –Temperature control –Pressure control Dedicated feedback controllers are expensive and relatively inflexible An EPICS record for performing feedback –Enhanced Proportional Integral Derivative (EPID) –Flexible and fast feedback under EPICS

“Slow” Feedback The EPID record has two kinds of device support. “Soft” device support allows the readback input and control output to be any EPICS process variables. –Very flexible –Any type of device can be used for input (analog to digital converter, RS-232, GPIB, scaler, etc.) –Any type of device can be used for output (digital to analog converter, RS-232, GPIB, etc.) –Can be reconfigured on the fly, changing the input and output process variables, feedback coefficients, etc. –If input is periodically scanned then limited to standard EPICS scan rates, typically 10 Hz maximum –If input is I/O Intr scanned then can run much faster, 100Hz or more –Overhead of record processing ultimately limits speed –Sufficient for many applications

“Fast” Feedback Input from any asyn driver that supports asynFloat64 with callbacks (e.g. callback on interrupt), e.g. quadEM driver Output to any driver that supports asynFloat64. Very fast –Up to 10 kHz feedback rate Feedback rate is constrained to be an integer multiple N of device sampling time –If N>1 then averaging is done Feedback coefficients and feedback rate be reconfigured on the fly Record does not process each time feedback is performed –Very low overhead EPID record is typically processed periodially at 10Hz to provide snapshots of the feedback process

“Fast” Feedback

Example Application: Monochromator Second Crystal Stabilization

Example Application: Monochromator Position Frequency Spectrum

Example Application: Monochromator Second Crystal Stabilization Mono energy change APS top-up injection

Conclusions Fast electrometers permit: – High-frequency diagnostics of beam motion – High-frequency feedback to compensate for beam motion (or deliberate steering) EPICS quadEM software is part of synApps – Home page: – Documentation: – Subversion repository Thanks for your attention!