Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.

Slides:



Advertisements
Similar presentations
Nios Multi Processor Ethernet Embedded Platform Final Presentation
Advertisements

Provide data pathways that connect various system components.
HARDWARE Rashedul Hasan..
RTEMS and Linux at the Canadian Light Source Tony Wilson Canadian Light Source University of Saskatchewan.
Status of the LANSCE Upgrade LA-UR Eric Bjorklund.
Elements of a Microprocessor system Central processing unit. This performs the arithmetic and logical operations, such as add/subtract, multiply/divide,
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Department of Electrical and Computer Engineering Texas A&M University College Station, TX Abstract 4-Level Elevator Controller Lessons Learned.
Chapter 7 Interupts DMA Channels Context Switching.
Using FPGAs with Embedded Processors for Complete Hardware and Software Systems Jonah Weber May 2, 2006.
Module I Overview of Computer Architecture and Organization.
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Single Board Computers and Industrial PC Hardware at the CLS
Stanford Linear Accelerator Center PowerPC and VXI Kinetic Systems V151 Embedded PowerPC Slot-0 Controller.
Online Systems Status Review of requirements System configuration Current acquisitions Next steps... Upgrade Meeting 4-Sep-1997 Stu Fuess.
Final Project Review – 4/10/2008 Al Mukmin Judson Ryckman Miguel Roncal Paul Otto Walter Thorn.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Typical Microcontroller Purposes
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.
ETRAX CRIS architecture and Xilinx FPGA Peter Zumbruch Experiment control systems group GSI (KS/EE)
Redundancy. 2. Redundancy 2 the need for redundancy EPICS is a great software, but lacks redundancy support which is essential for some highly critical.
RiceNIC: A Reconfigurable and Programmable Gigabit Network Interface Card Jeff Shafer, Dr. Scott Rixner Rice Computer Architecture:
Update on FPGA/IOC applications and RTEMS developments at the APS W. Eric Norum
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
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.
Micro-Research Finland Oy Components for Integrating Device Controllers for Fast Orbit Feedback Jukka Pietarinen EPICS Collaboration Meeting Knoxville.
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.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
A configurable Interlock System for RF- Stations at XFEL M.Penno, T. Grevsmühl, H.Leich, A. Kretzschmann W.Köhler, B. Petrosyan, G.Trowitzsch, R.Wenndorff.
Lecture 12: Reconfigurable Systems II October 20, 2004 ECE 697F Reconfigurable Computing Lecture 12 Reconfigurable Systems II: Exploring Programmable Systems.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
FOPI – Slow Control Content 1.FOPI experiment - Overview 2.GUIs for FOPI 3.System Design.
1. EPICS IOC on CompactRIO EPICS Collaboration Meeting Fall 2011.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
Connecting EPICS with Easily Reconfigurable I/O Hardware EPICS Collaboration Meeting Fall 2011.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
Five Components of Computers Input Output Memory Control Datapath Processor.
Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 Reliability Secure IOC DESY Outlook Matthias Clausen DESY/ MKS.
Connecting LabVIEW to EPICS network
LIGO-G9900XX-00-M LIGO II1 Why are we here and what are we trying to accomplish? The existing system of cross connects based on terminal blocks and discrete.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
EPICS and LabVIEW Tony Vento, National Instruments
Exploiting Task-level Concurrency in a Programmable Network Interface June 11, 2003 Hyong-youb Kim, Vijay S. Pai, and Scott Rixner Rice Computer Architecture.
Managed by UT-Battelle for the Department of Energy Kay Kasemir Jan Experimental Physics and Industrial Control System.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC.
MARCO control system Munich Lukasz Zwalinski – PH/DT Maciej Ostrega – PH/DT.
ICS WP3 – Software Core Components Suzanne Gysin Work Package Lead November 25, 2014.
Magnet Low Current PS Upgrade Kristi Luchini,Sandeep Babel, Till Straumann, Mitch D’Ewart, Briant Lam, Dave MacNair May 19, 2016 VME to Emedded Industrial.
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.
Managed by UT-Battelle for the Department of Energy LabVIEW Channel Access Implementaion Alexander Zhukov SNS.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
SNS Status Report Karen S. White 10/15/08.
LabVIEW EPICS Client I/O Server
An Overall Structure of the PANDA Hydrogen Targets Slow Control
DarkSide-50 Distributed Control System Towards DarkSide-20k
Magnet Safety System for NA61/Shine
TORQUE MEASURMENT.
Session III Architecture of PLC
Programmable Logic Controllers (PLCs) An Overview.
Windows Virtual PC / Hyper-V
EPICS: Experimental Physics and Industrial Control System
Presentation transcript:

Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily

What is CompactRIO? Power-PC based Real Time Controller (RTC). FPGA Backplane Connected via PCI bus Designed for harsh environments Fast PLC –  Sec vs. mSec Response Programmed in LabVIEW instead of Ladder Logic –Both FPGA and RTC are programmed in LabVIEW

Embedding EPICS IOC on CompactRIO Real Time Controller (RTC) is a Power PC running vxWorks (6.3) vxWorks license not required! –NI has permission to distribute the vxWorks header files Special BSP provided by NI  Includes NFS & Telnet  Priority range allocated for EPICS  EPICS runs at lower priority ( ) than LabVIEW (10-100)

System Architecture FPGA Interface Code cRIO Module cRIO Module cRIO Module LabVIEW FPGA Code PCI BUS RTC VxWorks Shared Library (.out file) Shared Memory Area LabVIEW RTC Code EPICS Device Support EPICS Channel Access EPICS DataBase EPICS Network

Embedded EPICS vs. NI CA Server Complete EPICS IOC Environment –All record types and fields are visible and available –EPICS Utilities Archiver Channel Access Security Bumpless Reboot Sequencer Maximum Flexibility on How the Application is Partitioned  FPGA / LabVIEW RTC / EPICS Database Not an “Out-Of-The-Box” Solution  Requires special BSP (available from NI on request)  Additional configuration required

The Project Replace one accelerator module’s “Industrial I/O” channels with cRIO. –40 binary outputs –64 binary inputs –32 analog inputs –8 stepper motor channels Actually, replaced two AB Control Logix crates that had originally replaced the original 1960’s “RICE” system. –Replaced two Control Logix crates with two cRIO crates Basic SCADA –No closed loop. No exotic timing. But…. –System must emulate our 1960’s vintage “RICE” system.

Previous Results (Vancouver, 2009)

Fire Alarm Forced Building Evacuation Before Results Could Be Reported. –(Nothing actually caught fire) System did work, but with limited functionality. –Only deployed the Binary I/O part during 2009 run-cycle –Our strategy of trying to push as much as possible into the FPGA resulted in running out of FPGA space (Virtex II) Not all binary outputs could be implemented 11 hour FPGA compiles System ran for the entire 2009 run-cycle without incident.

Improvements for 2010 Run Cycle Upgraded cRIO Hardware. –Faster CPU –VIRTEX 5 FPGA Plenty of FPGA Space Upgraded from LabVIEW to LabVIEW 2009 Faster Compile Server –3 hour compiles (Max) Full functionality for all Binary Channels Added Analog Channels (2 nd cRIO)

Current Results (2010) It Flies! Both Systems Have Been Running for 4 Months Without Incident

Experience: Noise on Analog Inputs. –2 Pole Butterworth Filter Applied in FPGA Our On-Line Reconfiguration Scheme Still Needs Work

Performance – Benchmarked System Processor –800 MHz Power PC –512 Mbyte DRAM –4 GB Internal Storage FPGA –LX85 Virtex-5 EPICS Load –57 Records –19 CA Clients –94 CA Connections

Performance – CPU Load iocStats: –0.18 % vxWorks “spy” –317,796,426 % * LabVIEW System Monitor: –8.18 % * Lacks some credibility

Performance – Channel Access Benchmarks (using catime)

Future Plans (Immediate) A third embedded EPICS cRIO was installed last month for timing sequence control.

Future Plans 2011 Run Cycle –Replace Industrial Controls for One Sector (5 modules) with cRIO. –Replace One Serial CAMAC Loop (4 crates) with cRIO. cRIO Wire Scanners –cRIO Event Receiver More General-Purpose Shared Memory Interface –Continuation of CosyLAB’s Initial Work.