Programming Linear Regression Procedure for Analog & Digital Data Megan Williams University of Arkansas at Pine Bluff SIST '14 Craig Drennan University.

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
Advertisements

What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Analog-to-Digital Converter (ADC) And
Digital RF Stabilization System Based on MicroTCA Technology - Libera LLRF Robert Černe May 2010, RT10, Lisboa
Seismic Octave Programming for Analog/Digital Converters Michael W. Siekman Electrical and Computer Engineering Senior Capstone Design Project 2007 Advisor:
Integrated Tests of a High Speed VXS Switch Card and 250 MSPS Flash ADC Hai Dong, Chris Cuevas, Doug Curry, Ed Jastrzembski, Fernando Barbosa, Jeff Wilson,
ESODAC Study for a new ESO Detector Array Controller.
MICE Tracker Front End Progress Tracker Data Readout Basics Progress in Increasing Fraction of Muons Tracker Can Record Determination of Recordable Muons.
MICE Tracker Readout Increased Data Readout Rate VLSB Development 16 AFE II t boards 8 Visible Light Photon Counter (VLPC) cassettes 4 cryostats.
P07301 Summary Data Acquisition Module. Team Members.
1 Digital to Analog Converter Nov. 1, 2005 Fabian Goericke, Keunhan Park, Geoffrey Williams.
Digital to Analog Converters
LECC 2006 Ewald Effinger AB-BI-BL The LHC beam loss monitoring system’s data acquisition card Ewald Effinger AB-BI-BL.
Random signals. Histogram of the random signal Continuous Time Sinusoidal signals.
Digital Logic Lecture 1 Introduction By Dr Zyad Dwekat The Hashemite University Computer Engineering Department.
3/5/2009Computer systems1 Describing Process Specifications and Structured Decisions 1. Process specifications sometimes called mini-specs 2. Structured.
CRIO as a hardware platform for Machine Protection. W. Blokland S. Zhukov.
LabVIEW and MatLab E80 Teaching Team February 5, 2008.
Booster Cogging Upgrades Craig Drennan, Kiyomi Seiya, Alex Waller.
Digital Signal Processing and Generation for a DC Current Transformer for Particle Accelerators Silvia Zorzetti.
8 Channel Fiber Optically Linked Data Acquisition System for Booster Modulators Tsatsu Nyamadi Norfolk State University Supervisor Rene Padilla Fermilab.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
NPDGamma: Data Acquisition System October 15th, 2010 NPDGamma Collaboration Meeting ORNL.
FE8113 ”High Speed Data Converters”. Part 2: Digital background calibration.
Figure 2 gives an overview of the hardware components of the upgraded Main Injector BPM system. The figure shows 2 signal channels which produce one position.
Recent RF Development at Fermilab Weiren Chou and Akira Takagi Fermilab, U.S.A. July 7, 2003 Presentation to the FFAG03 Workshop July 7-12, 2003, KEK.
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
Cavities Auto Recovery with Beam RF&Linac Section - ALBA Accelerators Division Francis Perez Angela Salom.
 Advanced Accelerator Simulation Panagiotis Spentzouris Fermilab Computing Division (member of the SciDAC AST project)
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
CALIBRATION OF TEVATRON IONIZATION PROFILE MONITOR (IPM) FRONT END (FE) MODULES Moronkeji Bandele Physics and Engineering Department Benedict College,
April 16, 2009Craig Drennan, AD/Proton Source/Booster1 Upgrading Electronics for the LLRF Electronics Design Efforts Craig Drennan, April 16,2009.
New PSB Beam Control Upgrade of daughter cards Alfred Blas PSB rf Working group meeting 24/03/ Generation of REV clocks 2.Synchronization with.
The ATF Damping Ring BPM Upgrade Nathan Eddy, Eliana Gianfelice-Wendt Fermilab for the ATF Damping Ring BPM Team.
Intensity measurements using TRIC Juan Carlos Allica On behalf of: M. Andersen, D. Belohrad, L. Jensen, F. Lenardon, A. Monera, L. Søby 1.
Statistics and Numerical Method Part I: Statistics Week VI: Empirical Model 1/2555 สมศักดิ์ ศิวดำรงพงศ์ 1.
Comparators, DAC, and ADC
Lecture Outline Chapter 1 Physics, 4 th Edition James S. Walker Copyright © 2010 Pearson Education, Inc.
Digital to Analog Converter (DAC)
Doug Michael Sep. 16, GeV protons 1.9 second cycle time 4x10 13 protons/pulse 0.4 MW! Single turn extraction (10  s) 4x10 20 protons/year 700.
Vitor Duarte Teodoro, April Organize a table for computations... Data for linear fitting These columns accept 100 pairs (x, y) Note: columns G to.
Craig Drennan Linac and 400 MeV BPMs January 7, 2011.
Timing Board FPGA. Use existing IP version until firmware is ported to new FPGA FPGA Existing IP Carrier UCD Digital I/O TSG Timing Board.
Early Beam Injection Scheme for the Fermilab Booster: A Path for Intensity Upgrade Chandra Bhat Fermi National Accelerator Laboratory DPF2015, ANN ARBOR,
Radiation 4-5 December 2005 AB/BDI/BL.
Digital LLRF: ALBA and Max-IV cases RF&Linac Section - ALBA Accelerators Division Angela Salom.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Preparation for Calculus P. Fitting Models to Data P.4.
BLM Meeting 10/18/2010 Drennan 1 Booster BLM Upgrade Specification Development September 2010 Craig Drennan.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
8 GeV Linac (Project X) and mu2e Chuck Ankenbrandt Fermilab Mu2e Collaboration Meeting August 1, 2007 My Preferred title: Linac & Recycler & Accumulator.
AVSAP Autonomous Voltage Spike Analysis Program Said Rahimzadeh – Kalaleh Engineering Physics.
Digital Control CSE 421.
Test Boards Design for LTDB
M.J. Barnes : Canadian Involvement with LHC
DATA CONVERTERS (Linear Circuits) S.Senthil Kumar, Dept. of Aero, KCT
SLS Timing Master Timo Korhonen, PSI.
Regression Chapter 6 I Introduction to Regression
Data Acquisition (DAQ) Status
Lecture 2 Introduction to Programming
Assoc. Prof. Dr. Peerapol Yuvapoositanon
Correlation and Regression-II
Lesson 1: Overview of Sequential Control and Data Acquisition
Beam Current Monitoring with ICT and BPM Electronics
CALCULATING EQUATION OF LEAST SQUARES REGRESSION LINE
Solving Equations 3x+7 –7 13 –7 =.
Example Make x the subject of the formula
Components of a Computer System
The MTCA/ATCA Workshop for Research and Industry
Regression and Correlation of Data
Presentation transcript:

Programming Linear Regression Procedure for Analog & Digital Data Megan Williams University of Arkansas at Pine Bluff SIST '14 Craig Drennan University of Illinois at Urbana-Champaign

Outline I.) Background II.) Introduction III.) Clock cycle & ADC card IV.) Getting Connected V.) Linear Regression & Modeling the Data VI.) Key Takeaways, Issues & Future Work

Background: How does the Booster work? “The Fermilab Booster is a synchrotron accelerator with a circumference of 474 meters. Beam is injected into the Booster from the 400 MeV transport line which carries the 400 MeV beam output from the Linac accelerator. The Booster accelerates a proton beam from 400 MeV to 8 GeV in less than 33 milliseconds for the Main Injector accelerator. Booster also provides beam for the MiniBooNE experiment and the NuMI facility and MINOS experiment.”

Introduction Problem? Why do this? The beam cycle in the booster is set to be in specific places at precise times. The clock cycle keeps measure of this. However, because the beam is read as an analog occurrence adjusting with precision is not feasible until the analog signals are converted to digital data. Designing a program using least squares fit to convert the signals will allow us to finely adjust what we need to for the beam operations.

Clock cycle and ADC card

Getting Connected ● SSH ● Outland.fnal.gov ● Nova.fnal.gov ● VXIDSP ● Code ● Blrfd3 ● Minicom

Simple Linear Regression

In everyday terms… ● Linear regression is a mathematical formula used to find the relationship between two occurrences. ● For example, correlation between weight & height….

Writing Code I.) Needed to create data file, header file, one program to read in data, and one program to perform operations II.) Had to be written in C over the scientific Linux environment III.) Modified Best Fit equation and code to work with analog and digital data.

Linear Regression

Testcode

Results:Modeling the data with LINEST ● Column J represents the data input ● Column K represents the output from the program ● What do these lines show?

Issues & Solutions ● Working in unfamiliar environment ● Access & permissions (Getting kicked out everyday!) ● Time constraints versus best method (FPGA, VDHL)

Recap: Key Takeaways & Future Work ● Booster Beam… ● Keeping Time in the Booster… ● Analog to Digital… ● Programming the for the Card… ● Linear Regression helps by… ● Continue adjusting code… ● Next steps (setting DPOT & DAC), revision with sequence

References ● C. Drennan, Interfacing to the Booster BLM Upgrade Integrator/Digitizer VME Module. Fermilab BEAM-DOCS- 3780, February ● C. Drennan, Booster Beam Loss Monitor Data Acquisition and Presentation Specication. Fermilab BEAM-DOCS- 3723, December ● Press, William H.. Numerical recipes in C: the art of scientific computing. Cambridge [Cambridgeshire: Cambridge University Press, Print. ●

Acknowledgements BIG THANKS to: The SIST team: Ms. Dianne Engram, Dr. Elliot McCrory, Ms.Linda Diepholz Supervisor Craig Drennan All involved with SIST (interns, lecturers, other depts.) Accelerator/Booster division Fermilab/DOE

???????Questions??????