=Paper= {{Paper |id=Vol-2023/345-350-paper-56 |storemode=property |title=The subsystem of the internal beam intensity diagnostics at the Nuclotron |pdfUrl=https://ceur-ws.org/Vol-2023/345-350-paper-56.pdf |volume=Vol-2023 |authors=Vasily Andreev,Andrey Butenko,Vladimir Elkin,Evgeny Gorbachev,Viktor Isadov,Alexandr Kirichenko,Sergei Romanov,Valery Volkov }} ==The subsystem of the internal beam intensity diagnostics at the Nuclotron== https://ceur-ws.org/Vol-2023/345-350-paper-56.pdf
    Proceedings of the XXVI International Symposium on Nuclear Electronics & Computing (NEC’2017)
                          Becici, Budva, Montenegro, September 25 - 29, 2017



 THE SUBSYSTEM OF THE INTERNAL BEAM INTENSITY
         DIAGNOSTICS AT THE NUCLOTRON
         V. Andreeva, A. Butenko, V. Elkin , E. Gorbachev, V. Isadov,
                   A. Kirichenko, S. Romanov, V. Volkov
  Laboratory of High Energy Physics, Joint Institute for Nuclear Research, 6 Joliot-Curie, Dubna,
                               Moscow region, 141980, Russia

                                      E-mail:avandreev@jinr.ru


The superconducting synchrotron Nuclotron is the base of a new accelerator complex NICA designed
at the LHEP, JINR. It is very important to monitor dynamics of its internal beam intensity during an
acceleration cycle for proper tuning and functioning of the setup. The new parametric current
transformer of Bergoz Instrumentation with frequency response DС to 10 kHz is used for measuring
the beam DC intensity in the Nuclotron ring. Data acquisition is performed by multifunctional DAQ
device NI6284 (18-bit) of National Instruments. The software complex provides efficient work of the
intensity monitoring subsystem. It consists of the subsystem server and several clients specialized for
operators, stuff member and experimentalists. The software has been designed in the TANGO
Controls concept and fully integrated into the TANGO system of NICA. The structure, principle of
functioning, operational experience in the recent Nuclotron runs and further improvement of the
software complex are reported.

Keywords: synchrotron, control system, beam diagnostics, TANGO Controls

  © 2017 Vasily A. Andreev, Andrey V. Butenko, Vladimir G. Elkin, Evgeny V. Gorbachev, Viktor A. Isadov,
                                            Alexandr E. Kirichenko, Sergei V. Romanov, Valery I. Volkov




                                                                                                    345
    Proceedings of the XXVI International Symposium on Nuclear Electronics & Computing (NEC’2017)
                          Becici, Budva, Montenegro, September 25 - 29, 2017




1. The New Parametric Current Transformer
         The 6 GeV/u superconducting synchrotron Nuclotron [1] is the base of a new accelerator
complex NICA [2] designed at the LHEP, JINR. It is very important to monitor dynamics of its
internal beam intensity during an acceleration cycle for proper tuning and functioning of the setup.
         The Parametric Current Transformer is used at the most of accelerators in the world to
measure the average beam current and, consequently, the intensity and lifetime of the beam. At the
Nuclotron we apply the New Parametric Current Transformer (NPCT) [3] of Bergoz Instrumentation.
The toroid sensor head of the NPCT is embedded on the accelerator ring near the internal target
station (see Fig.1) while the Transformer chassis with electronics and power supplies is mounted in a
rack placed above the accelerator tunnel.




                    Figure 1. The NPCT sensor embedded on the Nuclotron ring

       The transformer produces a voltage signal proportional to the beam current. The frequency
response DC of the NPCT is up to 10 kHz.


2. The subsystem hardware structure
         Data acquisition is performed by means of multifunctional DAQ device NI6284 of National
Instruments [4]. NI6284 is used for high-accuracy input of two signals: the beam current from the
NPCT and main magnetic field. The acquisition is performed at the sampling rate up to 50 kHz
depending on the measurement time. The DAQ device is connected to PCI bus of the industrial
computer (IPC) mounted to the same rack with the NPCT chassis.
         The subsystem hardware structure is shown in Fig. 2. As one can see, the Field Signal
Former device processes B+ and B- pulse series from B-timer of the Main Magnetic Field Subsystem
[5] of the Nuclotron and reconstructs the configuration of the magnetic field signal for NI6284. The
data acquisition starts by the trigger signal (also from the Main Magnetic Field Subsystem) which is
correlated with the beginning of the main field cycle.




                                                                                                    346
    Proceedings of the XXVI International Symposium on Nuclear Electronics & Computing (NEC’2017)
                          Becici, Budva, Montenegro, September 25 - 29, 2017




                            Figure 2. Hardware structure of the subsystem


3. Signal processing
        To obtain a value of the beam intensity at the injection level of the magnetic field, it is
necessary to multiply the voltage signal U from the NPCT (proportional to the average beam current)
by k=1011 p/V and divide it by particle charge Z. To get the intensity at another magnetic field I(B),
we also need to multiply this value by ratio of particle revolution frequencies at current field F(B)
and injection field F0 = F(Binj):
                                                   𝑘     𝐹0
                                 𝐼(𝐵) = 𝑈 ∗ ∗                         (1)
                                                   𝑍    𝐹(𝐵)

        To calculate F(B), it is necessary to use the formulae below:

                                                   𝑍                  2
                 𝑊(𝐵) = √𝑊02 + (300 ∗ ∗ 𝐵 ∗ 𝑅0 ) − 𝑊0                             (2)
                                                   𝐴

                                                   𝑊0         2   𝑐
                         𝐹(𝐵) = √1 − (               ) ∗𝑃                   (3)
                                             𝑊 +𝑊(𝐵)
                                               0

         where W(B) is the particle energy, W0 - the rest energy, A – the particle mass, P and R0 – the
ring circumference and radius, с – the light velocity.
         To reduce the noise component of the NPCT signal, we use such digital filtering techniques
as the median filter and central moving average in addition to analog filter in the NPCT input. Also
we digitally compensate the NPCT base-line droop and interferences on the Transformer signal.


4. The subsystem software
        The subsystem software has been developed in the TANGO Controls [6] standard and fully
integrated to the Nuclotron TANGO System [7] which is the base for future NICA Control System.
        The Device is the core concept of TANGO. It can represent the equipment (for example,
analog I/O board) or a set of instruments, a set of software functions and a group of devices
(subsystem). The Device has an interface composed of commands, attributes and properties which




                                                                                                    347
    Proceedings of the XXVI International Symposium on Nuclear Electronics & Computing (NEC’2017)
                          Becici, Budva, Montenegro, September 25 - 29, 2017



provide the service of the instrument. The Device Server provides the process where Device is
generated and managed.
        The main module of the intensity diagnostics software is the logical device server BERGOZ
DS (see Fig. 3) which represents the intensity diagnostics subsystem as a whole. It controls the
operation of the low level device server of the NI6284 - DAQmxAI DS. The subsystem device server
organizes the working cycle of the subsystem, performs data processing, allows the operator to
change its settings and provides access to the data acquired for clients via TANGO interface.




                        Figure 3. TANGO structure of the Subsystem software

        The set of client applications was developed for several groups of the subsystem users:
       accelerator operators and experts;
       other accelerator stuff;
       experimentalists;
       web-users.

          The operator client gets and displays three signals from the subsystem device server: voltage
from the NPCT (blue), beam intensity (orange) and the main magnetic field (green) (see Fig. 4) at a
full sampling resolution (total 200k samples for every signal). It allows the operator to change the
subsystem setting such as measurement cycle durations, the type of accelerated particles and the
value of the injection field. The client is also enabled to read/write data arrays of these signals and
acceleration parameters from/to the subsystem MySQL TANGO database via DBStorageDS device
server. The data column format in the base is MEDIUMBLOB because of a large amount of data.
          The stuff client gets only two signals: intensity and field in the reduced sampling resolution.
It is also granted to work with the subsystem database.
          The experimentalist client was designed to support experiments on the Nuclotron internal
target. It is an enhanced version of the staff client and allows researchers to determine the number of
particles which hit the internal target during one acceleration cycle or a number of cycles. It also
performs the text-format cycle-by-cycle logging of the accelerated beam intensity and the amount of
particles trapped by the target.
          The web-client is convenient for a brief view of the current acceleration cycle via Internet. It
displays signals of the intensity and the magnetic field in dependence on time. For this purpose we
use WebSocketDS device server. It obtains the necessary data from the subsystem device server,
packs them into the JSON object [8] and sends them to all the browsers connected to it via
WebSocket protocol [9]. No access to the data base is provided here.




                                                                                                      348
    Proceedings of the XXVI International Symposium on Nuclear Electronics & Computing (NEC’2017)
                          Becici, Budva, Montenegro, September 25 - 29, 2017




                         Figure 4. The GUI for the accelerator operators and experts


6. The “oscilloscope” operation mode
        When an investigation of a long accelerator cycle (several minutes) is performed, the
subsystem works in a specialized, so called “oscilloscope” mode. In this mode the signals are
processed and displayed in a series of relatively short (several seconds) chunks throughout the full
measurement cycle. In this case we use the DAQmxAISoftRetrig device server specially designed to
control DAQ device NI6284. The sampling frequency is 50 Hz in this mode. The measurement
duration is up to 1000 s and it can be set by the accelerator operator.


7. Conclusion
        The subsystem of the internal beam intensity diagnostics in its current hardware and software
configuration has been successfully applied during the latest 3 runs of the Nuclotron. It successfully
supported the accelerator operation both with high and low (108 particles and less) beam intensity.
The high level of the automatization and lots of services make the subsystem a very efficient and
convenient instrument for accelerator operators, experimentalists and other users. This subsystem has
been fully integrated into the TANGO Controls System of the Nuclotron and can be applied for the
future control system of the NICA complex.


References
[1] A. Sidorin, N. Agapov, A. Alfeev, V. Andreev, V. Batin, O. Brovko, V. Bugaev, A. Butenko,
D.E. Donets, A. Eliseev, V. Fimushkin, E. Gorbachev, I. Gorelyshev, A. Govorov, A. Grebentsov,
E. Ivanov, V. Karpinsky, H. Khodzhibagiyan, A. Kirichenko, A. Kovalenko, O. Kozlov, K. Levterov,
V. Mikhailov, V. Monchinsky, A. Nesterov, Yu. Nozhenko, A. Osipenkov, A. Philippov,
S. Romanov, P. Rukoyatkin, A. Shurygin, I. Slepnev, V. Slepnev, A. Smirnov, E. Syresin,
G. Trubnikov, A. Tuzikov, B. Vasilishin, V. Volkov. Status of the Nuclotron. Available at:
http://accelconf.web.cern.ch/AccelConf/rupac2016/papers/frcamh01.pdf (accessed 31.10.2017)




                                                                                                    349
    Proceedings of the XXVI International Symposium on Nuclear Electronics & Computing (NEC’2017)
                          Becici, Budva, Montenegro, September 25 - 29, 2017



[2] G. Trubnikov, A. Butenko, V. Kekelidze, H. Khodzhibagiyan, S. Kostromin, V. Matveev,
I. Meshkov, A. Sidorin, A. Sorin.             The NICA Project at JINR. Available at:
http://accelconf.web.cern.ch/AccelConf/ipac2016/papers/weza02.pdf (accessed 31.10.2017)
[3] NPCT. Available at: http://www.bergoz.com/npct?bs=1 (accessed 31.10.2017)
[4]     NI  6284    Device     Specifications   -   National    Instruments.         Available      at:
http://www.ni.com/pdf/manuals/375219c.pdf (accessed 31.10.2017)
[5] V. Volkov, V. Andreev, E. Frolov, V. Gorchenko, V. Karpinsky, A. Kirichenko, A. Kovalenko,
D. Krusinsky, L. Ondris, S. Romanov, A. Tsarenkov, B. Vasilishin. New Control
System         for      Nuclotron       Main     Power       Supplies.       Available      at:
http://accelconf.web.cern.ch/AccelConf/e06/PAPERS/THPCH123.PDF (accessed 30.10.2017)
[6] What is TANGO Controls? Available at: http://www.tango-controls.org/what-is-tango-controls/
(accessed 2.11.2017)
[7] E. V. Gorbachev, V. A. Andreev, A. E. Kirichenko, D. V. Monakhov, S. V. Romanov, T. V.
Rukoyatkina, G. S. Sedykh, V. I. Volkov. The Nuclotron and Nica control system development
status. // Physics of Particles and Nuclei Letters 2016, vol. 13, no. 5, pp. 573-578.
[8] Introducing JSON. Available at: http://www.json.org/ (accessed 2.11.2017)
[9] RFC 6455 - The WebSocket protocol. Available at: http://tools.ietf.org/html/rfc6455 (accessed
2.11.2017)




                                                                                                    350