Progress Updates: ICP DAS ET-7026 Communication & CryoBLM analysis

Slides:



Advertisements
Similar presentations
Supervisory Control & Data Acquisition DAQ Networking.
Advertisements

Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Using an FPGA to Control the Protection of National Security and Sailor Lives at Sea Brenda G. Martinez, Undergraduate Student K.L. Butler-Purry, Ph.D.,
UDP - User Datagram Protocol UDP – User Datagram Protocol Author : Nir Shafrir Reference The TCP/IP Guide - ( Version Version.
TCP/IP Protocol Suite 1 Chapter 11 Upon completion you will be able to: User Datagram Protocol Be able to explain process-to-process communication Know.
© Lethbridge/Laganière 2001 Chap. 3: Basing Development on Reusable Technology 1 Let’s get started. Let’s start by selecting an architecture from among.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Slide 1 / 20 Industrial Automation - Custumer View - Services PhW - Modbus_en 06/ 2002 Modbus training.
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
Layer Architecture of Network Protocols
Reports from DESY Satoru Uozumi (Staying at DESY during Nov 11 – 25) Nov-21 GLDCAL Japan-Korea meeting.
The Socket Interface Chapter 21. Application Program Interface (API) Interface used between application programs and TCP/IP protocols Interface used between.
Configuration Database Antony Wilson MICE CM February 2011 RAL 1.
JANA and Raw Data David Lawrence, JLab Oct. 5, 2012.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
TB1: Data analysis Antonio Bulgheroni on behalf of the TB24 team.
GPRS functionality overview in Horner OCS. GPRS functionality – Peer to Peer communication over GPRS – CSCAPE connectivity over GPRS – Data exchange using.
1 Calorimeters LED control LHCb CALO meeting Anatoli Konoplyannikov /ITEP/ Status of the calorimeters LV power supply and ECS control Status of.
TCP/IP Illustrated, Volume 1: The Protocols Chapter 6. ICMP: Internet Control Message Protocol ( 월 ) 김 철 환
1 Kyung Hee University Chapter 11 User Datagram Protocol.
UDP: User Datagram Protocol Brian Jorgage CSC /24/2004.
1 Configuration Database David Forrest University of Glasgow RAL :: 31 May 2009.
Flair development for the MC TPS Wioletta Kozłowska CERN / Medical University of Vienna.
S. Smith LCLS Facility Advisory October 12, Beam Position Monitors Facility Advisory Committee October 12, 2006.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
Serial / Ethernet Converter - IE-CS-2TX-XRS232/485
Slow Control System at experiment D. Egorov Slow Control System at V. Shutov, D. Egorov, R. Nagdasev 1/15.
V Review SPARC Diagnostic & Control Status G. Di Pirro On behalf control and diagnostic group.
PRESENTATION ON SECURE SOCKET LAYER (SSL) BY: ARZOO THAKUR M.E. C.S.E (REGULAR) BATCH
MDC-700 Series Modbus Data Concentrator [2016,05,26]
Java Web Services Orca Knowledge Center – Web Service key concepts.
Do-more Technical Training
COMP2322 Lab 4 Socket Programming
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Chapter 11 User Datagram Protocol
Software for Testing the New Injector BLM Electronics
Industrial 1-port RS422/485 Modbus Gateway
SCADA, DCS and PLC.
Do-more Technical Training
WWW and HTTP King Fahd University of Petroleum & Minerals
z/Ware 2.0 Technical Overview
BGV PIN Diodes & Trigger Updates
DT80 range Modbus capability
Chapter 14 User Datagram Program (UDP)
Bonn Test Station data analysis with PandaRoot
Functions CIS 40 – Introduction to Programming in Python
Integration Bacnet Server HDL-BN-4096.
TCP Transport layer Er. Vikram Dhiman LPU.
2500 Series® Compact System Components
File Transfer and access
Modbus with the AKD Using Modbus Poll and Wireshark Rev. F Dec
User Datagram Protocol (UDP)
SNORT.
ECEN 619 “Internet Protocols and Modeling”
Chapter 14 User Datagram Protocol (UDP)
TB8100 Technical Training July 2005
ECEN “Internet Protocols and Modeling”
Process-to-Process Delivery:
Loops CIS 40 – Introduction to Programming in Python
TCP/IP Protocol Suite: Review
Performance test of ACEM-detector (Aluminum Cathode Electron Multiplier) Marcus Palm AB-ATB-EA M. Palm, CERN.
Chapter 14 User Datagram Program (UDP)
An Introduction to Internetworking
Duration in L-SIG Date: Authors: May 2010 Month Year
Anant Mudambi, U. Virginia
MESSAGE ACCESS AGENT: POP AND IMAP
Exceptions and networking
Kaj Rosengren FPGA Designer – Beam Diagnostics
Network programming Lecture 1 Prepared by: Dr. Osama Mokhtar.
DAQ and visualization software
Presentation transcript:

Progress Updates: ICP DAS ET-7026 Communication & CryoBLM analysis Andreas Alexopoulos BE-BI-BL Students Meeting 04 / 04 / 2016

Andreas Alexopoulos - BI-BL Students Meeting Overview This actually should be 2 separate presentations Neither is ready, so an introduction to both in order to offload future presentations And document / present what I am doing So, today: ICP DAS ET-7026 Communication CryoBLM Data Analysis 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

ICP DAS ET-7026 Communication Andreas Alexopoulos BE-BI-BL Students Meeting 04 / 04 / 2016

Andreas Alexopoulos - BI-BL Students Meeting ICP DAS ET-7026 6-channel analog inputs (AI) ±500 mV, ±1 V, ±5 V, ±10 V, ±20 mA, 0 ~ 20 mA and 4 ~ 20 mA 2-channel analog outputs (AO) ±5 V, ±10 V, 0 ~ 20 mA and 4 ~ 20 mA 2-channel digital inputs (DI) 2-channel digital outputs (DO) Built-in Web-Server, Web HMI Modbus TCP/UDP protocol RJ-45 10/100 [Reference] 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting ICP DAS ET-7026 6-channel analog inputs (AI) ±500 mV, ±1 V, ±5 V, ±10 V, ±20 mA, 0 ~ 20 mA and 4 ~ 20 mA 2-channel analog outputs (AO) ±5 V, ±10 V, 0 ~ 20 mA and 4 ~ 20 mA 2-channel digital inputs (DI) 2-channel digital outputs (DO) Built-in Web-Server, Web HMI Modbus TCP/UDP protocol RJ-45 10/100 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting ICP DAS ET-7026 6-channel analog inputs (AI) ±500 mV, ±1 V, ±5 V, ±10 V, ±20 mA, 0 ~ 20 mA and 4 ~ 20 mA 2-channel analog outputs (AO) ±5 V, ±10 V, 0 ~ 20 mA and 4 ~ 20 mA 2-channel digital inputs (DI) 2-channel digital outputs (DO) Built-in Web-Server, Web HMI Modbus TCP/UDP protocol RJ-45 10/100 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Modbus Protocol Modbus is a serial communications protocol originally published by Modicon [1979] (Schneider Electric) for use with PLCs. Simple and robust - de facto standard communication protocol for connecting industrial electronic devices. Modbus TCP / UDP a Modbus variant used for communications over TCP/IP networks, connecting over port 502 does not require a checksum calculation as lower layers already provide checksum protection [Reference] 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Modbus TCP Modbus TCP Modbus Field Length Description Transaction ID 2 bytes ID for Req/Rep Protocol ID Modbus = 0 Number of following bytes Unit ID 1 byte ID of remote slave Field Length Description Function Code 1 byte Modbus functions Reference Num. 2 bytes Register mapping Word Count Points to read 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Modbus TCP 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Python ModBus Client pymodbus module First investigated option Complete software, covering a variety of the protocol’s versions Documentation & Github Very complete and nice software Unfortunately… I did not figure out how to really make it work (or not yet ) ! Because of the simplicity of the protocol, I implemented it For Binary format data A big thanks to Steve ! 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Python ModBus Client $ andalexo@andalexo-Think:~/cernbox/projects/icp-das > python et7026.py -h + Description A module to implement communication with the ICP DAS ET-7026 module. + Usage python et7026.py -i <ip> -- More optional parameters: -p <port> # Port to connect, default 502 -c <count> # Number of iterations, default 1 -v <varlist> # List of variables to read, default [(3, 559, 1)] + Examples python et7026.py -i '192.168.137.110' python et7026.py -i '192.168.137.110' -v [(3, 559, 1), (4, 236, 6)] 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Python ModBus Client $ andalexo@andalexo-Think:~/cernbox/projects/icp-das > python et7026.py -i 192.168.137.110 -c 2 -v '[(3, 559, 1), (4, 236, 6)]' Begin 192.168.137.110, {'count': 2, 'varlist': [(3, 559, 1), (4, 236, 6)]} Attempting connection to 192.168.137.110:502 Connection Established. CNT: 0 TX: 0xAAE4000000060103022F0001 -- 12 bytes sent. RX: 0xAAE4000000050103027026 TX: 0xD88100000006010400EC0006 RX: 0xD8810000000F01040CE69AFFD00172FE6710750173 CNT: 1 # Same again… 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Python ModBus Client Of course still much functionality to be implemented. Work in (slow) progress Thankfully not that difficult (now) Basic communication is completed A few more to come in order to have it as a finished project Specification of what is needed for any interested user 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

CryoBLM Irradiation test Data Analysis Andreas Alexopoulos BE-BI-BL Students Meeting 04 / 04 / 2016

Andreas Alexopoulos - BI-BL Students Meeting Overview Introduction 2015 CryoBLM Irradiation Test Datasets Analysis Process Applications / Tools Results 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Introduction CryoBLMs – Solid State (Si, CVD Diamond) detectors as BLMs placed inside the magnets in cryogenic temperatures Irradiation tests so as to measure the performance of the detectors 2012 – Documentation here. 2014 – Documentation here. 2015 Run 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

CryoBLM Irradiation test [2015] Where? IRRADS facility, PS What? BLEDP stand-alone DAQ system + K6430 for calibration @CH2 Trigger from TTL accelerator timing signal @CH8 4 Si pad detectors 2 CVD pad diamonds Also [Ioffe] QMBox DAQ system Internal Trigger setting 16 Si pad detectors More Input BPM3 of IRRADS facility at cryostat location Intensity measurements 2 Al foils for dose measurements 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Datasets BLEDP Data info numbers QMBox Data Beam Position Data info numbers Beam Intensity Data 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Analysis Process A] Cleaning of the data Trigger Level 0 Basic checks and sorting of data Sum, Max Value, Mean, Mean of first 10 or last 10 values Many (way too many) unwanted “triggers” that need to be removed Voltage scan data separated B] Integrated charge extraction from cleaned data C] Beam data treatment Extraction of Gaussian fit of beam from BPM and Beam Intensity data BPMs – Mean and Deviation of gaussians in both axes Intensity – Volume under the 3D Gaussian Sync of BPM / SEC spills Extraction of dose to the detectors Double integration of the 3D Gaussian D] Sync & Normalize ! 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Applications / Tools BPM Tools BPM Fit BPM DBLQUAD Sync Tool BLEDPy QMBox Analysis Application 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Applications / Tools BPM Tools BPM Fit BPM DBLQUAD Sync Tool BLEDPy QMBox Analysis Application 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting BPM Tools (1) Fitting of raw BPM data Pedestal subtraction From 10 previous pedestal measurements (SPILL ‘0’) Data provided by BPMs of IRRAD Strip detectors (4.5mm – more info) Thanks to Federico, Blerina 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting BPM Tools (1) $ andalexo@andalexo-Think:~/cernbox/projects/cryoblm/bpm_analysis > python bpm1_fit.py -h + Description This script takes care of the conversion from raw BPM data to Gaussian fits. + Usage python bpm1_fit.py -i <input file> -- More optional parameters: -o <file name> # output to file. -s <start date> # specify start date (%d/%m/%Y %H:%M:%S). -e <end date> # specify end date (%d/%m/%Y %H:%M:%S). -v # if you want to see output with plots. -c # no blocking for user input while viewing the plots (view active). + Examples python bpm1_fit.py -i 2015_CryoIRRAD_BPM3_data.csv -s "30/10/2015 00:00:00" -e "30/10/2015 00:01:00“ -v 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting BPM Tools (2) What we are interested in: Protons passing the detector Definition of the double integral of the beam fit under the limits defined by the detectors alignment and geometry Also input from SEC data for the “volume” of the beam 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Results Beam BLEDP QMBox 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting

Andreas Alexopoulos - BI-BL Students Meeting Conclusions Work in progress, as previously mentioned Data are never perfect, there is always something to go wrong Loss of sync e.g. More updates in the future 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting