Next Article in Journal
Demystifying DFT-Based Harmonic Phase Estimation, Transformation, and Synthesis
Previous Article in Journal
RIP Sensing Matrices Construction for Sparsifying Dictionaries with Application to MRI Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Signal Processing for Transient Flow Rate Determination: An Analytical Soft Sensor Using Two Pressure Signals

by
Faras Brumand-Poor
1,*,
Tim Kotte
1,
Enrico Gaspare Pasquini
2 and
Katharina Schmitz
1
1
Institute for Fluid Power Drives and Systems (ifas), RWTH Aachen University, 52074 Aachen, Germany
2
Independent Researcher, 85088 Vohburg, Germany
*
Author to whom correspondence should be addressed.
Signals 2024, 5(4), 812-840; https://doi.org/10.3390/signals5040045
Submission received: 18 October 2024 / Revised: 24 November 2024 / Accepted: 27 November 2024 / Published: 2 December 2024

Abstract

:
Accurate knowledge of the flow rate is essential for hydraulic systems, enabling the calculation of hydraulic power when combined with pressure measurements. These data are crucial for applications such as predictive maintenance. However, most flow rate sensors in fluid power systems operate invasively, disrupting the flow and producing inaccurate results, especially under transient conditions. Utilizing pressure transducers represents a non-invasive soft sensor approach since no physical flow rate sensor is used to determine the flow rate. Usually, this approach relies on the Hagen–Poiseuille (HP) law, which is limited to steady and incompressible flow. This paper introduces a novel soft sensor with an analytical model for transient, compressible pipe flow based on two pressure signals. The model is derived by solving fundamental fluid equations in the Laplace domain and converting them back to the time domain. Using the four-pole theorem, this model contains a relationship between the pressure difference and the flow rate. Several unsteady test cases are investigated and compared to a steady soft sensor based on the HP law, highlighting our soft sensor’s promising capability. It exhibits an overall error of less than 0.15 % for the investigated test cases in a distributed-parameter simulation, whereas the HP-based sensor shows errors in the double-digit range.

Graphical Abstract

1. Introduction

Flow rate sensors are commonly employed in hydraulic engineering since knowing the flow rate is critical for detecting leaks and monitoring the wear of system components in both stationary and mobile hydraulic systems. Additionally, in the emerging field of predictive maintenance, knowing flow rates and pressure levels allows for calculating power, efficiency, and potential losses.
There are two main issues with current volumetric flow sensors: First, most must be installed directly into a pipe, often using turbines or rotors, which disrupt the flow and increase system complexity. Second, the physical components of these sensors possess inertia, making them ineffective for measuring flows above a particular frequency. Pump pulsation measurements, for instance, become problematic because they rely on flow rate sensors. The number of displacement units and the pump’s rotational speed influence the fundamental frequency of pump pulsations. Pumps also produce pulsations at harmonic frequencies, many of which exceed the capabilities of most state-of-the-art sensors. These limitations highlight the need for new flow measurement methods. An ideal flow sensor would be non-invasive and accurately measure transient flow conditions. Ideally, it would operate as a soft sensor, relying solely on signals from other sensors, particularly pressure signals, often available in fluid power systems, and are non-invasive.
The concept of calculating flow rates from pressure data is not new. Analytical methods for determining volumetric flow rates have been available since the 1900s. One of the most well-known formulas is the Hagen–Poiseuille law (HP) [1], which calculates flow rates based on the friction-induced pressure drop within a pipe. However, this law is limited to steady, laminar flows and neglects the effects that become significant at higher frequencies. The so-called Richardson effect [2] alters the velocity profile at higher frequencies. Another significant contribution is by Zhao et al., who created a method for measuring unsteady flow rates and velocities based on pressure differences, expressed through the transfer function between the mean flow velocity and the pressure gradient [3].
Hydraulic systems are often modeled analogously to electrical circuits, using resistances, inductors, and capacitances [4]. This approach is typically accurate and straightforward for many applications. However, at higher frequencies, the system behavior changes due to transient effects. For instance, the characteristic impedance, propagation operators, and wall shear stress within pipes have all been shown to depend on frequency [5].
Recent advances in transient flow rate determination include work by Brereton et al., who presented a method for arbitrary transients in laminar pipe flow, starting from an initially steady state. This method relates the flow rate to the pressure-gradient history without making assumptions about velocity profiles [6]. In 2008, Brereton et al. introduced an indirect method that links flow rate to the centerline velocity history [7]. Sundstrom et al. [8] enhanced frictional modeling, reducing errors in flow rate calculations for the pressure–time method, a technique commonly used to measure discharge in hydraulic machinery. Foucault et al. proposed a method in 2019 for time-resolved transient flow rate calculation based on differential pressure measurements [9]. Their approach utilized the kinetic energy to predict specific laminar flow conditions well in real-time, relying only on two coefficients. García García et al. focused on unsteady turbulent pipe flow, validating their method through the transient response of the velocity field due to external perturbations, using a pressure step function as a test case [10]. Further investigations into turbulence were conducted by García García et al. in 2022, studying the transition from turbulent to laminar flow without an increase in bulk velocity. The observed laminarization was explained using a derived mathematical model [11].
Urbanowicz et al. conducted a comprehensive review of analytical models for accelerated incompressible Newtonian fluid flow in pipes. They examined different approaches with imposed pressure gradients and flow rates, focusing on their mathematical complexity and applicability to laminar and turbulent flows. Although existing models predict specific laminar flow conditions well, they struggle with turbulent flow scenarios [12].
In 2023, Urbanowicz et al. developed an analytical solution for modeling laminar water hammer events in pipes, validated through numerical simulations and experimental measurements [13]. Later that year, Urbanowicz et al. published new analytical models for wall shear stress in water hammer scenarios. By employing quasi-steady and transient hydraulic resistance assumptions, these models broadened the range of validity and simplified the mathematical descriptions. Explicit analytical expressions for wall shear stress during water hammer events were derived and numerically validated [14]. In two separate studies, Bayle et al. explored wave propagation models for water hammer events in pipes. The first paper developed a rheology-based model for viscoelastic pipes and validated it using experimental data [15], while the second study provided a wave propagation model in the Laplace domain applicable to a variety of boundary conditions in pipe scenarios [16].
This paper aims to provide the mathematical foundation for a volumetric flow rate soft sensor based on two pressure signals by deriving an equation that accurately describes the flow rate in a pipe while considering the system’s transient behavior. The derived equation consists of the steady HP solution with an added term describing unsteady effects. This will be achieved by taking the Laplace transform (LT) of the fundamental fluid mechanics equations, solving them in the Laplace domain, and then deriving the inverse Laplace transform (ILT) of the equations in the Laplace domain to obtain a solution in the time domain. The Laplace transform has a significant advantage over the Fourier transform, as the Fourier domain is a subset of the Laplace domain; thus, the benefits of the Fourier transform are inherently included in the Laplace transform. Regarding the area of convergence, the Laplace transform exhibits a broader region of convergence, which is a half-plane compared to a unit circle for the Fourier transform. This extension results in the Laplace transform capturing both the system’s dissipation and oscillatory behavior, making it applicable to arbitrary pressure signals. A one-step integration method is utilized to decrease the computational costs of the soft sensor. The analytical model of the soft sensor based on two pressure transducers exhibits three main benefits compared to currently available sensors and numerical solvers: high accuracy of transient compressible flow, real-time capability, and, regarding application on a real test rig, no requirement of an actual volumetric flow rate sensor but two non-invasive pressure transducers. Analysis of a system’s high-frequency behavior allows the user to capture transients in the volumetric flow rate caused by fast changes in pressure. Valuable areas of application of this soft sensor include dynamic measurements of volumetric flow rates achieved by pumps and controlling hydraulic actuators through the correlation of the velocity of the piston to the volumetric flow rate times the cross-section. Additionally, the soft sensor allows for predictive maintenance of hydraulic systems by calculating the power from the pressure and the volumetric flow rate. Fast flow rate calculation allows a detailed simulative examination of a hydraulic system compared to the computationally demanding classical iterative solver.
Section 2 introduces the fundamentals of fluid mechanics and the Laplace techniques. Afterward, the analytical model for the soft sensor is derived and investigated in Section 2.3 to Section 2.8. The implementation of the soft sensor for the actual application is presented in Section 3. The soft sensor is validated for several test cases, presented in Section 3.2, and compared to a commonly used pressure-based soft sensor only relying on the law of HP to underline the high accuracy compared to the currently utilized methods and the relevance of incorporating unsteady phenomena in the analytical model. The results are shown in Section 4. Finally, the results are discussed in Section 5, and a conclusion is given in Section 6.

2. Materials and Methods

2.1. The Law of Hagen and Poiseuille and the Richardson Effect

Flow conditions can be characterized by the dimensionless Reynolds number, which gives a ratio between inertial and viscous forces. A flow is laminar if the Reynolds number R e = ρ v D η is below approximately 2300. Here, ρ is the density of the fluid, v is the axial fluid velocity, D is the pipe’s diameter, and η is the dynamic viscosity. In this regime, the velocity profile across the pipe’s cross-section adopts a parabolic shape, with its vertex at the pipe center, and wave dissipation is disregarded. A critical aspect of this flow scenario is the no-slip condition at the pipe wall [17], which dictates that the fluid velocity at the wall is zero. Under these conditions, the Hagen–Poiseuille law [1] governs the flow:
Q = π R 4 8 η L Δ p = 1 R H Δ p
This formula provides the volumetric flow rate Q given the pressure difference Δ p , with R H representing the hydraulic resistance, dependent on the pipe radius R, fluid viscosity η , and pipe length L. The relevance of hydraulic resistance will be explored further in later sections.
In 1929, Richardson [2] conducted experiments on unsteady airflow through a pipe generated by sinusoidal pressure fluctuations. Using a hot wire anemometer, he measured the radial velocity profile. He found that, within the laminar flow range of Reynolds numbers, increasing pressure frequencies caused the velocity profile to deviate from a parabolic shape, as shown on the left side of Figure 1. In this figure, the Womersley number W o = R ω / ν is the root of the normalized frequency of the harmonically oscillating pressure input. It is based on the assumption of an incompressible fluid [5], where R is the pipe radius, ν the kinematic viscosity, and ω the pressure variation frequency.
As the profile changes, it transitions to a flatter, more uniform shape in the center, with peaks near the wall and a sharp drop to zero at the boundary. This unsteady profile resembles those found in steady, turbulent flows. The right side of Figure 1 illustrates the variation in the radial velocity profile over the phase of the harmonically oscillating pressure input for a Womersley number where the Richardson effect becomes apparent ( W o = 30 ).
Building on Richardson’s findings, Sexl [18] derived solutions for the instantaneous velocity profile as a function of the normalized radial position and the Womersley number. Stecki [5] performed the nondimensionalization of the axes in this context. The system equations developed in this paper allow for an analytical expression of the velocity profile transformation from parabolic to the one observed in Richardson’s experiments, thus extending the applicability of the presented equations beyond traditional laminar flow with a parabolic profile.
Since the early 20th century, various fluid behavior models have been developed, primarily from the fundamental Navier–Stokes equations. These models often incorporate simplifying assumptions to make them more computationally feasible [19,20,21,22]. Typical assumptions include liquid incompressibility, neglecting heat transfer effects, and the assumption of uniform pressure distribution across the pipe’s cross-section.
Stecki reviewed and categorized these models in his work [5,23], organizing them according to dimensionality and the effects considered. This paper’s general governing equations are those of the two-dimensional viscous compressible model. The volumetric flow rate equation is derived from this general framework.

2.2. Signal Processing Based on Laplace Techniques

Transforming functions from the time domain into the Laplace domain is a well-established technique in fields dealing with differential equations [24,25,26,27]. When this transformation is applied, all functions that depend on t are expressed in terms of s, where s is the Laplace variable. One key advantage of this approach is that time derivatives become simple multiplications by s, simplifying the differential equations. In the case of a differential equation that depends on one spatial operator and one temporal operator, the partial differential equation is reduced to an ordinary differential equation. Moreover, the Laplace transformation enables the analysis of arbitrary pressure signals, which is impossible with the Fourier method as it restricts solutions to harmonic, oscillating signals. This work aims to transform the system equations derived in the Laplace domain back into the time domain, ultimately obtaining an accurate equation that links the flow to two pressure signals in the time domain.
One needs to perform an inverse Laplace transformation to revert from the Laplace domain to the time domain. The function must meet the conditions for an ILT, notably that the function in the Laplace domain must converge to zero as s . The ILT can be computed using a correspondence table after performing partial fraction decomposition for many Laplace domain functions. For example, Hsiao et al. calculated the hydrodynamic force and torque on a sphere using ILT techniques aided by integral tables [25]. However, in cases where partial fraction decomposition is not feasible, and no correspondence table exists, a general formula is needed. This is provided by the Bromwich contour integral (Equation (2)), which can be used to obtain the ILT of most functions [28]. In this transformation, f ( t ) and F * ( s ) represent the same function in the time and Laplace domains, respectively, with * indicating the function in the Laplace domain. The poles of the function F * ( s ) are denoted as s = s j .
The Bromwich contour integral does not need to be directly computed in many cases. It can be evaluated indirectly using Cauchy’s contour integral, the Residue theorem from complex analysis, or numerical methods. For instance, Young et al. used a numerical approach to determine the ILT and obtain a solution for three-dimensional time-dependent circulation in shallow lakes [24]. Manhartsgruber conducted further work for instantaneous volumetric flow rates in circular pipes [26,27]. He utilized the fast inverse Laplace transformation (FILT) to obtain a representation of the physical signal. The FILT inherently contains a truncation error and limits the validity range of the determined result to instantaneous volumetric flow rates.
The Residue theorem’s advantage over numerical methods is that it provides an exact formula, offering more profound insight into the investigated system. Additionally, it extends the range of validity compared to numerically derived solutions and avoids concerns about numerical instabilities.
The integral over the complex plane is replaced by the sum of the residues of the function at its poles. Residues are specific coefficients found in the Laurent series expansion of a function around a pole [29]. It is worth noting that the Residue theorem is especially useful for dealing with functions that have complex poles.
The following theorems and formulae (Equations (2)–(4)) regarding the fundamentals of the residue theorem and Laplace transformation can be found in the work by Krantz [29].
f ( t ) = 1 2 π i β i β + i e s t F * ( s ) d s = j = 0 N Res e s t F * ( s ) | s = s j
The residues for poles of order m > 1 and m = 1 are calculated using the general formula (Equation (3)), which stems from the definition of the Laurent series.
Res F * ( s ) | s = s j = lim s s j 1 ( m 1 ) ! d m 1 d s m 1 F * ( s ) ( s s j ) m
In the case of m = 1 , and when the function is expressed as a fraction with X * ( s ) as the numerator and Y * ( s ) as the denominator, the residues for simple poles are calculated using Equation (4). The denominator is differentiated, and the entire term is evaluated at the simple poles s = s k :
Res F * ( s ) | s = s k = Res X * ( s ) Y * ( s ) | s = s k = X * ( s k ) Y * ( s ) s | s = s k
For practical applications of these formulae, see Xie [30]. It is also crucial to remember that the product of two functions in the Laplace domain is equivalent to the convolution integral in the time domain [28]:
F * ( s ) G * ( s ) = f ( t ) g ( t ) = 0 t f ( t τ ) g ( τ ) d τ
Furthermore, the inverse Laplace transform (denoted as L 1 ) of a function multiplied by s is given by:
L 1 s F * ( s ) = f ( t ) t

2.3. Analytical Model for Signal Processing of Pressure Transducer Signals

The process of the derivation of an equation that can be used in a soft sensor to calculate the volumetric flow rate in dependency on the pressure difference over the length of a pipe is presented in Figure 2. First, the Navier–Stokes equations and the equation of conservation of mass are simplified by using assumptions, yielding a set of partial differential equations that describe the transient flow of fluid in a pipe. The assumptions are listed in Section 2.3. In the second step, the time dependencies in the differential equations are eliminated by taking the Laplace transform. Afterward, the differential equations are solved in the Laplace domain to obtain a Laplace domain solution for the volumetric flow rate. These two steps can be found in detail in a previously published work by Brumand et al. [31]. The resulting equation in the Laplace domain is shown in Section 2.3. Lastly, as shown in Section 2.4, Section 2.5, Section 2.6, Section 2.7 and Section 2.8, the inverse Laplace transform of the solution is derived to obtain a solution for the volumetric flow rate in the time domain. Section 3 treats the resulting time domain solution.
Generally, the Navier–Stokes equations govern fluid flow in three-dimensional space. However, solving the full Navier–Stokes equations is unnecessary for this case of liquid flow in a rigid pipe. A simplified version of the equations can be used to obtain a solution. The following assumptions are applied to simplify the Navier–Stokes equations:
  • The flow is laminar (Reynolds number R e 2300 ), meaning the fluid layers do not mix. Consequently, the pressure remains constant across the pipe’s cross-section, and the pressure gradient in the radial direction is negligible.
  • Both the flow and pipe geometry are axisymmetric, resulting in no gradient in the angular direction, i.e., φ = 0 .
  • The axial flow velocity v x is much smaller than the speed of sound a, which governs the fluid’s pressure wave propagation speed. Therefore, v x a , and the Mach number M a = v x / a 1 , so supersonic effects can be ignored.
  • The pipe radius is much smaller than the pipe length ( R L ), meaning no pressure reflections occur at the pipe walls.
  • The significant viscous effects in the motion equations are limited to those involving the radial distribution of axial velocity [5].
  • Gravitational forces are negligible as the pipe is horizontal, keeping the forces constant over its length.
  • Changes in fluid density due to vertical positioning are negligible because the pipe’s diameter is small.
  • Heat transfer is ignored since the focus is on liquids, excluding gases [32].
Using these assumptions, the Navier–Stokes equations can be simplified, and the general equation for the volumetric flow rate in the Laplace domain was derived in prior works [5,33]. The solution for the volumetric flow rate at the outlet of the pipe ( Q 2 * ) can be expressed as follows:
Q 2 * = 1 Z c sinh ( γ L ) p 1 * coth ( γ L ) Z c p 2 * = W 1 * ( ζ ) p 1 * W 2 * ( ζ ) p 2 * .
Inserting the definitions of the impedance Z c and the propagation operator γ into the equation and multiplying both sides by R H yields Equation (8).
Q 2 * R H = 8 D n I 2 ( ζ ) sinh I 0 ( ζ ) I 2 ( ζ ) ζ D n I 0 ( ζ ) p 1 * 8 D n I 2 ( ζ ) tanh I 0 ( ζ ) I 2 ( ζ ) ζ D n I 0 ( ζ ) p 2 * .
With:
γ L = s a I 0 ζ I 2 ζ = s R 2 ν ν R 2 L a I 0 ( ζ ) I 2 ( ζ ) = ζ D n I 0 ( ζ ) I 2 ( ζ ) .
D n is the dissipation number, which relates the time span of the axial propagation of pressure waves to the radial diffusion of axial momentum, and ζ is the normalized Laplace variable defined as the following:
D n = ν L R 2 a ζ = s R 2 ν
Also, R H is the hydraulic resistance introduced in Section 2.1. Note that I n ( x ) is the modified Bessel function of the first kind of order n. In the later analysis of the ILT criteria, it became necessary to introduce an expansion factor of ζ / ζ to ensure all required criteria were satisfied. The denominator is incorporated into the weighting functions, while the numerator acts as a prefactor to the pressure. As a result, the time gradient of the pressures is considered in the time domain equation rather than the pressures themselves.
Q 2 * R H = W 1 * ( ζ ) ζ ζ p 1 * W 2 * ( ζ ) ζ ζ p 2 *
Now, the ζ in the denominator will always be included in the weighting functions.
Q 2 * R H = 8 D n I 2 ( ζ ) sinh I 0 ( ζ ) I 2 ( ζ ) ζ D n ζ I 0 ( ζ ) ζ p 1 * 8 D n I 2 ( ζ ) tanh I 0 ( ζ ) I 2 ( ζ ) ζ D n ζ I 0 ( ζ ) ζ p 2 *

2.4. Inverse Laplace Transformation of the Weighting Functions for Compressible Fluids

Unlike in the incompressible case [31], for compressible fluids, the weighting functions of the pressures at both ends of the pipe are not equal due to the finite wave propagation speed. Therefore, each of the functions must be analyzed separately. The prefactors of the pressure functions from Equation (8) will be written as weighting functions:
W 1 * ( ζ ) = 8 D n I 2 ( ζ ) sinh I 0 ( ζ ) I 2 ( ζ ) ζ D n ζ I 0 ( ζ ) ,
W 2 * ( ζ ) = 8 D n I 2 ( ζ ) tanh I 0 ( ζ ) I 2 ( ζ ) ζ D n ζ I 0 ( ζ ) .
Note the change from sinh ( x ) to tanh ( x ) , which effectively is only a multiplication of W 1 * with a 1 / cosh ( x ) term. The weighting function W 1 * ( ζ ) for a fixed dissipation number D n can be seen in Figure 3. Note the poles on the negative real axis starting from zero. For increasing values of D n , the poles would move further away from the origin.

2.5. Investigation of the Necessary Criteria for an ILT

First, the existence of the inverse Laplace transforms for the weighting functions must be established. To do this, it is essential that the limits of the weighting functions approach zero as s and that the limits of the weighting functions multiplied by s remain finite as s 0 . These conditions apply when using a normalized Laplace variable ζ instead of s. In what follows, the four required limits to confirm the existence of the inverse Laplace transforms for W 1 * ( ζ ) and W 2 * ( ζ ) will be examined. Firstly, the limits for ζ 0 .
lim ζ 0 W 1 * ( ζ ) ζ
= lim ζ 0 8 D n I 2 ( ζ ) I 0 ( ζ ) 1 sinh I 0 ( ζ ) I 2 ( ζ ) ζ D n
= lim ζ 0 8 D n 1 1
= lim ζ 0 8 D n = 0
lim ζ 0 W 2 * ( ζ ) ζ
= lim ζ 0 8 D n I 2 ( ζ ) I 0 ( ζ ) 1 tanh I 0 ( ζ ) I 2 ( ζ ) ζ D n
= lim ζ 0 8 D n 1 1 1 = 8 D n
Since D n must be finite, the overall limit must also be finite. Next, the two limits as ζ 0 are evaluated.
lim ζ W 1 * ( ζ )
= lim ζ 8 D n I 2 ( ζ ) sinh I 0 ( ζ ) I 2 ( ζ ) ζ D n ζ I 0 ( ζ )
= lim ζ W 1 * ( ζ ) ζ lim ζ 1 ζ
= 0 1 = 0
lim ζ W 2 * ( ζ )
= lim ζ 8 D n I 2 ( ζ ) tanh I 0 ( ζ ) I 2 ( ζ ) ζ D n ζ I 0 ( ζ )
= lim ζ W 1 * ( ζ ) ζ lim ζ 1 ζ
= 8 D n 1 = 0
The outcomes of these calculations confirm that all the required conditions for an inverse Laplace transformation are satisfied.

2.6. Approximation of the Hyperbolic Sine Term

In the following, the weighting function W 1 * will be examined, but it is important to note that the procedure for W 2 * is analogous to that for W 1 * . This can be inferred from Equation (12), as only the poles of a function and its zeros, located at the same positions as the poles, are relevant for an inverse Laplace transform (ILT). Since cosh does not introduce additional poles or zeros, all formulas applied to W 1 * can also be used for W 2 * .
W 2 * ( ζ ) = W 1 * ( ζ ) cosh I 0 ( ζ ) I 2 ( ζ ) ζ D n
With:
W 1 * ( ζ ) = 8 D n I 2 ( ζ ) sinh I 0 ( ζ ) I 2 ( ζ ) ζ D n ζ I 0 ( ζ ) .
The order of the poles of a function is crucial when calculating the residues needed for an ILT. To determine the order of the poles, we use an approximation for sinh from Goodson [34], as shown in Equation (32). This approximation is ideal because it is expressed as a product, preserving the poles’ properties and the function’s zeros. In contrast, Taylor series expansions do not maintain the poles and are thus unsuitable [35]. Increasing n in Equation (32) corresponds to increasing the number of complex zeros of the sinh term.
sinh ( x ) sinh approx ( n , x ) = x k = 1 n 1 + x 2 k 2 π 2
By inserting n = 5 and x = I 0 ( ζ ) I 2 ( ζ ) ζ D n , Equation (32) becomes:
sinh approx 5 , I 0 ( ζ ) I 2 ( ζ ) ζ D n = I 0 ( ζ ) I 2 ( ζ ) ζ D n 1 + I 0 ( ζ ) ζ 2 D n 2 I 2 ( ζ ) π 2 1 + I 0 ( ζ ) ζ 2 D n 2 4 I 2 ( ζ ) π 2 1 + I 0 ( ζ ) ζ 2 D n 2 9 I 2 ( ζ ) π 2 1 + I 0 ( ζ ) ζ 2 D n 2 16 I 2 ( ζ ) π 2 1 + I 0 ( ζ ) ζ 2 D n 2 25 I 2 ( ζ ) π 2 .
It is important to note that the approximation sinh approx ( 5 , x ) is equivalent to the standard “small angle” approximation of sinh ( x ) = x , which is derived from a truncated Taylor series and multiplied by the first five complex zeros of sinh ( x ) .
W 1 , app * ( ζ ) = 8 D n I 2 ( ζ ) sinh approx ( 5 , x ) ζ I 0 ( ζ )
With this approximation, the weighting function can be separated into the incompressible part W inc * ( ζ ) , which is derived using the small angle approximation of sinh for D n 0 , and additional terms from the sinh approximation.
W 1 , app * ( ζ ) = 8 D n I 2 ( ζ ) sinh approx ( 5 , x ) ζ I 0 ( ζ ) = W inc * ( ζ ) 1 1 + I 0 ( ζ ) ζ 2 D n 2 I 2 ( ζ ) π 2 1 + I 0 ( ζ ) ζ 2 D n 2 4 I 2 ( ζ ) π 2 1 + I 0 ( ζ ) ζ 2 D n 2 9 I 2 ( ζ ) π 2 · 1 1 + I 0 ( ζ ) ζ 2 D n 2 16 I 2 ( ζ ) π 2 1 + I 0 ( ζ ) ζ 2 D n 2 25 I 2 ( ζ ) π 2 ,
where W inc * ( ζ ) = 8 I 2 ( ζ ) ζ 2 I 0 ( ζ ) . Note that W inc * ( ζ ) can be obtained by taking the limit of lim D n 0 W 1 * using lim x 0 sinh ( x ) = lim x 0 tanh ( x ) = x , which are the Taylor series approximations of the hyperbolic terms. Although W 1 , app * will not be used to compute the residues, it demonstrates that the complex poles of sinh are simple. With this information, the ILT can be calculated from the residues of the function, which requires knowledge of the order and location of the poles. In conclusion, the weighting functions exhibit a double pole at ζ = 0 , simple negative real poles from the incompressible part, and simple, complex conjugate poles that depend on D n , which arise from the fluid’s compressibility effects.

2.7. Derivation of a Solution for a Fixed Dissipation Number for a Compressible Fluid

The previous chapter demonstrated that the poles of the weighting function depend on the dissipation number, making it impossible to derive a singular solution through an inverse Laplace transform (ILT) of the weighting function. This chapter derives the ILT for a fixed dissipation number of D n = 0.0011 . This value is selected based on the pipe characteristics used in the test bench later in this project. Specifically, D n = 0.0011 corresponds to a pipe length of L = 1.5 m , a diameter of D = 14 mm , and standard fluid properties of HLP46, including a density of ρ = 860 kg / m 3 , a kinematic viscosity of ν = 46 × 10 6 m 2 / s , and a bulk modulus of K = 14 , 000 bar .
The general formula for calculating residues, provided in Equation (4), is now applied to determine the residue of the double pole at ζ 0 = 0 .
Res ( W inc * ( ζ ) ) | ζ 0 = 0 = lim ζ ζ 0 1 ( m 1 ) ! d m 1 d ζ m 1 [ W inc * ( ζ ) ( ζ ζ 0 ) m ] = m = 2 lim ζ ζ 0 d d ζ [ W inc * ( ζ ) ( ζ 0 ) 2 ] = lim ζ ζ 0 d d ζ [ W 1 * ( ζ ) ζ 2 ] = lim ζ ζ 0 d d ζ 8 I 2 ( ζ ) ζ 2 I 0 ( ζ ) ζ 2 = lim ζ ζ 0 d d ζ 8 I 2 ( ζ ) I 0 ( ζ ) = 1
The equation for the residues of simple, complex conjugated poles is given in Equation (5).
Res ( W 1 * ( ζ ) ) | ζ k = numerator [ W 1 * ( ζ k ) ] e ζ k t n ζ denominator [ W 1 * ( ζ k ) ]
The poles of the compressible component of the weighting function can be identified by solving sinh [ x ] = 0 along with Equation (32). This leads to the following expression:
1 + I 0 ( ζ k ) ζ k 2 D n 2 k 2 I 2 ( ζ k ) π 2 = 0 , for k N .
Rearranging for ζ k , we obtain:
I 0 ( ζ k ) ζ k 2 I 2 ( ζ k ) = k π D n 2 1 .
Assuming D n = 0.0011 , the poles are located at:
  • ζ 1 = 38.30 ± 2818.21 i
  • ζ 2 = 53.95 ± 5658.55 i
  • ζ 3 = 65.96 ± 8502.53 i
  • ζ 4 = 76.08 ± 11348.4 i
  • ζ 5 = 85.00 ± 14195.4 i .
When the first five complex poles and their conjugates are substituted into the formula for the residues Res, the resulting values are as follows:
W 1 , comp ( t n ) = ( 0.0000180 + 0.00270 i ) e ( 38.30 2818.21 i ) t n + ( 0.000018 + 0.00270 i ) e ( 38.30 + 2818.21 i ) t n + ( 0.0000066 + 0.00140 i ) e ( 53.95 5658.55 i ) t n + ( 0.0000066 0.00140 i ) e ( 53.95 + 5658.55 i ) t n ( 0.0000036 + 0.00093 i ) e ( 65.96 8502.53 i ) t n + ( 0.0000036 + 0.00093 i ) e ( 65.96 + 8502.53 i ) t n + ( 0.0000023 + 0.00070 i ) e ( 76.08 11348.4 i ) t n + ( 0.0000023 0.00070 i ) e ( 76.08 + 11348.4 i ) t n ( 0.0000016 + 0.00056 i ) e ( 85.00 14195.4 i ) t n + ( 0.0000016 + 0.00056 i ) e ( 85.00 + 14195.4 i ) t n .
The method is based on a sum of poles with increasing imaginary parts. Thus, the equation can be expanded to include the system behavior corresponding to any desired frequency. The five poles considered were sufficient for the model to accurately capture the fluid flow behavior in all examined test cases. The curve-fitted ILT of the incompressible fluid is independent by D n and is presented in Equation (41):
W inc * ( t n ) = 1 0.956788 e 5.783 . t n 0.03446 e 30.4713 t n 0.0006 e 10 1.5 t n 0.0076 e 10 2 t n 0.0002 e 10 2.5 t n 0.0005 e 10 3 t n .
The normalized time t n corresponding to the normalized Laplace variable ζ is:
t n = ν R 2 t .
A previously published paper provides further details about the derivation of the incompressible model describing the volumetric flow rate calculation based on true pressure signals [31].
Combining both equations, we obtain the final expression for the volumetric flow rate in the time domain for a specified dissipation number. The impact of incorporating the compressible residues into the incompressible equation is illustrated in Figure 4.
The complex conjugate poles introduce a step function behavior in the weighting function, which is attributed to the fluid’s compressibility. During the time it takes for pressure information to travel from one end of the pipe to the other, the weighting function for that pressure must remain zero. This is emphasized in the figure by the vertical line marking the moment in time that corresponds to the selected dissipation number D n .
Notably, the dissipation number reflects the time required for the pressure to traverse the length of the pipe, expressed as t n = L / a . It is important to note that the vertical line at t n = D n coincides with the first step increase, indicating the moment when pressure information reaches the far end of the pipe. This occurs regardless of the other variables defined in D n . Changes in the radius or kinematic viscosity of the fluid will also alter the normalized time in relation to D n .
Furthermore, as illustrated in Figure 4, the weighting function oscillates around zero instead of remaining at zero. This oscillation results from the approximation of the hyperbolic sine term. Including additional terms in the sine approximation would progressively smooth out the step functions with each added term.
For completeness, the inverse Laplace transform (ILT) of the second weighting function, W 2 , is shown in Figure 5 alongside the ILT of the weighting function W 1 . These weighting functions are applied to the pipe’s corresponding pressures at both ends. Notably, W 2 does not exhibit the delay time characteristic of the first weighting function, as pressure information at the second end of the pipe instantaneously influences the volumetric flow rate at that end.

2.8. Derivation of a Solution for Arbitrary Dissipation Numbers

As previously mentioned, the inverse Laplace transform (ILT) of the weighting function for both ends of the pipe in the case of an incompressible fluid is independent of the dissipation number D n and was presented in Equation (41). The primary challenge in determining the general ILT of W 1 * is that the poles depend on D n . The kth pole is indirectly defined by the following formula, derived from Equation (32) for k > 0 :
1 + I 0 ( ζ k ) ζ k 2 D n 2 k 2 I 2 ( ζ k ) π 2 = 0 .
Rearranging for ζ k yields:
I 0 ( ζ k ) ζ k 2 I 2 ( ζ k ) = k π D n 2 1 .
Since it is not feasible to derive a solution applicable to all D n , the calculations will focus on discrete values of D n .
Using the software Maple [36], the first ten complex conjugate poles of the weighting functions were computed for dissipation numbers ranging from 1 × 10 7 to 1 × 10 1 , with 100 increments per order of magnitude. This produced a matrix of dimensions 20 by 700. The positions of the poles in the complex plane for three different dissipation numbers are depicted in Figure 6. It can be observed that as the dissipation number decreases, the poles move further from the origin in the complex plane. Note that poles positioned further to the left on the negative half of the real axis correspond to faster-decaying residues, while those further away from zero on the imaginary axis are associated with faster-oscillating residues.
With the matrix of poles dependent on the dissipation number now in hand, we can calculate the residue for each pole across all considered dissipation number cases. The equation for the residues of simple poles is provided in Equation (45). Since all poles of the weighting function resulting from sinh ( x ) have been confirmed to be simple poles (as shown in Equation (35)), this equation can be utilized for the automated computation of the residues:
Res ( W 1 * ) | ζ k = numerator [ W 1 * ( ζ k ) ] e ζ k t n ζ denominator [ W 1 * ( ζ k ) ] .
It is worth noting that in the exponent of e :
s k t = s k R 2 ν ν R 2 t = ζ k ν R 2 t = ζ k t n .
We can compute a matrix containing all residues using Maple and Equation (45). By combining this with the residues and poles from the incompressible case (as represented in Equation (41)), we can obtain the weighting function in the time domain for discrete values of D n . The rounding of actual D n values to the nearest sampled values did not visibly impact the results.

3. Implementation of the Soft Sensor in the Time Domain

In this chapter, the solution of the equation for volumetric flow rate in the time domain is evaluated. This involves a detailed examination of the convolution integral obtained as a solution, which will be simplified in this section.
To begin, we revisit Equation (12). For clarity, this equation is restated as Equation (47). To determine the volumetric flow rate in the time domain, we need to revert this equation into that domain:
Q 2 * R H = W 1 * ζ p 1 * W 1 * ζ p 2 * .
By applying the principle that the multiplication of two functions in the Laplace domain corresponds to the convolution of those same functions in the time domain, along with the fact that multiplying a function by the Laplace variable equates to taking the time derivative, we obtain:
Q 2 ( t n ) R H = 0 t n W 1 ( t n τ ) p 1 ( t n τ ) t n d τ 0 t n W 2 ( τ ) p 2 ( t n τ ) t n d τ .
Since the first term of both weighting functions is a constant, we can separate W 1 and W 2 , placing the constant term in a separate integral:
Q 2 ( t n ) R H = 0 t n 1 p 1 ( τ ) t n d τ + 0 t n ( W 1 ( t n τ ) 1 ) p 1 ( τ ) t n d τ 0 t n 1 p 2 ( τ ) t n d τ + 0 t n ( W 2 ( t n τ ) 1 ) p 2 ( τ ) t n d τ .
It is practical to reorganize the equations into constant and dynamic components. The constant integral can be evaluated as the pressure difference given by p 1 ( t n ) p 2 ( t n ) = Δ p .
Q 2 ( t n ) R H = 0 t n 1 p 1 ( τ ) t n d τ 0 t n 1 p 2 ( τ ) t n d τ + 0 t n ( W 1 ( t n τ ) 1 ) p 1 ( τ ) t n d τ 0 t n ( W 2 ( τ ) 1 ) p 2 ( τ ) t n d τ = p 1 ( t n ) p 2 ( t n ) + 0 t n ( W 1 ( t n τ ) 1 ) p 1 ( τ ) t n d τ 0 t n ( W 2 ( τ ) 1 ) p 2 ( τ ) t n d τ = Δ p + 0 t n ( W 1 ( t n τ ) 1 ) p 1 ( τ ) t n d τ 0 t n ( W 2 ( τ ) 1 ) p 2 ( τ ) t n d τ
The resulting equation now contains a stationary term that resembles the Hagen–Poiseuille law ( Q R H = Δ p ) alongside dynamic terms for each pressure function.
It is convenient to define the dynamic components of W 1 and W 2 as distinct dynamic weighting functions:
W 1 , dyn = W 1 1 , W 2 , dyn = W 2 1 .
This leads to the expression:
Q 2 ( t n ) R H = Δ p + 0 t n W 1 , dyn ( t n τ ) p 1 ( τ ) t n d τ 0 t n W 2 , dyn ( t n τ ) p 2 ( τ ) t n d τ .
To clarify the impact of the dynamic components of the weighting functions, the negative signs from the summands of W 1 , dyn and W 2 , dyn are factored out and placed in front of the brackets:
Q 2 ( t n ) R H = Δ p 0 t n W 1 , dyn ( t n τ ) p 1 ( τ ) t n d τ 0 t n W 2 , dyn ( t n τ ) p 2 ( τ ) t n d τ .
With:
W 1 , dyn = W 1 , dyn , W 2 , dyn = W 2 , dyn .
This outcome is reasonable since the Hagen–Poiseuille law describes an idealized flow condition that the equation aims to represent, specifically, incompressible and steady flow rather than compressible unsteady flow. As HP represents an idealization, the actual flow rate must increase over time to match the value dictated by HP due to the effects of viscous friction.

3.1. Application of the TVB Method to Obtain the Soft Sensor

From a computational perspective, performing a full convolution of functions over the entire time range is impractical for use in a soft sensor. Moreover, it is unnecessary, as the impact of pressure data diminishes over time, evidenced by the convergence of the weighting function to zero for large times. Vardy and Brown devised a method to compute convolutions efficiently between weighting functions and the time derivative of a discrete function [37]. This approach can similarly be applied to the convolution of a weighting function with a discrete function, as demonstrated in this paper. The weighting function is composed of exponential terms, and the discrete function is the difference between measured pressure signals.
The method’s efficiency lies in requiring only a few pressure data points while still delivering accurate results. The approach, termed the “Trikha–Vardy–Brown” (TVB) method, is an extension of a convolution simplification method initially introduced by Trikha [38]. In 1975, Trikha proposed a one-step scheme for the convolution integral, incorporating historical acceleration into parameters updated at each integration time step [38]. However, Trikha’s method had two limitations: first, the historical component lacked the generality needed for different types of flows, and second, it was only valid for very small time steps, which was impractical for real-world applications.
In 1983, Kagawa et al. improved Trikha’s technique by deriving a model with ten exponential terms, in contrast to the previously used three [39]. Although this approach required more memory, it enhanced Trikha’s method. By 1991, Suzuki et al. had developed a hybrid model, combining full convolution for short durations with Trikha’s algorithm for longer times, using a sum of five exponential terms [40]. Later, Schohl proposed an enhanced stepping formula to correct the first-time step limitations of Trikha’s method. Assuming uniform acceleration, Schohl’s approach also employed five exponential terms [41]. Similarly, Vítkovský et al. improved the first-step accuracy by introducing an empirical decay factor and developed advanced exponential sum weighting functions applicable to both laminar and turbulent flows [42].
In 2002, Ghidaoui and Mansoor presented an alternative to Trikha’s one-step method by using a weighting function derived from the work of Vardy and Brown [43], which they employed to study the evolution of specific integrals in unsteady flow [44]. More recently, Urbanowicz refined Schohl’s method by correcting the erratic recursive formula used to compute unsteady wall shear stresses [45]. His results were validated using the computationally expensive formula from Vardy and Brown in 2010 [46].
In this contribution, the TVB method was implemented in Matlab [47]. The derivation follows the authors’ approach but is applied to the current equations. The method is suitable for convolving a weighting function of the form f ( t ) = i = 1 N m i e n i t with the time derivative of a second function expressed as g ( t ) = p ( t ) t .
Beginning with Equation (53), the flow rate can be divided into a stationary flow rate (according to the Law of Hagen and Poiseuille) and two dynamic flow rates corresponding to each pressure:
Q 2 ( t n ) = Q 2 , stat ( t n ) [ Q 2 , dyn , 1 ( t n ) Q 2 , dyn , 2 ( t n ) ] .
The convolution integral for the stationary volumetric flow rate can be readily solved and is already presented in Equation (53). Consequently, the TVB method must be applied solely to the dynamic volumetric flow rates. The following derivation will exemplify this method for Q 2 , dyn , 1 , while the procedure for Q 2 , dyn , 2 would follow similarly.
As a starting point, the value of the integral evaluated up to the time t n will be referred to as Y 0 ( t n ) :
Q 2 , dyn , 1 ( t n ) = 1 R H 0 t n W 1 , dyn * ( t n τ ) Δ p t n ( τ ) d τ = 1 R H Y 0 ( t n ) .
Next of interest is the time step coming after t n : ( t n + Δ t n ) . Inserting into the equation gives:
Q 2 , dyn , 1 ( t n + Δ t n ) = 1 R H 0 t n + Δ t n W 1 , dyn * ( t n + Δ t n τ ) Δ p t n ( τ ) d τ .
The complete integral will be divided into two parts: the integral from 0 to t n , designated as K 1 , and the integral from t n to t n + Δ t n , referred to as K 2 .
Q 2 , dyn , 1 ( t n + Δ t n ) = 1 R H K 1 + K 2
With:
K 1 = 0 t n W 1 , dyn * ( t n + Δ t n τ ) Δ p t n ( τ ) d τ ,
K 2 = t n t n + Δ t n W 1 , dyn * ( t n + Δ t n τ ) Δ p t n ( τ ) d τ .
First, the second part of the integral, K 2 , will be evaluated.
K 2 represents the change in volumetric flow rate during the interval from the current time step to the next one, which is Δ t n after the current step. Assuming a short time step, the change in the pressure gradient can be considered constant throughout the duration of Δ t n . Thus, it follows that Δ p t n ( τ ) = constant for the entire period of Δ t n . This allows the gradient to be factored out of the integral as a constant.
The constant value of the pressure difference gradient is determined by averaging over the time step, which involves taking the difference between the starting and ending values during the interval Δ t . Therefore:
Δ p ˙ = Δ p ( τ ) t n a v e r a g e d o v e r Δ t n .
Inserting this assumption into K 2 gives:
K 2 = Δ p ˙ t n t n + Δ t n W 1 , dyn * ( t n + Δ t n τ ) d τ .
The weighting functions are recognized as a sum of weighted, falling exponential terms, which can be expressed as:
W d y n ( t n ) = i = 1 N m i e n i t n .
Substituting this definition into the integral, the equation can be easily solved by integrating the exponential terms.
K 2 = Δ p ˙ t n t n + Δ t n i = 1 N m i e n i t n d τ ,
K 2 = Δ p ˙ i = 1 N m i n i 1 e n i ( Δ t n ) .
Next, the first part of the integral, denoted as K 1 , needs to be evaluated:
K 1 = 0 t n W 1 , dyn * ( t n + Δ t n τ ) Δ p t n ( τ ) d τ .
In this context, the authors of the TVB method employed a Taylor expansion of the weighting function around the point ( t n τ ) . As a result, K 1 becomes:
K 1 K 1 , a p p = 0 t n W d y n ( t n τ ) Δ p t n ( τ ) d τ + Δ t n 0 t n W d y n t n ( t n τ ) Δ p t n ( τ ) d τ + ( Δ t n ) 2 2 ! 0 t n 2 W d y n t n 2 ( t n τ ) Δ p t n ( τ ) d τ + .
It is important to note that the subsequent derivatives of the weighting function take the form of:
W d y n t n = n i m i e n i t n ,
2 W d y n t n 2 = n i 2 m i e n i t n ,
3 W d y n t n 3 = n i 3 m i e n i t n .
Due to this repetitive structure, the general derivative (of order k, where k N ) can be expressed as:
k W d y n t n k = n i k 1 W d y n t n k 1 = C k 1 W d y n t n k 1 = = C k 1 W d y n t n .
Inserting these definitions of the derivatives of the weighting functions into the Taylor expansion yields:
K 1 , a p p = 0 t n W d y n ( t n τ ) Δ p t n ( τ ) d τ 1 + C Δ t n + ( C Δ t n ) 2 2 ! + .
Additionally, it is noteworthy that the first term in this equation is Y 0 ( t n ) , as defined earlier.
K 1 , a p p = Y 0 ( t n ) 1 + C Δ t n + ( C Δ t n ) 2 2 ! + .
Interestingly, the terms within the brackets following Y 0 ( t n ) resemble the series approximation of an exponential term with a factor C in the exponent. Consequently, the bracket can be rewritten as an exponential term instead (in this case, C = n i ):
K 1 , a p p = Y 0 ( t n ) e C Δ t n = Y 0 ( t n ) e n i Δ t n .
Both integral parts are now simplified and can be substituted back into Equation (58):
Q 2 , dyn , 1 ( t n + Δ t n ) = 1 R H K 1 + K 2 , Q 2 , dyn , 1 ( t n + Δ t n ) 1 R H i = 1 N Y 0 , i ( t n ) e n i Δ t n + Δ p ˙ m i n i ( 1 e n i Δ t n ) .
As a result, a one-step integration method for calculating the volumetric flow rate has been established. For each step, the flow rate from the previous time step is multiplied by a decaying exponential term, effectively reducing its value. The current time step is then evaluated independently of any prior flow rate or pressure values and added to the diminished value from the last time step.
The significant advantage of this approach is that only the values from the previous time step need to be stored. In contrast, without this simplification, the entire convolution integral would need to be evaluated for each time step. Since the bounds of the convolution integral range from 0 to t n , the length of the integral would increase indefinitely as time progresses, which would make the application of the soft sensor impracticable. With the implemented method, the analytical model can be used offline and online on a real fluid power system to constantly measure the volumetric flow rate. Especially for online use, the one-step integration method and the analytical model’s simple computational operations, like adding exponential functions, underline the soft sensor’s ability to perform real-time computation.

3.2. Test Cases

The following test cases are investigated to obtain a range of validity for the derived method. The volumetric flow rate computed by the soft sensor is validated against the results provided by the software DSHplus, which solves the partial differential equations for the conservation of momentum and mass with a finite difference scheme [48]. Furthermore, a soft sensor only utilizing the law of HP, representing a commonly used approach for pressure-based soft sensors, is investigated to underline the benefit of incorporating the unsteady flow rate behavior. The simulation model in DSHplus consists of a pipe with varying pressure inlet boundary conditions. Four different types of pressure signals are investigated: sine, sum of sines, sawtooth, and step signals. In Table 1, the overall simulation parameters are displayed.
The comparison is performed for a pipe with standard hydraulic oil HLP46 and a set diameter and length. Based on these values, the hydraulic resistance can be computed. The change between the different presented simulations lies in the investigated pressure boundary conditions. Table 2 displays the various types of investigated pressure boundary conditions. The pressure outlet is fixed; thus, only the pressure inlet varies.
The first investigated pressure signals are sine waves at different frequencies (1, 100, and 1000 Hz) to validate the analytical model for low and high frequencies. When a pump delivers oil into a system, it inevitably generates pressure pulsations. These pulsations occur at a fundamental frequency determined by the number of chambers in the pump and its rotational speed. In addition, integer multiples of this fundamental frequency are also excited. To replicate this behavior, the pressure boundary condition for the simulations is defined as a sum of sine waves oscillating at 1 Hz, 10 Hz, 20 Hz, and 40 Hz, as well as 10 Hz, 100 Hz, 200 Hz, and 400 Hz. Therefore, the second test case consists of two signals composed of sums of sines. Thirdly, a sawtooth function was examined as an example of a highly instationary boundary condition. Lastly, a step function was analyzed because this work focuses on the equation’s ability to calculate transient flow rates in a pipe. To validate its performance under such conditions, a step function increase in the pressure boundary condition will be examined. A step function represents the most unsteady case possible, theoretically involving a Fourier approximation as a sum of frequencies up to infinity.

4. Results

This section presents the agreement between the distributed-parameter simulation’s determined volumetric flow rate, the novel soft sensor, and a soft sensor based on the law of HP. Table 3 shows the performance of the soft sensor, characterized by the mean error and standard deviation of the volumetric flow rate calculated by the distributed-parameter simulation and the soft sensor. Table 4 displays the same errors for the HP-based soft sensor.

4.1. Sine Wave Pressure Signals

The first test cases consider sinusoidally varying pressure inlets. Frequencies of 1 Hz, 100 Hz, and 1000 Hz were selected for the sine waves in Figure 7, Figure 8 and Figure 9. HP is only shown in Figure 7 for the 1 Hz frequency, as the deviation increases with higher frequencies. As a result, scaling the plots becomes necessary, making it more challenging to visually compare the actual soft sensor output with the simulation model. The errors of the HP-based soft sensor are summarized in Table 4 and range from 29% up to 3800% for the lowest to the highest frequency.
The analytical model agrees well with the simulation data in all cases, with a mean error of less than 0.15%.

4.2. Sums of Sine Wave Pressure Signals

In the first following figure (Figure 10), the pressure boundary condition for the plots in this section is defined as the sum of sine waves oscillating at 1 Hz, 10 Hz, 20 Hz, and 40 Hz. In the following figure (Figure 11), the pressure boundary condition is set as the sum of sine waves at 10 Hz, 100 Hz, 200 Hz, and 400 Hz. Both figures demonstrate that the analytical model aligns well with the simulation data. The errors of the soft sensor are 0.0049 % and 0.034 %, respectively. The HP-based sensor exhibits errors of 57% and 320%, respectively.

4.3. Sawtooth Pressure Signals

This section presents the agreement between the soft sensor and the simulation data for the case of sawtooth pressure boundary conditions. The figure below (Figure 12) shows a 10 Hz sawtooth wave. The soft sensor demonstrates good agreement with the simulation data, with a mean error of 0.043 %, while the HP-based sensor exhibits an error of 36%. Additionally, the plot on the right in Figure 12 shows that the analytical model developed in this work also captures the compressible oscillations observed in the simulation data.

4.4. Step Function Pressure Signal

The last test case investigates a pressure step function. The two plots in Figure 13 display the same boundary condition at different zoom levels. The novel equation successfully captures the inductive behavior observed in the simulation data. Additionally, compressibility effects are evident in the step changes of the simulation data, and the equation reflects these steps. As shown in the right plot of Figure 13, the equation matches these steps through a Fourier approximation, oscillating around the constant values of the simulation data. The mean error of the soft sensor is 0.0051 %, while the HP-based sensor shows an error of 63%.

5. Discussion

The analytical soft sensor analysis based on two pressure signals demonstrated its promising ability to determine high-frequency flow rates. The model accurately computes the various flow rates using pressure signal information. Due to its analytical nature, the computation is fast and not delayed by iterative numerical calculations, unlike the distributed-parameter simulation model, DSHplus. Nevertheless, the results obtained from the soft sensor show good agreement with the numerically computed values from the simulation model. A soft sensor based on the HP law exhibits high percentile errors (up to 3800%) due to its neglect of transient effects.
The analytical model exhibits a small mean error of less than 0.15 % for all test cases, with most mean errors below 0.045 %. The standard deviation of the error further highlights the good performance of the soft sensor, with values ranging from 1.3 % to 0.59 %. The analytical model can accurately compute the correct flow rate for sine waves up to 1000Hz, with a mean error of 0.14 % and a standard deviation of 1.3 %. This high accuracy for transient pulsations represents a promising application of the soft sensor for the investigation of axial piston pumps, which exhibit pressure ripples in the range of 1000 Hz. Furthermore, the computation of volumetric flow rate based on the pressure difference allows for power monitoring of a pump, enabling the characterization of pulsation and a pump’s performance.
Regarding the sum of sine waves, the model provides precise values for several overlaying sine waves. For both cases, the mean error is below 0.04 %, with a mean error of 0.0049 % for the sum of sines with 1, 10, 20, and 40 Hz, and 0.043 % for the sum of sines with 10, 100, 200, and 400 Hz. The standard deviation values of 0.067 % and 1.3 % further underline the high accuracy of the soft sensor. These results demonstrate the soft sensor’s ability to capture different levels of transient effects in a system, enabling the detailed investigation of a hydraulic system’s dynamic behavior. Furthermore, the knowledge of pressure and volumetric flow rates for arbitrary systems allows for calculating hydraulic power for hydraulic systems with varying behavior. This is further highlighted by the good results of the sawtooth test case, with a mean error of 0.0043 % and a standard deviation of 0.11 %.
Regarding the step function, the soft sensor exhibits good agreement with the distributed-parameter simulation, with a mean error of 0.0051 % and a standard deviation of the error of 0.059 %. This accuracy allows the sensor to be applied to systems where sudden pressure changes, e.g., due to valve closing, resulting in a water hammer, are investigated. Notably, the step function contains a bandwidth of frequencies, which the analytical soft sensor accurately captures. Significantly, the investigation of the flow rate directly after the pressure step shows the model’s ability to capture compression phenomena, as demonstrated by the stair-like increase in the volumetric flow rate.
The novel soft sensor exhibits good agreement across all investigated test cases, considering various frequency ranges and transient pressure signals. In comparison, the HP-based soft sensor exhibits errors of up to 3800% and a mean error of 29% for the lowest frequency sine wave. This highlights the analytical model’s advancement over the typically applied HP law.
The demonstrated precision at high frequencies and compressible flow conditions underscores the soft sensor’s potential for deployment in various industrial applications, such as condition monitoring and control, where real-time and accurate computation of crucial system parameters is essential. Additionally, the sensor’s ability to track pressure and flow rate enables the calculation of hydraulic power, which can be utilized for predictive maintenance, offering more profound insights into system performance. In contrast, traditional numerical solvers often provide either real-time solutions or high accuracy, but not both simultaneously, due to the limitations inherent in numerical computation.
Future research will focus on extending the applicability of this soft sensor to turbulent flow conditions and validating its performance on a real-world test rig [49]. A key aspect of this research will be examining the sensor’s limitations through its application to practical setups. The soft sensor’s limitations arise from several factors. The underlying equation can be expanded to capture system behavior across any frequency range relevant to hydraulic systems. However, in real-world applications, the noise level of the measurement system sets the lower limit of detectable pressure differentials between the sensors, while the software’s numerical accuracy defines the minimum precision in simulations. By employing this soft sensor, significant advancements can be achieved in transient flow rate measurements.

6. Conclusions

This contribution demonstrates the capability of an analytical soft sensor to determine compressible volumetric flow rates without an actual flow rate sensor and only two pressure signals in a pipe. It begins with an introduction to current advances in the computation of transient flow rates, followed by a section on the fundamentals of fluid mechanics and the Laplace techniques to solve the governing equations to obtain an analytical model. Subsequently, the analytical model is presented, explaining the assumptions made and the inverse Laplace transformation. This transformation converts the solved equation from the Laplace domain to the time domain, enabling its use for flow rate computation. The developed model is investigated in the Laplace domain to obtain a deeper understanding, especially regarding its modeling of compressibility phenomena.
The findings of this research present a significant advancement in soft sensors for transient flow rate measurement. The soft sensor accurately computed the volumetric flow rate and was compared to numerically obtained results from the 1-D hydraulic simulation software DSHplus. Four test cases were investigated: sine waves, sums of sine waves, sawtooth waves, and a step function to validate the soft sensor. The soft sensor agreed well with each test case’s numerically computed values. The soft sensor was able to determine even high-frequency flow rates of up to 1000 Hz and capture the compression phenomena visible in the step case.

Author Contributions

Conceptualization, F.B.-P., T.K., E.G.P. and K.S.; Data curation, F.B.-P., T.K. and E.G.P.; Formal analysis, F.B.-P., T.K. and E.G.P.; Funding acquisition, F.B.-P. and K.S.; Investigation, F.B.-P., T.K. and E.G.P.; Methodology, F.B.-P., T.K. and E.G.P.; Project administration, F.B.-P.; Resources, F.B.-P., T.K., E.G.P. and K.S.; Software, F.B.-P. and T.K.; Supervision, F.B.-P., E.G.P. and K.S.; Validation, F.B.-P., T.K. and E.G.P.; Visualization, F.B.-P. and T.K.; Writing—original draft, F.B.-P. and T.K.; Writing—review and editing, F.B.-P., T.K., E.G.P. and K.S. All authors have read and agreed to the published version of the manuscript.

Funding

The IGF research project 21475 N/1 of the research association Forschungskuratorium Maschinenbau e. V. (FKM), Lyoner Straße 18, 60528 Frankfurt am Main was supported by the budget of the Federal Ministry of Economic Affairs and Climate Action through the AiF within the scope of a program to support industrial community research and development (IGF) based on the decision of the German Bundestag.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy restrictions.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
FILTFast Inverse Laplace transform
HPHagen–Poiseuille
ILTInverse Laplace transform
LPLaplace transform
TVBTrikha–Vardy–Brown

Nomenclature

SymbolDefinitionUnit
*Denotation of a Variable in the Laplace Domain[m2/s]
aSpeed of Sound[m/s]
CFactor[-]
DDiameter of the Pipe[m]
D n Dissipation Number[-]
Δ p Difference in Pressure Between Inlet and Outlet[Pa]
Δ p ˙ Averaged Pressure Over Time Step[-]
Δ t n Normalized Time Step[-]
fFrequency[Hz]
f ( t ) Example Function[-]
F * ( s ) Complex Example Function[-]
g ( t ) Example Function[-]
G * ( s ) Complex Example Function[-]
I i Modified Bessel Function of the First Kind of the i’th Order[-]
KBulk Modulus[Pa]
K 1 First Part of the Convolution Integral[-]
K 2 Second Part of the Convolution Integral[-]
K 1 , a p p Approximation of K 1 [-]
kA Natural Number[-]
LLength of the Pipe[m]
mOrder of poles[-]
m i Part of Assumed Weighting Function[-]
n i Part of Assumed Weighting Function[-]
NUpper Limit of Residue Sum[-]
p B C , 1 Pressure Boundary Condition at Input Boundary[Pa]
p B C , 2 Pressure Boundary Condition at Output Boundary[Pa]
p I C , 1 Initial Pressure Condition at Input Boundary[Pa]
p I C , 2 Initial Pressure Condition at Output Boundary[Pa]
p 1 * Pressure at Inlet[bar]
p 2 * Pressure at Outlet[bar]
QVolumetric Flow Rate[m3/s]
Q i Volumetric Flow Rate at Inlet: i = 1 and Outlet: i = 2 [m3/s]
Q i , d y n , j Dynamic Volumetric Flow Rate at Port i Caused By Pressure at Port j[m3/s]
Q i , s t a t Stationary Volumetric Flow Rate at Port i[m3/s]
rRadial Coordinate Within the Pipe[m]
RRadius of the Pipe[m]
R H Hydraulic Resistance[Pa/(m3/s)]
sLaplace Variable[-]
s j Poles of the Function F * ( s ) [Pa·s]
s k Simple Poles[Pa·s]
sinh a p p r o x Approximation of the s i n h ( s ) Function[-]
tTime[s]
t n Normalized Time[-]
τ Time[s]
vAxial Fluid Velocity[v]
v x Axial Fluid Velocity[v]
W i * Weighting Function at End i { 1 , 2 } of the Pipe[-]
W i , dyn Dynamic Weighting Function at Port i { 1 , 2 } [-]
W i , dyn Negative of W i , dyn [-]
W 1 , app Weighting Function with Approximated sinh[-]
W comp Compressible Weighting Function[-]
W inc Incompressible Weighting Function[-]
W o Womersley Number[-]
X * ( s ) Nominator of F * ( s ) [-]
Y * ( s ) Denominator of F * ( s ) [-]
Y 0 Integral at Time Step t n [-]
ζ Normalized Laplace Variable[-]
ζ i Poles of the Weighting Function[Pa·s]
Z c Series Impedance[bar/(m3/s)]
β Real Part of Bromwich Integral Boundaries[-]
η Dynamic Viscosity[Pa·s]
ν Kinematic Viscosity[m2/s]
ω Pressure Variation Frequency[1/s]

References

  1. Sutera, S.P.; Skalak, R. The History of Poiseuille’s Law. Annu. Rev. Fluid Mech. 1993, 25, 1–20. [Google Scholar] [CrossRef]
  2. Richardson, E.G.; Tyler, E. The transverse velocity gradient near the mouths of pipes in which an alternating or continuous flow of air is established. Proc. Phys. Soc. 1929, 42, 1. [Google Scholar] [CrossRef]
  3. Zhao, T.; Kitagawa, A.; Kagawa, T.; Takenaka, T. A Real Time Method of Measuring Unsteady Flow Rate and Velocity Employing Differential Pressure in a Pipe: Fluids Engineering. JSME Int. J. 1987, 30, 263–270. [Google Scholar] [CrossRef]
  4. Schmitz, K.; Murrenhoff, H. Hydraulik, vollständig neu bearbeitete auflage ed. In Reihe Fluidtechnik. U; Shaker Verlag: Aachen, Germany, 2018; Volume 002. [Google Scholar]
  5. Stecki, J.S.; Davis, D.C. Fluid Transmission Lines—Distributed Parameter Models Part 1: A Review of the State of the Art. Proc. Inst. Mech. Eng. Part A Power Process Eng. 1986, 200, 215–228. [Google Scholar] [CrossRef]
  6. Brereton, G.J.; Schock, H.J.; Rahi, M.A.A. An indirect pressure-gradient technique for measuring instantaneous flow rates in unsteady duct flows. Exp. Fluids 2006, 40, 238–244. [Google Scholar] [CrossRef]
  7. Brereton, G.J.; Schock, H.J.; Bedford, J.C. An indirect technique for determining instantaneous flow rate from centerline velocity in unsteady duct flows. Flow Meas. Instrum. 2008, 19, 9–15. [Google Scholar] [CrossRef]
  8. Sundstrom, L.R.J.; Saemi, S.; Raisee, M.; Cervantes, M.J. Improved frictional modeling for the pressure-time method. Flow Meas. Instrum. 2019, 69, 101604. [Google Scholar] [CrossRef]
  9. Foucault, E.; Szeger, P. Unsteady flowmeter. Flow Meas. Instrum. 2019, 69, 101607. [Google Scholar] [CrossRef]
  10. García García, F.J.; Fariñas Alvariño, P. On an analytic solution for general unsteady/transient turbulent pipe flow and starting turbulent flow. Eur. J. Mech. B/Fluids 2019, 74, 200–210. [Google Scholar] [CrossRef]
  11. García García, F.J.; Fariñas Alvariño, P. On the analytic explanation of experiments where turbulence vanishes in pipe flow. J. Fluid Mech. 2022, 951, A4. [Google Scholar] [CrossRef]
  12. Urbanowicz, K.; Bergant, A.; Stosiak, M.; Deptuła, A.; Karpenko, M. Navier-Stokes Solutions for Accelerating Pipe Flow—A Review of Analytical Models. Energies 2023, 16, 1407. [Google Scholar] [CrossRef]
  13. Urbanowicz, K.; Jing, H.; Bergant, A.; Stosiak, M.; Lubecki, M. Progress in Analytical Modeling of Water Hammer. J. Fluids Eng. 2023, 145, 081203. [Google Scholar] [CrossRef]
  14. Urbanowicz, K.; Bergant, A.; Stosiak, M.; Karpenko, M.; Bogdevičius, M. Developments in analytical wall shear stress modelling for water hammer phenomena. J. Sound Vib. 2023, 562, 117848. [Google Scholar] [CrossRef]
  15. Bayle, A.; Rein, F.; Plouraboué, F. Frequency varying rheology-based fluid–structure-interactions waves in liquid-filled visco-elastic pipes. J. Sound Vib. 2023, 562. [Google Scholar] [CrossRef]
  16. Bayle, A.; Plouraboue, F. Laplace-Domain Fluid–Structure Interaction Solutions for Water Hammer Waves in a Pipe. J. Hydraul. Eng. 2024, 150, 04023062. [Google Scholar] [CrossRef]
  17. Schröder, W. Fluidmechanik, 4., korrigierte auflage ed. In Aachener Beiträge zur Strömungsmechanik; Wissenschaftsverlag Mainz: Aachen, Germany, 2018; Volume 16. [Google Scholar]
  18. Sexl, T. Über den von E. G. Richardson entdeckten Annulareffekt. Z. Phys. 1930, 61, 349–362. [Google Scholar] [CrossRef]
  19. Brown, F.T. The Transient Response of Fluid Lines. J. Basic Eng. 1962, 84, 547–553. [Google Scholar] [CrossRef]
  20. Womersley, J.R. Oscillatory flow in arteries: The constrained elastic tube as a model of arterial flow and pulse transmission. Phys. Med. Biol. 1957, 2, 178–187. [Google Scholar] [CrossRef]
  21. Catania, G.; Sorrentino, S. Dynamical analysis of fluid lines coupled to mechanical systems taking into account fluid frequency-dependent damping and non-conventional constitutive models: Part 1—Modeling fluid lines. Mech. Syst. Signal Process. 2015, 50–51, 260–280. [Google Scholar] [CrossRef]
  22. D’Souza, A.F. Dynamic Response of Fluid Flow through Straight and Curved Lines. Ph.D. Thesis, Purdue University, Lafayette, LA, USA, 1963. [Google Scholar]
  23. Stecki, J.S.; Davis, D.C. Fluid Transmission Lines—Distributed Parameter Models Part 2: Comparison of Models. Proc. Inst. Mech. Eng. Part A Power Process Eng. 1986, 200, 229–236. [Google Scholar] [CrossRef]
  24. Young, F.D.L.; Liggett, J.A. Transient Finite Element Shallow Lake Circulation. J. Hydraul. Div. 1977, 103, 109–121. [Google Scholar] [CrossRef]
  25. Hsiao, C.H.; Young, D.L. The singularity method in unsteady Stokes flow: Hydrodynamic force and torque around a sphere in time-dependent flows. J. Fluid Mech. 2019, 863, 1–31. [Google Scholar] [CrossRef]
  26. Manhartsgruber, B. Instantaneous Liquid Flow Rate Measurement Utilizing the Dynamic Characteristics of Laminar Flow in Circular Pipes. In Proceedings of the ASME/JSME 2003 4th Joint Fluids Summer Engineering Conference, Honolulu, HI, USA, 6–10 July 2003; pp. 159–164. [Google Scholar] [CrossRef]
  27. Manhartsgruber, B. Instantaneous Liquid Flow Rate Measurement Utilizing the Dynamics of Laminar Pipe Flow. J. Fluids Eng. 2008, 130, 121402. [Google Scholar] [CrossRef]
  28. Weber, H.; Ulrich, H. Laplace-, Fourier- und z-Transformation; Vieweg+Teubner Verlag: Wiesbaden, Germany, 2012. [Google Scholar] [CrossRef]
  29. Krantz, S.G. Handbook of Complex Variables; Birkhäuser: Boston, MA, USA, 1999. [Google Scholar]
  30. Xie, C. Applications of Residue Theorem to Some Selected Integrals. Highlights Sci. Eng. Technol. 2024, 88, 452–457. [Google Scholar] [CrossRef]
  31. Brumand-Poor, F.; Kotte, T.; Pasquini, E.; Kratschun, F.; Enking, J.; Schmitz, K. Unsteady flow rate in transient, incompressible pipe flow. Z. Angew. Math. Mech. 2024, e202300125. [Google Scholar] [CrossRef]
  32. Brown, F.T.; Nelson, S.E. Step Responses of Liquid Lines With Frequency-Dependent Effects of Viscosity. J. Basic Eng. 1965, 87, 504–510. [Google Scholar] [CrossRef]
  33. Almondo, A.; Sorli, M. Time Domain Fluid Transmission Line Modelling using a Passivity Preserving Rational Approximation of the Frequency Dependent Transfer Matrix. Int. J. Fluid Power 2006, 7, 41–50. [Google Scholar] [CrossRef]
  34. Goodson, R.E. Distributed system simulation using infinite product expansions. Simulation 1970, 15, 255–263. [Google Scholar] [CrossRef]
  35. Goodson, R.E.; Leonard, R.G. A Survey of Modeling Techniques for Fluid Line Transients. J. Basic Eng. 1972, 94, 474–482. [Google Scholar] [CrossRef]
  36. Maple, 2019; Maplesoft, a Division of Waterloo Maple Inc.: Waterloo, ON, Canada, 2023; Available online: https://www.maplesoft.com/products/Maple/ (accessed on 17 October 2024).
  37. Vardy, A.E.; Brown, J.M. Efficient Approximation of Unsteady Friction Weighting Functions. J. Hydraul. Eng. 2004, 130, 1097–1107. [Google Scholar] [CrossRef]
  38. Trikha, A.K. An Efficient Method for Simulating Frequency-Dependent Friction in Transient Liquid Flow. J. Fluids Eng. 1975, 97, 97–105. [Google Scholar] [CrossRef]
  39. Kagawa, T.; Lee, I.; Kitagawa, A.; Takenaka, T. High Speed and Accurate Computing Method of Frequency-Dependent Friction in Laminar Pipe Flow for Characteristics Method. Trans. Jpn. Soc. Mech. Eng. Ser. B 1983, 49, 2638–2644. [Google Scholar] [CrossRef]
  40. Suzuki, K.; Taketomi, T.; Sato, S. Improving Zielke’s Method of Simulating Frequency-Dependent Friction in Laminar Liquid Pipe Flow. J. Fluids Eng. 1991, 113, 569–573. [Google Scholar] [CrossRef]
  41. Schohl, G.A. Improved Approximate Method for Simulating Frequency-Dependent Friction in Transient Laminar Flow. J. Fluids Eng. 1993, 115, 420–424. [Google Scholar] [CrossRef]
  42. Vítkovský, J.; Stephens, M.; Bergant, A.; Lambert, M.; Simpson, A. Efficient and accurate calculation of Zielke and Vardy-Brown unsteady friction in pipe transients. In Proceedings of the 9th International Conference on Pressure Surges, Chester, UK, 24–26 March 2004. [Google Scholar]
  43. Vardy, A.E.; Brown, J.M. Transient, turbulent, smooth pipe friction. J. Hydraul. Res. 1995, 33, 435–456. [Google Scholar] [CrossRef]
  44. Ghidaoui, M.S.; Mansour, S. Efficient Treatment of the Vardy–Brown Unsteady Shear in Pipe Transients. J. Hydraul. Eng. 2002, 128, 102–112. [Google Scholar] [CrossRef]
  45. Urbanowicz, K. Fast and accurate modelling of frictional transient pipe flow. ZAMM J. Appl. Math. Mech./Z. Angew. Math. Mech. 2018, 98, 802–823. [Google Scholar] [CrossRef]
  46. Vardy, A.E.; Brown, J.M. Evaluation of Unsteady Wall Shear Stress by Zielke’s Method. J. Hydraul. Eng. 2010, 136, 453–456. [Google Scholar] [CrossRef]
  47. The MathWorks Inc. MATLAB, version: 9.13.0 (R2022b); The MathWorks Inc.: Natick, MA, USA, 2022.
  48. FLUIDON GmbH. User Manual DSHplus 3.7; FLUIDON GmbH: Aachen, Germany, 2007. [Google Scholar]
  49. Brumand-Poor, F.; Schüpfer, M.; Merkel, A.; Schmitz, K. Development of a Hydraulic Test Rig for a Virtual Flow Sensor. In Proceedings of the Eighteenth Scandinavian International Conference on Fluid Power (SICFP’23), Tampere, Finland, 30 May–1 June 2023. [Google Scholar]
Figure 1. Laminar velocity profiles for various Womersley numbers ranging from 1.5 to 30 with a phase angle of 90° (right side) and laminar velocity profiles for various phase angles ranging from 90° to 190° with a Womersley number of 30.
Figure 1. Laminar velocity profiles for various Womersley numbers ranging from 1.5 to 30 with a phase angle of 90° (right side) and laminar velocity profiles for various phase angles ranging from 90° to 190° with a Womersley number of 30.
Signals 05 00045 g001
Figure 2. Flowchart of the derivation of the soft sensor equations.
Figure 2. Flowchart of the derivation of the soft sensor equations.
Signals 05 00045 g002
Figure 3. Logarithm of absolute of weighting function W 1 * for real and imaginary arguments for fixed dissipation number.
Figure 3. Logarithm of absolute of weighting function W 1 * for real and imaginary arguments for fixed dissipation number.
Signals 05 00045 g003
Figure 4. Weighting functions featuring only residues of negative real poles (incompressible solution) and residues of all poles (compressible solution).
Figure 4. Weighting functions featuring only residues of negative real poles (incompressible solution) and residues of all poles (compressible solution).
Signals 05 00045 g004aSignals 05 00045 g004b
Figure 5. ILT using residue theorem for both weighting functions.
Figure 5. ILT using residue theorem for both weighting functions.
Signals 05 00045 g005
Figure 6. Position of the poles of W 1 * ( ζ ) for various D n .
Figure 6. Position of the poles of W 1 * ( ζ ) for various D n .
Signals 05 00045 g006
Figure 7. The 1 Hz sine wave pressure boundary at the 50 bar level.
Figure 7. The 1 Hz sine wave pressure boundary at the 50 bar level.
Signals 05 00045 g007
Figure 8. The 100 Hz sine wave pressure boundary at the 50 bar level.
Figure 8. The 100 Hz sine wave pressure boundary at the 50 bar level.
Signals 05 00045 g008
Figure 9. The 1000 Hz sine wave pressure boundary at the 50 bar level.
Figure 9. The 1000 Hz sine wave pressure boundary at the 50 bar level.
Signals 05 00045 g009
Figure 10. Sum of sine waves with 1 Hz, 10 Hz, 20 Hz, and 40 Hz pressure boundaries at 50 bar level.
Figure 10. Sum of sine waves with 1 Hz, 10 Hz, 20 Hz, and 40 Hz pressure boundaries at 50 bar level.
Signals 05 00045 g010
Figure 11. Sum of sine waves with 10 Hz, 100 Hz, 200 Hz, and 400 Hz pressure boundaries at 50 bar level.
Figure 11. Sum of sine waves with 10 Hz, 100 Hz, 200 Hz, and 400 Hz pressure boundaries at 50 bar level.
Signals 05 00045 g011
Figure 12. Sawtooth pressure boundary at 50 bar level.
Figure 12. Sawtooth pressure boundary at 50 bar level.
Signals 05 00045 g012
Figure 13. Step function pressure boundary at 50 bar level.
Figure 13. Step function pressure boundary at 50 bar level.
Signals 05 00045 g013
Table 1. Parameter set in the simulation for each test case.
Table 1. Parameter set in the simulation for each test case.
NameVariableUnitValue
Kinematic Viscosity ν m2/s 46 × 10 6
Fluid Density ρ kg/m3860
Bulk ModulusKPa 14 × 10 9
Diameter of the PipeDm 14 × 10 3
Length of the PipeLm 1.5
Hydraulic Resistance R H Pa/(m3/s) 6.294 × 10 7
Table 2. Pressure conditions set for each test case.
Table 2. Pressure conditions set for each test case.
Test CaseInitial Conditions p IC , 1 , 2 [bar]Boundary Conditions p BC , 1 [bar]Frequency f [Hz]
Sine50 50 ± 0.1 1, 100, 1000
Sum of Sines50 50 ± [ 0.1 , 0.1 , 0.1 , 0.1 ] [ 1 , 10 , 20 , 40 ], [ 10 , 100 , 200 , 400 ]
Sawtooth50 50 + 0.2 10
Step50 50 + 0.5 N/A
Table 3. Mean errors and standard deviation of the soft sensor for the investigated test cases.
Table 3. Mean errors and standard deviation of the soft sensor for the investigated test cases.
Test CaseFrequency f [Hz]Mean ErrorStandard Deviation
Sine (Figure 7)1 0.11 % 0.076 %
Sine (Figure 8)100 0.0084 % 0.38 %
Sine (Figure 9)1000 0.14 % 1.3 %
Sum of Sines (Figure 10)[ 1 , 10 , 20 , 40 ] 0.0049 % 0.067 %
Sum of Sines (Figure 11)[ 10 , 100 , 200 , 400 ] 0.034 % 1.3 %
Sawtooth (Figure 12)10 0.043 % 0.11 %
Step (Figure 13)N/A 0.0051 % 0.059 %
Table 4. Mean errors and standard deviation of a sensor based on the law of HP for the investigated test cases.
Table 4. Mean errors and standard deviation of a sensor based on the law of HP for the investigated test cases.
Test CaseFrequency f [Hz]Mean ErrorStandard Deviation
Sine (Figure 7)1 29 % 52 %
Sine (Figure 8)100 2700 % 1300 %
Sine (Figure 9)1000 3800 % 1900 %
Sum of Sines (Figure 10)[ 1 , 10 , 20 , 40 ] 57 % 91 %
Sum of Sines (Figure 11)[ 10 , 100 , 200 , 400 ] 320 % 350 %
Sawtooth (Figure 12)10 36 % 57 %
Step (Figure 13)N/A 63 % 30 %
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

Brumand-Poor, F.; Kotte, T.; Pasquini, E.G.; Schmitz, K. Signal Processing for Transient Flow Rate Determination: An Analytical Soft Sensor Using Two Pressure Signals. Signals 2024, 5, 812-840. https://doi.org/10.3390/signals5040045

AMA Style

Brumand-Poor F, Kotte T, Pasquini EG, Schmitz K. Signal Processing for Transient Flow Rate Determination: An Analytical Soft Sensor Using Two Pressure Signals. Signals. 2024; 5(4):812-840. https://doi.org/10.3390/signals5040045

Chicago/Turabian Style

Brumand-Poor, Faras, Tim Kotte, Enrico Gaspare Pasquini, and Katharina Schmitz. 2024. "Signal Processing for Transient Flow Rate Determination: An Analytical Soft Sensor Using Two Pressure Signals" Signals 5, no. 4: 812-840. https://doi.org/10.3390/signals5040045

APA Style

Brumand-Poor, F., Kotte, T., Pasquini, E. G., & Schmitz, K. (2024). Signal Processing for Transient Flow Rate Determination: An Analytical Soft Sensor Using Two Pressure Signals. Signals, 5(4), 812-840. https://doi.org/10.3390/signals5040045

Article Metrics

Back to TopTop