Author: Olsen, R.H.
Paper Title Page
MOPHA045 A New Simulation Stucture to Improve Software Dependability in Collider-Accelerator Control Systems 301
 
  • Y. Gao, T.G. Robertazzi
    Stony Brook University, Stony Brook, New York, USA
  • K.A. Brown, J. Morris, R.H. Olsen
    BNL, Upton, New York, USA
 
  In this work, we propose a new simulation framework aiming to improve the robustness of the control system. It focuses on enhancing the reliability of controls ADO codes by running user-customized testing. The new simulation architecture has two independent parts; together they cover a large amount of ADOs frequently used by developers. The first part of the simulation framework focuses on testing ADOs with GPIB connections to devices. It consists of several function blocks and has a switch mechanism which enables users to conveniently turn on and off the simulation mode without changing the ADO codes. Moreover, it contains a special module which automates testing on ADO codes. Testing results are summarized and presented to users for codes analysis. The second part of the framework adopts a totally different structure. It simulates a different type of interface. Specifically, it focuses on testing ADOs with Ethernet connections to devices. It is based on a powerful networking engine called Twisted, which is an event-driven network programming framework developed by the Twisted Matrix Labs. The simulation framework can handle multiple types of devices at the same time.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA045  
About • paper received ※ 27 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA046 A New Simulation Timing System for Software Testing in Collider-Accelerator Control Systems 307
 
  • Y. Gao, T.G. Robertazzi
    Stony Brook University, Stony Brook, New York, USA
  • K.A. Brown, M. Harvey, J. Morris, R.H. Olsen
    BNL, Upton, New York, USA
 
  Particle accelerators need a timing mechanism to properly accelerate the beam from its source to its destination. The synchronization among accelerator devices is important, which is accomplished by a distribution of timing signals. Devices which require their times synchronized to the acceleration cycle are connected to timelines. Timing signals are sent out along the timelines in the form of digital codes. Correspondingly, devices in the complex are equipped with timeline decoders, which allow devices to extract timing signals appropriately. In this work, a new simulation architecture is introduced which can generate user-specific timing events for software testing in the control systems.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA046  
About • paper received ※ 27 September 2019       paper accepted ※ 08 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUCPR06 Fast Interactive Python-based Analysis of Streamed Images 824
 
  • A. Sukhanov, W. Fu, J.P. Jamilkowski, R.H. Olsen
    BNL, Upton, New York, USA
 
  Funding: Work supported by Brookhaven Science Associates, LLC under Contract No. DE-SC0012704 with the U.S. Department of Energy.
This paper reports on development of a general purpose image analysis application, tailored for beam profile monitor cameras of RHIC Collider-Accelerator complex. ImageViewer is pure Python application, based on PyQtGraph and SciPy packages. It accepts image stream from a RHIC image manager (optionally from an EPICS areaDetector driver, or from the file system). The standard analysis includes recognition of connected objects; for each object the parameters of a fitted ellipsoid (position, axes and tilt angle) are calculated using 2nd-order image moments, the parameters then corrected using gaussian fit of the object and a surrounding background. Other features supported: saving, image rotation, region of interest, projections, subtraction of a reference image, multi-frame averaging, pixel to millimeter calibration. Playback feature allows for fast browsing and cleanup of the saved images. User add-ons can be added dynamically as included modules. Each camera of the RHIC complex is equipped with a server (grahic-less) version of this application, providing the same analysis and publishing calculated parameters to RHIC Controls Architecture.
 
slides icon Slides TUCPR06 [0.908 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-TUCPR06  
About • paper received ※ 24 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)