Software Architecture of a RadFET Dosimetry System Garth Brown: 20 May 2015.

Slides:



Advertisements
Similar presentations
Undergraduate Renewable Energy Courses and Certification Tests John Martini University of Arkansas – Fort Smith ASSET II Annual Meeting Springdale, AR.
Advertisements

1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
March Wireshark CA Plugin EPICS Meeting 2008, Shanghai, China. 1 Wireshark CA Plug-in EPICS Channel Access Dissector Kazuro Furukawa, KEK Ron Rechenmacher,
Channel Access Protocol Andrew Johnson Computer Scientist, AES Controls Group.
Electronic Instrumentation Project 2 Velocity Measurement.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Wireless Sensor Network for Tracking the Traffic in INTERNET Network Routers Supervisor: Mark Shifrin Students: Yuriy Kipnis Nir Bar-Or Networked Software.
Using FPGAs with Embedded Processors for Complete Hardware and Software Systems Jonah Weber May 2, 2006.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
Performance of the DZero Layer 0 Detector Marvin Johnson For the DZero Silicon Group.
Hacking the Bluetooth Pairing Authentication Process Graduate Operating System Mini Project Siyuan Jiang and Haipeng Cai.
ENVIROTRAC: A Premier Chamber Monitoring and Data Acquisition System Envirotrac A Guided Tour.
Chapter 5 Engineering Tools for Electrical and Computer Engineers.
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
Lab::VISA. VISA, GPIB, etc. Instruments can be connected in various ways: Serial port, GPIB, VXI, TCP/IP, etc. GPIB (hardware and software) –GPIB (IEEE488):
Application Protocol for Veris E30 Panel-board Monitoring System Jaein Jeong UC Berkeley LoCal Workshop Oct 5 th, 2009.
Imperial College Tracker Slow Control & Monitoring.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
TANGO on embedded devices: the Bimorph Mirror application case Fulvio Billè Roberto Borghes, Roberto Pugliese, Lawrence Iviani Instrumentation & Measurement.
Python – Part 1 Python Programming Language 1. What is Python? High-level language Interpreted – easy to test and use interactively Object-oriented Open-source.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
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.
Chapter 27 Lecture 24: Circuits: II HW 8 (problems): 26.10, 26.22, 26.35, 26.49, 27.12, 27.30, 27.40, Due Friday, Nov.6.
Background Real-time environmental monitoring is a field garnering an ever-increasing amount of attention. The ability for sensors to make and publish.
Advanced Photon Source Channel Access, CaSnooper, and CASW Kenneth Evans, Jr. Presented November 7, 2003 Argonne National Laboratory.
Controls Zheqiao Geng Oct. 12, Autosave Additions/Upgrades and Experiences at SLAC Zheqiao Geng Controls Department SLAC National Accelerator Laboratory.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
The Sentry Personal Alarming Dosimeter and Rate Meter.
INTEGRATED SUBSYSTEM BUILD & TEST ANDRE PELLETREAU, JEREMY WILLMAN, KAI MASLANKA, VINCENT STOWBUNENKO, & KERRY OLIVEIRA.
Embedded Systems. What is Embedded Systems?  Embedded reflects the facts that they are an integral.
LCLS Commissioning & Operations High Level Software
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.
Motivation, Terminology, Layered systems (and other random stuff)
CS408/533 Computer Networks Text: William Stallings Data and Computer Communications, 6th edition Chapter 1 - Introduction.
Online RadFET reader for beam loss monitoring system
THE OSI MODEL By: Omari Dasent.
Integration of Blu-Ice into
What is Fibre Channel? What is Fibre Channel? Introduction
PPP PROTOCOL The First semester
LAMP Vacuum System Documentation
Your Name, Elias Catalano, Robert Sublett, Robin Curtis
DHT11 Temperature and Humidity Measurement
Basic Google Calendar in the Library
LCLS Commissioning & Operations High Level Software
An Expert Guide On Regression Testing. A software regression is any undesired variation that occurs from code changes. Let just take an example of this.
Programmable Logic Controllers (PLCs) An Overview.
Conductivity Sensor.
Channel Access, CaSnooper, and CASW
Analytical Solutions for Temperature
Electronic Instrumentation
Smart Meters in Power Systems
LCLS Event System - Software
The following content applies to this page only
LLRF Control System Outline Scope Requirements Design Considerations
Engineering Tools for Electrical and Computer Engineers
The IFR Online Detector Control at the BaBar experiment at SLAC
The Online Detector Control at the BaBar experiment at SLAC
An Introduction to Software Architecture
Channel Access Concepts
Requirements Definition
Electronic Instrumentation
M. Kezunovic (P.I.) S. S. Luo D. Ristanovic Texas A&M University
Aug Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Explanation and Revision of Previous Time.
Local Protection of Insertable Devices
♪ Embedded System Design: Synthesizing Music Using Programmable Logic
Channel Access Concepts
Presentation transcript:

Software Architecture of a RadFET Dosimetry System Garth Brown: 20 May 2015

2 SLAC National Accelerator Laboratory Overview New system offered many design decisions Collaboration with radiation physicists, electrical engineers, mechanical engineers, software engineers, to design at a system level Process of this system design, decisions needed to meet requirements Matching functionality to the part of the system best suited Chance to implement both sides of networked device control, custom serial protocol between instrument and IOC

3 SLAC National Accelerator Laboratory Background The Project: Monitor radiation at many locations throughout the LCLS undulator Determine radiation damaging to undulator magnets, its sources, causes, and locations Extrapolate to LCLS II, and potential for radiation damage rate proportional to beam rate Track radiation accumulated dose over minutes to months

4 SLAC National Accelerator Laboratory Background The Sensors: RadFETs: When the metal oxide layer of MOSFETs are damaged, it changes the electrical characteristics in precisely measurable ways that persist for years. Thumbnail size. Well established technology 3D Printed Sensor Mount, Non-magnetic Materials

5 SLAC National Accelerator Laboratory Background Source: RadFET operation:

6 SLAC National Accelerator Laboratory The Sensor System: Keithley 2600B: supports TestScript Lua, voltage and current sources, voltage and current measurements Keithley 3700S: provides an array of relays, controllable by TestScript The Keithley 2600B/3700S system: Source meter orchestrates sampling sequence, sample one RadFET connected to current source while biasing the rest with voltage source. Up to 168 RadFETs. Readout cycle relay switching sequence designed to read voltage across one RadFET at a time

7 SLAC National Accelerator Laboratory

8 SLAC National Accelerator Laboratory RadFET readout Readout sequence for 1 RadFET - Open switch for bias voltage - Close switch for current source - Pause for precisely “Delay” seconds - Read voltage at drain - Open switch for current source - Close switch for bias voltage - Repeat for each RadFET at regular intervals (minutes)

9 SLAC National Accelerator Laboratory Design considerations Use Keithley’s Test Script Builder (TSB) Lua extension to implement protocol on the instrument side, EPICS streamdevice on the soft IOC side Voltage read is sensitive to the time between applying constant current source and taking voltage reading Dose isn’t accumulated during reading cycle. It should be a small and consistent fraction of total time. Physicist want flexibility in converting raw reading to dose, so make the equation easily configurable. Keep serial interface between streamdevice and Keithly system clean and simple

10 SLAC National Accelerator Laboratory Design considerations Initial plan: IOC requests reading, instrument takes reading and sends it back Conflicting requirement: EEs want all-channel read cycle, make-before-break switching from one RadFET to the next less stress and noise from constant current source Next idea: instrument returns array of all readings Software complication: With expected 1 second per RadFET read cycle, up to 168 RadFETs, that’s almost 3 minutes from request to reply. Long timeout! Data timestamped late. Better approach: IOC initiates read cycle. Instrument asynchronously sends readings. No timestamp problem.

11 SLAC National Accelerator Laboratory Design Considerations: In the TestScript Relay switching control and time Voltage across RadFET is not constant when connected to constant current course. Time from applying current source to reading voltage must be consistent across readings for consistent data. In all-sensor read cycle, keep time to switch from one sensor to the next to a minimum, and consistent. Design choice: switching/reading cycle implemented completely in TestScript No network delays to worry about No EPICS processing time variations to worry about Keeps interface between IOC and instrument simpler and cleaner Required learning more TSB/Lua programming

12 SLAC National Accelerator Laboratory Design Considerations: In the IOC Read cycle interval Doesn’t need precision below 1s We have already implemented “process this PV every x seconds”, code reuse Design decision: implement this in the IOC If the IOC stops, instrument doesn’t know or care Raw reading to dose calculation Calc record is flexible and has screens that let physicists try whatever they want One per RadFET, for flexibility and per-RadFET calibration

13 SLAC National Accelerator Laboratory Keithley TestScript & IOC Architecture

14 SLAC National Accelerator Laboratory RadFET System Protocol Simple readout protocol: - Init – IOC request to create a list of attached sensors by checking each channel for an open circuit - ReadAll – IOC request to cycle through all active channels. Asynchronously send each reading to IOC. - ReadCh – Receive asynchronous data from ReadAll, keyed on channel #. Protocol file looks like: ReadCh { in "Sensor \$1 %f";} PVs corresponding to disconnected channels exist, but never process

15 SLAC National Accelerator Laboratory Other commands - Get/SetDelay – time from current on to voltage measurement - Get/SetBias – Voltage applied during “exposure” - Get/SetSampleI – What current to apply during reading - A few others added for testing, commissioning, trouble shooting Other data in the IOC - History of dose readings, over various time scales, using Bruce Hill’s history module - Initial raw voltage reading – dose is calculated as a ∆V from initial reading - Date & time of initial reading - Channel description

16 SLAC National Accelerator Laboratory

17 SLAC National Accelerator Laboratory Conclusion Looking at a design from a system level solves and simplifies problems that look messy on a smaller scale Dive in and learn new tools and languages. It increases your options Keep it simple. This system has been running mostly trouble free since last August