Next Article in Journal
Advancements in Synthetic Jet for Flow Control and Heat Transfer: A Comprehensive Review
Previous Article in Journal
Ideas on New Fluid Dynamic Theory Based on the Liutex Rigid Rotation Definition
 
 
fluids-logo
Article Menu

Article Menu

Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

High-Speed Microprocessor-Based Optical Instrumentation for the Detection and Analysis of Hydrodynamic Cavitation Downstream of an Additively Manufactured Nozzle

by
Luís Gustavo Macêdo West
1,*,
André Jackson Ramos Simões
2,
Leandro do Rozário Teixeira
2,
Lucas Ramalho Oliveira
2,
Juliane Grasiela de Carvalho Gomes
2,
Igor Silva Moreira dos Anjos
2,
Antonio Samuel Bacelar de Freitas Devesa
2,
Leonardo Rafael Teixeira Cotrim Gomes
3,
Lucas Gomes Pereira
2,
Iran Eduardo Lima Neto
4,
Júlio Cesar de Souza Inácio Gonçalves
5,
Luiz Carlos Simões Soares Junior
3,
Germano Pinto Guedes
2,
Geydison Gonzaga Demetino
3,
Marcus Vinícius Santos da Silva
2,
Vitor Leão Filardi
6,
Vitor Pinheiro Ferreira
2,
André Luiz Andrade Simões
1,
Luciano Matos Queiroz
1 and
Iuri Muniz Pepe
2
1
Environmental Engineering Department, Federal University of Bahia, Prof. Aristides Novis Road, n° 02, Federação, Salvador 40210-630, BA, Brazil
2
Physics Institute, Barão de Jeremoabo Road, s/n, Salvador 40170-115, BA, Brazil
3
Center of Exact and Technological Sciences, Federal University of Recôncavo of Bahia, Cruz das Almas 44380-000, BA, Brazil
4
Environmental and Hydraulic Engineering Department, Federal University of Ceará, Campus do Pici, Bl. 713, Fortaleza 60455-760, CE, Brazil
5
Institute of Technological and Exact Sciences, Federal University of the Triângulo Mineiro, Av. Frei Paulino, 30-Nossa Sra. da Abadia, Uberaba 38025-180, MG, Brazil
6
Electronics Department, Federal Institute of Bahia, Salvador 40301-015, BA, Brazil
*
Author to whom correspondence should be addressed.
Fluids 2026, 11(1), 21; https://doi.org/10.3390/fluids11010021
Submission received: 12 December 2025 / Revised: 30 December 2025 / Accepted: 10 January 2026 / Published: 14 January 2026

Abstract

This study presents the development and validation of a high-speed optical data acquisition system for detecting and characterizing hydrodynamic cavitation downstream of a triangular nozzle. The system integrates a PIN photodiode, a transimpedance amplifier, and a high-sampling-rate microcontroller. Its performance was first evaluated using controlled sinusoidal signals, and statistical stability was assessed as a function of the number of acquired samples. Experiments were subsequently conducted in a converging–diverging conduit under biphasic flow conditions, where mean irradiance, standard deviation, and frequency spectra were analyzed downstream of the nozzle. The optical signal distributions revealed transitions in flow behavior associated with cavitation development, which were quantified through statistical metrics and spectral features. The Strouhal number was estimated from dominant frequencies extracted from the spectra, exhibiting a non-monotonic dependence on the Reynolds number, consistent with changes in flow structure and turbulence intensity. Spectral analysis further indicated frequency bands associated with energy transfer across turbulent scales and bubble dynamics. Overall, the results demonstrate that the proposed optical system constitutes a viable and non-intrusive methodology for detecting and characterizing cavitation intensity in a way that complements other optical and acoustic methods.

1. Introduction

Cavitation is a physical phenomenon characterized by the formation and subsequent collapse of gas- or vapor-filled bubbles within a liquid, triggered when the local pressure drops to the vapor pressure of the fluid or to a level sufficient to release dissolved gases. Once formed, these bubbles are convected toward regions of higher pressure, where they become unstable and collapse violently, mobilizing elastic forces within the surrounding fluid. Experimental observations obtained from high-speed imaging under controlled conditions, such as those reported in [1], have shown that for isolated or weakly interacting bubbles, collapse may occur through an implosive mechanism. During this process, the bubble radius rapidly decreases, and the interface may deform into a toroidal shape, generating high-velocity microjets directed toward the bubble center or nearby boundaries [1,2].
The phase transition back to the liquid state does not occur in a single event but rather through a damped oscillatory process, during which the bubble undergoes successive cycles of collapse and rebound. During the rebound phase, strong pressure waves are emitted and can be visualized using Schlieren or shadowgraph imaging techniques [1]. Measurements performed with hydrophones in the vicinity of these events have reported local pressure amplitudes reaching values on the order of 4 MPa [3].
Due to the high pressures generated during cavitation and its significant potential to cause damage to hydraulic machinery and structures, its detection and characterization have long been a subject of scientific investigation. In hydraulic systems, cavitation detection has traditionally been associated with the emission of high-frequency noise, often perceived by operators of pumps and turbomachinery and commonly characterized using acoustic methods [4], thereby reducing subjective assessment.
However, such sensory-based detection does not necessarily apply to large-scale hydraulic structures, where accessibility is limited, and measurements are affected by strong background noise, as commonly observed in dam spillways. In these environments, the effects of cavitation often become evident only through post-operational visual inspections of the resulting material damage [5]. Under such conditions, cavitation detection assumes a retrospective and corrective character, driven by the operational losses induced by the phenomenon, which may include efficiency degradation and, in more severe cases, structural failure of hydraulic components.
Beyond its traditionally recognized role as a source of material degradation in hydraulic systems, cavitation has also been investigated as a mechanism capable of promoting physicochemical transformations. In this context, bubble dynamics have been explored in applications such as the degradation of persistent organic compounds [6], microorganism inactivation [7], biofuel synthesis [8], and the cleaning of internal surfaces in heat exchangers [9] and industrial pipelines [10].
In these applications, characterizing cavitation requires the identification of measurable physical signatures associated with bubble activity and flow conditions. Both numerical modeling approaches, such as computational fluid dynamics (CFD), and experimental techniques have been employed to investigate cavitating flows. Numerical models have been used to analyze the influence of geometric parameters, flow conditions, and the adequacy of turbulence modeling approaches, including Reynolds-Averaged Navier–Stokes (RANS) formulations, Large Eddy Simulation (LES), and, more rarely and under low Reynolds number conditions, Direct Numerical Simulation (DNS) [11,12,13,14,15]. Within this framework, experimentation enables the observation and quantification of flow structures and bubble dynamics under controlled conditions.
High-speed detection and visualization techniques, such as laser-based methods, high-speed cameras, and optical approaches like Schlieren imaging [1,16,17], enable direct observation of bubbles and collapse events. Although these techniques provide detailed information on bubble morphology and flow patterns, they are associated with high cost, sensitivity to environmental fluctuations, and limited applicability in confined or optically opaque industrial environments.
In parallel, acoustic methods based on hydrophones or accelerometers have been widely employed for cavitation detection, particularly through the analysis of spectral components at the second harmonic of the fundamental frequency, within the 20 kHz to 150 kHz range, and the extraction of broadband signals between 10 kHz and 5 MHz. Ref. [18] estimated time scale in hydrodynamic cavitation by considering the residence time of fluid particles inside the cavitation chamber, establishing an analogy with ultrasonic cavitation frequency. Considering their study on cavitation design, the time scale ranged from 1 to 50 ms.
These techniques, standardized by organizations such as the International Electrotechnical Commission [19] and discussed by [4], provide reproducibility and comparability while relying on acoustic coupling with the medium and remaining sensitive to mechanical noise from the surrounding environment.
Experimental determination of cavitation inception and aggressiveness is a challenge; traditional optical visualization and other methods of measuring developed cavitation are developed. Most of them are based on direct or indirect measurements, as described by [20]. Thus, the use of light scattering can detect the presence of nuclei in the flow. Holography [21] and Phase Doppler Anemometry [22] are direct optical measurements of nuclei distribution and can determine the radius and velocity of spherical nuclei within a control volume. However, measurement accuracy depends on whether nuclei pass directly through the measurement volume, which may be challenging to ensure.
Optical detection is preferred when possible because it accurately identifies cavitation locations, avoids false counts, and retains event timing information. Additionally, it allows direct observation of cavitation in the venturi, which is a significant benefit [23].
In this context, ref. [24] developed and tested a non-intrusive optical system based on light-emitting diodes (LEDs) and a phototransistor, operating at a sampling rate of 200 Hz, to detect hydrodynamic cavitation in a converging–diverging tube equipped with nozzles manufactured by additive manufacturing. The system distinguished between single-phase and two-phase flow regimes based on variations in the transmitted optical signal, whose attenuation was associated with the presence and spatial density of vapor bubbles. The experimental setup was also instrumented with pressure transducers, and a strong correlation was observed between the standard deviation of the pressure signal and the optical signal intensity, indicating that irradiance can serve as a proxy for flow fluctuations induced by cavitation under the tested conditions. Five regular nozzle geometries were evaluated: circular, square, pentagonal, hexagonal, and triangular, with the triangular configuration exhibiting the lowest Euler number and the highest relative turbulence intensity, indicating a greater tendency for cavitation development within the investigated configuration.
As a complementary alternative, systems based on the photodetection of light transmitted through cavitating flows have been explored due to their non-invasive nature and their ability to respond to fluctuations induced by bubbles and turbulent structures within the flow. These systems can be implemented using relatively low-cost components, such as photodiodes, phototransistors, operational amplifiers, and high-sampling-rate microcontrollers. However, their construction, calibration, and data analysis require specialized technical expertise in electronic instrumentation and digital signal processing, which limits their adoption in environments lacking such development infrastructure. Thus, although these systems offer the potential for lower hardware costs and greater flexibility compared to high-speed imaging or commercial acoustic sensors, their practical application still demands a technical knowledge base comparable to that required by more advanced methods.
In this context, this study proposes developing and evaluating an optical data acquisition system based on a high-speed microprocessor for the detection, statistical analysis, and spectral characterization of hydrodynamic cavitation downstream of a triangular orifice nozzle modeled via additive manufacturing. The approach is based on statistical and spectral analysis of signals acquired by a photodiode connected to a trans-impedance circuit and a high-sampling-rate microcontroller. To this end, the following specific objectives were defined: (1) to characterize the effective sampling rate of the developed system; (2) to determine the number of samples required to estimate the mean irradiance and its standard deviation for each tested flow condition; (3) to analyze the statistical distributions of the optical signal and its correlation with the biphasic flow regime; and (4) to study the turbulence of the flow through spectral analysis (in amplitude and frequency) of the acquired optical signals.

2. Materials and Methods

2.1. Data Acquisition System Characterization

Signal acquisition was performed using an STM32F411 microcontroller (STMicroelectronics, Geneva, Switzerland) operating with a 12-bit analog-to-digital converter (ADC) for high-frequency signal monitoring and analysis. The internal configuration of the microcontroller, carried out using the STM32CubeIDE platform, employed an external 25 MHz crystal oscillator as the clock source. This frequency was multiplied via a Phase-Locked Loop (PLL) to produce a system clock of 96 MHz. This same clock also supplies the PCLK2 bus, which powers the ADC, configured to operate at an ADC frequency (f_ADC) of 24 MHz after applying a prescaler of 4. The sampling window was set to three clock cycles and the conversion time to fifteen cycles, resulting in a total conversion time of 0.75 µs and an estimated sampling rate of 1.333 MS/s.
Direct Memory Access (DMA) was employed in circular mode to ensure continuous data acquisition and reduce the computational load on the central processing unit. Communication with the computer was established via a USB-Serial interface (USB-Serial CDC, Communication Device Class) operating at 12 Mbit/s. The data acquisition and analysis software was developed in Python 3.12.7 (Anaconda distribution) and incorporates libraries such as NumPy (v1.26.4), SciPy (v1.13.1), and Matplotlib (v3.9.2). This structure enables sequential reading of the incoming data, temporal signal reconstruction based on the effective sampling rate, and subsequent statistical and spectral processing through the Fast Fourier Transform (FFT). Frequencies and amplitudes of spectral information are necessary to estimate the signal power of multi-frequency signals. Many estimation methods for the frequency, position, and amplitude are available after performing FFT [25].

2.2. Signal Generation and Acquisition

System validation was performed using an FG 100 function generator (Digimess, Derby, UK), configured to supply sinusoidal signals with controlled frequencies. During the tests, the generator was connected in parallel to a TDS 2014C oscilloscope (Tektronix, Beaverton, OR, USA), with a bandwidth of 100 MHz and a sampling rate of 2 GS/s, allowing precise verification of the generated signal frequencies. The system was initially tested with 100 Hz to 100 kHz signals to assess its sampling capability and temporal reconstruction performance.
For each acquisition, a collection time of 60 s was established. The data were stored in a circular buffer managed by DMA, with a capacity of 30,000 points. After the acquisition, the contents of the buffer were transferred to a computer via USB-Serial interface, where the acquisition software, developed in Python, performed data reading, temporal axis reconstruction based on the injected signal frequency, and identification of dominant components using Fast Fourier Transform (FFT). The results were compared to oscilloscope readings and the nominal frequency of the function generator in order to verify the system’s fidelity.
Due to limitations imposed by the USB-Serial transmission rate, the software cannot receive all data simultaneously; it only receives it in the order in which it was acquired. Thus, in a test with an adequate acquisition time of 1 s, approximately 13,000 samples are typically recorded. Although the number of transferred data points is limited, the actual acquisition rate remains higher, as demonstrated by the system’s ability to reconstruct both the waveform and frequency of the signals accurately. For temporal correction purposes, the tests demonstrated that the time axis can be reconstructed based on the relation 0 ≤ (NS − 1)ΔT ≤ NS. NS is the number of samples collected by the acquisition software, and ΔT = 1.18 × 10−6 s. The plots in Figure 1 compare the reference sinusoidal functions at frequencies ranging from 100 Hz to 100 kHz with the signals reconstructed from the acquired data. The results show good agreement between the simulated curves and the experimental measurements, although a loss of temporal resolution is observed at 100 kHz. Nevertheless, the frequency and amplitude of the signals remain adequately represented.
Similarly, ref. [26] tested high (10 MHz) and low (10 kHz) sampling rates to show how data acquisition frequency affects light scattering measurements in biphasic flow. Their results, like ours, clearly revealed oscillatory fluctuations.
Comparative tests were conducted between the three highest amplitude frequencies obtained via the Fast Fourier Transform (FFT) of the acquired signals and the mean frequency of the signals generated by the function generator; the latter was determined in triplicate using oscilloscope measurements. This procedure enabled evaluation of the system’s frequency response, even when sinusoidal waveform reconstruction lacked the resolution observed at lower frequencies. The results show that the maximum relative deviation for frequencies up to 1 kHz was 12.2%, with most points remaining below 5%, as illustrated in Figure 2a. In the range of up to 10 kHz, deviations also remained predominantly below 5%, with a maximum value of 11.01% (Figure 2b). For frequencies up to 30 kHz, the maximum relative deviation increased to 14.7%, remaining below 15% up to the 100 kHz limit, as shown in Figure 2c,d.
The correlation coefficient between the frequencies measured using the oscilloscope and those obtained through the proposed system reached 0.999, indicating strong agreement between the two methods. The combination of high correlation and relatively low deviations suggests that the system exhibits satisfactory accuracy for frequencies below 10 kHz and can identify dominant components in signals ranging from 10 kHz to 100 kHz. In higher frequency ranges, particularly up to 400 kHz, the sinusoidal waveform could no longer be reconstructed with the same quality as that obtained for low frequencies. However, spectral analysis remained effective, identifying dominant frequencies close to those of the original signal generated by the function generator, with deviations below ±5%, as shown in Figure 2e.
In the frequency range between 100 Hz and 400 kHz, the relative deviations followed a normal distribution, as verified by the Shapiro–Wilk test [27]. The resulting p-value was 0.385, exceeding the significance level of 0.05, thus not allowing rejection of the null hypothesis of normality. As expected, the actual sampling rate of the system was lower than the estimated theoretical rate due to losses associated with processing and data transmission. The observed mean sampling rate was 847,464 samples per second, with a standard deviation of 0.31 samples/s, indicating high stability. Additionally, the number of samples acquired as a function of the software execution time, t, followed a linear relationship given by n ≈ 12,051t + 451, with a coefficient of determination R2 = 0.999. This empirical relation provides a reliable estimate of the samples acquired based on the available processing and transfer time using a computer equipped with an i7 processor and 16 GB of RAM.

2.3. Photodetection

The photodiode used in this study is a PIN-type device (model BPW34) encapsulated in epoxy resin and featuring a radiation-sensitive area of 7.5 mm2. The component was mounted in an anodized aluminum housing to ensure electrical insulation and thermal stability during measurements, as illustrated in Figure 3. The device operates within a temperature range of −40 °C to 100 °C and has a spectral bandwidth from 430 to 1100 nm, making it suitable for applications involving visible and near-infrared light sources.
The photodiode was directly connected to a trans-impedance amplifier (Figure 4a,b), which converts the photocurrent generated by incident radiation into a voltage proportional to the light intensity. The circuit was built using an LM358 operational amplifier powered by a regulated 5 V supply. A 120 kΩ feedback resistor performs current-to-voltage conversion. It transforms photocurrents in the order of tens of microamperes into voltage signals in the range of hundreds of millivolts, with an approximate gain of 150 kV/A. The resulting signal is digitized by an STM32F411 microcontroller (Figure 4c), which handles data acquisition and subsequent processing. The electronic assembly was housed in a shielded aluminum enclosure (Hammond brand, dimensions 11.7 × 9.0 × 3.3 cm), designed to minimize external electromagnetic interference and ensure signal integrity during the experiments.

2.4. Experimental Setup for Cavitation Generation

The experimental setup was designed as a closed-loop hydraulic circuit, as illustrated in Figure 5. In the upper section of the system, a converging-diverging conduit made of transparent acrylic was installed, with internal diameters of 0.04144 m and 0.0183 m, allowing direct visualization of the flow. A phosphor-converted white LED, based on a blue-emitting chip with a spectral peak at approximately 450 nm, and a photodiode were mounted externally on opposite sides of the acrylic tube, enabling optical transmission through the transparent wall while ensuring that neither component interfered with the internal flow or cavitation development. The emitted light passes through the flow, either single-phase (water) or two-phase (water and water vapor), depending on the operating conditions. The transmission of the light is modulated by optical fluctuations caused by the presence of bubbles and variations in the density of the medium.
The LED electrical power could be adjusted between 12 mW and 100 mW, with the maximum value selected based on preliminary tests to ensure an adequate signal-to-noise ratio under the experimental conditions. The stability of the emitted optical signal was monitored throughout the experiments using fundamental statistical indicators derived from the recorded data, including amplitude, extrema, and the presence of outliers. The LED and photodiode were positioned diametrically opposite to each other and aligned through real-time signal acquisition to maximize the detected intensity. Once aligned, both components were mechanically fixed and verified prior to each experimental run, ensuring stable optical alignment and repeatability of measurements.
The flow was induced through a nozzle with a triangular geometry featuring a side length of 10.67 mm, a cross-sectional area of 49.3 mm2, and a hydraulic diameter of 6.16 mm. As shown in Table 1, the experiments were conducted for Reynolds numbers (Re) in the triangular section ranging from 4.86 × 104 to 1.15 × 105, corresponding to nine flow rates between 3.89 × 10−4 and 9.17 × 10−4 m3/s. In the same section, average flow velocities ranged from 7.9 to 18.6 m/s at a controlled temperature of 21 ± 1 °C, maintained by a chiller, as schematically represented in Figure 5a. Flow rate control was performed using a frequency inverter, with the motor frequency adjusted in 5 Hz increments. The flow rates were monitored using a calibrated rotameter, with an uncertainty of 1.0 × 10−5 m3/s.
It was necessary to consider both the operating principle of the photodiode and the potential sources of uncertainty involved in the detection process to ensure the reliability of optical measurements inside the acrylic tube. The photodiode used is based on a PIN-type structure composed of three main layers: a p-type silicon region (Siₚ), an intrinsic region (Siᵢₙₜ) corresponding to the depletion zone, and an n-type region (Siₙ). The incident light enters through the upper surface, penetrates the p-type layer, and predominantly reaches the intrinsic region, where electron-hole pairs are generated. Due to the internal electric field of the structure, these charge carriers are rapidly separated, resulting in a measurable electric current proportional to the intensity of the incident radiation. The total current generated, denoted as IpE, is the sum of the electron current (Ie) and the hole current (Ih), such that IpE = Ie + Ih.
However, the measured current does not represent exclusively the valuable fraction of the radiation emitted by the LED and modulated by the biphasic flow. Other components contribute to the final signal, including the dark current (Idark ≈ 2 nA), which is present even in the absence of incident light; the thermal noise (IRT), arising from internal thermal fluctuations within the semiconductor; the shot noise (Ia), typically Poissonian due to the quantum-probabilistic nature of individual photon absorption; and external interferences or parasitic signals (Ipe), generally caused by ambient light or uncontrolled reflections.
An opaque black enclosure was developed and positioned around the acrylic tube to minimize these interferences, as illustrated in Figure 5b. This shielding prevents external light leakage and ensures that only the radiation transmitted through the flow is detected by the photodiode. Implementing this optical shielding contributed significantly to noise reduction and the stability of the measurements. The detailed characterization of these mechanisms and the systematic mitigation of uncertainty sources were essential to ensure the reliability of the optical signals obtained, enabling their subsequent statistical and spectral analysis with reproducibility.
The main experimental parameters related to instrumentation, optical detection, and operating conditions are summarized in Table 2.

3. Results

The experiments began with tests conducted at a flow rate of 6.944 × 10−4 m3/s, in which the number of optical signal samples acquired varied between 1410 and 463,401. The results were compared to a reference dataset containing 759,547 samples, which was used as the baseline for assessing statistical stability. It was observed that the relative deviations of both the mean irradiance and its standard deviation tended to decrease with increasing sample size, as illustrated in Figure 6. Deviations dropped below 5% after approximately 61,430 samples and reached stability around 239,000 samples. Based on these results, an approximate total of 239,000 samples was adopted as the standard reference for each flow condition in the subsequent analysis stages.
The irradiance values were normalized according to the relation I = IpE/IpEmax, and their distributions are presented in Figure 7a–i for the nine flow rates tested, also expressed in dimensionless form as Q* = Q/Qmax. For the two lowest flow rates, a strong concentration of I values above 0.9 was observed, with a mean around 0.98. Under the third condition, corresponding to a motor frequency of 30 Hz, the amplitude of signal fluctuations increased, and the mean value decreased to 0.83. As the bubble population increased with subsequent flow rates, the distribution of I began to exhibit more pronounced negative skewness, with further increases in amplitude and a reduction in the mean to 0.62.
The 40 Hz condition marks a transition point at which the distribution becomes approximately symmetric. From 45 Hz onward, an inversion in the sign of the skewness coefficient is observed, indicating a shift in the statistical behavior of irradiance. This pattern becomes progressively more pronounced, resulting in increasingly lower mean values, reaching a minimum of 0.0032 at 60 Hz. Figure 7j summarizes this evolution through the skewness, a3, coefficient as a function of normalized flow rate, highlighting a change in the behavior of transmittance distributions within the biphasic regime as the flow rate increases. The figure also displays the skewness distribution of pressure signals at the Venturi throat, the measurements being obtained with the transducer operated as described in [28]. Negative values prevail at lower flow rates, while positive values dominate at higher rates. The zero-crossing occurs at the same flow rate as observed for irradiance.
The mean irradiance values, Im, exhibited a decreasing trend as a function of the normalized flow rate Q*, as shown in Figure 8a. This behavior was well represented by the model proposed by [24], described in Equation (1), whose fit yielded a coefficient of determination of R2 = 0.997. Figure 8b compares the experimental values and those calculated using this model, including the ideal fit line, demonstrating good agreement between prediction and measurement.
I m = [ 9.11 × 10 4 + tanh ( 0.946 Q * 2.33 ) ] 18.8
The standard deviation of irradiance, interpreted as an indirect measure of the turbulent intensity in the flow, was described by Equation (2), a function adapted from the Gaussian model. Figure 8c,d show that the experimental data fit the model well, with R2 = 0.970. It is observed that the standard deviation reaches its maximum at Q* = 0.76, corresponding to the regime in which the distribution of I exhibits near-zero skewness, representing a transition between negatively and positively skewed statistical patterns, as illustrated in Figure 7e.
D P ( I ) = 0.87 exp [ ( Q * 0.758 ) 2 0.00742 ] + 0.129
Use of statistical analysis for monitoring signals was reported by [29], in which it was applied to detect sound pressure signals, and found that statistical variables can be used to identify and characterize pressure signals.
As illustrated in Figure 9, the optical signal’s spectral response as a function of flow rate, expressed in terms of motor frequency, shows amplitude spectra characterized by a rise in amplitude up to a maximum value, followed by a decline. This behavior is consistently observed for frequencies up to approximately 200 kHz. A more pronounced amplitude drop is observed at frequencies higher than 200 kHz, which is analyzed in more detail in Figure 10a–j. To quantify the inertial subband, the frequency range associated with the −5/3 power-law decay was directly identified from the log-log spectra shown in Figure 10a–i. Linear regression was used on the frequency band where there is a clear linear trend, in logarithmic coordinates. The corresponding frequency bandwidth (Δf) was then extracted for each operating condition.
All spectra were first windowed using a Hanning function to reduce spectral leakage, then converted to logarithmic scales in both frequency and amplitude to preserve the relative spectral structure as indicated by [30,31]. A shared logarithmic frequency base with 300 points was defined to span the relevant range, and each spectrum, composed initially of discrete frequency-amplitude pairs, was interpolated onto this base using linear interpolation in log-log space. The upper envelope for each flow condition was then constructed by taking the pointwise maximum amplitude across all interpolated spectra. This procedure enables consistent comparison across flow rates and reveals the spectral evolution, particularly within the energy cascade and high-frequency dissipative ranges.
In the cases corresponding to the lowest flow rates (Figure 10a,b), the spectra exhibit high amplitudes at low frequencies, followed by a progressive decay. In portions of these spectra, a range can be identified that follows a power-law behavior with an exponent of −5/3. This characteristic suggests an analogy with turbulent kinetic energy spectra, assuming that the structure of the biphasic flow influences the transmission of light through the fluid. From this perspective, the optical spectrum may reflect the organization of turbulent scales within the flow. The low-frequency region, where the amplitude is higher, is associated with turbulence production, in which large eddies store energy introduced by external mechanical sources, in this case, the pump operating at constant rotation, which imposes a pressure difference on the system and drives the flow. In the intermediate frequency range, approximately between 1 and 2 kHz, an inertial region emerges consistent with Kolmogorov’s law [32], where energy is transferred between scales without significant dissipation. At higher frequencies, the spectra reveal the likely contribution of vapor bubble formation and collapse, intermittent events that, even at low concentrations under the lowest flow conditions, generate spectral peaks on the order of 105 Hz (Figure 10a–e).
The plots also include reference lines corresponding to the frequency associated with the onset of Kolmogorov’s microscale for vorticity, given by Equation (3).
1/tη = (V/L)Re1/2,
where L is the hydraulic diameter of the nozzle, and V is the mean velocity at its section. Beyond this frequency, only amplitude decay is observed, consistent with the transition to the dissipative region of the spectrum, where minor scales dissipate energy in the form of heat.
Figure 11 illustrates the optical arrangement used to monitor the vapor-liquid flow and a photograph of the persistent vapor formation region originating at the boundary of the abrupt transition to the triangular nozzle [28]. As the stream transports bubbles, they continuously scatter and refract the light beam, so that photons follow different trajectories before reaching the photodiode. The superposition of these contributions causes the detected intensity to fluctuate around an average level. These fluctuations become stronger or weaker depending on the bubble size distribution, the range of turbulent scales present in the flow, and the spatiotemporal distribution of pressures and vapor concentration, which also influence the refractive index of light in this context [26]. Thus, the variation in the measured signal reflects the passage of vortices of different sizes in movements that can be described with statistical fluid mechanics, as well as thermodynamic behaviors of multiphase flow.
The interpretation of these intensity fluctuations can be aided by theoretical models that describe cavitation phenomena, although such models are typically formulated for acoustically driven systems or for isolated bubbles. Since turbulence remains an unresolved problem, particularly in hydrodynamic cavitation, the present analysis adopts an interpretative framework based on physically consistent hypotheses, rather than predictive modeling. In this context, bubble migration and interaction, often described by primary and secondary Bjerknes forces, provide a qualitative insight into how pressure gradients and flow structures influence the spatial distribution and temporal dynamics of bubbles, even in the absence of an external acoustic field [33,34].
The bubble size distribution, which directly affects the amplitude of the optical signal, results from dynamic processes involving phase transition and radial oscillation. Models such as the Mikic–Rohsenow–Griffith–Theofanous–Patel (MRG-TP) formulation describe the growth and collapse of bubbles through regimes resulting from inertial effects, described by the Rayleigh–Plesset model, and subsequently by thermal diffusion and interfacial mass transfer [35]. Although these models do not capture the full complexity of turbulent multiphase flows with numerous bubbles [36], they provide a consistent physical basis to aid in the interpretation of optical fluctuations associated with cavitation dynamics.
An additional interpretation of Figure 10 is that the fluctuations of light intensity may be understood because of the way turbulence and cavitation structures modulate the optical path. Slight variations in the local void fraction, caused by bubbles and vortical motions, alter the fraction of light reaching the photodiode. Since these variations are transported by the moving fluid, their temporal distribution mirrors the cascade of turbulent scales. In this sense, the spectral distribution of the measured intensity naturally develops a region where its slope follows the same power law found in the inertial range of turbulence. The broadening and subsequent narrowing of this region with increasing flow rate can then be viewed as a direct consequence of changes in bubble size distribution and the relative weight of different turbulent scales in the two-phase mixture.
As cavitation intensity increases with higher flow rates, the number of vapor bubbles rises, as does the distribution of their characteristic scales. The photo detection signals reveal an expansion of the spectral region that follows a −5/3 power-law behavior, indicating a widening of the frequency range associated with energy transfer across scales. This behavior consists of a greater variety of bubble sizes oscillating and interacting randomly with the light beam, thereby modulating the radiation transmitted through the biphasic mixture. A high-frequency spectral peak, initially located around 105 Hz, is identified up to the flow rate corresponding to a motor frequency equal to 40 Hz. From Q (45 Hz) onward, this peak nearly disappears but reappears at the three highest flow rates, albeit shifted to frequencies around 104 Hz. This shift suggests that, under high cavitation regimes, the increased density of vapor cavities promotes bubble coalescence, resulting in larger and more persistent structures. Such bubbles act as optical dampers, attenuating high-frequency variations, although they still induce fluctuations in light intensity, now confined to lower spectral bands. As a result, the high-frequency peaks observed at lower flow rates are replaced by lower-frequency peaks under conditions with higher vapor concentrations.
Figure 10j shows that the width of the frequency range consistent with Kolmogorov’s law increases with the flow rate until reaching a maximum, after which it decreases. This behavior is consistent with the hypothesis that, at very high flow rates, the coalescence process reduces the diversity of scales, compressing the inertial region. According to the spectral data, it was also observed that bubbles’ absence or low concentration in the initial regimes maintained spectral peaks around 105 Hz, followed by an abrupt drop to values on the order of 104 Hz, as evidenced in Figure 12a. Figure 12 highlights these spectral shifts, both in terms of peak frequencies and their corresponding amplitudes. The amplitudes associated with the peaks also decrease, reaching a minimum at the flow condition where the inertial region is most extended. Beyond this point, a partial recovery in amplitude is observed at the highest flow rates, as illustrated in Figure 12b.
For the lower-frequency regions, and without applying the spectral envelope method, it becomes possible to directly identify the dominant frequencies by analyzing individual spectra obtained via the Fast Fourier Transform (FFT). Based on these peak frequencies, the Strouhal number was calculated for each flow rate as
St = f/(V/Dh),
where f represents the dominant frequency identified in the spectrum, Dh is the hydraulic diameter, and V is the mean velocity, both evaluated at the section of the triangular nozzle. Ref. [33] conducted a similar analysis to detect surge events in centrifugal compressors; however, their findings indicated that the presence of low frequencies corresponded to surge occurrence.
As shown in Figure 13, the Strouhal number increases with Reynolds number up to an intermediate regime, after which it decreases as the flow rate continues to rise. This behavior indicates the existence of a transitional regime in which the interaction between the mean flow and coherent flow structures becomes most pronounced. A similar pattern was also identified by [37] with a high-speed camera, who, in their investigation of hydrodynamic cavitation in polymer solutions and pure water, reported an increasing trend in the Strouhal number, calculated from the dominant frequency of the pressure spectrum, for pure water at Reynolds numbers on the order of 104.
At intermediate Reynolds numbers, the shear layers formed at the sharp edges of the triangular nozzle promote flow separation [28] and the formation of coherent vortical structures, giving rise to recirculation zones and enhanced velocity fluctuations. Under these conditions, the characteristic time scales of vortex formation and convection become strongly coupled with the bulk flow velocity, leading to a peak in the Strouhal number. As the Reynolds number increases further, the flow becomes increasingly turbulent, and the coherence of these structures diminishes, resulting in a reduction in the dominant frequency and a corresponding decrease in the Strouhal number.
This interpretation is consistent with previous observations in cavitating and non-cavitating flows, where Strouhal numbers exhibit a similar rise-and-decay behavior associated with the transition from organized vortex shedding to fully developed turbulence [38,39]. In this sense, the observed peak in Strouhal number reflects the dynamic interaction between separation vortices, recirculation regions, and cavitation-induced fluctuations at the nozzle outlet, rather than a purely monotonic scaling with flow rate.

4. Conclusions

This study proposed and validated a high-speed optical data acquisition system based on photodetection and microprocessing, designed to characterize hydrodynamic cavitation downstream of a triangular nozzle produced by additive manufacturing. The developed instrumentation demonstrated satisfactory performance and feasibility for the indirect analysis of biphasic flows through optical signals modulated by bubble transit. The proposed methodology is particularly suitable for laboratory-scale systems with optical access, where non-intrusive monitoring is required, and is extensible to industrial applications with similar characteristics.
System characterization confirmed an effective average acquisition rate of approximately 847,000 samples per second, with high temporal stability, even under the transmission constraints imposed by USB-Serial communication. Tests with reference signals indicated that, despite resolution loss at higher frequencies, the system’s spectral response maintained a strong correlation with the original signals, validating the fidelity of the sampling process. Based on statistical convergence analysis, it was established that acquiring approximately 239,000 samples per experimental condition is sufficient to accurately estimate both the mean irradiance and its standard deviation for the experimental conditions of this work.
The study of statistical distributions showed that the mean irradiance decreased with increasing flow rate and that the transition in flow behavior could be identified by inverting the skewness coefficient, reflecting changes in the biphasic regime. This optical behavior of skewness closely resembles the statistical behavior observed in the instantaneous pressure signals, demonstrating the capability of the proposed methodology to investigate turbulence associated with vapor–liquid interactions. Within the investigated operating range, these results demonstrate that optical fluctuations can serve as reliable indicators of flow regime transitions.
Spectral analysis of the optical signals allowed relevant aspects of the turbulent dynamics and flow structure to be inferred. Spectral regions associated with energy production, transfer, and dissipation were identified, with an inertial range consistent with Kolmogorov’s law in the intermediate frequency band. The width of this range increased with flow rate up to a maximum before decreasing, a behavior consistent with bubble coalescence under high cavitation conditions. In the low-frequency range, associated with turbulence production and analogous to the turbulent kinetic energy spectrum, Strouhal numbers were calculated from the dominant frequency and the characteristic flow velocity. Their variation with Reynolds number followed a non-monotonic trend, reaching a maximum at an intermediate flow condition, consistent with enhanced bubble–flow interaction. Based on the experimental conditions investigated, the results demonstrate that the developed system can provide quantitative and reproducible information on the presence and intensity of cavitation, offering a viable and complementary alternative to conventional acoustic and imaging-based approaches commonly employed for this purpose.

Author Contributions

Conceptualization, L.G.M.W., A.J.R.S. and A.L.A.S.; Methodology, L.G.M.W., A.J.R.S., L.R.O., L.d.R.T., J.G.d.C.G., L.R.T.C.G., I.E.L.N., J.C.d.S.I.G., G.P.G., G.G.D., M.V.S.d.S., V.L.F., V.P.F., A.L.A.S., L.M.Q. and I.M.P.; Software, A.J.R.S., L.R.O., L.d.R.T., J.G.d.C.G. and L.C.S.S.J.; Validation, A.J.R.S., L.d.R.T., I.S.M.d.A., A.S.B.d.F.D., L.R.T.C.G., I.E.L.N., J.C.d.S.I.G., L.C.S.S.J., G.P.G., G.G.D., M.V.S.d.S., V.L.F., V.P.F., A.L.A.S., L.M.Q. and I.M.P.; Formal analysis, L.d.R.T., I.E.L.N., J.C.d.S.I.G., L.C.S.S.J., G.P.G., G.G.D., M.V.S.d.S., V.L.F., V.P.F., A.L.A.S., L.M.Q. and I.M.P.; Investigation, L.G.M.W., I.S.M.d.A., A.S.B.d.F.D., L.R.T.C.G. and A.L.A.S.; Resources, L.G.P. and I.M.P.; Writing—original draft, L.G.M.W. and A.L.A.S.; Writing—review & editing, L.d.R.T., J.G.d.C.G., I.E.L.N., J.C.d.S.I.G., L.C.S.S.J., G.P.G., G.G.D., M.V.S.d.S., V.L.F., V.P.F., L.M.Q. and I.M.P.; Project administration, J.G.d.C.G. and L.G.P.; Funding acquisition, I.M.P. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the Coordination for the Improvement of Higher Education Personnel—Brazil (CAPES)—Financing code 001 and process number 88881.708215/2022-01—Emergency PDPG for Strategic Consolidation of Postgraduate Programs (PPGs) stricto sensu academics with grades 3 and 4; 88881.691452/2022-01—PDPGPOSDOC/Strategic Postdoctoral Program of the Graduate Development Program (PDPG), both from the Master’s in Environment, Water, and Sanitation—MAASA—UFBA. This research was supported by Coordination for the Improvement of Higher Education Personnel—Brazil (CAPES) through the Postgraduate Program in Energy and Environment (PGENAM) under process number 88887.959392/2024-00. The authors acknowledge the support provided by the Federal University of Triângulo Mineiro (UFTM) toward this publication.

Institutional Review Board Statement

Not Applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Tomita, Y.; Shima, A. High-speed photographic observations of laser-induced cavitation bubbles in water. Acustica 1990, 71, 161–171. [Google Scholar]
  2. Lauterborn, W.; Hentschel, W. Cavitation bubble dynamics studied by high speed photography and holography: Part one. Ultrasonics 1985, 23, 260–268. [Google Scholar] [CrossRef]
  3. Supponen, O.; Obreschkow, D.; Kobel, P.; Tinguely, M.; Dorsaz, N.; Farhat, M. Shock waves from nonspherical cavitation bubbles. Phys. Rev. Fluids 2017, 2, 093601. [Google Scholar] [CrossRef]
  4. Wu, P.; Wang, X.; Lin, W.; Bai, L. Acoustic characterization of cavitation intensity: A review. Ultrason. Sonochem. 2022, 82, 105878. [Google Scholar] [CrossRef]
  5. Matos, J.; Novakoski, C.K.; Ferla, R.; Marques, M.G.; Dai Prá, M.; Canellas, A.V.B.; Teixeira, E.D. Extreme Pressures and Risk of Cavitation in Steeply Sloping Stepped Spillways of Large Dams. Water 2022, 14, 306. [Google Scholar] [CrossRef]
  6. Yeneneh, A.M.; Al Balushi, K.; Jafary, T.; Al Marshudi, A.S. Hydrodynamic Cavitation and Advanced Oxidation for Enhanced Degradation of Persistent Organic Pollutants: A Review. Sustainability 2024, 16, 4601. [Google Scholar] [CrossRef]
  7. Mustapha, A.T.; Wahia, H.; Ji, Q.; Fakayode, O.A.; Zhang, L.; Zhou, C. Multiple-frequency ultrasound for the inactivation of microorganisms on food: A review. J. Food Process Eng. 2024, 47, e14587. [Google Scholar] [CrossRef]
  8. Bharadwaj, A.V.S.L.; Chinnam, S.; Phillips, J.J.; Janani, V.; Gajendra, K.S.; Archana, V.; Chauhan, A.S.; Gupta, N.K. Cavitation-assisted synthesis and characterization of a novel catalyst from waste coconut trunk biomass for biodiesel production. Bioresour. Technol. 2024, 412, 131397. [Google Scholar] [CrossRef]
  9. Banakar, V.V.; Gogate, P.R.; Raha, A.; Saurabh. Application of ultrasound in heat exchanger handling supersaturated CaSO4 solution for reduction of scaling by induced precipitation and in-situ cleaning. Chem. Eng. Sci. 2023, 276, 118814. [Google Scholar] [CrossRef]
  10. Wood, R.J.; Hamidi, H.; Far, A.J. Ultrasound based technology for removal of scale from downhole production tubing, an experimental verification. Geoenergy Sci. Eng. 2024, 235, 212783. [Google Scholar] [CrossRef]
  11. Dastane, G.G.; Thakkar, H.; Shah, R.; Perala, S.; Raut, J.; Pandit, A.B. Single and multiphase CFD simulations for designing cavitating venturi. Chem. Eng. Res. Des. 2019, 149, 1–12. [Google Scholar] [CrossRef]
  12. Simpson, A.; Ranade, V.V. Modeling of hydrodynamic cavitation with orifice: Influence of different orifice designs. Chem. Eng. Res. Des. 2018, 136, 698–711. [Google Scholar] [CrossRef]
  13. Fang, Z.; Hou, W.; Xu, Z.; Guo, X.; Zhang, Z.; Shi, R.; Yao, Y.; Chen, Y. Large Eddy Simulation of Cavitation Jets from an Organ-Pipe Nozzle: The Influence of Cavitation on the Vortex Coherent Structure. Processes 2023, 11, 2460. [Google Scholar] [CrossRef]
  14. Li, X.; Zhou, Y.; Zhang, H.; Zhao, L.; Li, S.; Gao, Z.; Xie, M.; Liu, D. Advancements in cavitation and noise research of waterjet pumps. Phys. Fluids 2025, 37, 101302. [Google Scholar] [CrossRef]
  15. Ohta, T.; Sugiura, R. Numerical prediction of interaction between turbulence structures and vortex cavitation. J. Turbul. 2019, 20, 599–625. [Google Scholar] [CrossRef]
  16. Iida, Y.; Lee, J.; Kozuka, T.; Yasui, K.; Towata, A.; Tuziuti, T. Optical cavitation probe using light scattering from bubble clouds. Ultrason. Sonochem. 2009, 16, 508–514. [Google Scholar] [CrossRef] [PubMed]
  17. Yoon, Y.; Kim, J.; Song, S.J. Identification of inducer cavitation instabilities using high-speed visualization. Exp. Therm. Fluid Sci. 2022, 132, 110548. [Google Scholar] [CrossRef]
  18. Arrojo, S.; Benito, Y. A theoretical study of hydrodynamic cavitation. Ultrason. Sonochem. 2008, 15, 203–211. [Google Scholar] [CrossRef]
  19. International Electrotechnical Commission. Measurement of Cavitation Noise in Ultrasonic Baths and Ultrasonic Reactors, 1st ed.; International Electrotechnical Commission: Geneva, Switzerland, 2019. [Google Scholar]
  20. Ceccio, S.L.; Makiharju, S.A. Experimental Methods for the study of hydrodynamic cavitation. In Cavitation Instabilities and Rotordynamic Effects in Turbopumps and Hydroturbines; Springer: New York, NY, USA, 2017; pp. 35–64. [Google Scholar]
  21. Katz, J.; Gowing, S.; O’Hern, T.; Acosta, A. A comparative study between holographic and light-scattering techniques of microbubble detection. In Proceedings of the I.U.T.A.M. Symposium on Measuring Techniques in Gas-Liquid Two-Phase Flows, Nancy, France, 5–8 July 1983; Springer: Berlin/Heidelberg, Germany, 1984; pp. 41–66. [Google Scholar]
  22. Tanger, H.; Weitendorf, E.A. Applicability tests for the phase doppler anemometer for cavitation nuclei measurements. J. Fluids Eng. 1992, 114, 443–449. [Google Scholar] [CrossRef]
  23. d’Agostino, L.; Acosta, A.J. A cavitation susceptibility meter with optical cavitation monitoring–part one: Design concepts. J. Fluids Eng. 1991, 113, 261–269. [Google Scholar] [CrossRef]
  24. West, L.G.M.; Simões, A.J.R.; Teixeira, L.R.; Santos, C.A.; Oliveira, L.R.; Pereira, L.G.; Ferreira, V.P.; Simões, A.L.A.; Queiroz, L.M.; Pepe, I.M. Hydrodynamic cavitation induced by different nozzle shapes in pressurized conduits, instrumented by optical detection, searching for pressure correlation. Flow Meas. Instrum. 2025, 102, 102797. [Google Scholar] [CrossRef]
  25. Wolf, M.; Rudolph, M.; Kanoun, O. Amplitude and frequency estimator for aperiodic multi-frequency noisy vibration signals of a tram gearbox. J. Vibroeng. 2021, 23, 7. [Google Scholar] [CrossRef]
  26. Chang, K.A.; Lim, H.J.; Su, C.B. Fiber optic reflectometer for velocity and fraction ratio measurements in multiphase flows. Rev. Sci. Instrum. 2003, 74, 3559–3565. [Google Scholar]
  27. Shapiro, S.S.; Wilk, M.B. An Analysis of Variance Test for Normality (Complete Samples). Biometrika 1965, 52, 591–611. [Google Scholar]
  28. West, L.G.M.; Simões, A.J.R.; Teixeira, L.d.R.; dos Anjos, I.S.M.; Devesa, A.S.B.d.F.; Oliveira, L.R.; Gomes, J.G.d.C.; Gomes, L.R.T.C.; Pereira, L.G.; Soares Junior, L.C.S.; et al. Experimental and Numerical Analysis of Nozzle-Induced Cavitating Jets: Optical Instrumentation, Pressure Fluctuations and Anisotropic Turbulence Modeling. Fluids 2025, 10, 223. [Google Scholar] [CrossRef]
  29. Heng, R.B.W.; Nor, M.J.M. Statistical Analysis of sound and vibration Signals for monitoring Rolling element Bearing Condition. Appl. Acoust. 1998, 53, 211–226. [Google Scholar] [CrossRef]
  30. Andria, M.S.G.; Trotta, A. Windows and interpolation algorithm to improve electrical measurement accuracy. IEEE Trans. Instrum. Meas. 1989, 38, 856–863. [Google Scholar] [CrossRef]
  31. Ferrero, A.; Salicone, S. A fast Frequency-domain interpolation method for the evaluation of the frequency and amplitude of spectral components. In Proceedings of the International Instrumentation and Measurement Technology Conference (I2MTC), Austin, TX, USA, 3–6 May 2010; IEEE: Austin, TX, USA, 2010; pp. 78–83. [Google Scholar]
  32. Kolmogorov, A.N. The Local Structure of Turbulence in Incompressible Viscous Fluid for Very Large Reynolds’ Numbers. Akad. Nauk. SSSR Dokl. 1941, 30, 301–305. [Google Scholar]
  33. Parlitz, U.; Mettin, R.; Luther, S.; Akhatov, I.; Voss, M.; Lauterborn, W. Spatio-temporal dynamics of acoustic cavitation bubble clouds. Philos. Trans. R. Soc. A 1999, 357, 313–334. [Google Scholar] [CrossRef]
  34. Zhang, A.-M.; Li, S.-M.; Xu, R.-Z.; Pei, S.-C.; Li, S.; Liu, Y.-L. A theoretical model for compressible bubble dynamics considering phase transition and migration. J. Fluid. Mech. 2024, 999, A58. [Google Scholar] [CrossRef]
  35. Huang, W.; Li, C.; He, Z.; Yang, Y.; Guan, W.; Zhang, S. A generalized thermodynamic phase transition model based on bubble growth analysis for cavitating flow considering thermal effects. Case Stud. Therm. Eng. 2025, 75, 107176. [Google Scholar] [CrossRef]
  36. Fuster, D. A Review of Models for Bubble Clusters in Cavitating Flows. Flow Turbul. Combust. 2019, 102, 497–536. [Google Scholar] [CrossRef]
  37. Azadi, R.; Nobes, D.S. Hydrodynamic cavitation reduction in semidilute turbulent polymer solution flows. J. Fluid. Mech. 2022, 952, A29. [Google Scholar] [CrossRef]
  38. Li, J.; Wang, B.; Zheng, X. Surge Process of a High-Speed Axial–Centrifugal Compressor. Processes 2023, 11, 2869. [Google Scholar] [CrossRef]
  39. Cai, T.; Liu, B.; Ma, F.; Pan, Y. Influence of nozzle lip geometry on the Strouhal number of self-excited waterjet. Exp. Therm. Fluid. Sci. 2020, 112, 109978. [Google Scholar] [CrossRef]
Figure 1. Comparison between the function generator data and the reconstructed sinusoidal function: (a) 100 Hz, (b) 1 kHz, (c) 10 kHz, (d) 100 kHz.
Figure 1. Comparison between the function generator data and the reconstructed sinusoidal function: (a) 100 Hz, (b) 1 kHz, (c) 10 kHz, (d) 100 kHz.
Fluids 11 00021 g001
Figure 2. Comparison between the frequencies measured with the oscilloscope and those obtained from the data acquisition software: (a) 0–1 kHz; (b) 0–10 kHz; (c) 0–30 kHz; (d) 0–100 kHz; (e) 0–400 kHz. Open circles represent experimental data points; the solid line indicates the ideal agreement line (y = x), and dashed lines denote the relative deviation limits (±5% or ±15%).
Figure 2. Comparison between the frequencies measured with the oscilloscope and those obtained from the data acquisition software: (a) 0–1 kHz; (b) 0–10 kHz; (c) 0–30 kHz; (d) 0–100 kHz; (e) 0–400 kHz. Open circles represent experimental data points; the solid line indicates the ideal agreement line (y = x), and dashed lines denote the relative deviation limits (±5% or ±15%).
Fluids 11 00021 g002
Figure 3. Aluminum housing with the BPW34 photodiode.
Figure 3. Aluminum housing with the BPW34 photodiode.
Fluids 11 00021 g003
Figure 4. (a) Photograph of the transimpedance amplifier; (b) schematic diagram of the electronic circuit; (c) STM32F411 microcontroller used for signal acquisition and processing.
Figure 4. (a) Photograph of the transimpedance amplifier; (b) schematic diagram of the electronic circuit; (c) STM32F411 microcontroller used for signal acquisition and processing.
Fluids 11 00021 g004
Figure 5. Experimental setup (a) and details of the converging-diverging tube with opaque enclosure (b). Source: adapted from [24].
Figure 5. Experimental setup (a) and details of the converging-diverging tube with opaque enclosure (b). Source: adapted from [24].
Fluids 11 00021 g005
Figure 6. Relative deviations for: (a) mean irradiance and (b) irradiance standard deviation.
Figure 6. Relative deviations for: (a) mean irradiance and (b) irradiance standard deviation.
Fluids 11 00021 g006
Figure 7. Probability density histograms of I values for the different flow rates (ai) and skewness coefficient as a function of the dimensionless flow rate, Q*, for irradiance and pressure (j).
Figure 7. Probability density histograms of I values for the different flow rates (ai) and skewness coefficient as a function of the dimensionless flow rate, Q*, for irradiance and pressure (j).
Fluids 11 00021 g007aFluids 11 00021 g007b
Figure 8. Normalized mean irradiance and irradiance standard deviation: (a) Normalized mean irradiance and fitted model (Equation (1)) as a function of normalized flow rate; (b) Comparison between experimental and calculated normalized mean irradiance; (c) Normalized irradiance standard deviation and fitted model (Equation (2)) as a function of normalized flow rate; (d) Comparison between experimental and calculated normalized irradiance standard deviation.
Figure 8. Normalized mean irradiance and irradiance standard deviation: (a) Normalized mean irradiance and fitted model (Equation (1)) as a function of normalized flow rate; (b) Comparison between experimental and calculated normalized mean irradiance; (c) Normalized irradiance standard deviation and fitted model (Equation (2)) as a function of normalized flow rate; (d) Comparison between experimental and calculated normalized irradiance standard deviation.
Fluids 11 00021 g008
Figure 9. Amplitude–frequency map for different motor frequencies, calculated using linear interpolation of the spectra.
Figure 9. Amplitude–frequency map for different motor frequencies, calculated using linear interpolation of the spectra.
Fluids 11 00021 g009
Figure 10. Upper envelopes of the amplitude spectra of the optical signal and comparisons with the inertial region and Kolmogorov’s vorticity microscale for flow rates corresponding to motor frequencies between 20 and 60 Hz (ai), and frequency range of the inertial region (j).
Figure 10. Upper envelopes of the amplitude spectra of the optical signal and comparisons with the inertial region and Kolmogorov’s vorticity microscale for flow rates corresponding to motor frequencies between 20 and 60 Hz (ai), and frequency range of the inertial region (j).
Fluids 11 00021 g010aFluids 11 00021 g010b
Figure 11. Illustration of bubble-induced modulation of transmitted light in the two-phase flow and a photo of the back of the nozzle showing the formation of vapor from the edges of the abrupt transition to the triangular section.
Figure 11. Illustration of bubble-induced modulation of transmitted light in the two-phase flow and a photo of the back of the nozzle showing the formation of vapor from the edges of the abrupt transition to the triangular section.
Fluids 11 00021 g011
Figure 12. Frequency (a) and amplitude (b) of the spectral peaks located in the high-frequency range beyond the inertial region.
Figure 12. Frequency (a) and amplitude (b) of the spectral peaks located in the high-frequency range beyond the inertial region.
Fluids 11 00021 g012
Figure 13. Strouhal number as a function of the Reynolds number, both defined based on the hydraulic diameter of the triangular nozzle.
Figure 13. Strouhal number as a function of the Reynolds number, both defined based on the hydraulic diameter of the triangular nozzle.
Fluids 11 00021 g013
Table 1. Experimental conditions for cavitation generation.
Table 1. Experimental conditions for cavitation generation.
Exp.Motor
Frequency [Hz]
Q [m3/s]V [m/s]Re
1203.889 × 10−47.94.86 × 104
2254.722 × 10−49.65.90 × 104
3305.833 × 10−411.87.29 × 104
4356.389 × 10−412.97.98 × 104
5406.944 × 10−414.18.67 × 104
6457.500 × 10−415.29.37 × 104
7508.333 × 10−416.91.04 × 105
8558.611 × 10−417.51.08 × 105
9609.167 × 10−418.61.15 × 105
Table 2. Summary of the experimental setup, instrumentation, and operating conditions.
Table 2. Summary of the experimental setup, instrumentation, and operating conditions.
CategoryParameterDescription/Value
Data acquisition system MicrocontrollerSTM32F411 (STMicroelectronics, Geneva, Switzerland)
 ADC resolution12-bit
 ADC clock frequency24 MHz
 Effective sampling rate847 kS/s (mean)
 Sampling window0.75 µs
 Communication interfaceUSB–Serial (CDC, 12 Mbit/s)
 Data processingPython (NumPy, SciPy, Matplotlib)
 Light sourcePhosphor-converted white LED (blue chip, peak ≈ 450 nm)
Optical sensing systemLED electrical power12–100 mW (100 mW used in experiments)
 PhotodetectorBPW34 PIN photodiode
 Photodiode active area7.5 mm2
 Spectral sensitivity430–1100 nm
 Optical configurationExternal transmission through acrylic tube wall
 Optical alignmentDiametrically aligned LED–photodiode pair
Signal conditioningAmplifier typeTransimpedance amplifier
 Operational amplifierLM358
 Feedback resistance120 kΩ
 Power supply5 V
Hydraulic systemTest section materialTransparent acrylic
 Nozzle geometryTriangular orifice
 Side length10.67 mm
 Cross-sectional area49.3 mm2
 Hydraulic diameter6.16 mm
Operating conditionsFlow rate range3.89 × 10−4 to 9.17 × 10−4 m3/s
 Flow velocity range7.9–18.6 m/s
 Reynolds number range4.86 × 104–1.15 × 105
 Temperature21 ± 1 °C
 Flow controlFrequency inverter (5 Hz increments)
Optical noise controlShieldingOpaque enclosure around measurement region
 Noise sources consideredThermal noise, shot noise, dark current, ambient light
Validation toolsReference instrumentationFunction generator (FG 100–Digimess, Derby, UK), Oscilloscope (TDS 2014C, 100 MHz–Tektronix, Beaverton, OR, USA)
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

West, L.G.M.; Simões, A.J.R.; Teixeira, L.d.R.; Oliveira, L.R.; Gomes, J.G.d.C.; Anjos, I.S.M.d.; Devesa, A.S.B.d.F.; Gomes, L.R.T.C.; Pereira, L.G.; Neto, I.E.L.; et al. High-Speed Microprocessor-Based Optical Instrumentation for the Detection and Analysis of Hydrodynamic Cavitation Downstream of an Additively Manufactured Nozzle. Fluids 2026, 11, 21. https://doi.org/10.3390/fluids11010021

AMA Style

West LGM, Simões AJR, Teixeira LdR, Oliveira LR, Gomes JGdC, Anjos ISMd, Devesa ASBdF, Gomes LRTC, Pereira LG, Neto IEL, et al. High-Speed Microprocessor-Based Optical Instrumentation for the Detection and Analysis of Hydrodynamic Cavitation Downstream of an Additively Manufactured Nozzle. Fluids. 2026; 11(1):21. https://doi.org/10.3390/fluids11010021

Chicago/Turabian Style

West, Luís Gustavo Macêdo, André Jackson Ramos Simões, Leandro do Rozário Teixeira, Lucas Ramalho Oliveira, Juliane Grasiela de Carvalho Gomes, Igor Silva Moreira dos Anjos, Antonio Samuel Bacelar de Freitas Devesa, Leonardo Rafael Teixeira Cotrim Gomes, Lucas Gomes Pereira, Iran Eduardo Lima Neto, and et al. 2026. "High-Speed Microprocessor-Based Optical Instrumentation for the Detection and Analysis of Hydrodynamic Cavitation Downstream of an Additively Manufactured Nozzle" Fluids 11, no. 1: 21. https://doi.org/10.3390/fluids11010021

APA Style

West, L. G. M., Simões, A. J. R., Teixeira, L. d. R., Oliveira, L. R., Gomes, J. G. d. C., Anjos, I. S. M. d., Devesa, A. S. B. d. F., Gomes, L. R. T. C., Pereira, L. G., Neto, I. E. L., Gonçalves, J. C. d. S. I., Junior, L. C. S. S., Guedes, G. P., Demetino, G. G., da Silva, M. V. S., Filardi, V. L., Ferreira, V. P., Simões, A. L. A., Queiroz, L. M., & Pepe, I. M. (2026). High-Speed Microprocessor-Based Optical Instrumentation for the Detection and Analysis of Hydrodynamic Cavitation Downstream of an Additively Manufactured Nozzle. Fluids, 11(1), 21. https://doi.org/10.3390/fluids11010021

Article Metrics

Back to TopTop