Development of EPICS Embedded Image Processing System Takashi Obina, Jun-ichi Odagiri, Ryota Takai KEK, Accelerator Laboratory.

Slides:



Advertisements
Similar presentations
APEX /IntegUSB Digital Front End Acquisition Interface and Nuclear Medicine Processing Software for APEX Gamma Cameras.
Advertisements

Computer Case Houses computer components Provides physical, environmental and electrostatic protection Source for the following: wikipedia.org-Personal_computer_hardwarewikipedia.org-Personal_computer_hardware.
Real-time Performance Improvement of “EPICS on F3RP61” Yokogawa Electric Corporation.
Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct , Geneva, Switzerland.
3dtv.at Stereoscopic Player and Stereoscopic Multiplexer S3D-Today November 2006 Munich, Germany.
EET Advanced Digital Display Adapters. A vital part to the system provides the visual part of the Human/Computer interface In boot process, goes.
An Introduction to Real-time Machine Vision in Mechatronics
An Introduction to Real-time Machine Vision in Mechatronics Dr. Onur TOKER.
EET Advanced Digital Display Adapters. A vital part to the system provides the visual part of the Human/Computer interface In boot process, goes.
1 QED In Vivo USB Input Output Box configuration This tutorial contains a number of instructions embedded in a great deal of explanation. Procedures that.
©2008. Renesas Technology America., All rights reserved. Renesas Direct Drive for Connecting to TFT-LCD Panels David Hedley – Staff Applications Engineer.
Building an Application Server for Home Network based on Android Platform Yi-hsien Liao Supervised by : Dr. Chao-huang Wei Department of Electrical Engineering.
GigE Knowledge. BODE, Company Profile Page: 2 Table of contents  GigE Benefits  Network Card and Jumbo Frames  Camera - IP address obtainment  Multi.
Digital Video An Introduction to the Digital Signal File Formats Acquisition IEEE 1394.
Parts of a Computer Vocabulary
EPICS Meeting, APS, June 14 th 2006 MCS-8 The 8 axes motion control system Rok Šabjan
Digital Graphics and Computers. Hardware and Software Working with graphic images requires suitable hardware and software to produce the best results.
Camera Link Communication Interface for Vision Applications J. Egri 6/7/05.
SiTCP and possibility of collaboration for Accelerator Control and Data Acquisition T. Obina, KEK 16/Jun/2011 EPICS Collaboration Meeting, NSRRC, Hsinchu,
ATF2 Q-BPM System 19 Dec Fifth ATF2 Project Meeting J. May, D. McCormick, T. Smith (SLAC) S. Boogert (RH) B. Meller (Cornell) Y. Honda (KEK)
The Internal Components of a Personal Computer (PC)
Information Technology
Know the Computer Multimedia tools. Computer essentials.
[1] Reference: QCam API reference manual document version Charge Coupled Device (CCD)
BPM DAQ for KEK Linac EPICS IOC using WindowsXP-based Oscilloscope for BPM DAQ System in KEK e-/e+ Linac Masanori Satoh (KEK Linac) June 13-16, 2011 EPICS.
Application Introduction APAC-5000 in AOI Equipment
Intelligent Autonomous Camera Module (IAKM). Goals Develop an intelligent camera unit with the following features: –Standalone; –Equipped with extraordinary.
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
Page 1 Transform SCN Sample, Compress, Network Transporting computer imagery over IP networks.
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
How to Choose Frame Grabber …that’s right for your application Coreco Imaging.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
PITZ – Introduction to the Video System Stefan Weiße DESY Zeuthen June 10, 2003.
Real-time Performance Improvement of “EPICS on F3RP61” Yokogawa Electric Corporation.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
Module 8 Review Questions 1.VGA stands for A. Video Graphic Association B. Video Gradient Array C. Video Graphic Array D. Video Graphic Arrangement.
Basic Computer Components INTRODUCTION TO COMPUTER.
The microIOC Family Gasper Pajor EPICS Collaboration Meeting Argonne National Laboratory June 2006.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
仙公 100 Sancode 100 The best solution of the low cost and high performance SOC tester Signality System Engineering Co., LTD. Signality System Engineering.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 EPICS IOC Embedded on PLC for TPS Pulse Magnet Power Supply Control Chun-Yi Wu TPS Control.
Development of a Gamma-Ray Beam Profile Monitor for the High-Intensity Gamma-Ray Source Thomas Regier, Department of Physics and Engineering Physics University.
Laser beam diagnostics : BEAMDIAG program. Stéphan Del Burgo CERN PS/LP 30 January 1998 DBS 01/
GAN: remote operation of accelerator diagnosis systems Matthias Werner, DESY MDI.
REST OF THE COMPUTER BEFORE THE INTERNET. Understand Your Computer  Bit  Binary digit  0 or 1  Byte  8 bits  Unique combinations of 8 bits of 0s.
5 th October 2004Hardware – KS41 Hardware Objectives: Computer systems  What do they do?  Identify the hardware that makes up a computer system (PC)
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.
Industrial and Scientific Applications
Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE.
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.
Computer Graphics Lecture 03 Graphics Systems Cont… Taqdees A. Siddiqi
April / 2010 UFOCapture 1 UFOCaptureV2 Time-Shift-Motion-Detect-Video-Recording software for complete records of un-expected events.
Integrating Advantech PCI I/O cards into EPICS. Outline ANTARES computer control and data acquisition systems architecture STAR computer control and data.
Computer Hardware Introduction What’s inside that box?
VCS Gen4 Clarity Visual control station
UFOCaptureV2 Time-Shift-Motion-Detect-Video-Recording software for complete records of un-expected events April / 2010 UFOCapture.
VIDEO GRAPHICS ARRAY CARD (VGA CARD)
Nat 4/5 Computing Science Interfaces
Information Technology
ATF/ATF2 Control System
Vision for Robotic Applications
Status of Fast Controller EPICS Supports for ITER Project
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Status of TTF HOM Project Aug 9, 2005
Chapter 4 : Input & Output devices Visit for more Learning Resources.
quadEM: New Beam Position Monitor & Electrometer Hardware and Software
Red Pitaya with EPICS Andraz Pozar EPICS Collaboration Meeting
Presentation transcript:

Development of EPICS Embedded Image Processing System Takashi Obina, Jun-ichi Odagiri, Ryota Takai KEK, Accelerator Laboratory

Outline Requirements for Image Processing Our Solution Driver/Device Support Display Application Conclusion EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/2011 2

Requirements for Image Processing EPICS ! Stable operation Update Rate ◦at least 1Hz; Faster is better ◦10Hz is enough for most purpose (for Human- based feedback or tuning) ◦30 Hz is not necessarily required ◦Needs external trigger Background subtraction for Screen Monitor Capability for complex calculation ◦Beam Size Monitor with the SR Interferometer ◦Nonlinear curve fitting is required Requirements from operation : NOT so severe EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/2011 3

Example images : KEK-PF ScreenMonitor (Beam Transport Line) SR Monitor SR Interferometer (Beam Size Monitor) EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/2011 4

There are so many possibilities... Hardware ◦PC / Embedded platform Operating System ◦Linux / Windows Interface ◦Image Grabber Board (PCI, PCIe, etc) ◦USB / FireWire (IEEE1394) ◦GigE (Ethernet) ◦Camera Link Camera ◦Speed (Frame Rates [fps]) ◦Resolution [pixels] / number of bits ◦CMOS or CCD EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/2011 5

What was important for us? Stability Rapid application development Cost Effectiveness Support of colleagues and/or company Long-term operation ◦“Lifetime” of software and hardware EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/2011 6

Our misery experience We have been used Windows PC and frame grabber for interferometer analysis The software is 'discontinued' ◦Hardware/Software Only supports Win98! Didn’t work after the “Windows Update” EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/ MUST be avoided in the new system

Our Solution Yokogawa PLC-Based System CPU : F3RP61 with Linux OS Image Acquisition Module (UM02) ◦PCI Interface to CPU 15/Jun/2011EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan 8 This system is supposed to fulfill the requirements. Especially for “Hardware Reliability” and “Product Lifetime”, and “support of colleagues”

Benefit of PLC-Based system Many Digital and Analog I/O module ◦cheaper than VME We can easily control other equipments such as screen monitor driver Reliable Hardware (No FAN) Compact Easy to handle by EPICS Linux have many software tools 15/Jun/2011EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan 9

Photo2 15/Jun/ Power Supply CPUUM02 DO Test on Table

Main Specifications of F3UM02 itemSpecification Number of Channels2 ch Compatible CameraSingle Tap (8bit/pixel) Dual Tap (16bit/pixel) RGB Color (24bit/pixel) Max. Connections2 Color RGB Cameras (6 Monochrome Cameras) ADC100MHz Resolution of Digitizer8 bits Camera Resolution16K x 16K TriggerExternal / Internal (software) EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Record Support New record type "graphics record" ◦Originally developed for other project (2003) ◦Just remove several unused functionality Raw Image (waveform) Reduced-size Image H/V Size information Background subtraction Image analysis ◦projection to horizontal/vertical direction ◦peak position, peak value, FWHM, etc ◦Possible to enable/disable these calculations EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Device Support PCI bus between CPU and UM02 module devGrF3UM02.c Interface graphicsRecord to hardware issued by "I/O_interrupt" scan request just transfer raw image data to record dbd : device(graphics, INST_IO, devGrF3UM02, "F3UM02") EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Display For test : python + PIL (Python Imaging Library) For Operation : EDM 15/Jun/2011EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan 14

Example : BG Subtraction EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Example : Profile, peak, etc These parameters are calculated in the GraphicsRecord EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Test on Optical Table F3RP61 F3UM02 SONY HR-50 EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Example : Interferometer Due to deformation and dirty of the mirror and extraction window, interference fringe is not good as other beam line. We will replace the mirror and window in this summer. EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/ As a first step, nonlinear curve fit is tested by gnuplot. If we use other (fast) PC or server machine, we can use matlab or other program.

Performance Free Run Mode : 15Hz update rate Trigger Mode ◦tested : 1Hz, 2Hz, 5Hz, 10Hz Linux RT version is not used yet EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Performance : CPU Load (1) Repetition PeriodCPU Load (Typ)CPU Load (max) 1 sec3.0 %4.0 % 0.5 sec3.7 %7.3 % 0.2 sec16.0 %17.0 % 0.1 sec31.0 %32.6 % 15/Jun/2011EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan 22 Repetition PeriodCPU Load (Typ)CPU Load (max) 1 sec18.6 %19.0 % 0.5 sec37.0 %37.3 % 0.2 sec91.3 %91.9 % 0.1 secN.A. 1) NO Analysis, NO Channel Access 2) Analysis Only

CPU Load (2) Repetition PeriodCPU Load (Typ)CPU Load (max) 1 sec6.7 %7.3 % 0.5 sec13.7 %14.0 % 0.2 sec34.0 %35.0 % 0.1 sec69.0 %70.0 % 15/Jun/2011EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan 23 3) Channel Access Only. (NO Analysis) We plan to optimize ‘Analysis’ routine.

How to do with NTSC signal? In the beam transport line, we have been used about 10 CCD cameras with NTSC output, and commercial video switcher is used for many years. UM02 input signal : RGB color We must use NTSC – RGB converter ◦Confirmed to capture the image ◦Linearity is not evaluated yet 15/Jun/2011EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan 24

Photo EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Just for fun 3D Movie with two camera; Phantogram EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

Conclusion We have developed image acquisition system on embedded platform New Record/Device support is developed ◦Basic analysis is performed inside the record Testing in PF-Ring, Linac What’s Next? ◦Improvement of RT performance ◦Calibration of NTSC to RGB converter ◦Documentation ◦Asyn / AreaDetector / SynApps ? EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/

References PCaPAC ◦ 2010/papers/thpl018.pdf EPICS Collaboration Meeting, NSRRC, Hsinchu, Taiwan15/Jun/ Adopt: Keep It Simple and Stupid Avoid : Reinventing the wheel “Channel Access Everywhere” Policy