ANSTO is hosting the autumn, or in our case spring, EPICS Collaboration Meeting. The meeting will take place at The Australian Synchrotron in the suburbs of Melbourne, Australia.
There are some interesting events right before and after the main conference. For details, please see the Accompanying Events page.
Please keep an eye on the Event Updates page accessible from the menu on the left.
We've got a Slack Channel for the event: epicscollabmeeting.slack.com
Join here
Latecomers please go to reception
Topics to be covered:
Other presentations related to timing and/or open hardware are welcome and as well as suggestions on topics to be discussed.
Topics to be covered:
Other presentations related to timing and/or open hardware are welcome and as well as suggestions on topics to b
This satellite meeting will be hosted by Ralph Lange (ITER) and Bryce Karnaghan (Australian Synchrotron)
The meeting will discuss the following topics:-
This satellite meeting will be hosted by Ralph Lange (ITER) and Bryce Karnaghan (Australian Synchrotron)
The meeting will discuss the following topics:-
Latecomers please go to reception
This workshop is intended to introduce new users to PyDM. It will first cover the basics of making new drag-and-drop displays in Qt Designer, then progressively enhance the basic display with the "widget rules" system, and finally converting it into a Python code-based display.
This workshop is intended to introduce new users to PyDM. It will first cover the basics of making new drag-and-drop displays in Qt Designer, then progressively enhance the basic display with the "widget rules" system, and finally converting it into a Python code-based display.
This workshop will cover:
a) downloading epicsQt from git and building it.
b) using designer and an overview of the available epics Qt widgets
c) running qegui
d) outline of building own plugin.
This workshop will cover:
a) downloading epicsQt from git and building it.
b) using designer and an overview of the available epics Qt widgets
c) running qegui
d) outline of building own plugin.
Latecomers please go to reception
In this talk I will provide a brief overview of the exciting program (“BR–GHT”) for building new beamlines at ANSTO/Australian Synchrotron. I will then describe key aspects of Micro-Computed Tomography (MCT), one of the first two new beamlines. These will include the current status, aspects of the fundamental design, application areas being targeted, and future plans. The challenges and opportunities associated with innovative experiment design, motion control, and data acquisition/processing/analysis will be briefly addressed.
We are presenting and overview of the current status of our observatories, specifically looking at the monitoring and control software stack.
We will show how EPICS integrates into our systems and what the current state and future plans are.
Within the ITER project, 35 nations are collaborating to build the world's largest fusion facility in the South of France. Most contributions are in-kind - integration of more than 170 plant systems will be the main challenge when building the control system, which is using CODAC Core System, based on RedHat Enterprise Linux, EPICS and ITER specific tools.
An Eiger 16M detector has been integrated with a new goniometer on the micromolecular beamline at the Australian Synchrotron. The Eiger detector is configured and controlled through EPICS areaDetector. The goniometer is driven using a linear servo amplifier to provide the smoothest possible motion. An oscillation program that coordinates the rotation and shutter has been written to expose user samples. A hardware trigger is provided to the Eiger 16M by the motor control system. Control of the Eiger 16M cover, and monitoring of the necessary N2 supply is achieved by PLC. Sample exposure time has dropped from an average of 15 minutes using the ADSC 335r, down to 1 minute on the Eiger 16M, thereby significantly increasing the science output of the beamline.
As data rates and the need for multi-modal measurements increase so do the requirements for automated collection and curation of the associated meta-data. At NSLS-II we begun to developed a suite of tools for high-level data acquisition and management to address this need. This talk is an overview of the architecture, components in the system: caproto, ophyd, bluesky, and databroker. These parts each work as stand-alone libraries but are co-designed to work seamlessly together via the Event Model.
This will cover the details of the architecture and abstractions of ophyd and bluesky. Describing how they interact with the underlying control system and down-stream data processing and analysis environments. The interfaces between the layers is what enables these tools to work together in a coherent way while still be usable as stand-alone libraries. This design also allows the individual layers to be swapped out to address local needs without compromising the coherence of the complete system.
As the number of variables and states of devices grow, implementing, debugging and updating device support EPICS layer becomes a costly and error prone process. In the Australian Synchrotron's XFM beamline, EPICS mapping databases are used to interface hundreds of device variables to high level experiment control scripts.
Using a generic approach, we have developed some toolsets to directly construct the EPICS templates from the state-parameter lists without using subscription files.
Some special control PV's are implemented to enable/disble get and set functions at runtime, for subsets of parameters. This approach is used for implementation of our in-house designed Rascan motion system, as well as for two detectors developed by CSIRO and XIA/Southern Innovation. The approach is proven to be efficient for both deployment and maintenance.
Samples for PD are often in the form of capillaries filled with randomly arranged powders. For best results these capillaries have to be arranged so that they spin in the centre of the X-Ray beam. Because of the detector being arranged in a vertical strip, the capillary is mounted on a horizontal axis. The capillaries are mounted in a not-particularly well aligned state to begin with and a solution involving a small spinning goniometer and image processing is used to re-align it. We are currently in the third implementation of this idea and this talk is to present some details on the evolution and lessons learned in the development process.
Experimental endstations often have large mechanical components that can have complex
motion control requirements.
The CHX (Coherent Hard X-ray Scattering) beamline at NSLS-II has a long SAXS
table with six axes of motion. The table consists of two separate sections, which can be
operated independently or in a combined mode. The table can rotate around the sample
position and translate in the direction of the scattered beam. Rotations require up to four
motors to be coordinated. Equipment and personnel protection interlocks are included in
the control system.
The SIX (Soft Inelastic X-ray Scattering) beamline at NSLS-II has a 15 m long spectrometer
arm that can rotate around the sample through an arc of 120 degrees. Rotation of the
spectrometer arm requires coordination of two motors and integration with an equipment
control PLC. Equipment and personnel protection systems are integrated with the motion
control.
These motion applications are implemented in Delta Tau Turbo PMAC motion controllers. Personnel safety interlocks are implemented in an Allen Bradley Guard Master configurable safety relay. Operation and status of the motion systems are integrated using EPICS and CS-Studio.
The construction of at least eight new beamlines at the Australian Synchrotron over the next five years requires a new approach to developing beamline controllers. This talk presents a standard controls architecture proposed for future beamlines and the processes used to define this architecture.
The European Spallation Source has commenced operation of the ion source, the ?rst accelerator component. Construction, equipment delivery, control system development, and commissioning of the subsequent accelerator sections and the target is ongoing. In parallel, in-kind partners are designing, building, and commissioning a number of experimental instruments that are expected be ready for operation when neutrons are available.
A suite of EPICS services will be used at ESS, including CS-Studio, ChannelFinder, BEAST, Archive Appliance, and MASAR.
ESS is involved with ongoing EPICS developments, including EPICS 7 and CS-Studio.
A new EPICS build system is being developed to simplify EPICS IOC development and
deployment.
Scanning Transmission Xray Microscopy (STXM) is a method used to create spectral images of a wide range of samples. STXM microscopes have been a staple in spectromicroscopy for nearly 30 years, and as such has seen many innovations of that time span. The heart of the technique is the use of software to control the numerous devices that work in coordination with each other to produce a wide range of spectral images. Over the last 4 years the CLS has developed a STXM data collection software called pySTXM, that is focused on the experiment as well as user efficiency. The GUI was implemented in Python using Qt as the application framework, and all device control as well as the scanning engine were implemented in EPICS. Some of the design goals of pySTXM include leveraging the growing knowledge of python in the greater scientific community, placing equal importance on the ability to scale and maintain the software while at the same time presenting a powerful yet friendly GUI regardless of the experience level of the user, and minimizing or remove dependencies on licensed and obsolete third party software. There has been interest from several European labs in the user interface with the desire to integrate it with their (non EPICS) control systems. We will describe the overall architecture and motivations for the design choices made as well as present some of the more unique aspects of the user interface that have garnered the attention from other facilities.
PyAcq is a Python-based data acquisition and visualization platform under active development for the BioXAS-Imaging Beamline at the Canadian Light Source. PyAcq consists of several separate components. A pure Python EPICS-aware server fetches queued scans, runs them, and writes collected data to HDF5 files. Native EPICS applications provide the server with SSCAN records for step scans, hardware driven fast scans, and a beamline configuration wrapper. A pure Python client (GUI), decoupled from EPICS, connects to the server. The client is used to configure scans, queue them, and visualize results. The user can dynamically adjust MCA ROIs, input math functions, and visualize the effect on both running and completed scans. Multiple windows allow different parameter combinations with the same or different scans to be visualized simultaneously. Multiple clients can connect to the server simultaneously. Finally, the client can run in standalone mode for visualizing completed scans. Users can take a copy of the client home with them to immediately visualize their data on Windows, Linux, or MacOS platforms using the same user interface with which it was collected.
An EPICS solution for EPSON 4-6 axis robots, that can be used to integrate user defined applications, has been written. The solution consists of a robot network server, an EPICS database that uses streamDevice, and a set of screens. The network server is designed to accomplish multiple tasks simultaneously, and therefore provides significant enhancements over EPSON network servers. Additionally EPSON force sensing has been replaced with higher performing software. The macromolecular, micromolecular, and powder diffraction beamlines at the Australian Synchrotron use robotic sample mounters that have been built on top of the presented EPICS solution.
SAXS/WAXS beamline is currently using a Pilatus2-1M in-air detector and is fully optimised to support in-air detection. Its age and mechanical implosion of the vacuum window are two modes of potential failures that can bring the whole beamline down for several months. To maintain the highest level of availability for users and to overcome the inherent technical limitations of in-air detectors, a new Pilatus3 2M detector and dedicated in-vacuum end-station system will be used. That will increase the detection efficiency significantly.
A new vacuum system including pumps (roughing, backing and 2 turbo pumps), new combined micro Pirani/Piezo vacuum gauges and vacuum control valves will take care of the vacuum in the end-station, sample chamber and nose cone. Existing EPS PLC will control this vacuum system via a new remote I/O island. Related IOC database and EPICS GUIs will be updated and a new GUI will be developed for the new vacuum system.
We conducted a complete risk analysis on this project and found following safety risks that should be mitigated using safety PLCs.
A 250mm custom-made gate valve can be exposed in several cases and likely lead to serious injuries. To mitigate that risk, the existing Beamline PSS, interlocked to the hutch search state, will control gate valve actuation. Safety vacuum switches on upstream and downstream sides of the valve will ensure that the valve is closed. In addition, a safety valve on the compressed air path will isolate the gate valve whenever someone is in the hutch to make sure that the valve will not move.
In-vacuum detector motion (in beam direction) at 80-100mm/s will be accessible if the vacuum vessel is open and it can cause permanent disability. Since the motion controller does not have Safe Torque Off capability, we will modify that to be able to remove the power from motion drive amplifier via safety rated relays. Existing beamline PSS will cut the power when there is a safety risk.
We will present a migration of FZJ COSY (COoler SYnchrotron) controls to EPICS. COSY is the machine built in 90's, with in house CS based on TCP-IP ASCII communication. In pursuit of JEDI experiment the COSY team wants to improve the accelerator performance and ultimately centralize all controls for ease of operation. That is the reason, they decided to migrate to EPICS based control system. Cosylab is complementing the COSY team through staged upgrade approach and provides implementation of the COSY team ideas.
The current Personnel Safety System (PSS) at the Australian Synchrotron has reached its End of Life. Most of the PSS hardware and software is no longer available, supported or repairable. This would affect the availability of the machine and beamlines for experiments.
This project aims to reduce the risk of a facility wide unplanned shutdown - resulting from a fault in the Machine PSS system by executing an upgrade/ replacement of the existing PSS PLC hardware and software platform in a planned manner.
This upgrade will also deploy all the PSS related hardware and software for new front ends. This will make possible for new beamlines/frontends to be integrated into the Machine PSS, accommodating BRIGHT projects.
The project has been awarded to a system integrator and the design stage is under way. Major installations is scheduled for Dec 2019 followed by SAT, validation and handover in Jan 2020.
The new PSS will be based on Siemens safety PLCs and PROFISafe remote I/O system. The same technology will be used for new BRIGHT beamlines' PSS. One of the main advantages of the new system is the ability to simulate the safety application code that allows us to fully test the safety functions and minimise the commissioning issues.
A consistent set of standards for motion control implementation is important for allowing a
facility to efficiently develop, implement, and maintain the motion control systems. Standards that should be considered include:
Well-defined standards can be used both for internal development of motion control applications as well as by vendors delivering partial or complete control systems.
A portable, small factor, affordable, control system with NSLS2 EPICS Debian Jessie distribution, areaDetector-3-3-1 with EPICS7 PVA, bluesky is available for community via system image for UDOO x86 Ultra. $400 hardware and several hours to set up.
Instructions are @ https://oksanagit.github.io/babyIOC/
One of the principal advantages of virtualization is the ease of which new virtual machines can be commissioned and deployed. This can also lead to rapid and undocumented growth of Test/Dev VMs which, unless properly managed, can contend for resources with Production VMs.
This problem was addressed at the Australian Synchrotron by establishing two seperate VMware clusters and applying permissions to govern who can create VMs on the test and production clusters and a criteria for migrating VMs from Test to Production.
In this way the Australian Synchrotron retained the freedom for staff to rapidly create VMs while ensuring that production critical VMs are controlled and do not have to contend for resources with test and development VMs.
What the EPICS Core Developers group has been up to recently, and our plans for future releases of EPICS Base.
First announced last October in Barcelona, a new website for the EPICS community has been created. The new site uses a content-management system (WordPress with various plugins) making it possible for many people to contribute. A review mechanism is in place so that content and style of the site can be kept consistent and under control. Existing content from the old site has been transferred or linked.
The stage has been set: now we need YOU to keep the website alive, fresh and up to date!
I will present the current thinking of the EPICS council, the various collaboration areas we are exploring at the facility level - Membership, Web pages, training and resource direction. For futures.
An update on the latest developments in control system studio and phoebus.
EPICS 7 libcom for RTEMS 5
An introduction to the features and functionality of the epics core java libraries.
We will present our latest progress and status update of database applications for the APS-U.
The BRIGHT programme at the Australian Synchrotron will deliver at least eight new beamlines over the next 5 years. The control systems for all of these will be designed and developed in house. To make this possible to produce the number of controllers involved with limited resources a process has been developed to create individual beamline controllers from a master template. This talk describes this process and the work done to date to implement the model.
We develop the archive system for beam injection information. It records the injected current to SuperKEKB accelerator main ring for every injected pulse. The system determined the injected current by comparing the bunch current monitor data between before and after injection. This service is realized with the precisely synchronized control by the Event Timing System.
This talk describes the deployment of EPICS IOCs on the SAXS/WAXS beamline at the Australian Synchrotron using containerisation via Docker. These IOCs cover a wide gamut of systems, most notably Motor Controls. The Docker deployment has been designed to enable easy service management, and the reuse of container images through injection of substitutions files and environment variables at runtime.
Other advantages of the Docker infrastructure is increased uptime via Docker Swarm, and significantly improved description of beamline systems through Dockerfiles and Compose Files.
Introduction into how EPICS database records are automatically generated from XML mark up in source code files in the ASKAP project.
In a cooperation between HZB/BESSY II and ITER, a Device Support for the OPC UA industrial SCADA protocol is under development. Goals, status and roadmap will be presented.
Introduction of strategic approach for APSU high-level application software development and deployment environment.
We present a new EPICS channel archiver system which is being developed at LANSCE of Los Alamos National Laboratory. Different from the legacy archiver system, this system is built on InfluxDB database and Plotly visualization toolkits. InfluxDB is an open-source time series database system and provides a SQL-like language for fast storage and retrieval of time series data. By replacing the old archiving engine and index file with InfluxDB, we have a more robust, compact and stable archiving server. On a client side, we intro- duce a new implementation combined with asynchronous programming and multithreaded programming. We also describe a web based archiver configuration system which is asso- cated with our current IRMIS system. To visualize the data stored, we use Javascript Plotly graphing library, another open souce toolkits for time series data, to build front-end pages. Finally, we propose some ideas to integrate basic data statistical analysis into this system.
A brief overview of TANGO (http://tango-controls.org) from an EPICS (mostly V3) view. I will mention commonalities and some contrasts.
Caproto is a implementation of the EPICS Channel Access protocol for distributed hardware control in pure Python with a “sans-I/O” architecture.
A brief presentation on the state of PyDM (Python Display Manager), the new functionality that has been added in the last year of development, and the features targeted for release in 2019.
European Spallation Source (ESS) selected Linde Kryotechnik to deliver a large and complex cryoplant. For ESS it was important that the integration into EPICS is done in a way consistent with other subsystems. Cosylab was able to provide the missing link between cryoplant supplier and ESS, and thus adapt the industrial solution to the custom requirements of the ESS EPICS environment.
Sample visualization and alignment for ESS experimental setups requires
knowledge of the pixel size of the imaged sample. Two cameras placed at 90
degrees to each other are used to obtain three dimensional position information
of the sample and sample features. A calibration target with features of known
dimensions is placed at the sample position and images captured on the two
cameras. Using image processing routines from the OpenCV library in an
areaDetector plugin, the features are identified in the image, the image
corrected for any rotation of the calibration target, and the pixel location of
the feature corners calculated.
Summary of detectors I have been involved with at the AS, including the detectors for the Breast CT Imaging project.
To support the evolution towards standard control systems at the Australian Synchrotron controllers for all future beamlines will be developed in-house, even though the beamlines themselves will be constructed by external vendors. This talk presents a collaborative model that has been developed to integrate in-house control systems with vendor supplied equipment.
The Australian Synchrotron, is one of Australia’s most important pieces of research infrastructure. After more than 10 years of operation,
the beamlines at the Australian Synchrotron are well established
and the demand for automation of research tasks is
growing. Such tasks routinely involve the reduction of TBscale
data, online (realtime) analysis of the recorded data to
guide experiments, and fully automated data management
workflows.
In order to meet these demands, a generic, distributed
workflow system was developed. It is based on well established
Python libraries and tools. The individual tasks
of a workflow are arranged in a directed acyclic graph and
one or more directed acyclic graphs form a workflow. Workers
consume the tasks, allowing the processing of a workflow
to scale horizontally. Data can flow between tasks and a variety
of specialised tasks is available.
Lightflow has been released as open source on the Australian
Synchrotron GitHub page
Summary of the development of the Control System Breakdown Structure at the Australian Synchrotron and how it will fit in with the other existing and planned systems. This will include reasons for current approach and lessons learnt.
A micro service, built as part of to new kafka based phoebus alarm services, which provides the ability to record all changes to the alarm service configuration.
An archiver for all the alarm messages generated by the new Kafka based phoebus alarm server.
The archived alarm history can be used to
1.) better configure the alarm server, by weeding out noisy alarms, etc.
2.) discover pattern and relations between systems and devices.
Using Logstash with EPICS IOCs
The Australian Square Kilometre Array Pathfinder (ASKAP) Radio Telescope is moving to web based interfaces for its control and monitoring. We describe here the use of non-EPICS open source software for archiving, visualisation and alerting.
An brief introduction on the two types of EPICS to hardware(FPGA) interfaces will be provided.
Part B of EPICS to FPGA interfacing where current implementations of local and remote EPICS interfaces are explored. These are in the form of embedded processor and FPGA technologies which are on the pathway to a future of converged EPICS-FPGA interfaces.
Red Pitaya is a small board equipped with Xilinx Zynq SOC and Cortex A9. It has 2 14-bit, 125 MS/s RF inputs and outputs as well as slow analogue and digital inputs and outputs.
We've written an asyn port driver fir it and it is currently used in a few applications across the Australian Synchrotron without any problems.
ITER will be hosting the EPICS Collaboration Meeting in June 2019. The meeting will take place at the ITER site in Cadarache, 45 km north-east of Aix-en-Provence, France.