460 likes | 571 Views
Science Studio and ANISE (Jan 2010 update). Elder Matias Canadian Light Source. Requirements. New User Office Functionality Proposal submission Peer review User Feedback Tracking Experiment Management User Training/ Safety Testing Remote Beamline Access
E N D
Science Studio and ANISE(Jan 2010 update) Elder Matias Canadian Light Source
Requirements • New User Office Functionality • Proposal submission • Peer review • User Feedback Tracking • Experiment Management • User Training/ Safety Testing • Remote Beamline Access • Integration with grid data-storage • Grid computing
System Architecture Web Application Beamline Control Module VESPERS HTTP JMS CA SAN DB • VESPERS Beamline • EPICS control system • Beamline Control Module (BCM) • Web Application • Database • File Storage • Web Interface
VESPERS Beamline Web Application Beamline Control Module VESPERS HTTP JMS CA SAN DB • VESPERS — Very Sensitive Elemental and Structural Probe Employing Radiation from a Synchrotron • A bending magnet beamline on sector 6 at the Canadian Light Source synchrotron in Saskatoon, Saskatchewan. • A hard x-ray microprobe with an energy range of 6 to 30keV. • Techniques: X-Ray Fluorescence (XRF) & X-Ray Diffraction (XRD)
EPICS Low-level Control System Web Application Beamline Control Module VESPERS HTTP JMS CA SAN DB • EPICS — Experimental Physics and Industrial Control System • The standard control system at the CLS. • EPICS consists of a network of Input-Output Controls (IOCs) which are connected to directly to devices. • An IOC provides many Process Variables (PVs) which relate to either an input or output from a device and have a unique name. • Channel Access (CA) is used to read or write to any PV without knowing which IOC provides the PV. • More than 50,000 PVs in the CLS control system.
Beamline Control Module (BCM) Web Application Beamline Control Module VESPERS HTTP JMS CA SAN DB • The BCM provides a high-level interface to the low-level control system (EPICS). • Logical and physical separation of business logic and control logic. • Virtual device abstraction that provides independence from low-level control system. • Virtual devices can be logically organized into a device hierarchy. • Basic devices can be combined to build more functional devices. • Communication with external applications using two message queues (ActiveMQ).
Web Application Web Application Beamline Control Module VESPERS HTTP JMS CA SAN DB • A J2EE Servlet application that provides a web-based interface Science Studio. • Tools: Spring (MVC), iBATIS (ORM), JSecurity (Apache Ki), Apache Tomcat • Divided into two parts: the Core application and the VESPERS beamline application. • Core application is responsible for providing access to the business objects. • VESPERS application is responsible for remote control of the VESPERS beamline.
Database Web Application Beamline Control Module VESPERS HTTP JMS CA SAN DB • Metadata associated with the operation of a remote controlled beamline and the organization of experimental data collected on that beamline. • A project is the top level organizational unit and is associated with a project team. • A session defines a period of time allocated to a project team to conduct experiments. • An experiment relates a sample and the technique being applied to that sample. • A scan records the location of the acquired experimental data.
Experimental Data Storage Web Application Beamline Control Module VESPERS HTTP JMS CA SAN DB • Experimental data is stored at the CLS. • Common directory structure shared with other beamlines. • A large data storage facility is now operational at the University of Saskatchewan as part of WestGrid.
VESPERS Web Interface Web Application Beamline Control Module VESPERS HTTP JMS CA SAN DB • Rich web interface to Science Studio and the VESPERS beamline. • Designed to be used over commodity broadband internet. • Developed for the Firefox web browser without any additional plugins or extensions. • Known to work with other browsers, but requires the Canvas HTML tag. • AJAX is used for the VESPERS interface to provide device values in pseudo real time. • ExtJS, a JavaScript framework, provides many advanced GUI elements.
(a) X ray Fluorescence spectra and mapping Orientation Strain (b) Laue X ray Diffraction and mapping
XRF Image XRD: orientation XRD:strain Optical image VM strain
University of Western OntarioNan-Fabrication FacilityUsing ScienceStudio
Nanofabrication Facility The Western Nanofabrication Facility is an open user facility at the University of Western Ontario for the fabrication of micro and nano structures. LEO 1540XB Scanning Electron Microscope (SEM) with an integrated Oxford x-ray system. • Oxford x-ray system is controlled by INCA. • INCA provides limited control of the SEM, and spectral analysis and quantification.
User Office Modules • User Profile/Authentication • User Profile Deployed • User Roles Deployed • Authentication (LDAP/AD) Deployed • Information Model • Beamlines Done • End-stations Done • Techniques Done • Notification Module Deployed
User Office Modules • Proposal Submission In Progress • User Feedback Survey Prototype • Scheduling Module Prototype • Workflow Engine Evaluation • Sample Management Requirements • Publication Tracking Requirements
User Office - Training Module • First User Office Module Deployed • User Profile • 1,400 + user records/accounts created • Training Module • 53 Training Modules Setup and past user records manually transferred
User Office Workflow Example Prototype Implementation 1. CLS issues a call for proposals and gives deadline2. Beamline users submit proposals3. User Office administrator ends registration or extends deadline4. User Office administrator assigns proposals to user office reviewers5. Reviewers look at proposals and rank them6. User Office looks at ranking and chooses the proposals to accept7. Accepted proposals contact persons are notified8. Beamline User completes training (web service)9. After training is completed (simulated by a delay) the CLS is notified
HPC Computing in Canada • Compute Canada • Responsible for High Performance Computing in Canada • Each regional grid is a member of Compute Canada • ACEnet – Atlantic Canada • CLUMEQ - Quebec • SCINET - UofT • HPCVL – Queens, Royal Military CollageSt. Lawrence, Carlson, Ottawa, … • RQCHP - Quebec • SHARCNET - Ontario • WESTGRID – Western Canada CLUMEQ Facility
Grid Data Storage? • UofS is the host for the new WestGrid data storage facility • Cost: $3.2 M • Includes on-line andarchival storage • Two sites on campus Photo: tape backup unit holding 6,000 tape (each @1TB)
Integrating LPA with User Configurable Light Paths Lightpath Accelerator controls a software virtual cross-connect that commands UCLP. In effect, CA*Net4 is treated as a single lightpath cross-connect real device real device virtual device