Download presentation
Presentation is loading. Please wait.
Published byMoris Barton Modified over 6 years ago
1
Progress Updates: ICP DAS ET-7026 Communication & CryoBLM analysis
Andreas Alexopoulos BE-BI-BL Students Meeting 04 / 04 / 2016
2
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
3
ICP DAS ET-7026 Communication
Andreas Alexopoulos BE-BI-BL Students Meeting 04 / 04 / 2016
4
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
5
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
6
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
7
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
8
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
9
Andreas Alexopoulos - BI-BL Students Meeting
Modbus TCP 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting
10
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
11
Andreas Alexopoulos - BI-BL Students Meeting
Python ModBus Client $ > 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 ' ' python et7026.py -i ' ' -v [(3, 559, 1), (4, 236, 6)] 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting
12
Andreas Alexopoulos - BI-BL Students Meeting
Python ModBus Client $ > python et7026.py -i c 2 -v '[(3, 559, 1), (4, 236, 6)]' Begin , {'count': 2, 'varlist': [(3, 559, 1), (4, 236, 6)]} Attempting connection to :502 Connection Established. CNT: 0 TX: 0xAAE F0001 -- 12 bytes sent. RX: 0xAAE TX: 0xD EC0006 RX: 0xD F01040CE69AFFD00172FE CNT: 1 # Same again… 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting
13
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
14
CryoBLM Irradiation test Data Analysis
Andreas Alexopoulos BE-BI-BL Students Meeting 04 / 04 / 2016
15
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
16
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
17
CryoBLM Irradiation test [2015]
Where? IRRADS facility, PS What? BLEDP stand-alone DAQ system + K6430 for Trigger from TTL accelerator timing 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
18
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
19
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
20
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
21
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
22
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
23
Andreas Alexopoulos - BI-BL Students Meeting
BPM Tools (1) $ > 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/ :00:00" -e "30/10/ :01:00“ -v 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting
24
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
25
Andreas Alexopoulos - BI-BL Students Meeting
Results Beam BLEDP QMBox 04/04/2016 Andreas Alexopoulos - BI-BL Students Meeting
26
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.