PCa PAC Satellite Workshop High Level Applications Development

  • Slides: 25
Download presentation
PCa. PAC Satellite Workshop ~ High Level Applications Development and the Matlab Middlelayer ~

PCa. PAC Satellite Workshop ~ High Level Applications Development and the Matlab Middlelayer ~ Sponsored by the Canadian Light Source Saskatoon, Canada October 5, 2010 Jeff Corbett SLAC National Laboratory Greg Portmann Lawrence Berkeley Laboratory

Man-to-Machine Connection Power Supply Magnet Accelerator D -to- A A -to- D i o

Man-to-Machine Connection Power Supply Magnet Accelerator D -to- A A -to- D i o c 'crate' backplane network High-Level Application computer get set QF [3, 1]

Matlab for Accelerator Experimentation and Control Greg Portmann/Advance Light Source High Level Applications Middle

Matlab for Accelerator Experimentation and Control Greg Portmann/Advance Light Source High Level Applications Middle Layer Control System Interface (Lab. CA, MCA, …) Accelerator Hardware Accelerator Toolbox (AT - Model) AT Server (Simulator)

Function Library ‘hundreds of functions for accelerator control ‘ MML 2 EDM Accelerator control

Function Library ‘hundreds of functions for accelerator control ‘ MML 2 EDM Accelerator control interface

High Level MATLAB Applications Magnet lattice save / restore / configuration control Energy Ramping

High Level MATLAB Applications Magnet lattice save / restore / configuration control Energy Ramping Slow orbit feedback Insertion device compensation Quadrupole centering Display (plotfamily) / Diagnostics Transport line tuning General scripting language for machine shifts LOCO (Response matrix analysis) …

“MATLAB and MML allow accelerator physicists to perform simple tasks independent of the Controls

“MATLAB and MML allow accelerator physicists to perform simple tasks independent of the Controls Department” “For more complex tasks, MATLAB and MML provide a good platform to collaborate with the Controls Department” - Ward A. Wurtz, Physicist, Canadian Light Source

High Level Application Development at the ESS Todd Satogata, Jefferson Lab proton beam through

High Level Application Development at the ESS Todd Satogata, Jefferson Lab proton beam through a ~420 m superconducting linac

ESS: 12 institutions, 6 -7 years write a study… -EPICS to be used at

ESS: 12 institutions, 6 -7 years write a study… -EPICS to be used at co-located MAX-IV, SNS connections -Linux service layer -Oracle RDBMS Leverage CERN, Jlab SCRF software

“The block diagram not the challenging part delivering a control system, however, is!”

“The block diagram not the challenging part delivering a control system, however, is!”

NSLS-II Physics Infrastructure & Matlab Guobao Shen, Brookhaven National Laboratory

NSLS-II Physics Infrastructure & Matlab Guobao Shen, Brookhaven National Laboratory

 • The epics-pvdata project – pv. Data • memory resident database – records

• The epics-pvdata project – pv. Data • memory resident database – records have structured data – pv. Access • New version of EPICS Channel Access – java. IOC • An engine for record processing and optional support – pv. Service • Service developed against pv. Data/pv. Access

The great integration project…

The great integration project…

MATLAB for CLS Accelerator Operations Ward A. Wurtz, Canadian Light Source • CLS relies

MATLAB for CLS Accelerator Operations Ward A. Wurtz, Canadian Light Source • CLS relies on MATLAB and the MML for many tasks: – Online accelerator control – Offline data analysis • Extensively use for tasks that do not involve the MML software

Injection Optimization CSR Production Emittance Calculation

Injection Optimization CSR Production Emittance Calculation

Client-Server Communications for High Level Applications Nikolay Malitsky, Brookhaven National Laboratory Typical three-tier high

Client-Server Communications for High Level Applications Nikolay Malitsky, Brookhaven National Laboratory Typical three-tier high level application environment

Data-Distributed Service Architecture EPICS-DDS Conceptual Design EPICS 4 Middle Layer Server, Dynamic Data

Data-Distributed Service Architecture EPICS-DDS Conceptual Design EPICS 4 Middle Layer Server, Dynamic Data

Cloud Computing: - IT resources for database, storage, application development and services - Leverage

Cloud Computing: - IT resources for database, storage, application development and services - Leverage resources that you do not have to maintain - Distributes software complexity over the internet

Web Services: Service-Oriented Architecture:

Web Services: Service-Oriented Architecture:

Middlelayer Scripting Tools for Beamline Control Andres Pazos, European Molecular Biology Lab Low level

Middlelayer Scripting Tools for Beamline Control Andres Pazos, European Molecular Biology Lab Low level DESY PETRA-III Lab. View for users

Scripting Environmenet Scripting Tools Python as a candidate “Py. TINE“

Scripting Environmenet Scripting Tools Python as a candidate “Py. TINE“

Application of Matlab at CLS PX Beamlines Russ Berg – Canadian Light Source Protein

Application of Matlab at CLS PX Beamlines Russ Berg – Canadian Light Source Protein Sample Diffraction - Data Collection

Protein Crystal Transfer - Robot Control

Protein Crystal Transfer - Robot Control

Evolution of Control Systems ALS Poject-M Bevatron SPEAR 2 PEP SLC SPEAR 3 PEP-II

Evolution of Control Systems ALS Poject-M Bevatron SPEAR 2 PEP SLC SPEAR 3 PEP-II LCLS Thumbwheels Dials Models EPICS Scopes/meters Fortran cards Micros iocs XAL Slide rules Forth Fortran internet Matlab COBAL on campus TRANSPORT C, X Matlab MAGIC/COMFORT/SYNCH Matlab Middle. Layer 1960 1975 1990 ? 2005 2010! JAVA Python CSS DDS…