SlideShare a Scribd company logo
1 of 3
Download to read offline
DEVELOPMENT OF AN AUTOMATIC MATLAB BASED
EMITTANCE MEASUREMENT TOOL FOR IAC ACCELERATORS
C. Eckman∗
, Y. Kim, A. Andrews, S. Setiniyaz, A. Hunt, and D. Wells,
Department of Physics, Idaho State University, Pocatello, ID 83209, USA
Abstract
At the Idaho Accelerator Center (IAC) of Idaho State
University [1], we have been operating nine low energy
accelerators. To optimize those accelerators properly,
we have to measure the transverse beam emittance. We
installed an Optical Transition Radiation (OTR) screen
and a prosilica GigE GC1290 digital CCD camera [2] in
the beamline of an S-band linear accelerator to measure
the transverse beam emittance with the quadrupole scan
method. From the images of the digital CCD camera,
the transverse beam profile on the OTR screen can be ac-
quired. We have developed MATLAB codes that can ex-
tract the transverse beam size and estimate the transverse
beam emittance. This paper describes the developed MAT-
LAB program and an automatic emittance measurement
tool, which is based on EPICS, MATLAB Channel Access
(MCA), and MATLAB.
INTRODUCTION
It is important to measure the traverse beam emittance
in accelerators for optics matching in a beamline and to
judge the beam quality. Though there are many ways to
measure transverse emittance, the quadrupole scan method
was used to measure the emittance at the High Repetition
Rate Linear accelerator (HRRL) at the IAC [3–5]. To mea-
sure the emittance of the IAC HRRL accelerator, an EPICS,
MCA, and MATLAB based automatic emittance measure-
ment tool was developed as shown in Fig. 1.
EPICS is the most popular control software in acceler-
ator community, whereas MCA is an extension of EPICS
to transfer data between equipments and MATLAB [6]. To
control the current of the TDK-Lambda ZUP magnet power
supply and the shutter of the Prosilica GigE CCD camera
simultaneously, several MCA commands are used in MAT-
LAB codes, and beam images are automatically captured
by MATLAB codes during the scanning of the quadrupole
magnet current. All these processes can be controlled with
MATLAB codes by changing the current of the power sup-
ply, hence magnetic field of the quadrupole and by taking
corresponding beam images at each quadrupole scanning
step. By using MCA commands, MATLAB codes can get
values of the quadrupole strength and beam images. Then,
they are used to extract beam sizes and to estimate trans-
verse beam emittance in MATLAB codes. These are all
fully automatized processes controlled by MATLAB codes
to measure the transverse beam emittance.
∗ cryptoscientia@gmail.com
Figure 1: The schematic layout of the IAC automatic emit-
tance measurement system.
QUADRUPLE SCAN METHOD
Setup for Measurements
As shown in Fig. 1, the quadrupole scan method for the
emittance measurement uses a quadrupole and a screen to
find a correlation between strength of the quadrupole and
beam size on the screen. From this correlation and the
second order polynomial fitting, we can extract the trans-
verse beam emittance. This is accomplished by changing
the quadrupole normalized strength k, which can be done
by changing the current of the magnet power supply.
When the electron beam hits an OTR screen, an opti-
cal transition radiation will be generated from the screen,
which is located at a 3.1 m long distance L from the cen-
ter of the scanning quadrupole. The OTR screen is verti-
cally mounted on an actuator arm and sits with an angle of
45 degree with respect to the beam direction, and there is a
quartz crystal window that allows the radiation light from
the OTR to pass through to the CCD camera. The camera
has a lens system to transfer the light from the OTR screen
to the CCD camera [4]. By capturing the image of the ra-
diation light with a CCD camera, we can obtain the trans-
verse beam profile, rms beam size, and beam emittance.
The process for the emittance measurement starts with
subtracting the background, which is an image of the noises
due to dark current and other sources, such as stray light.
By subtracting the background, the beam image becomes
more clear as shown in Fig. 2. Then the horizontal and
vertical projections of the image are used to find rms beam
size as shown in Fig. 3.
Figure 2: (top) the background of an image without the
beam, (bottom) the beam image after the background sub-
traction.
Figure 3: The beam profile image after the background sub-
traction and its horizontal and vertical projections with the
Super-Gaussian fitting.
Since our beam profile is the Lorentzian shape, the reg-
ular Gaussian fitting does not work to extract beam size.
Therefore we used the Super-Gaussian function to get the
correct beam size as shown in Fig. 3, where green and
red lines display the measured image data and its fitting,
respectively. After taking ten images continuously for a
given quadrupole current value, these images were aver-
aged to get a more precise beam size. These background
subtraction and image averaging processes were done until
the quadrupole scanning was completely finished.
Since the raw data of camera does not supply a real phys-
ical dimension on the beam size, a calibration is required
to get the real beam size. From known distances between
screen holders, the calibrations between camera pixels and
the physical distances were made in the horizontal and ver-
tical planes. As summarized in Table 1, these calibrations
provide the physical units such as μm for our beam size.
During the quadrupole scanning, after assuming the thin
lens approximation, the correlation between σ2
s and kLq
can be given by
σ2
s = A(kLq)2
− 2AB(kLq) + (C + AB2
) , (1)
where σs is the rms beam size on the screen, Lq = 0.15 m
is the quadrupole length, k is the normalized quadrupole
strength, A, B, and C are coefficients which can be found
from the second order polynomial fitting. Then, the un-
normalized geometrical emittance can be defined as
=
√
AC/L2
. (2)
Therefore, we can extract the emittance and the twiss
parameters (α and β) by performing the second order poly-
nomial fitting after plotting σ2
s versus kLq [3–5,7] as shown
in Fig. 4.
Measured Emittance
The main parameters of the HRRL accelerator during the
quadrupole scanning and the results afterwards are summa-
rized in Table 1. Its estimated normalized horizontal and
vertical emittances are nx = 12.02 ± 0.376 μm and ny =
9.13 ± 0.286 μm, respectively.
Table 1: Measured Parameters during Quadrupole Scan
Parameter Unit Value
RF frequency MHz 2855
RF macropulse length (FWHM) ns 200
single bunch charge pC 14.5
energy MeV 14
horizontal pixel calibration factor μm/pixel 43.1
vertical pixel calibration factor μm/pixel 42.2
normalized x-emittance nx μm 12.02
normalized y-emittance ny μm 9.13
horizontal α-function 1.465
vertical α-function 0.651
horizontal β-function m 0.659
vertical β-function m 0.516
Figure 4: Horizontal (top) and vertical (bottom) 2nd
order
polynomial plots fitted for the emittance measurement.
MCA & AUTOMATIC MEASUREMENTS
EPICS is the most popular control software in acceler-
ator community and can control all aspects of accelerator
operation. Our automatic emittance measurement tool uses
two EPICS extensions, AreaDetector for proper camera
function and MCA for interaction between the equipment
and MATLAB. The main commands of MCA to open the
desired channels between the equipment and MATLAB, to
read information, and to rewrite Process Variables (PV’s)
are MCAOPEN, MCAGET and MCAPUT. An example of
the MCA and MATLAB code is following [6];
CameraAcquire=MCAOPEN(’13PS1:cam1:Acquire’);
AcquireData=MCAGET(CameraAcquire);
MCAPUT(CameraAcquire,1);
MCACLOSE(CameraAcquire);
where ’13PS1:cam1:Acquire’ is the PV name to con-
trol the camera shutter. The MCAGET will retrieve the
status on the PV of the camera shutter. If the CameraAc-
quire is 0, then the camera shutter is closed. However if
the CameraAcquire value is 1, then the shutter is open,
and the camera starts taking images. The MCAPUT will
write values into the PV, such as 1 or 0 for shutter open
or shutter closed, and the MCACLOSE will close the
channel of the PV’s [6]. By using these MCA commands
in MATLAB codes, the emittance measurement system
will automatically collect data from the camera and the
magnet power supply as shown in Fig. 5.
Figure 5: Power supply current and camera being con-
trolled by MCA through MATLAB program.
SUMMARY
To measure the transverse beam emittance of the IAC ac-
celerators, we developed an EPICS, MCA, and MATLAB
based automatic emittance measurement tool. By using the
automatic tool, we successfully measured the emittance of
the IAC HRRL accelerator and dramatically reduced the
measurement time, as well as human based data processing
error. We expect that this MATLAB program can be used
to measure the emittance of any IAC accelerator. We would
also like to give our sincere thanks to Dr. Mark Rivers of
APS for his advice and guidance on AreaDetetor and MCA.
In addition, we would like to thank Dr. Kukhee Kim and
Dr. Henrik Loos of SLAC for their strong interest and en-
couragement in this project.
REFERENCES
[1] http://www.iac.isu.edu
[2] http://www.alliedvisiontec.com/us/products/cameras/gigabit-
ethernet/prosilica-gc/gc1290.html
[3] M. Ferianis, in Proc. EPAC1998, Stockholm, Sweden.
[4] S. Setiniyaz et al. in Proc. IPAC2012, New Orleans, LA,
USA.
[5] Y. Kim, Lecture Notes, http://www.isu.edu/∼yjkim
[6] A. Andrews et al. in Proc. IPAC2012, New Orleans, LA,
USA.
[7] C. Kuo, in Proc. ICALEPCS2005, Geneva, Switzerland.

More Related Content

What's hot

Incorporate ACO routing algorithm and mobile sink in wireless sensor networks
Incorporate ACO routing algorithm and mobile sink in wireless sensor networks Incorporate ACO routing algorithm and mobile sink in wireless sensor networks
Incorporate ACO routing algorithm and mobile sink in wireless sensor networks IJECEIAES
 
COMPARISON BETWEEN ENERGY EFFICIENT COOPERATIVE MIMO AND COOPERATIVE RELAY IN...
COMPARISON BETWEEN ENERGY EFFICIENT COOPERATIVE MIMO AND COOPERATIVE RELAY IN...COMPARISON BETWEEN ENERGY EFFICIENT COOPERATIVE MIMO AND COOPERATIVE RELAY IN...
COMPARISON BETWEEN ENERGY EFFICIENT COOPERATIVE MIMO AND COOPERATIVE RELAY IN...jantjournal
 
Robust Evolutionary Approach to Mitigate Low Frequency Oscillation in a Multi...
Robust Evolutionary Approach to Mitigate Low Frequency Oscillation in a Multi...Robust Evolutionary Approach to Mitigate Low Frequency Oscillation in a Multi...
Robust Evolutionary Approach to Mitigate Low Frequency Oscillation in a Multi...IDES Editor
 
Inductive power transfer
Inductive power transferInductive power transfer
Inductive power transferSukanya Jadhav
 
Beamforming for 5G Networks
Beamforming for 5G NetworksBeamforming for 5G Networks
Beamforming for 5G Networksijtsrd
 
Non-radiative wireless energy transfer with single layer dual-band printed sp...
Non-radiative wireless energy transfer with single layer dual-band printed sp...Non-radiative wireless energy transfer with single layer dual-band printed sp...
Non-radiative wireless energy transfer with single layer dual-band printed sp...journalBEEI
 
Study on the application of genetic algorithms in the optimization of wireles...
Study on the application of genetic algorithms in the optimization of wireles...Study on the application of genetic algorithms in the optimization of wireles...
Study on the application of genetic algorithms in the optimization of wireles...Amir Shokri
 
IRJET - Energy Efficient Enhanced K-Means Cluster-Based Routing Protocol for WSN
IRJET - Energy Efficient Enhanced K-Means Cluster-Based Routing Protocol for WSNIRJET - Energy Efficient Enhanced K-Means Cluster-Based Routing Protocol for WSN
IRJET - Energy Efficient Enhanced K-Means Cluster-Based Routing Protocol for WSNIRJET Journal
 
NETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKS
NETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKSNETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKS
NETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKSMadhav Thekkedath
 
Survey paper on adaptive beamforming lms,nlms and rls algorithms for smart an...
Survey paper on adaptive beamforming lms,nlms and rls algorithms for smart an...Survey paper on adaptive beamforming lms,nlms and rls algorithms for smart an...
Survey paper on adaptive beamforming lms,nlms and rls algorithms for smart an...eSAT Journals
 
Design of PV backup system for data center
Design of PV backup system for data centerDesign of PV backup system for data center
Design of PV backup system for data centerMohamed Abbas
 
AN EFFICIENT ALGORITHM FOR WRAPPER AND TAM CO-OPTIMIZATION TO REDUCE TEST APP...
AN EFFICIENT ALGORITHM FOR WRAPPER AND TAM CO-OPTIMIZATION TO REDUCE TEST APP...AN EFFICIENT ALGORITHM FOR WRAPPER AND TAM CO-OPTIMIZATION TO REDUCE TEST APP...
AN EFFICIENT ALGORITHM FOR WRAPPER AND TAM CO-OPTIMIZATION TO REDUCE TEST APP...IAEME Publication
 
Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...
Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...
Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...Kaivalya Shah
 
IRJET - Enhanced Performance Analysis Comparison of Inter – Aircraft Optical ...
IRJET - Enhanced Performance Analysis Comparison of Inter – Aircraft Optical ...IRJET - Enhanced Performance Analysis Comparison of Inter – Aircraft Optical ...
IRJET - Enhanced Performance Analysis Comparison of Inter – Aircraft Optical ...IRJET Journal
 
MAXIMUM POWER POINT TRACKING WITH ARTIFICIAL NEURAL NET WORK
MAXIMUM POWER POINT TRACKING WITH ARTIFICIAL NEURAL NET WORKMAXIMUM POWER POINT TRACKING WITH ARTIFICIAL NEURAL NET WORK
MAXIMUM POWER POINT TRACKING WITH ARTIFICIAL NEURAL NET WORKIAEME Publication
 

What's hot (20)

Incorporate ACO routing algorithm and mobile sink in wireless sensor networks
Incorporate ACO routing algorithm and mobile sink in wireless sensor networks Incorporate ACO routing algorithm and mobile sink in wireless sensor networks
Incorporate ACO routing algorithm and mobile sink in wireless sensor networks
 
COMPARISON BETWEEN ENERGY EFFICIENT COOPERATIVE MIMO AND COOPERATIVE RELAY IN...
COMPARISON BETWEEN ENERGY EFFICIENT COOPERATIVE MIMO AND COOPERATIVE RELAY IN...COMPARISON BETWEEN ENERGY EFFICIENT COOPERATIVE MIMO AND COOPERATIVE RELAY IN...
COMPARISON BETWEEN ENERGY EFFICIENT COOPERATIVE MIMO AND COOPERATIVE RELAY IN...
 
Robust Evolutionary Approach to Mitigate Low Frequency Oscillation in a Multi...
Robust Evolutionary Approach to Mitigate Low Frequency Oscillation in a Multi...Robust Evolutionary Approach to Mitigate Low Frequency Oscillation in a Multi...
Robust Evolutionary Approach to Mitigate Low Frequency Oscillation in a Multi...
 
Inductive power transfer
Inductive power transferInductive power transfer
Inductive power transfer
 
Beamforming for 5G Networks
Beamforming for 5G NetworksBeamforming for 5G Networks
Beamforming for 5G Networks
 
Non-radiative wireless energy transfer with single layer dual-band printed sp...
Non-radiative wireless energy transfer with single layer dual-band printed sp...Non-radiative wireless energy transfer with single layer dual-band printed sp...
Non-radiative wireless energy transfer with single layer dual-band printed sp...
 
Study on the application of genetic algorithms in the optimization of wireles...
Study on the application of genetic algorithms in the optimization of wireles...Study on the application of genetic algorithms in the optimization of wireles...
Study on the application of genetic algorithms in the optimization of wireles...
 
IRJET - Energy Efficient Enhanced K-Means Cluster-Based Routing Protocol for WSN
IRJET - Energy Efficient Enhanced K-Means Cluster-Based Routing Protocol for WSNIRJET - Energy Efficient Enhanced K-Means Cluster-Based Routing Protocol for WSN
IRJET - Energy Efficient Enhanced K-Means Cluster-Based Routing Protocol for WSN
 
NETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKS
NETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKSNETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKS
NETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKS
 
Beam forming
Beam formingBeam forming
Beam forming
 
Survey paper on adaptive beamforming lms,nlms and rls algorithms for smart an...
Survey paper on adaptive beamforming lms,nlms and rls algorithms for smart an...Survey paper on adaptive beamforming lms,nlms and rls algorithms for smart an...
Survey paper on adaptive beamforming lms,nlms and rls algorithms for smart an...
 
Design of PV backup system for data center
Design of PV backup system for data centerDesign of PV backup system for data center
Design of PV backup system for data center
 
AN EFFICIENT ALGORITHM FOR WRAPPER AND TAM CO-OPTIMIZATION TO REDUCE TEST APP...
AN EFFICIENT ALGORITHM FOR WRAPPER AND TAM CO-OPTIMIZATION TO REDUCE TEST APP...AN EFFICIENT ALGORITHM FOR WRAPPER AND TAM CO-OPTIMIZATION TO REDUCE TEST APP...
AN EFFICIENT ALGORITHM FOR WRAPPER AND TAM CO-OPTIMIZATION TO REDUCE TEST APP...
 
Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...
Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...
Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...
 
55 cr banu_ioan
55 cr banu_ioan55 cr banu_ioan
55 cr banu_ioan
 
IRJET - Enhanced Performance Analysis Comparison of Inter – Aircraft Optical ...
IRJET - Enhanced Performance Analysis Comparison of Inter – Aircraft Optical ...IRJET - Enhanced Performance Analysis Comparison of Inter – Aircraft Optical ...
IRJET - Enhanced Performance Analysis Comparison of Inter – Aircraft Optical ...
 
Soft computing and IoT based solar tracker
Soft computing and IoT based solar trackerSoft computing and IoT based solar tracker
Soft computing and IoT based solar tracker
 
Rotating blade faults classification of a rotor-disk-blade system using artif...
Rotating blade faults classification of a rotor-disk-blade system using artif...Rotating blade faults classification of a rotor-disk-blade system using artif...
Rotating blade faults classification of a rotor-disk-blade system using artif...
 
MAXIMUM POWER POINT TRACKING WITH ARTIFICIAL NEURAL NET WORK
MAXIMUM POWER POINT TRACKING WITH ARTIFICIAL NEURAL NET WORKMAXIMUM POWER POINT TRACKING WITH ARTIFICIAL NEURAL NET WORK
MAXIMUM POWER POINT TRACKING WITH ARTIFICIAL NEURAL NET WORK
 
wireless power transfer
wireless power transferwireless power transfer
wireless power transfer
 

Similar to TUPPC055_Final

CT based Image Guided Radiotherapy - Physics & QA
CT based Image Guided Radiotherapy - Physics & QACT based Image Guided Radiotherapy - Physics & QA
CT based Image Guided Radiotherapy - Physics & QASambasivaselli R
 
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-II
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-IIDesign of Linear Array Transducer Using Ultrasound Simulation Program Field-II
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-IIinventy
 
Satellite Imaging System
Satellite Imaging SystemSatellite Imaging System
Satellite Imaging SystemCSCJournals
 
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...ijwmn
 
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...ijwmn
 
Modeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGOModeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGOHunter Rew
 
A ROS IMPLEMENTATION OF THE MONO-SLAM ALGORITHM
A ROS IMPLEMENTATION OF THE MONO-SLAM ALGORITHMA ROS IMPLEMENTATION OF THE MONO-SLAM ALGORITHM
A ROS IMPLEMENTATION OF THE MONO-SLAM ALGORITHMcsandit
 
Advanced Image Reconstruction Algorithms in MRIfor ISMRMversion finalll
Advanced Image Reconstruction Algorithms in MRIfor ISMRMversion finalllAdvanced Image Reconstruction Algorithms in MRIfor ISMRMversion finalll
Advanced Image Reconstruction Algorithms in MRIfor ISMRMversion finalllMuddassar Abbasi
 
Leader Follower Formation Control of Ground Vehicles Using Dynamic Pixel Coun...
Leader Follower Formation Control of Ground Vehicles Using Dynamic Pixel Coun...Leader Follower Formation Control of Ground Vehicles Using Dynamic Pixel Coun...
Leader Follower Formation Control of Ground Vehicles Using Dynamic Pixel Coun...ijma
 
5-IMAGE RECONSTRUCTION in CT Scan-Rohit.pptx
5-IMAGE RECONSTRUCTION in CT Scan-Rohit.pptx5-IMAGE RECONSTRUCTION in CT Scan-Rohit.pptx
5-IMAGE RECONSTRUCTION in CT Scan-Rohit.pptxRohit Bansal
 
Enhanced Mobile Node Tracking With Received Signal Strength in Wireless Senso...
Enhanced Mobile Node Tracking With Received Signal Strength in Wireless Senso...Enhanced Mobile Node Tracking With Received Signal Strength in Wireless Senso...
Enhanced Mobile Node Tracking With Received Signal Strength in Wireless Senso...IOSR Journals
 

Similar to TUPPC055_Final (20)

CT based Image Guided Radiotherapy - Physics & QA
CT based Image Guided Radiotherapy - Physics & QACT based Image Guided Radiotherapy - Physics & QA
CT based Image Guided Radiotherapy - Physics & QA
 
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-II
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-IIDesign of Linear Array Transducer Using Ultrasound Simulation Program Field-II
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-II
 
Satellite Imaging System
Satellite Imaging SystemSatellite Imaging System
Satellite Imaging System
 
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
 
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
3D METALLIC PLATE LENS ANTENNA BASED BEAMSPACE CHANNEL ESTIMATION TECHNIQUE F...
 
Lab2_final
Lab2_finalLab2_final
Lab2_final
 
D04432528
D04432528D04432528
D04432528
 
K25047051
K25047051K25047051
K25047051
 
K25047051
K25047051K25047051
K25047051
 
Project report. fin
Project report. finProject report. fin
Project report. fin
 
Salamanca_Research_Paper
Salamanca_Research_PaperSalamanca_Research_Paper
Salamanca_Research_Paper
 
Modeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGOModeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGO
 
A ROS IMPLEMENTATION OF THE MONO-SLAM ALGORITHM
A ROS IMPLEMENTATION OF THE MONO-SLAM ALGORITHMA ROS IMPLEMENTATION OF THE MONO-SLAM ALGORITHM
A ROS IMPLEMENTATION OF THE MONO-SLAM ALGORITHM
 
Advanced Image Reconstruction Algorithms in MRIfor ISMRMversion finalll
Advanced Image Reconstruction Algorithms in MRIfor ISMRMversion finalllAdvanced Image Reconstruction Algorithms in MRIfor ISMRMversion finalll
Advanced Image Reconstruction Algorithms in MRIfor ISMRMversion finalll
 
M.sc. m kamel
M.sc. m kamelM.sc. m kamel
M.sc. m kamel
 
Leader Follower Formation Control of Ground Vehicles Using Dynamic Pixel Coun...
Leader Follower Formation Control of Ground Vehicles Using Dynamic Pixel Coun...Leader Follower Formation Control of Ground Vehicles Using Dynamic Pixel Coun...
Leader Follower Formation Control of Ground Vehicles Using Dynamic Pixel Coun...
 
5-IMAGE RECONSTRUCTION in CT Scan-Rohit.pptx
5-IMAGE RECONSTRUCTION in CT Scan-Rohit.pptx5-IMAGE RECONSTRUCTION in CT Scan-Rohit.pptx
5-IMAGE RECONSTRUCTION in CT Scan-Rohit.pptx
 
Sensory Substitution
Sensory SubstitutionSensory Substitution
Sensory Substitution
 
EPD_R&D_Proposal
EPD_R&D_ProposalEPD_R&D_Proposal
EPD_R&D_Proposal
 
Enhanced Mobile Node Tracking With Received Signal Strength in Wireless Senso...
Enhanced Mobile Node Tracking With Received Signal Strength in Wireless Senso...Enhanced Mobile Node Tracking With Received Signal Strength in Wireless Senso...
Enhanced Mobile Node Tracking With Received Signal Strength in Wireless Senso...
 

TUPPC055_Final

  • 1. DEVELOPMENT OF AN AUTOMATIC MATLAB BASED EMITTANCE MEASUREMENT TOOL FOR IAC ACCELERATORS C. Eckman∗ , Y. Kim, A. Andrews, S. Setiniyaz, A. Hunt, and D. Wells, Department of Physics, Idaho State University, Pocatello, ID 83209, USA Abstract At the Idaho Accelerator Center (IAC) of Idaho State University [1], we have been operating nine low energy accelerators. To optimize those accelerators properly, we have to measure the transverse beam emittance. We installed an Optical Transition Radiation (OTR) screen and a prosilica GigE GC1290 digital CCD camera [2] in the beamline of an S-band linear accelerator to measure the transverse beam emittance with the quadrupole scan method. From the images of the digital CCD camera, the transverse beam profile on the OTR screen can be ac- quired. We have developed MATLAB codes that can ex- tract the transverse beam size and estimate the transverse beam emittance. This paper describes the developed MAT- LAB program and an automatic emittance measurement tool, which is based on EPICS, MATLAB Channel Access (MCA), and MATLAB. INTRODUCTION It is important to measure the traverse beam emittance in accelerators for optics matching in a beamline and to judge the beam quality. Though there are many ways to measure transverse emittance, the quadrupole scan method was used to measure the emittance at the High Repetition Rate Linear accelerator (HRRL) at the IAC [3–5]. To mea- sure the emittance of the IAC HRRL accelerator, an EPICS, MCA, and MATLAB based automatic emittance measure- ment tool was developed as shown in Fig. 1. EPICS is the most popular control software in acceler- ator community, whereas MCA is an extension of EPICS to transfer data between equipments and MATLAB [6]. To control the current of the TDK-Lambda ZUP magnet power supply and the shutter of the Prosilica GigE CCD camera simultaneously, several MCA commands are used in MAT- LAB codes, and beam images are automatically captured by MATLAB codes during the scanning of the quadrupole magnet current. All these processes can be controlled with MATLAB codes by changing the current of the power sup- ply, hence magnetic field of the quadrupole and by taking corresponding beam images at each quadrupole scanning step. By using MCA commands, MATLAB codes can get values of the quadrupole strength and beam images. Then, they are used to extract beam sizes and to estimate trans- verse beam emittance in MATLAB codes. These are all fully automatized processes controlled by MATLAB codes to measure the transverse beam emittance. ∗ cryptoscientia@gmail.com Figure 1: The schematic layout of the IAC automatic emit- tance measurement system. QUADRUPLE SCAN METHOD Setup for Measurements As shown in Fig. 1, the quadrupole scan method for the emittance measurement uses a quadrupole and a screen to find a correlation between strength of the quadrupole and beam size on the screen. From this correlation and the second order polynomial fitting, we can extract the trans- verse beam emittance. This is accomplished by changing the quadrupole normalized strength k, which can be done by changing the current of the magnet power supply. When the electron beam hits an OTR screen, an opti- cal transition radiation will be generated from the screen, which is located at a 3.1 m long distance L from the cen- ter of the scanning quadrupole. The OTR screen is verti- cally mounted on an actuator arm and sits with an angle of 45 degree with respect to the beam direction, and there is a quartz crystal window that allows the radiation light from the OTR to pass through to the CCD camera. The camera has a lens system to transfer the light from the OTR screen to the CCD camera [4]. By capturing the image of the ra- diation light with a CCD camera, we can obtain the trans- verse beam profile, rms beam size, and beam emittance. The process for the emittance measurement starts with subtracting the background, which is an image of the noises due to dark current and other sources, such as stray light. By subtracting the background, the beam image becomes more clear as shown in Fig. 2. Then the horizontal and
  • 2. vertical projections of the image are used to find rms beam size as shown in Fig. 3. Figure 2: (top) the background of an image without the beam, (bottom) the beam image after the background sub- traction. Figure 3: The beam profile image after the background sub- traction and its horizontal and vertical projections with the Super-Gaussian fitting. Since our beam profile is the Lorentzian shape, the reg- ular Gaussian fitting does not work to extract beam size. Therefore we used the Super-Gaussian function to get the correct beam size as shown in Fig. 3, where green and red lines display the measured image data and its fitting, respectively. After taking ten images continuously for a given quadrupole current value, these images were aver- aged to get a more precise beam size. These background subtraction and image averaging processes were done until the quadrupole scanning was completely finished. Since the raw data of camera does not supply a real phys- ical dimension on the beam size, a calibration is required to get the real beam size. From known distances between screen holders, the calibrations between camera pixels and the physical distances were made in the horizontal and ver- tical planes. As summarized in Table 1, these calibrations provide the physical units such as μm for our beam size. During the quadrupole scanning, after assuming the thin lens approximation, the correlation between σ2 s and kLq can be given by σ2 s = A(kLq)2 − 2AB(kLq) + (C + AB2 ) , (1) where σs is the rms beam size on the screen, Lq = 0.15 m is the quadrupole length, k is the normalized quadrupole strength, A, B, and C are coefficients which can be found from the second order polynomial fitting. Then, the un- normalized geometrical emittance can be defined as = √ AC/L2 . (2) Therefore, we can extract the emittance and the twiss parameters (α and β) by performing the second order poly- nomial fitting after plotting σ2 s versus kLq [3–5,7] as shown in Fig. 4. Measured Emittance The main parameters of the HRRL accelerator during the quadrupole scanning and the results afterwards are summa- rized in Table 1. Its estimated normalized horizontal and vertical emittances are nx = 12.02 ± 0.376 μm and ny = 9.13 ± 0.286 μm, respectively. Table 1: Measured Parameters during Quadrupole Scan Parameter Unit Value RF frequency MHz 2855 RF macropulse length (FWHM) ns 200 single bunch charge pC 14.5 energy MeV 14 horizontal pixel calibration factor μm/pixel 43.1 vertical pixel calibration factor μm/pixel 42.2 normalized x-emittance nx μm 12.02 normalized y-emittance ny μm 9.13 horizontal α-function 1.465 vertical α-function 0.651 horizontal β-function m 0.659 vertical β-function m 0.516
  • 3. Figure 4: Horizontal (top) and vertical (bottom) 2nd order polynomial plots fitted for the emittance measurement. MCA & AUTOMATIC MEASUREMENTS EPICS is the most popular control software in acceler- ator community and can control all aspects of accelerator operation. Our automatic emittance measurement tool uses two EPICS extensions, AreaDetector for proper camera function and MCA for interaction between the equipment and MATLAB. The main commands of MCA to open the desired channels between the equipment and MATLAB, to read information, and to rewrite Process Variables (PV’s) are MCAOPEN, MCAGET and MCAPUT. An example of the MCA and MATLAB code is following [6]; CameraAcquire=MCAOPEN(’13PS1:cam1:Acquire’); AcquireData=MCAGET(CameraAcquire); MCAPUT(CameraAcquire,1); MCACLOSE(CameraAcquire); where ’13PS1:cam1:Acquire’ is the PV name to con- trol the camera shutter. The MCAGET will retrieve the status on the PV of the camera shutter. If the CameraAc- quire is 0, then the camera shutter is closed. However if the CameraAcquire value is 1, then the shutter is open, and the camera starts taking images. The MCAPUT will write values into the PV, such as 1 or 0 for shutter open or shutter closed, and the MCACLOSE will close the channel of the PV’s [6]. By using these MCA commands in MATLAB codes, the emittance measurement system will automatically collect data from the camera and the magnet power supply as shown in Fig. 5. Figure 5: Power supply current and camera being con- trolled by MCA through MATLAB program. SUMMARY To measure the transverse beam emittance of the IAC ac- celerators, we developed an EPICS, MCA, and MATLAB based automatic emittance measurement tool. By using the automatic tool, we successfully measured the emittance of the IAC HRRL accelerator and dramatically reduced the measurement time, as well as human based data processing error. We expect that this MATLAB program can be used to measure the emittance of any IAC accelerator. We would also like to give our sincere thanks to Dr. Mark Rivers of APS for his advice and guidance on AreaDetetor and MCA. In addition, we would like to thank Dr. Kukhee Kim and Dr. Henrik Loos of SLAC for their strong interest and en- couragement in this project. REFERENCES [1] http://www.iac.isu.edu [2] http://www.alliedvisiontec.com/us/products/cameras/gigabit- ethernet/prosilica-gc/gc1290.html [3] M. Ferianis, in Proc. EPAC1998, Stockholm, Sweden. [4] S. Setiniyaz et al. in Proc. IPAC2012, New Orleans, LA, USA. [5] Y. Kim, Lecture Notes, http://www.isu.edu/∼yjkim [6] A. Andrews et al. in Proc. IPAC2012, New Orleans, LA, USA. [7] C. Kuo, in Proc. ICALEPCS2005, Geneva, Switzerland.