Jan Chrin, Pierre-André Duperrex, Alessandro Facchetti, Daniele, Felici, Waldamar Koprek
April 2025
Time of Flight Measurement for Injector and Ring Cyclotron Turn Number Ascertainment, TINA
About
The TINA application determines the number of turns in a cyclotron
from a Time of Flight (TOF) measurement technique and a cross-correlation
of fast sampled data from capacitive sensors located at the entrance and exit
of the cycolotron. This is based on a python implementation of a LabVIEW application developed by
Pierre-André Duperrex:
P.-A. Duperrex and A. Facchetti,
Number of Turn Measurements on the HIPA Cyclotrons at PSI.
doi:10.18429/JACoW-IPAC2018-WEPAL067
The Repository
The application comprises two components:
-
The low-level ADC data acquisition system is detailed in the following repositories:
https://git.psi.ch/GFA/CO/general/CPSI_SCOPE/CPSI_SCOPE
https://git.psi.ch/epics_iocboot_hipa/z_di_turn_count
-
A High Level Application (HLA) that is able to interact with the IOC, start a low-level data acquistion run,
acquire the raw data, and perform the number of terms analysis.
https://gitlab.psi.ch/hipa_apps4ops/tina
/hipa/bd/applications/tina/latest/tina.sh
GUI, Control Tab
Main panel for use by operators.
Accelerator Panel
Input parameters to analysis routine, as configured in tina.json.
The Injector has NOT yet been implemented into the application.
Cyclotron
| Parameter |
Value |
| Harmonic No. | 6 |
| dT Cable (ns) | 44 |
| dN Pickup | -1 |
| |
Injector
| Parameter |
Value |
| Harmonic No. | 10 |
| dT Cable (ns) | 6.9 |
| dN Pickup | 4 |
| Mod. Freq. (GHz) | 500 |
| Duty Cycle (%) | 1 |
|
Expert Panel
Input parameters to the peak search analysis, as configured in tina.json.
The Injector has NOT yet been implemented into the application.
| Parameter |
Cyclotron |
| Minimum Peak Height: | 50 |
| Minimum distance between peaks: | 10 |
| Minimim difference in correlation between top two peaks: | 0.01 |
| Minimum Current in Injector: | 1.0 |
| |
|
The Oscilloscope option disables setting values to epics process variables and is meant for testing code with raw data collected from the oscilloscope and stored in hdf5 files:
/hipa/bd/data/measurements/Tina_2024-09-18_oscilloscope.h5
Procedure
Within the Procedure group, the Start button executes the analysis program
which usually takes less than 10 seconds to complete. 3'010'560 samples are
collected per channel (entry wf/exit wf).
The SaveAll button:
- writes the number of turns measured into an epics process variable,
- save the raw data to hdf5,
- opens a dialog window for submission to the selected elog book.
These actions can also be executed individually through icons placed in the menu bar.
Data can be recalled from hdf5 and reanalyzed using the HDF analysis functionality
made available through a docked widget in the menu bar (right click on the menu bar
and select the HDF5 option).
TINA Image
|
Tina Turner |