Abstract
Ultrafast electron beam X-ray computed tomography (UFXCT) is a fast tomographic imaging technique used, e.g., for investigations of highly dynamic multiphase flows. In the last years, UFXCT was enhanced with the capability of real-time image acquisition and reconstruction. Using those capabilities, a new feedback-loop to a positioning unit was realized which allows for real-time repositioning of the scanner based on the images contents. By traversing the scanner, and hence its imaging planes, vertically, an object moving up- and/or downwards in the imaging region can be tracked and visualized. Using a phantom object moving with predetermined trajectories, the tracking latency, trackable object velocities and positioning accuracy was evaluated. Further, a latency compensation approach was developed that enhances the tracking performance.
Keywords
Introduction
Fast imaging techniques are essential for investigation of multiphase flows which can be found in chemical reactors, fluid transport systems, distillation columns, power plants, and many more industrial processes. Modelling and simulating these inherently complex flows still require thorough validation using experimental data of sufficient temporal and spatial resolution (Brennen, 2005). Particularly non-invasive techniques are of high interest as these do not interfere with the flow structures (Reinecke et al., 1998). As a broadly applicable example, the focus is set here on dense bubbly flows of air in water because this model system is often used as a base case to gain a better understanding of the hydrodynamics involved (Rzehak et al., 2017). Tracking (at least) a single gas bubble within a bubble swarm over time would give valuable insights into bubble-bubble interactions.
Unfortunately, optical measurement systems, such as high-speed cameras, are not able to reveal gas structures in the core of dense bubbly flows. Though electrically-based tomography systems (Xie et al., 1995) are able to resolve media with different electrical properties with high temporal resolution their limited spatial resolution rejects them for dense bubbly flow investigations. Furthermore, both magnetic resonance imaging (MRI) and conventional X-ray methods with their limited temporal resolution (Tayler et al., 2012) and scanning region (Clarke et al., 2023) are also excluded from the list of suitable measurement systems. Contrary, ultrafast electron beam X-ray computed tomography (UFXCT) provides high frame rates of up to 8000 cross-sectional images per second at a spatial resolution of about 1.5 mm. Hence, it was already used for various investigations of multiphase flows, such as fluidized beds (Barthel et al., 2015; Bieberle et al., 2012), bubble columns (Lau et al., 2018), silo discharge (Stannarius et al., 2019), and packed bed reactors (Zalucky et al., 2017). Until 2023, the UFXCT scanner could only be used in a fixed spatial position for a maximum total scanning time of 30 s after which the internal detector memory was completely filled. After each scan, the acquired raw data had to be downloaded, reconstructed to cross-sectional images, and analyzed successively. Thus, any flow scenario had to be studied by sequentially scanning multiple positions along the direction of the flow, such as published by Farmani et al. (2021); Kipping et al. (2021); Neumann-Kipping et al. (2020); Sohr et al. (2019).
In 2023, the detector data acquisition and image processing were enhanced to provide real-time imaging capability by using the so-called Real-time Image Stream Algorithms (
In this work, we present the UFXCTs capability of dynamically tracking a moving particle during its vertical movement in real-time solely based on its acquired image data. Moreover, the systems capability to resolve the particle velocity, position and size during its movement is evaluated. Further, the latency and tracking performance of the entire electro-mechanical system is analysed to assess viable applications. Finally, a latency compensation technique is proved to be a viable method to improve overall tracking performance.
Methods
UFXCT system
Ultrafast electron beam X-ray computed tomography is based on electromagnetically scanning an electron beam along a tungsten target providing a rapidly moving X-ray source (see Figure 1). Two statically arranged rings of detector pixels acquire the X-ray intensity in two distinct imaging planes which are 10.4 mm apart. From the intensity data, cross-sectional images can be reconstructed. The system allows for imaging frequencies of up to 8000 Hz and a spatial resolution down to 1.5 mm.

Ultrafast X-ray electron beam computed tomography scanner components.
UFXCT data processing
As introduced by Windisch et al. (2023b), acquired detector data is streamed directly to a processing computer and processed in a GPU-based processing pipeline. Therein, multiple processing steps (a.k.a.

Data processing pipeline configuration used for dynamic real-time positioning. Gray boxes refer to newly developed stages for this work. Refer to Windisch et al. (2023a) and Windisch et al. (2023b) for details on the reconstruction pipeline and object recognition, respectively.
During a scan, incoming data is fed into the processing pipeline which reconstructs a stream of cross-sectional images. At the same time, the
To initially evaluate the positioning performance independent of the object recognition, a slightly modified data processing pipeline is used. Instead of calculating the trajectory based on the acquired image data, a predefined position for each frame is read from a file. This trajectory for the UFXCT scanner is then passed to the positioning unit allowing latency evaluation between setting a known trajectory and the respective positioning feedback.
Positioning system
The positioning unit, shown in Figure 3, is driven by a geared motor (SEW Eurodrive CMP63M series) controlled by a motor controller (SEW Eurodrive MDX61B series). Two parallel drive belts are used to guide and move the positioning sled vertically. Counterweights are used to balance the weight of the scanner of

Positioning unit and experimental setup of the hardware phantom. Left: Photography of the setup in the UFXCT scanner. Right: Schematics (not to scale). The phantom object (orange) is attached to a string driven by a stepper motor (M). A photoelectric barrier (red) is used to calibrate the objects start position.
Positioning unit parameters.
The positioning units electronics are shown in Figure 4. An Arduino-based SPS board (Controllino Maxi) is used to control (release brake signal, safety relay) and to monitor (limit switches, interlock state) the SEW motor controller. The positioning state (set position, current position, set velocity, current velocity, software upper/lower limit) is transmitted using the EtherNet/IP protocol with cyclic communication at a requested packet interval of 5 ms. The target position is updated in a control routine implemented in IPOS. The control loop in the motor controller then drives the servo motor accordingly.

Positioning unit electronics. The
Experimental setup
The investigations are split into two main experiments: first, the overall positioning accuracy and latency are determined with pre-known movement profiles fed into the pipeline as described above. Here, low frequency square wave signals are used for the target position to determine both the accuracy and latency. Each of the experiments is repeated 20 times. Scans are performed with 2000 fps, i.e. 1000 image pairs per second.
Second, measurements on tracking an artificially-controlled moving object are performed. For this, a polyamide tracer object is placed on a nylon string and moved upwards/downwards with a known velocity (cf. Figure 3). The UFXCT system shall then recognize the tracer object, determine its speed and reposition the scanner accordingly. With these scans, the real-world performance of particle tracking using UFXCT is determined. The experiments were performed both with a tracer object that is larger than the distance between both imaging planes (18 mm length) and one which is short enough to temporarily disappear between both imaging planes during its movement (7 mm length).
The tracer object is moved using a stepper motor controlled by a Lang GmbH ECO-STEP motor controller. Its set speed is transmitted via RS232. The tracer object itself can be moved vertically for 1690 mm with a maximum speed of 500 mm/s.
Evaluation procedure
As shown in Figure 2, for each image, the current position and set position are stored for later evaluation. From the acquired position time-series, the positioning offset, overshoot and latency are extracted as shown in Figure 5.

Definition of evaluated parameters shown on a schematic position profile.
Note, that the latency is defined as the time between setting the target position and the first perception of a changed position. It therefore inherently includes not only the processing and communication delay, but also the time it takes the sled to physically move far enough for a change to be registered by the position sensor. Before the sled starts to move, however, the drive train belt expansion
with the driving force
with the angular gear play
The cyclical communication with a packet interval of 5 ms adds 10 ms (5 ms each for sending and receiving data) to the worst case latency. The processing speed of the CPU in the motion controller does not add significant latency. In total, a positioning latency
Based on the calculated latencies, UFXCT tracking capabilities can be estimated. Different tracking strategies were proposed by Windisch et al. (2020). We used both the single imaging-plane tracking (
The compensation works as follows: The control algorithm uses a receding horizon approach to generate an optimal sequence of movements such that the positioning unit reaches the tracked particle in the shortest amount of time possible (see Windisch et al., 2020 for details). With each newly acquired cross-sectional image, this optimal sequence of movements is updated based on the system state (position and velocity of the scanner and the particle, respectively) and only the first movement of the sequence is transmitted to the positioning unit. I.e. with cross-sectional images arriving at an interval of
As evaluation criteria for how well these strategies can be realized, we use the total time the object is visible for
Results and discussion
Accuracy
The positioning controller includes a hold controller, which assures that the target position is reached without offset in all configurations. Regarding the overshoot of the target position, a clear difference between moving upwards or downwards is identified (cf. Figure 6 (left)). The larger overshoot for downwards movement is due to the weight imbalance between the positioning sled and the counter weights. The counter weights are slightly lighter than the sled to have the drive train prestressed for upwards movement. Consequently, when moving downwards quickly, the tension bias is released and leads to higher overshooting. The PI-controllers tuning was optimized to compensate for the pretension in the highest movement velocity during upwards movement. The resulting lower overshoot for upwards movement can be seen clearly in Figure 6 (left).

Left: Acquired overshoot when reaching the target position for different maximum velocities. Right: Determined latencies for different maximum velocities. Error bars show minimum/maximum values.
Latency
The acquired latencies shown in Figure 6 (right) confirm the theoretic considerations. Further, a slight increase in latency and latency spread can be seen for lower velocities stemming from the fact that it takes longer for the position sensor to register the change in position.
Delay compensation
To evaluate delay compensation, we tracked the hardware phantom using
Results are shown in Figure 7. The fraction of time visible shows a clear dependence on the assumed output delay

Achieved fraction of time the object is visible vs. assumed output delay.
Tracking strategy evaluation
To evaluate the tracking strategies, tracer objects of 7 mm and 18 mm length were scanned using both control strategies. An example scan is shown in Figure 8. For

Example cross-sectional views of a scan using
Figure 9 (top row) shows the achieved time the object was visible in one of the imaging planes. Comparing the results with a simulation using the same assumed output delay of 73 ms yields a very good fit. It can also be seen that the theoretical limits, i.e. for a system without any delay, cannot be achieved for the small object with average practical results reaching about 70% of the theoretical limit. Contrary, the larger objects total time visible is very close to the theoretical limit and shows only marginal reduction due to the delay.

Results for total time visible for SIPT strategy and full scans achieved for DIPRT strategy using different object sizes. It can be seen that delay-compensated results (i.e.
Regarding the achieved full scans of the object (cf. Figure 9, bottom row), a dependency on the latency for both the small and the large object is identified. Further, the larger object cannot be scanned as often as the smaller one because it takes the scanner longer to overtake it. Overall, results show a good match to the simulations with a delay of
Object parameter extraction
The instantaneous velocity estimations during object tracking are within
Regarding extraction of the structure’s length, no clear trend was identified. The actual object length of 7 mm was determined as
Discussion and outlook
In this work, we have shown that ultrafast X-ray electron beam computed tomography (UFXCT) with a controlled movable lift is capable of tracking a moving particle based on acquired image data. Both objects larger and smaller than the axial distance between the imaging planes were tracked successfully and their position, velocity, and size were determined. Using a fixed delay compensation in the control algorithm improved tracking performance regarding both the the total time the object is visible and the number of achieved full scans of the object. The covered axial range, speed and acceleration allows for new insights in a variety of use-cases such as, e.g., gas bubble investigations in dense bubbly flows, fluidized bed, particle tracking applications similar to CARPT, or hopper discharging. Future developments will focus on improving image binarization to track not only tracer objects but also structures based on the in-plane properties, such as position, size, and shape.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: Financial support by Deutsche Forschungsgemeinschaft (DFG) is gratefully acknowledged (grant no. HA 3088/26-1).
Availability of data and materials
Research data related to this article can be accessed under DOI 10.14278/rodare.3219.
