Real-time Performance Improvement of “EPICS on F3RP61” Yokogawa Electric Corporation.

Slides:



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

Real Time Versions of Linux Operating System Present by Tr n Duy Th nh Quách Phát Tài 1.
RTEMS and Linux at the Canadian Light Source Tony Wilson Canadian Light Source University of Saskatchewan.
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Delta Tau Coordinate Systems and PLCs at Diamond Matthew Pearson Controls Group, Diamond Light Source Overview: Delta Tau Geobrick motor controller Delta.
Dirk Zimoch, EPICS Collaboration Meeting, Vancouver 2009 Real-Time Data Transfer using the Timing System (Original slides and driver code by Babak Kalantari)
Real-Time Kernels and Operating Systems Basic Issue - Purchase commercial “off-the- shelf” system or custom build one Basic Functions –Task scheduling.
Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 1 Event System and Embedded IOCs at KEK Recent Activities at KEK.
Scheduling in Batch Systems
What is adaptive web technology?  There is an increasingly large demand for software systems which are able to operate effectively in dynamic environments.
Programmable Logic Controllers (PLCs) This course deals with PLCs, Programmable Logic Controllers. PLCs are the industrial computer/controllers that are.
EtherCAT Driver for Remote I/O James Rowland, Ronaldo Mercado and Nick Rees.
Performance Evaluation of Real-Time Operating Systems
1 A PC/Linux-based Control System with EPICS for RFGTB S. Araki, K. Hirano, J. Odagiri, T.T. Nakamura and N. Terunuma High Energy Research Accelerator.
Kazuro Furukawa, KEK, Oct EPICS Collaboration Meeting / BNL KEK and SuperKEKB 1 Recent progress at KEK and Plans for SuperKEKB Kazuro Furukawa for.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
SAD and Python with EPICS at IHEP,Beijing, Noboru Yamamoto KEK, JAPAN.
Development of EPICS Embedded Image Processing System Takashi Obina, Jun-ichi Odagiri, Ryota Takai KEK, Accelerator Laboratory.
Stanford Linear Accelerator Center PowerPC and VXI Kinetic Systems V152 Embedded PowerPC Slot-0 Controller.
Application Introduction APAC-5000 in AOI Equipment
Synchronous Device Interface at NSLS-II Yuke Tian Control Group, NSLS-II, BNL (May 1, 2009 EPICS Collaboration Meeting, Vancouver)
K.Furukawa, Feb Controls Activity at KEK Controls Activities at KEK Issues for ILC Kazuro Furukawa, KEK.
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
ICALEPCS 2007 WOAB041 Web-Based Electronic Operation Log System Zlog System K.Yoshii and T.Nakamura Mitsubishi Electric System & Service Co., Ltd., Tsukuba,
NATIONAL INSTITUTE OF SCIENCE & TECHNOLOGY Presented by: Santosh kumar Swain Technical Seminar Presentation by SANTOSH KUMAR SWAIN Roll # CS
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems CSCI-6140 – Computer Operating Systems David Goldschmidt, Ph.D.
EPICS meeting in Taiwan, June.2011, kami, KEK Demonstration of Embedded EPICS on F3RP61 PLC N. Kamikubota, J-PARC/KEK.
EPICS at APS in June.2006, n.kami, KEK J-PARC Status N. Kamikubota, KEK and J-PARC Control members * Try to enhance updates in the last 1 year.
Real-time Performance Improvement of “EPICS on F3RP61” Yokogawa Electric Corporation.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
Xenomai’s Porting on processor NIOS II Professor : P. Kadionik Authors : Bassi Vincent Louati Azza Mirault Raphael Polette Simon.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
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.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
EPICS Collaboration Meeting, Dec.2004, Tokai, by N.Kamikubota, KEK miniEPICS N.Kamikubota, J.Odagiri, G.Shen, N.Yamamoto, K.Furukawa and T.Katoh KEK.
LLRF-05 Oct.10,20051 Digital LLRF feedback control system for the J-PARC linac Shin MICHIZONO KEK, High Energy Accelerator Research Organization (JAPAN)
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.
Chapter 2 Basic Principle of PLC PLC Configuration &Function   Basic Configuration  CPU  Memory  Programming Interface  Communication.
The Performance of μ-Kernel-Based Systems H. Haertig, M. Hohmuth, J. Liedtke, S. Schoenberg, J. Wolter Presenter: Sunita Marathe.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
The recent history and current state of the linac control system Tom Himel Dec 1,
RFID Access Control System Lucius Knight. General System Design  Microcontroller  PSoC CY8C29466  24MHz Bus Frequency  Memory Available  32kB FLASH.
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.
ICOM Noack Linux I/O structure Device special files Device switch tables and fops How the kernel finds a device Parts of a device driver or module.
The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC.
From VME/RTEMS to Industrial PC/LinuxRT: A Migration Story Mitch D’Ewart May EPICS Collaboration Meeting May 2015.
KNU RTLAB A Real-Time Linux System For Autonomous Navigation And Flight Attitude Control Of An Uninhabited Aerial Vehicle Charles E. Hall, Jr. Mechanical.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
Development Plan for Reliable Card-size IOC N. Kamikubota and S.Yamada, J-PARC/KEK May 2015 in MSU, kami, KEK/J-PARC.
Migrate a RTAI Application to RT- Preempt - A case study lin u troni x.
Introduction to Operating Systems Concepts
Multiway Noticeboard with User Configure Features Using IOT & PC
Introduction of Device and Driver Support for Yokogawa F3RP71
Diamond Motion Control Emma Shepherd & Matthew Pearson May 2011
Linux Realtime Preemption and Its Impact on ULDD* - Progress Report -
Development of Embedded EPICS on F3RP61-2L
Table 1: The specification of the PSICM and the ePSICM Prototypes
Status of Fast Controller EPICS Supports for ITER Project
Fill-pattern Control System for KEKB
Introduction to Computers
Video Gala Frame Grabber device driver
Computer Startup.
Application of EPICS on F3RP61 to Accelerator control
EPICS status and future at KEK Control Group / Commissioning Group e-/e+ Injector Linac, KEK, Japan Masanori Satoh.
Presentation transcript:

Real-time Performance Improvement of “EPICS on F3RP61” Yokogawa Electric Corporation

agenda  EPICS on F3RP61 Features of F3RP61  Stability and Record Application Example  Real-time Performance Latency Measurement Measured Performance  Demonstration Video 2011  Conclusions

EPICS on F3RP61  KEK placed a request for FA-M3-PLC’s CPU, F3RP6x (e-RT3), to run Linux EPICS device support and driver for F3RP61 was developed by Mr. J.Odagiri (KEK)  To turn PLCs themselves into IOCs Most of ladder programs can be replaced with EPICS Sequencer  For fully EPICS-based front-end control Rapid application development cycle Easier maintenance Finer and more flexible control

Features of F3RP61 Pb free RoHS  Operating System Linux and VxWorks available  Processer and Interface PowerPC 533MHz Ethernet x2, Serial IO, IEEE1394, CF Card Can use many kind of PLC modules  Maintenance Operation under 55 ℃ circumstance Long term product suplly  Other feature Multi CPU Function, I/O Open

Stability and Records  F3RP61 has served as IOC for more than two years to prove its stability  The number of F3RP61-based IOCs has reached dozens in the KEK sites (Tsukuba and Tokai) KEKB (Main Ring / Linac) / PF-Ring / PF-AR / J-PARC / cERL etc.  Standard kernel / based Modification was minimized in the porting

Application Examples

Real-time Performance  Latest Board Support Package(BSP) supports CONFIG_PREEMPT_RT option  All improvements are in the kernel More preemptive than CONFIG_PREEMPT Large part of interrupt handlers were demoted to kernel threads to give way to real-time threads  No changes in APIs No need to modify applications already in operation Just choosing uImageRT in the BSP will do it for you

Latency Measurement  Latency Measurement by using fixed cycle interrupt With CPU load caused by hackbench hackbench creates many processes communicating with each other under the scheduler’s control

Measured Performance Max. Latency 1,065 μ s 92 μ s StandardPREEMPT_RT Table for Latency frequency distribution of application start of fixed cycle with I/O process(load : hackbench ) Latency [micro second] Appearance [times]

Demonstration Video 2011  Inversed pendulum controlled by EPICS on F3RP61 A metal bar on a movable cart Monitor input Angle of the pendulum Position of the cart Control output Velocity of the cart  By using an EPICS special record Developed by Dr. N. Yamamoto (J-PARC) To calculate the feedback output By processing the record every “0.005 second”

Conclusions  A new type of EPICS IOC was realized with F3RP61  Widely adopted in EPICS-based accelerator control for various purposes  Significantly improved real-time performance with PREEMPT_RT patch To Extend the range of applications

 We do need feedback from EPICS users for further improvements