1. Introduction
The γ-ray beam system under construction at ELI-NP provides a very bright photon beam with unprecedented bandwidth and tunability. To fully take advantage of this performance, a number of interesting physics cases were identified in the WhiteBook of the ELI-NP project and then detailed in the Technical Design Reports [
1,
2,
3,
4]. Nuclear instrumentation is used to highlight an important process regarding the reactivity of matter in its interaction with the γ-ray. The ELI-NP [
1] facility allows the investigation of nuclear phenomena by colliding photons (γ-ray radiation) with different samples of matter. This occurs inside an interaction chamber (ICh), where a medium vacuum (10
3 Pa) is realized. The facility includes the γ-ray source (20 MeV pulsed) placed on a vibration-free platform and several test benches placed on the γ-ray beam trajectory. The interaction chamber is just one of the facilities that benefit from the radiation source, and it is placed in the path of the γ-ray beam.
The proposed system described in this paper tries to answer the challenges of this new way proposed for the investigation of matter. The paper identifies the relevant features that are considered in the design and testing phase. There are mechanical factors related to the initial alignment procedure and potential relative variation of position between facility elements: vibration that could appear as results of the particular geographic seismicity or due to anthropogenetic activities; the structural behavior of the ELI-NP assembly; and the dynamics of the acting system used for displacement of the samples holder inside the ICh.
Ultrasensitive detectors, ELIADE (ELI-NP array of detectors), are placed around the ICh. They are used to highlight the reactions that occur between the γ-ray and the materials used as samples [
5,
6,
7,
8,
9,
10,].
The bright γ-ray source is based on Compton incoherent inverse scattering of a high-frequency, low-emission pulsed laser light that collides with a relativistic electron beam with energies of up to 720 MeV. The generated photons have controllable energies that can reach up to 20 MeV [
11,
12,
13,
14,
15]. The direction in which they are emitted may vary slightly over time [
16,
17]. Thus, it is necessary that the test benches that use the γ-ray flux as excitation remain during the experiments in the path of the generated γ-ray beam [
18,
19,
20,
21,
22]. In order to ensure the collision of the radiant beam with the nuclei of the investigated samples, it is necessary to maintain the sample holder in the way of the γ-ray radiant beam.
Between the γ beam and the holder or support of the samples with which it interacts, there is a support system that can move in the plane perpendicular to the beam. This drive system has stepper motors and mechanisms adapted for vacuum conversion of the rotational movement of the motors in the translation of the pistons of the respective mechanism.
The tracking system is coordinated by a personal computer (PC) that controls the image acquisition from a high resolution and precision sCMOS camera. Using a scintillator, the high energy image projected on the scintillator is converted into a fluorescence image that is projected onto the digital camera. The camera parameters, integration time, region of interest, the data flow rate on USB interface, etc. are adjusted automatically in order to adapt these with the tracking system demands. The resolution of the tracking system depends on the magnification factor provided by the scintillator together with the optical system and sCMOS camera. Pattern recognition software provides the dynamic reference point used by the tracking system [
19,
20].
The image acquired is correlated with the signals provided by photo-multipliers. At the initial moment, the experiment was settled by arranging manually, using a visible optical laser system (see
Figure 1), the position of the sample holder relative to the detectors.
The paper reveals how the authors solved the challenges related to precision, accuracy and real-time constraints regarding the tracking functions attached to the interaction chamber.
The aspects related to the computer programming that ensures the overall control of the system are highlighted, and the validation aspects relative to the actuating component are detailed. The results of the tests performed on the actuating system are given. In conclusion, the system performance that allows the full satisfaction of the integration requirements in the ELI facility is highlighted. The test results serve as proof of the accuracy in positioning obtained with the designed solution and also its adequate speed that allows us to consider the tracking system as working in “real time”.
The tracking system consists of the scintillator (4), the optical projection system of the scintillator for the digital sCMOS camera, jointly mounted on the external wall of the interaction camera, as well as the image processing (computer) and control elements (drivers and linear stages) of the actuators related to the sample holder. An important challenge of this system is to achieve precise alignment between the target and the γ-ray beam on a variable distance of 10–100 m. The size of the target is assumed to be 3 mm. In order to realize this goal, we assume a cylindrical ICh with a 175 mm diameter. The alignment system is inserted inside this chamber. The holder is brought in the fixed plane established for experiments. This is correlated with the fixed position of the detectors and thus ensures the repeatability of the measurement conditions. The ICh is emptied to avoid possible noises produced by the interaction of γ-ray radiation with the gases in the chamber. The target, which must be supported by the system, may be solid, gaseous or liquid.
The correlation between the footprint of the γ-ray beam on the perpendicular plane containing the sample and the signals captured by ELIADE detectors is important for the accuracy of all experiments. This is one of the reasons for which the tracking system must accurately follow the γ-ray beam direction variation in time. In fact, the tracking system must respond at least four times as fast as a maximum of the time variation of the γ-ray direction (condition imposed by contractor).
Related to the “real time feature”, we evaluated experimentally the delays due to signal propagation but also those due to its processing on the different stages. To cover this aspect, several methodologies for processing were evaluated. It is necessary to mention that the conception of the tracking system (TS) has to take into account potential new configurations that could be adapted in the future.
In connection with the optical system, the correlation between the scintillator and its quantum efficiency and the performance of the image acquisition sensor are essential. Regarding the latter aspect, CCD (charge coupled device) and sCMOS (scientific complementary metal–oxide–semiconductor) sensors were analyzed. The quantum efficiency, the storage capacity of the charge for each pixel, the “noise” (thermal electrons produced in operation at a certain temperature) and the scanning system of the sensor matrix as well as the maximum scanning frequency were considered. Finally, an sCMOS sensor was chosen that ensures an acceptable compromise between the quantum efficiency and image acquisition speed as well as the resolution and sensitivity of photo-sensitive cells. Inside the ICh, there is a target holder system, used for the experiments at the γ-ray beam systems at ELI-NP [
23].
From the point of view of the actuation system, the solution ensures a maximum resolution in positioning in loop (1.25 um), so the theoretical analysis and the practical implementation aimed at maintaining the nominal limits of the resistant torque in order to avoid the loss of actuation steps.
Mainly, the design considered changes of the scintillator, shape and material of the sample, and methodologies for the processing of signals in order to preserve the quality of the tracking system. As result, we describe in the paper not a simple embedded solution, but in fact a software framework that can be easily adapted for the futures changes that could appear. The software, designed to realize the control of the actuators, uses the symmetry of the rectangle work area.
2. Design and Implementation of the Tracking System
Several potential solutions with their advantages and disadvantages were analyzed. After a study of the constraints of the alignment system, its structure and mechanics, two challenges were identified.
The first of the challenges is to find a way to identify from the analysis of the projection of the image of the sample holder (in the γ field) a point or landmark shape. Thus, a stable optical representation of the γ beam is obtained, and its possible displacements can be, from the analysis of the images acquired successively in relation to time, determined.
The second challenge is to find technical solutions that allow minimizing errors in the positioning of the sample holder when it follows the variation of the direction of the γ beam incident to the interaction camera.
Another important aspect that had to be taken into account was the requirement to use for the system manager a PC running the Windows operating system which was not designed for real-time applications and does not guarantee perfectly synchronous execution of the tasks that implement the functions of the tracking system.
Regarding the first challenge, we further detail the way in which the design and particular implementation of the optical and electronic systems allowed to obtain the desired accuracy in following the direction fluctuations of the γ beam.
In the placement phase of the components used by the ELI facility, a laser alignment system allowed us to initially align all the components of the system. Considering the attenuation produced when crossing the sample support placed in the ICh by the γ beam, its image was projected on the surface of the scintillator that we placed outside the ICh. The designed optical system includes the scintillator, with the role of converting the image of the incident γ photon flux into a visible flux. As the electronic instrumentation is significantly affected by the γ photon flux, the image acquisition system was placed outside the direct beam. In this sense, the image obtained on the scintillator was deflected at 90 degrees using a mirror inclined at 45 degrees relative to the main optical axis. The optical axis is perpendicular to the scintillator surface. Thus, the image formed on the scintillator was projected using a group of lenses into the plane of the digital camera sensor. In our case, the digital camera sensor was equipped with a sCMOS sensor. This represents the main processing system component dedicated for image acquisition and processing, but also for the command and control of the system’ actuators. The programs were developed in order to implement algorithms capable of quickly scanning the digital camera and detecting on the images generated by the scintillator their characteristics patterns and features. The obtained image has a resolution of 16 bits; respectively, it can highlight up to 65,536 in distinct shades. In the tracking process, the successive images’ patterns and their features are used as landmarks necessary to follow how the gamma beam is changed in time (inherent variation due to ELI gamma source. The developed programs allow to detect the pattern characteristic of the image of the sample support, and thus this became the reference element, or landmark, in relation to which the tracking system became operational.
The software developed implemented a workflow in accordance with the developed methodology as illustrated in
Figure 2.
This algorithm commands periodically the acquisition of images from the digital camera. The successive acquired images are compared in order to detect the possible relative displacement of the beam. The system is aligned when a minimum of three successive images indicate the same position of the settled landmarks. The tracking system has three linear actuators equipped with stepper motors. All are positioned inside the ICh. Two motors are placed orthogonally, perpendicular to the optical axis of the system, and the third motor has the role of allowing the manipulation of samples, respectively, the movement parallel to the optical axis of the sample holder, thus facilitating the manipulation of experimental samples. A three-channel electronic controller is used in conjunction with the appropriate controllers for controlling the stepper motors. This controller is subordinated to the personal computer and communicates with it through command-and-control telegrams.
The optimization of the alignment system involves the tracking system firmware that should include the important features as follows:
Automatic detection of shapes into the acquired images and features related user interface for indicating the region of interest;
Automatic tracking based on image features detection;
Manual and automatic change of optical integration time using the facilities of the camera (front and level detection).
To obtain this, procedures and tests are made to illustrate the specific and general performances of implemented ICh tracking system (
Figure 2).
For this study, it is necessary to know the geometry of the test bench (dimensions, environmental conditions, and electromagnetic and radiation shielding of measurement system), the optics (from beam generation to ICh and target) and the γ-ray beam system of detection (scintillator, optical system, capture and processing of the image, and control of positioning system).
3. Constructive Interaction with Camera Alignment System against a γ Beam
The tracking of the γ flow inside the interaction chamber was performed by displacement of the sample holder, which is automatically operated by two stepper motors placed orthogonally.
Particular attention was paid to the component corresponding to the drive system for the stepper drive motors used, and that assured the X-Y displacement of the samples’ holder on the perpendicular plan to the main axis of the interaction chamber. The actuation was implemented in an open loop, taking into account the constraints due to the placement of the actuating elements in the γ radiant field, as well as the requirements to ensure a high resolution and repeatability in the positioning of the sample holder. The implementation of a closed-loop solution would have involved the placement of position sensors inside the interaction chamber, their electronic components being able to be significantly influenced by γ radiation.
In order to respond to the second challenge, it was decided to develop a separate system for testing and validating the actuation within the tracking system. The implemented solution is illustrated by the block diagram in
Figure 3.
As illustrated in
Figure 3, the developed test subsystem was based on a solution similar to that used in the tracking system; the personal computer ensured the control by a serial interface. This interface was used to transmit telegrams to the electronic controller of the step motor.
The axis of the actuator was aligned with the axis of the displacement sensor, data provided by it being also processed by the personal computer.
The lubrication of the drive mechanism of the motors can influence the accuracy of movement when the step motor is controlled in the open loop. Additionally, the speed profile generated by the electronic controller of the actuator can generate positioning errors. In relation to the required displacement, the speed profile must also be adapted so as to minimize both displacement errors and execution time.
Through the program used for the control of the drive system, the drive component was tested, having as control parameters the prescribed travel, the adopted speed profile, as well as the mechanical load that the system supported. The direction of travel was reversed after each displacement performed, thus generating a round trip cycle for the tested actuator.
4. Validation of Real-Time Operation for the Tracking System
The most important effort was put toward developing and testing the software necessary for the control of the whole system. Using Visual Studio 2017, the algorithms for acquired image processing, communication and the accuracy in control of the quadrature settled actuators were developed and tested on components. In parallel, a test bench necessary for the validation and fine adjustment of the actuator’s controller was implemented and used for testing of the acting system linked with the samples’ holder. The ICh was mounted in the ELI laboratory facility. The ICh sealing system was tested for medium vacuum level, and the tests proved the appropriate mechanical design and accurate mechanical execution of the ICh.
The ICh was clamped on two planes where two actuators assure the movement on the orthogonal plane (X-Y) on the brilliant γ-ray beam of the samples’ holder placed inside the ICh. The kinematics of the acting system was designed, simulated and experimentally validated. An independent laser beam alignment system was used to establish the initial ‘reference position’. This assured the raw alignment of the ICh. Following the analysis of possible events during image acquisition and processing, the transfer to the computer and the recognizing of the landmark shape, scaling the landmark position and converting the coordinate difference in steps for the stepper motors were performed.
To assure appropriate control of the whole tracking system, the image acquisition performance was tested and validated. A report with the data obtained as a result of the tests performed helped the team in fine adjustment of the control system parameters. The tests were focused on the image acquisition time, local image processing by the camera and the transfer of the above image for the computer. The period of time necessary for the abovementioned processing stages was considered during the design of the system software. The initial software routine was improved, and automatic and manual triggering of image acquisition were calibrated and validated. The software implements two loops:
- i.
Implementation of the image acquisition;
- ii.
Detection of the target for the X-Y linear stage that is activated with the updated target value.
The operating system used was Windows 10, which does not guarantee an exact time of execution for each thread. The experimental results show that the whole loop in control had a period of less than 100 ms (10 sps), in accordance with the potential slight variations of the brilliant γ-ray beam direction produced by the ELI source of radiation.
The image acquisition can be controlled by the software loop, or it is possible to be triggered on the mother frequency produced by the ELI system; a very precise hardware delay generator was used for triggering the image. The measuring head was precisely aligned with the step-by-step actuator. A series of tests were performed. The results showed that for different mechanical loads in the range of 1–3 kg, the motor-driven slider can have systematic errors in the range of 0 to 3 microns [
23]. These errors are much smaller than the errors accepted by the application. The load and the maximum speed as well as the speed variation slope were changed. In all experimental cases, it was found that the errors in positioning were maintained within the limits specified above. The step-by-step motor drive system had an open loop resolution of 1.25 um. In order to assure high precision of the acting system, we conceived the experimental test bench. We should mention that in the case of our application, the mechanical load (mass operated) was relatively constant with below 1 kg carried mass. We considered it necessary to test the accuracy of the control system for different movement speeds (between 1000 and 2000 steps per second, respectively, 1.25 mm/s or 2.5 mm/s) and for different loads (0 kg to 2 kg) applied to the system.
In
Figure 4, on the axis of the abscissa, we calculated the number of consecutive cycles (go N steps and return the same number of steps), and on the ordinate axis, we show the error measured on the experimental stand. The figure illustrates the results of the tests carried out when the controlled movement is oscillating between +/−200 to +/− 3000 steps, at different loads applied to the mechanism. The results show an error of less than 6 steps (7.5 µm, respectively) in any of the situations tested. The results obtained are more than satisfactory.
Special attention was paid to the analysis of the potential sources of errors in the detection of the γ beam (sensors, conversion of γ beam in a beam in the visible spectrum, data or/and camera acquisition system, control of alignment system and acting system that must assure the precise positioning of IC in the γ beam direction). In addition, the methodology and afferent algorithms for alignment system were analyzed for proposing three different methods for the detection of region of interests (ROI) on the captured image.
Going forward with the analysis, the paper reports the possibilities to use appropriate solutions for the conversion of the γ-ray “image” into a visible image using adequate scintillators. The BGO scintillators are considered adequate for this application. Special attention was paid for the simulation of the interaction between the γ-ray beam and the scintillator material. In addition, market analyses were conducted in order to find out the potential appropriate digital camera susceptible to be used for image acquisition and for the afferent optical system. In this sense, we considered a sCMOS camera with excellent features related to SNR, sensitivity, resolution and triggering features. For the manipulation of the sample holder, a precision acting system that can be operated in vacuum was tested and validated.
All the software components were integrated. For example, the calibration facility, the images analysis methodologies, the manual and automatic adaptation of sampling rate, and other parameters of the sCMOS camera. All these features and many others were optimized and integrated into the final version of the software. An image of the program user interface is illustrated in
Figure 5.
The capturing of the image by digital camera was synchronized with the acquisition of the main signal provided by the ELI system to avoid the errors related to the sampling period in the image acquisition.
Related to the mechanics of the ICh, significant technological difficulties occurred, related to the high flexibility of the ICh body. The mechanical response was obtained using CAD software.
Figure 5 shows the ways corresponding to the production of both physical and logical signals that correspond to the program components involved in signal processing. The elements that process the signals and the signal delays due to their propagation or processing are identified. A first delay is due to signal conversion due to the scintillator. It generates an image of the scene corresponding to the objects in the interaction camera, mainly the sample holder and the sample itself, in an image in the visible domain. The photons in the visible range thus generated are captured by the sensitive cells of the image sensor of the ORCA Flash 4.0 digital camera (1). The sampling period, but also the triggering of this camera, are controllable by program. Additionally, through the program, we can control the way of scanning the image sensor cells and we can choose the appropriate operating mode. The image stored in the digital camera’s memory is transferred serially via USB3.0 to the personal computer (2) (grabbing process). Using components of the DCAM library, we implemented image capture, primary processing of related data, and format conversions from RAW (minimal pixel data processed) to a BMP format, which become a device independent bitmap file format (3, 4). The resolution of the acquired image is 16 bits, in shades of gray, and the image thus obtained is processed by applying static or dynamic methods (depending on the choice made by the user) in order to highlight the contours from the image. Thus, the object that is considered the landmark that is used in the process of tracking the γ radiant flux is determined (5). On the one hand, the processed image is displayed in real time on the screen of the personal computer, and on the other hand, it is used, by identifying the established landmark, to calculate the eventual displacement that the incident γ flow to the interaction camera suffers during the sampling period. In the latter case, the computer scales the newly obtained reference data and calculates accordingly the number of steps in the X direction, respectively, in the Y direction, which the stepper motor has to execute (6). The steps to be executed, the adequate speed profile suitable for the movement to be executed as well as all the status information of the 2D drive (two dimensions) are transferred serially via the USB3.0 interface (8) to and from the two-channel electronic controller that controls the stepper motors. The electronic controller, in turn, outputs the control signals for the stepper motor via its power interfaces (six wires corresponding to the phases of the step motor).
Figure 6 illustrates the image of the user interface with the buttons and windows needed to control the system, but also with the frames used to view images in real time.
The grabbing, processing and post-processing of images captured from sCMOS camera were identified, and the time necessary to execute the above-mentioned routines was measured. All of these were determined in the context in which Windows 10 runs a varied palette of programs that induce specific delays.
The experimental results show that the whole loop in control has a period less than 100 ms (10 sps), in accordance with the potential slight variations of the brilliant γ-ray beam direction produced by the ELI source of radiation.
Going forward with the analysis, the paper investigated the possibilities to use appropriate solutions for the conversion of the γ-ray “image” into a visible image using adequate scintillators. The BGO scintillators are considered adequate for this application. Special attentions were paid for the simulation of the interaction between the γ-ray beam and the scintillator material. Additionally, market analyses were conducted in order to find out the potential appropriate digital camera susceptible to be used for image acquisition and for the afferent optical system. In this sense, we considered an sCMOS camera with excellent features related to SNR, sensitivity, resolution and triggering features. For the manipulation of the sample holder, a precision acting system that functions in vacuum was tested and validated.
The capturing of an image by digital camera was synchronized with the acquisition of the main signal provided by the ELI system to avoid the errors related to the sampling period in the image acquisition.
5. Discussion and Conclusions
The paper presents how the authors solved the problem and challenges related to the determination of the relative displacement that appears during experiments with the interaction chamber in the ELI facility between the γ beam and the sample holder.
The tracking system dedicated to the tracking of the γ-ray beam for the samples’ holder placed inside the interaction room consists of the following:
- (i).
A detection part necessary to sense the slight direction variation of the γ-ray beam;
- (ii).
A set of linear stages in quadrature (step-by-step motors and the mechanical components for conversion of the motor rotor in a linear displacement) that ensure the tracking of the γ-ray beam by the samples’ holder in a perpendicular plane on the γ-ray beam;
- (iii).
The dedicated electronic system that implements the processing of input signals and generates the control messages for the linear stages.
The constructive solutions were chosen by taking into account the optimization of operations during the aligning process but also the γ-beam pulse duration. We proposed eight digitally controlled actuators with spherical probes for the support chamber of the target. The system operates as follows: after the initial pre-alignment using an additional laser system, we save the obtained settings, which then become the reference for the automatic adjustment of alignment system. The eight actuators are controlled so that they reach the calculated target points in accordance with the geometric model of the plant. Meanwhile, the mirror at 45° (see
Figure 6) automatically adopts the position of the reflecting beam obtained by using the scintillator. In this way, the system captures the image of the γ-ray radiation spot and allows an automatic adjustment of the target inside the ICh. If this is not possible at the time, in order not to endanger the project, testing in a laboratory abroad that provides a γ-ray beam system is envisaged. Currently, we take into consideration three locations where this can be achieved. The total delay produced during acquisition, the processing of images and transferring of serial commands to the step motor controller is below 180 ms in all cases. This means that the system fully satisfies the functional constraints related it capability to track the γ-beam position variations in time. Additionally, the authors investigated how the operating system (Windows 10) affects the tracking functionality. The system responds correctly in a large set of use cases tested.
In the final phase, we aim for the experimental validation of the designed and built systems. We analyzed how the system meets the requirements and how this will be implemented in the experiments at ELI-NP.