The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC.

Slides:



Advertisements
Similar presentations
RTEMS and Linux at the Canadian Light Source Tony Wilson Canadian Light Source University of Saskatchewan.
Advertisements

1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Embedded Solutions for EPICS Based Control Systems Miroslaw Dach Goran Marinkovic Paul Scherrer Institut Switzerland.
SNS Integrated Control System Running IOC Core on Windows and Linux Dave Thompson Wim Blokland Ernest Williams.
PC104 with embedded Linux Trips and Ticks S. Herb, MSC, Desy Tine Workshop, Sept 2007.
Control Systems for Future GSI, May , 2003 Control System Requirements for the CBM detector Burkhard Kolb GSI HADES.
Linux IOC Operations at NSTX - An Overview P. Sichta 28Mar2005.
Linux vs. Windows. Linux  Linux was originally built by Linus Torvalds at the University of Helsinki in  Linux is a Unix-like, Kernal-based, fully.
Linux Migration GBT e2e Software Review May 3, 2005 Ramon Creager Melinda Mello
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Tracker Controls MICE Controls and Monitoring Workshop September 25, 2005 A. Bross.
Introducing VMware vSphere 5.0
Linux-MVME Targets Using Motorola Board Support
Terri Lahey EPICS Collaboration Meeting June June 2006 LCLS Network & Support Planning Terri Lahey.
Single Board Computers and Industrial PC Hardware at the CLS
Stanford Linear Accelerator Center PowerPC and VXI Kinetic Systems V152 Embedded PowerPC Slot-0 Controller.
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
RTEMS overview W. Eric Norum Introduction RTEMS is a tool designed specifically for real-time embedded systems The RTEMS product is an executive.
CLS: Control System E. Matias, R. Berg, G. Wright, T. Wilson, T. Johnson, R. Tanner and H. Zhang Canadian Light Source University of Saskatchewan Invited.
Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ – the New Lujan Center Data Acquisition Application Frans Trouw, Gary.
Redundancy. 2. Redundancy 2 the need for redundancy EPICS is a great software, but lacks redundancy support which is essential for some highly critical.
Berliner Elektronenspeicherringgesellschaft für Synchrotronstrahlung mbH (BESSY) CA Proxy Gateway Status and Plans Ralph Lange, BESSY.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
ICALEPCS 2007, Knoxville, Tennessee, October 15-19, 2007 Present Status of VEPP-5 Control System D.Yu.Bolkhovityanov, A.Yu.Antonov, R.E.Kuskov The Budker.
Block1 Wrapping Your Nugget Around Distributed Processing.
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
HBD HV Control and Monitoring System INSTALLATION Manuel Proissl HBD Meeting 11/18/2008.
1/15 G. Manduchi EPICS Collaboration Meeting, Aix-en-Provence, Spring 2010 INTEGRATION OF EPICS AND MDSplus G. Manduchi, A. Luchetta, C. Taliercio, R.
DAQ Issues for the 12 GeV Upgrade CODA 3. A Modest Proposal…  Replace aging technologies  Run Control  Tcl-Based DAQ components  mSQL  Hall D Requirements.
Data Acquisition for the 12 GeV Upgrade CODA 3. The good news…  There is a group dedicated to development and support of data acquisition at Jefferson.
Ethernet Based Embedded IOC for FEL Control Systems J. Yan, D. Sexton, Al Grippo, W. Moore, and K. Jordan ICALEPCS 2007 October 19, 2007 Knoxville Convention.
Status of EPICS at KEK Tatsuro NAKAMURA KEK Jun
Final Review of ITER PBS 45 CODAC – PART 1 – 14 th, 15 th and 16 th of January CadarachePage 1 FINAL DESIGN REVIEW OF ITER PBS 45 CODAC – PART 1.
Virtualization for the LHCb Online system CHEP Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
Virtual Machines Created within the Virtualization layer, such as a hypervisor Shares the physical computer's CPU, hard disk, memory, and network interfaces.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Installation of Storage Foundation for Windows High Availability 5.1 SP2 1 Daniel Schnack Principle Technical Support Engineer.
Connecting LabVIEW to EPICS network
Jefferson Lab Report Karen S. White 11/14/00. Overview  Status of Jefferson Lab Control System  Work In Progress  Transitioning to Operations.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
Lecture 5 Rootkits Hoglund/Butler (Chapters 1-3).
R. Krempaska, October, 2013 Wir schaffen Wissen – heute für morgen Controls Security at PSI Current Status R. Krempaska, A. Bertrand, C. Higgs, R. Kapeller,
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Secondary Boot Code (SBC) D.Wood Naval Research Laboratory.
Embedded Real-Time Systems Introduction to embedded software development Lecturer Department University.
CLAS12 ECAL PCAL DC FTOF... Region 2 DewPnt Region 3 Region 4 Region 1 Mod 1... Mod 2 HV TEMP LV Hierarchy of Slow Controls: Driven by Finite State Machine.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
Integrating Advantech PCI I/O cards into EPICS. Outline ANTARES computer control and data acquisition systems architecture STAR computer control and data.
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
AMOEBA study of distributed system
VME Pixel ROD in UW Pixel Lab Final Report
BaBar Transition: Computing/Monitoring
Chapter Objectives In this chapter, you will learn:
Current Generation Hypervisor Type 1 Type 2.
LINUX WINDOWS Vs..
Enrico Bonaccorsi, (CERN) Loic Brarda, (CERN) Gary Moine, (CERN)
Development of Embedded EPICS on F3RP61-2L
Chapter 4.
The Online Detector Control at the BaBar experiment at SLAC
Linux-MVME Targets Using Motorola Board Support
The IFR Online Detector Control at the BaBar experiment at SLAC
The IFR Online Detector Control at the BaBar experiment at SLAC
The Online Detector Control at the BaBar experiment at SLAC
EPICS: Experimental Physics and Industrial Control System
Presentation transcript:

The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC

September 05, 2007M. Wittgen CHEP20072 Outline  BaBar Online Detector System  EPICS  Motivation for Upgrade  First Attempt with RTEMS  Second Attempt Linux  Conclusions

September 05, 2007M. Wittgen CHEP20073 BaBar Detector Control System  17 IOCs in VME crates o Mvme177 with 33Mhz and 32MB RAM o Commissioned in the late 1990  One infrastructure server o Boot and disk server for IOCs o EPICS gateway  One application server o Archiving, softIOCs  Two terminals for shifters  Interconnected on private VLAN o Security issue (access through gateway machines) ‏

September 05, 2007M. Wittgen CHEP20074 Detector Control System Setup CEN BIP CEN GMS CEN CRY CEN ILK SVT MON SVT LV SVT ILK DCH MON DCH GAS DRC MON DRC HV DRC GAS EMC MON EMC ILK IFR MON CEN MON IFR HV BFO- SRV100 BFO- SRV01 BFO- CON01 BFO- CON02 RA ID Private VLAN PEP EPICS GATEWAY Archive Shift Consoles Boot/File Server SoftIOC

September 05, 2007M. Wittgen CHEP20075 BaBar IOC overview IFR: ~ channels CEN:~ channels EMC: ~ 7000 channels DRC: ~ channels DCH: ~ 5000 channels SVT: ~ 3400 channels

September 05, 2007M. Wittgen CHEP20076 Experimental Physics and Industrial Control System  EPICS core application running on a I/O Controller  Key concept is a database of records o Values, Alarm Limits, Alarm Status  Records can refer to each other o PV Replication, Calculations  Records can get their input from device drivers Interface to Hardware (mainly VME) ‏  PV can be distributed via LAN o Channel access (monitoring, archiving, GUIs) ‏

September 05, 2007M. Wittgen CHEP20077 EPICS software upgrade  BaBar was using EPICS release 3.13 since startup  Beginning of 2005 update of all IOCs to 3.14  Major improvement in 3.14 is portability  OSI (operating system independent) layer  So called softIOC o IOC running on Linux/Solaris hosts o No hardware access implemented in OSI layer  Improved stability  But more hardware resources needed  Supports more embedded OS than vxWorks o RTEMS

September 05, 2007M. Wittgen CHEP20078 Why upgrade?  Mvme177 not really available any more o $7000 for latest version with 50MHz CPU and 128 MB RAM  LST upgrade adds additional channels  Several bottlenecks o Memory o CPU too slow to serve EPICS channels o 10 MBit network o VxWorks network resources (number of file descriptors) ‏

September 05, 2007M. Wittgen CHEP20079 Hardware upgrade  Mvme5500 o 1 GHz PowerPC 7455 (equivalent to G4) ‏ o 512 MB RAM upgradeable to 1 GByte o Two network interfaces 100/1000 GBit  Already used in EPICS community  BSP for vxWorks and RTEMS available  Cost about $3000  Using vxWorks would have required no license  Latest version was not supported by EPICS

September 05, 2007M. Wittgen CHEP First Attempt: RTEMS  Real-Time Embedded System  Pros: o Board support package for mvme5500 o Already supported by EPICS  Cons: o No shell or loadable module support o Limited debugging support: remote gdb  CEXP o VxWorks like shell with loadable module support and C like regular expression language

September 05, 2007M. Wittgen CHEP First (failed) Attempt: RTEMS  In 2005 the LST was partially installed with 7 out 21 HV power supplies integrated into the control system  CANBUS interface for communication between HV power supplies and IOC  System worked reliably through BaBar Run 4  Didn't work with all 21 HVPS o No memory management in RTEMS o No overcommitment of memory o Running out of memory during startup

September 05, 2007M. Wittgen CHEP Let's go Linux

September 05, 2007M. Wittgen CHEP Second Attempt: Linux  Kernel patches for MVME5500 for 2.6 from Motorola o Not quit up-to-date. Two subversions behind  Embedded Linux Development Kit ELDK available for PowerPC o Gcc cross-compiler for i386 Linux o Small base distribution with native gcc and gdb  Not really real-time, but EPICS isn't really either  Write(small) OSI layer for EPICS to access VME  Fine with polling device drivers  Native Linux drivers for interrupt driven devices o How to propagate interrupts into user-space

September 05, 2007M. Wittgen CHEP Problems Linux did solve  Found many bugs in our EPICS device drivers o EPICS application can be run in gdb o Dereferencing of NULL pointer don't cause SEGV on vxWorks and RTEMS o Core dumps allowed us to find some race conditions leading to crashes  EPICS can run in user-space  No reboots required any more o Restart of EPICS application sufficient o 30 second downtime to make changes to EPICS instead of 2-10 mins for a reboot

September 05, 2007M. Wittgen CHEP Top on Linux IOC

September 05, 2007M. Wittgen CHEP Conclusions  5 out of 17 IOC replaced so far by mvme5500  Switching to Linux provided a very stable environment for running EPICS  Better debugging tools  Made IOCs running vxWorks more stable  Went from about 2 IOC crashes a week to virtually zero  Pentium based SBC probably better choice o Runs Scientific Linux out of the box

September 05, 2007M. Wittgen CHEP References  EPICS o  RTEMS o  CEXP/GeSYS o  Kernel Patches for MVME5500 o  ELDK o