Tutorial LabVIEW
Tutorial LabVIEW
2.1 Overview
This chapter describes the basic properties of ultrasonic technologies and their
associated use in various ranges of sensors in industrial applications. Physical
properties as well as the limitations of the piezoelectric devices used in ultrasonic
sensors are described here. Particularly, the usage of ultrasonic sensors in fluid
level measurement systems is discussed. Various configurations of ultrasonic
sensors used with hazardous fluids, particularly gasoline-based fuels, in the
application of level measurement have also been described in this section. In
summary, this chapter provides the detailed background to ultrasonic type sensors
and their application in dynamic environments.
2.2.1 Overview
Ultrasound waves are similar to sound waves, where both travel through a med-
ium. Ultrasound waves consist of high-frequency sound waves that are inaudible to
human beings. The frequency of the ultrasound waves is normally above 20 kHz.
However, some creatures such as bats can hear as well as generate the high-
frequency ultrasound waves [1, 2].
As the sound waves travel through the air, they produce vibration in the air
particles which changes the density and pressure of the air particles along the
direction of motion of the wave. If a sound wave is moving from left to right
through air, particles of air will be displaced both rightward and leftward as the
energy of the sound wave passes through it. If the source of the sound waves
vibrates sinusoidally, the pressure variations are also sinusoidal. Figure 2.1 illus-
trates the propagation of the sound waves produced by a fork. Patterns of high and
low pressure points will be created in the air by the vibration of the fork. These
patterns of varying pressure points can be observed using a sound wave detector [3].
Ultrasound can be thought of as analogous to ultraviolet light in that it char-
acterizes that region of acoustical phenomena which is not accessible to human
perception [4]. Some creatures such as bats, dolphins, and whales are able to hear
and generate ultrasonic waves. Figure 2.2 shows a graph of different hearing
ranges in animals and humans.
The sound velocity is defined by the rate of change of particle displacement with
respect to time. Sound or ultrasound waves can only be propagated in a material
medium. Different characteristics of different materials will influence the velocity
2.2 Principles of Ultrasonic Sensing 13
Fig. 2.2 Hearing range threshold in different living beings, courtesy Microsoft Encarta 2008
of the sound differently. The characteristics of the material medium have effects
on the velocity and the attenuation of ultrasound waves. The speed of sound waves
in a medium depends on the compressibility and density of the medium [5]. If the
medium is a liquid or a gas and has a bulk modulus K and density q, the speed of
sound waves in that medium or fluid is given by Cheeke and David [6]:
sffiffiffiffi
K
cfluid ¼ ð2:1Þ
q
The general expression of the speed of all mechanical waves in a given material
is expressed as [5]:
sffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
elastic properties
v¼ ð2:2Þ
inertial properties
Table 2.1 Sound velocity and characteristic impedance of gases and liquids [4]
Material Temperature Density Sound Characteristic
(C) (kg/m3) velocity (m/s) impedance (Ns/m3)
Gases
Air 0 1.293 331.45 429
Argon 0 1.783 319 569
Helium 0 0.178 965 172
Oxygen 0 1.429 316 452
Nitrogen 0 1.251 334 418
Ammonia 0 0.771 415 320
Output signal
Microphone
These days, most practical ultrasound sources are based on the piezoelectric
principle of transconduction [4]. Piezoelectric sources have the advantage of
simple construction and operation, which makes them suitable for a variety of
applications.
A piezoelectric ultrasound generator consists of a layer of piezoelectric material
with thin metal electrodes on both its sides. If an alternating electrical voltage is
applied to these electrodes, the thickness of the layer will vary according to the
variations of the electrical field [4], thus fluctuations in the air or a medium will be
produced. Alternatively, the piezoelectric effect can be reversed to detect ultra-
sonic waves and to transform waves into an electrical signal. Figure 2.4 illustrates
the piezoelectric effect, where the induced voltage is increased as the applied
pressure increases.
Applied
pressure
Piezoelectric
Induced voltage
material V
2.2.6.1 Overview
This section discusses some characteristics and physical factors that influence
the propagation of ultrasonic waves. Phenomena such Reflection, Refraction,
Diffraction, and Absorption of the ultrasonic wave during its propagation are
described in the following subsections.
2.2.6.2 Reflection
2.2.6.3 Refraction
A wave traveling from one material into another material can experience a change
in its course. A wave at h1 in medium A can end up traveling at h2, as illustrated
below (Fig. 2.5).
Refracted ray
MEDIUM 1 MEDIUM 2
2.2 Principles of Ultrasonic Sensing 17
The ratio of the two angles is proportional to the ratio of the speed in both
media, and it is given by:
sinðh1 Þ c1
¼ ð2:5Þ
sinðh2 Þ c2
The principles of refraction can cause a ray traveling at a critical angle to
disappear as total refraction. The critical angle hc can be determined by the
following equation. For liquids and solids, hc is about 15 [7].
c1
hc ¼ h1 ¼ sin1 ð2:6Þ
c2
2.2.6.4 Diffraction
2.2.6.5 Absorption
The existence of sound waves is always restricted to a material medium, the nature
and the structure of which determines the particular parameters of their propa-
gation. Ultrasonic waves may lose energy and get absorbed depending on the type
of material and distance it traveled. The loss of sound energy is caused by the fact
that any kind of matter consists of small but finite components such as atoms,
Travelling waves
18 2 Ultrasonic Sensing Technology
molecules, and ions, which interact with each other [4]. Sound absorption in a
plane harmonic sound wave is characterized by an exponential decrease of
amplitude with traveling distance as [4]:
^ p0 eax
pðxÞ ¼ ^ ð2:7Þ
where ^ p is the amplitude of the fluctuating sound pressure at distance x, p^0 is the
initial pressure, and the quantity a is the absorption constant. Its magnitude
depends on the kind of wave medium and on the sound frequency and is the
reciprocal of the distance along which the amplitude falls by 1e of its initial value
[4]. The attenuation constant D may be derived from the absorption constant a.
D ¼ 20a log 10 e 8:69a dB=m ð2:8Þ
The ultrasonic wave detection and measurement principle is primarily the reverse
operation of ultrasonic wave generation. During ultrasonic wave generation, the
transducer element (i.e., piezoelectric) is excited by applying an electrical signal
across it. But during ultrasonic wave detection, an electrical voltage signal across
the piezoelectric element is monitored. As soon as an ultrasonic wave strikes the
transducer, the piezoelectric element vibrates accordingly; thus it generates a
voltage signal across its terminals.
Figure 2.7 shows a simple configuration of an ultrasonic sensor in a level
sensing application. An ultrasonic wave reflector (obstacle) floats on the liquid
surface. A transducer is mounted at the bottom of the tank and transmits a signal. It
determines the fluid level by detecting and measuring the time-of-flight of the
reflected ultrasonic wave.
US pulses
Transducer
2.2 Principles of Ultrasonic Sensing 19
~ L
Transducer
(b)
Transducer voltage (output)
Wang [9] also developed a system based on the principle described above. But
instead of a simple pulse, a switch-mode ultrasonic Radio Frequency (RF) burst
emission circuit was used, which is based on the optimum transient response
formed between a series resonance network of a piezoelectric crystal oscillator of
an ultrasonic transducer and an active switch device (transistor). Wang [9] has
claimed that the circuit produces a highly efficient emission of an ultrasonic RF
burst. Figure 2.9 illustrates a basic setup of the ultrasonic RF burst emission
generator designed by Wang [9]. The circuit consists of a transistor T, two diodes
D1, D2, and a load network of piezoelectric oscillator TD. The function of diodes
D1 and D2 is to form an isolating stage between the switch transistor and receiver
amplifier.
Suzuki [10] described a method of generating and receiving ultrasonic waves
using a single ultrasonic transducer. Suzuki [10] has used a negative immittance
converter in the circuitry in order to cancel components which impede the
damping characteristics of the ultrasonic transducer. This provides the benefits of
receiving an ultrasonic wave having good receiving response and sensitivity
without using any mechanical damping method [10].
Ultrasonic transducers transmit ultrasonic waves and then receive those ultrasonic
waves reflected from an object. The time delay between transmission and recep-
tion of the ultrasonic waves is used to detect the position of the object. This
technique can be used to determine the height or vertical distance of an object from
the ultrasonic sensor. Thus ultrasonic transducers can be used to determine the
height or level of fluid in a container (Fig. 2.10).
Durkee [11] described an aircraft fuel gauging and battle damage detection
system that comprises an ultrasonic transducer incorporable in the fuel tank of the
aircraft. An electrical circuit excites the ultrasonic transducer to transmit an
acoustic pulse toward the surface of fuel in the tank. Then the ultrasonic transducer
receives the ultrasonic echo pulses reflected from the fuel surface, which is then
Varying Ultrasonic
distance Transducer
between fluid
surface and
transducer
Varying fluid
level
converted from ultrasonic echo pulses to electrical echo pulses. The system uses
another electrical circuit to receive and process the electrical echo pulses from the
ultrasonic transducer. The second circuit performs fuel quantity measurements
using the electrical echo pulses and also performs battle damage detection using
the electrical compression wavefront pulses.
Koblasz et al. [12] described an ultrasound liquid level detection system for
automatically controlling the dispensing of a post-mix beverage. The design uses
microprocessor-controlled circuitry for monitoring and implementing the auto-
matic dispensing process. The microprocessor is interfaced with an ultrasonic
transducer that transmits ultrasonic waves toward the target container that needs to
be filled. It receives the reflected ultrasonic wave and then analyzes the charac-
teristics of the received wave. Then, when required, it uses the microprocessor to
implement control functions of the automatic dispensing process. The system also
has additional safeguards programmed into the microprocessor to preclude oper-
ator errors such as triggering of the dispenser system by devices other than the
container to be filled [12].
Ellinger et al. [13] described a method that determines the quantity and density
of fuels stored in aircraft fuel containers using an ultrasonic transducer. Multiple
ultrasonic sensors were used for the application. The ultrasonic sensors, including
an altitude sensor, were controlled by a computer. Each ultrasonic transducer was
supported within the stillwell by the container. Sensors in the fuel tanks were
multiplexed by two redundant synchronized processors; so that failure of a sensor
interface of one processor will not affect input to the other processor. An ultrasonic
signal was transmitted and received from the transducer within the stillwell. The
round-trip time period from sending to receiving the signal is measured. The
quantity of fuel in the container is determined from the round-trip time period and
data stored on the container volume in the central processing unit. The electrical
wiring and sensor are mounted outside of the tank, which not only makes it
22 2 Ultrasonic Sensing Technology
intrinsically safe but also avoids the possibility of performance degradation due to
the contamination in the liquid [13].
Palmer et al. [14] described an ultrasonic sensor based liquid level sensor
system that comprises a tubular probe having a peripheral wall and suspended in a
liquid container. An ultrasonic signal is transmitted around the wall from a
transmitting transducer that is embedded in a block, which is bonded to the inner
surface of the wall, to a receiving transducer that is also embedded in the same
block. A detector circuit discriminates between the signal levels when the
ultrasonic probe is immersed outside of liquid and when the probe is immersed in
liquid, hence it provides a corresponding switched output [14].
Getman et al. [15] described a liquid level sensing system that uses the pulse
transit time technique to sense the level of liquid in a vessel. An ultrasonic
transducer is mounted above the highest permissible level in the vessel, where it
emits ultrasonic transmission pulses to the surface of the liquid and receives the
ultrasonic echo pulses reflected from the liquid surface. The level in the vessel is
established from the transit time of the ultrasonic pulses. To detect an overfill
when the ultrasonic transducer is immersed in the liquid, the decaying output
signal of the ultrasonic transducer generated by the ringing of the ultrasonic
transducer following the end of the each ultrasonic transmission pulse is analyzed.
With this arrangement, Getman et al. [15] claim that due to the better coupling of
the ultrasonic transducer to the liquid than to air, the ringing duration is shorter
when the ultrasonic transducer is covered by the liquid.
Lichte [16] described a fluid volume measurement system, where an ultrasonic
sensor is mounted at the bottom of the tank. Echo pulses are transmitted from the
sensor and travel through the fluid and reflect back, as shown in Fig. 2.11.
Transmitted
Pulses
Ultrasonic
Transducer
2.3 Level Measurement Using Ultrasonic Sensors 23
Marini et al. [17] described a method that determines the ratio of the volume of
the gas present in an enclosure containing a diphase liquid–gas mixture to the total
volume of the enclosure. The undissolved gas in the liquid is assumed to be in the
form of a layer surmounting the liquid. This method requires an extremely rapid
determination of the void coefficient. The time delay between the first frequency
and the second frequency is used to determine the form of gas in the enclosure.
Thereafter, the void coefficient is determined from the propagation velocities of
the ultrasound in the gas and the liquid and from the measured propagation time
of the ultrasonic waves. Ultrasonic waves at different frequencies are propagated
through the fluid filling the enclosure. The propagation times of the waves are
measured and the difference between these propagation times is calculated. If the
propagation times are identical, it is deduced that all the gas is in the form of a
layer surmounting the liquid. The void coefficient is determined from the propa-
gation velocities of the ultrasound in the gas and the liquid and from the measured
propagation time. If the propagation times are different, a part of the gas is in the
form of bubbles in the liquid, the void coefficient due to the gas surmounting the
liquid and the void coefficient due to the gas bubbles in the liquid are determined
separately. The total void coefficient is determined by adding the two values
obtained. The void coefficient due to the gas surmounting the liquid may be
determined by virtue of the waves reflected by the gas–liquid interface. The void
coefficient due to the gas bubbles is determined by virtue of the relationships
existing between the velocity of the ultrasound and the frequency of the waves,
according to the pressure and the void coefficient. This invention was used in the
measurement of the void coefficient in a pressurized water nuclear reactor after an
accident [17].
2.4.1 Overview
As discussed earlier, the variation in the ambient temperature influences the speed of
sound. Since the variation in ambient temperature is continuous, the speed of the
ultrasonic wave should not be considered constant. In vehicular fuel tanks, the
temperature can vary from -40 to 110 C. To improve the reliability of ultrasonic
sensing systems, generally a temperature sensor is included in the system design to
adjust the speed of ultrasonic waves used in the level calculation by using Eq. (1.1),
which describes the relationship between the speed of the ultrasonic wave and
temperature.
Crayton et al. [18] described a way to determine the fuel level in a storage tank
using an ultrasonic sensor by controlling a Motorola’s 68HC05 type microcon-
troller. This system is designed to perform calculations and produce fuel level
output signals. The microprocessor is programmed to consider the effects of
temperature variations on the speed of sound. For this, a temperature sensor is
implanted in the tank that feeds temperature values into the microprocessor, which
then compensates for the effects of temperature and reduces the output error.
Crayton et al. [18] have claimed that the performance of the level sensing system
is not degraded by the effects of temperature and rugged terrain that may cause the
storage tank to tilt up to 45 in any direction [18].
Forgue [19] described a fluid level sensor that is able determine the ultrasonic
velocity for the purpose of calibration of the fluid level measurement that is
compensated for temperature, fluid composition, and other velocity affecting
factors. It generally consists of a single ultrasonic transceiver and a housing
component. The ultrasonic transceiver has a measurement section and a reference
section that are separated by an insulating section, while the housing component
has a reference element and an aperture that are located at the axial end. The
measurement section transmits ultrasonic measurement signals that pass through
the aperture and reflect off a fluid surface. The ultrasonic transceiver includes a
disk-shaped measurement section and a ring-shaped reference section. An
impedance layer is located adjacent to the ultrasonic transceiver such that ultra-
sonic signals pass through the impedance layer. The sensors signals are fed into an
electronic controller to determine a signal velocity calibrated measurement of the
fluid level that is compensated for temperature, fluid composition, and other
velocity affecting factors [19].
Combs et al. [20] described an ultrasonic liquid level measurement device used to
measure the depth of a flowing liquid in a channel using an ultrasonic transducer. An
ultrasonic burst is directed toward the channel and the reflected echo from the
surface of the liquid is returned and sensed by the transducer. The transit time of
ultrasonic transmission and echo return is indicative of the liquid level. An
adjustable discriminator is provided to specify a maximum liquid level in the
channel and a minimum liquid level, which, typically is the floor of the channel. The
maximum and minimum levels are adjustable to accommodate variable channel
configurations and transducer mounting arrangements. Automatic adjustment is
2.4 Ultrasonic Sensor Based Level Measurement in Dynamic Environments 25
provided to compensate for different cable lengths which may be used to connect the
ultrasonic transducer to the transducer driver and receiving section. Temperature
compensation is provided to accommodate changes in ultrasonic transmission
propagation through ambient air with temperature, and time variable gain amplifi-
cation is provided to compensate for geometric spreading of reflected ultrasonic
energy echo pulses and for air path absorption [20].
Durkee [21] described an ultrasonic based fluid quantity measurement system
that takes the effects of liquid temperature into consideration. The method does
this by measuring the temperature of the liquid at at least two different heights.
The method then determines the velocity of sound in the liquid at at least two
different predetermined heights. It then establishes an approximation of a velocity
of sound versus temperature profile for the liquid and determining an approxi-
mation of a velocity of sound versus height profile for each of at least two height
regions based on the temperature measurements [21].
Crayton et al. [18] described a measuring system that determines the height of
liquid contained in a storage tank. A tube is placed inside the tank which contains a
float that is buoyed on the surface of the liquid. An ultrasonic transducer is placed
inside the tube. The ultrasonic transducer emits ultrasonic pulses directed at the
float, receives the reflected ultrasonic pulses, and responsively produces an echo
signal. The float has a top portion and a bottom portion separated by a cylindrical
portion. The bottom portion including a spherical surface which receives the
ultrasonic pulses. The spherical surface has a predetermined radius which is a
function of the inside diameter of the tube, the height of the cylindrical portion of
the float, and the outside diameter of the cylindrical portion of the float. A
temperature sensor monitors the temperature of the liquid and produces a
thermometric signal in response to the liquid temperature. A microprocessor
receives the echo and thermometric signals, determines the speed of the ultrasonic
pulse traveling in the liquid, and responsively determines the liquid height [18].
Birkett [22] has described a method of fluid level measurement that reduces the
effects of electromagnetic interference (EMI) that can adversely affect the
measurements obtained by the device. For providing better shielding from EMI,
the piezoelectric crystal and other electrical components are enclosed in a tube.
The piezoelectric device is positioned at the end of the tube so as to direct the
ultrasonic pulse along the axis of the stillwell. The interior walls of the enclosure
are provided with a metallic layer to block electromagnetic interference from the
interior space [22].
26 2 Ultrasonic Sensing Technology
Puttmer et al. [23] introduced a low noise ultrasonic density sensor configuration
with high accuracy, long-term stability, and robustness by taking into account
significant effects such as: drift of the piezoceramic transducer and electronic
system; chemical, geometric, and acoustic properties of the reference material;
reduction of signal amplitude or signal-to-noise-ratio (SNR) by the acoustic
reference path; and the acoustic field. The sensor consists of a transducer with a
piezoceramic disk mounted between two reference rods of quartz glass.
Additionally, a second transducer is used as an ultrasound receiver. The density is
obtained from the reflection coefficient of ultrasound at the interface between the
quartz glass rod and the liquid and the transit time of sound between this interface
and the second transducer. The reference signal is generated using the sound
radiated from the rear side of the piezoceramic disk [23].
Borenstein et al. [24] categorized different types of noise and discussed
methods for eliminating effects of each type of noise. Borenstein et al. [24]
introduced a method called error eliminating rapid ultrasonic firing (EERUF),
which combines different noise rejection techniques and optimizes them for rapid
firing. EERUF almost completely eliminates crosstalk. Its unique noise rejection
capability allows multiple mobile robots to collaborate in the same environment,
even if their ultrasonic sensors operate at the same frequencies. For each noise
category, methods are described to identify and reject the resulting errors. These
individual rejection measures were combined into one error rejection method
which was then combined with a fast firing algorithm. The resulting combination
was EERUF. The EERUF method was implemented on a mobile robot; as a result,
a mobile robot was able to traverse an obstacle course of densely spaced,
pencil-thin poles at speeds of up to 1 m/s.
Soltz [25] described an ultrasonic liquid level measurement gauge that can
determine true ultrasonic echo pulses from false parasitic pulses originating from
reflecting wall surfaces and other obstacles in the vicinity of the tank. The parasitic
pulses may be confused with the main echo pulses and can result in an erroneous
reading [25].
Durkee [26] described an ultrasonic liquid gauging systems that is generally
related to improving the detection of valid echoes under low liquid level and echo
drop out conditions to improve the accuracy of the measured liquid quantity. A
particular problem that can arise at low liquid levels is the detection of secondary
and tertiary echoes from multiple or harmonic reflections at the liquid surface of
the transmitted ultrasonic energy. The effects can cause echoes to be lost or
missed, including echoes from the surface as well as from the target.
Kumar [27] has described an ultrasonic liquid level gauging system that can
discriminate true echoes from false echoes. The device uses echo energy as a
factor to distinguish a true echo from a false echo [27].
2.5 Effects of Liquid Sloshing 27
2.5.1 Overview
In mobile fluid tanks such as automotive fuel tanks, acceleration will induce waves
in the storage tank. This phenomenon of fluid fluctuation is called sloshing. The
magnitude of sloshing is dependent on the value of the acceleration or deceleration
that may be caused by braking, speeding, and irregular terrain. A level measure-
ment device observing the fluid level under sloshing conditions will produce
erroneous level readings.
The sloshing phenomenon in moving rectangular tanks (e.g., automotive fuel
tanks) can be usually described by considering only two-dimensional fluid flow, if
the width of the tank is much less than its breadth [28]. The main factors
contributing to the sloshing phenomenon are the acceleration exerted on the tank,
amount of existing fluid, internal baffles, and the geometry of the tank [29, 31]. A
detailed analysis of liquid sloshing using the numerical approach for various tank
configurations has been provided in the literature [29–39].
Different designs of fluid level measurement systems have used different
techniques to compensate for the erroneous reading of liquid level due to the
effects of sloshing. This section of the literature review focuses on some level
sensing devices that attempt to operate effectively in both static and dynamic
environments.
Fluid sloshing can be physically and electrically dampened to compensate for the
sloshing effects. The following diagram shows a basic geometrical dampening
method. The sensor is placed inside a vessel, where fluid can enter from the bottom
of the vessel. The fluid stored in the vessel will experience less slosh than the fluid
outside the vessel. Therefore, the fluid inside the vessel will be stable relative to
the outside level. Various methods have been investigated that generally follow a
similar principle (Fig. 2.12).
Stable Level
Slosh Waves
28 2 Ultrasonic Sensing Technology
Kikuta et al. [40] described an ultrasonic level gauge that measures the level of
a test surface inside a tank. It can measure the level of a test surface even when the
distance between the test surface and the ultrasonic transceiver is very small. The
level gauge includes a guiding pipe that guides the ultrasonic wave transmitted by
an ultrasonic transceiver to the test surface, and guides the ultrasonic wave
reflected by the test surface back to the ultrasonic transceiver. The gauge is capable
of having an extended portion at the base of the guiding pipe that extends the
propagation distance of the ultrasonic wave guided by this guiding pipe. A helical
portion or a slanting portion may be provided in the guiding pipe to make the
ultrasonic wave transmitted by the ultrasonic transceiver enter the test surface in a
slanting direction. Since the ultrasonic wave making a round trip between ultra-
sonic transceiver and the liquid surface is guided by the guiding pipe, reflection of
the ultrasonic wave by any of the inner walls of the tank does not occur. As a
result, any measurement error due to the reflection by the inner walls of the tank,
other than the liquid surface, can be prevented. It can also minimize the
measurement error of the liquid level of the test surface even when the liquid is
shaken, as in a fuel tank inside a car, while the car is moving.
Tiltmeters or inclinometers can be used in situations where the fluid tank can
experience sloppy surfaces such as rough roads in hilly areas. Nawrocki [41]
described a method that incorporates an inclinometer into a fuel gauging device.
The level signal from the fuel level sensor can be transmitted to the fuel gauge
only when the vehicle is tilted less than a predetermined degree. To accomplish
this, a signal from the fuel sensor is passed through to the display by a micro-
processor only when the vehicle is substantially level and not accelerating or
decelerating. When the level condition is met, the signal indicative of the amount
of fuel left in the tank is stored in the microprocessor memory and displayed on the
fuel gauge, and is updated again when the vehicle reaches the next level condition.
Alternatively, a correction factor matrix stored in the memory can be applied to
the signal received from the fuel sensor to calculate a corrected signal indicative
of the amount of fuel remaining in the fuel tank. Figure 2.13 shows an overview of
the method described by Nawrocki [41].
Breed et al. [42] described a fuel level measurement system that measures the
quantity of fuel in a tank using one or more load cells or fuel level measuring
devices and other sensors to measure the pitch or roll angle of the vehicle. A
processor and algorithm, which may be a look-up table or formulae, are combined
to correct for the inaccuracies arising from the pitch and roll angles of the vehicle,
other external forces, or from variations in fuel density. This method supports a
variety of different fuel measuring transducers which by themselves give an
inaccurate measurement of the quantity of fuel in the tank, but when combined
with an empirically derived algorithm results in a highly accurate fuel quantity
2.5 Effects of Liquid Sloshing 29
Cable duct
Ultrasonic
transceiver
Measuring
chamber
Averaging method is another method besides the mechanical dampening that can
compensate for the sloshing effects and produce better level readings. This sta-
tistical method generally collects the past sample values and determines the future
level reading by using different calculation techniques. There have been a few
different averaging techniques applied in the past that include a simple Arithmetic
Mean, Weighted Average, and Variable Averaging Interval.
Arithmetic mean or simply mean is the traditional method of averaging the level
sensor readings. The mean value of the sampled signal x = [x1, x2, x3 ,…, xn] for n
number of samples is calculated using:
1X n
meanðxÞ ¼ x ¼ xi ð2:9Þ
n i¼1
Weighted average is similar to the simple averaging method, except that there are
additional weights (w) assigned to each element in the sample signal x = [x1, x2,
x3,…,xn]. In the absence of the weights, all data elements in x contribute equally to
the final average value. But, with the usage of the additional weights (w), the final
average can be controlled. If all the weights are equal, then the weighted mean is the
same as the arithmetic mean. The weighted average of a signal x = [x1, x2, x3,…,xn]
and the weights w = [w1,w2,w3, …,wn] for n number of sampled points can be
calculated using:
Pn
w i xi
Wmean ðxÞ ¼ x ¼ Pi¼1 n ; wi [ 0 ð2:13Þ
i¼1 wi
In the variable averaging method, raw sensor readings are averaged at different
time intervals depending on the state or motion of the vehicle. During static
conditions, when the vehicle is stationary or when the vehicle is operating at a low
speed, the averaging time is reduced to a small interval to quickly update the
sensor readings by assuming that there will be negligible slosh. During the
dynamic conditions, the averaging period is increased for averaging the sensor
readings over a longer period of time. Normally, a speed sensor is used to
determine the running state of the vehicle.
Kobayashi et al. [46] described a sensor that uses digital signals as opposed to
analog signals to determine the fluid volume in a fuel storage tank. The digital fuel
volume measuring system can indicate the amount of fuel within a fuel tank
precisely in the unit of 1.0 or 0.1 l. The volume detection signals are simply
averaged during a relatively short averaging time period at regular measuring
cycles when the vehicle is being refueled, and further weight-averaged or moving-
averaged at regular measuring cycles when the vehicle is running. Therefore, fuel
volume can be indicated quickly at a short response speed when the vehicle is
being refueled and additionally fluctuations in the fuel volume reading can be
minimized when the vehicle is running. Further, the system discloses the method
of detecting the state where the vehicle is being refueled on the basis of the fact
that the difference between at least one of the current data signal indicative of fuel
volume and at least one of the preceding data signal indicative of fuel volume
exceeds a predetermined value [46].
Guertler et al. [47] described a process that determines the quantity of a liquid
contained in a largely closed system. The liquid fluctuations in a dynamic or a
moving vehicle can produce erroneous results. These fluctuations can be calcu-
lated out as the result of the predetermined dependence of the liquid level and
therefore of the amount of fluid from the driving condition and, in addition, can be
2.5 Effects of Liquid Sloshing 33
2.6 Summary
References
1. Everest FA (2001) The master handbook of acoustics, 4th edn. McGraw-Hill, New York
2. Bruneau M, Scelo T (2006) Fundamentals of acoustics. ISTE Ltd, London
3. The Nature of a Sound Wave. www.physicsclassroom.com/Class/sound/U11L1c.html
4. Kuttruff H (1991) Ultrasonics—fundamentals and applications. London, Elsevier Applied
Science
5. Jewett JW, Serway RA (2004) Physics for scientists and engineers, 6th edn. Thomson,
Toronto
6. Cheeke J, David N (2002) Bulk waves in fluids. Principles and applications of ultrasonics.
CRC, Boca Raton, pp 39–58
7. Carlin B (1960) Ultrasonics, 2nd edn. McGraw-Hill, New York
8. Paulsen MT, (inventors), Pasteur S (Diagnostics assignee) (1992) Diagnostics assignee.
Method of and device for fluid surface detection using an ultrasonic transducer
9. Wang Y (1993) Switch-mode ultrasonic wave RF burst emission circuit. In: International
conference on acoustic sensing and imaging, pp 172–177
10. Suzuki H (inventor) (1978) Method for damping an ultrasonic transducer
11. Durkee, SR (inventor), Simmonds Precision Products, Inc. (assignee) (2004) Ultrasonic
system and method of gauging aircraft fuel and detecting battle damage Patent no. 6957582
12. Koblasz A, Hollister J, Alexander D (inventors), The Coca-Cola Company (assignee) (1983)
Ultrasound level detector. Patent no. 4559979
13. Ellinger SM, Jones HP (inventors), Simmonds Precision Products, Inc.; Edo Corporation
(assignee) (1987) Ultrasonic fuel quantity gauging system. Patent no. 4815323
14. Palmer SB, Primavesi GJ (inventors), Bestobell Mobrey Limited (assignee) (1980) Liquid
level sensor. Patent no. 4316183
15. Getman I, Lopatin S, Muller R (inventors), Endress Hauser GmbH Co. (assignee) (1998)
Method and assembly for overfill detection in liquid level sensing in a vessel by the pulse
transit time technique. Patent no. 6142015
16. Lichte LJ (inventor) (1994) Container and adaptor for use with fluid volume sensor. Patent
no. 5586085
17. Marini J, Roi ML, Heinrich J-P, Champs-sur-Marne (inventor), Framatone & Cie,
Courbevoie, France (assignee) (1985) Method of ultrasonic measurement of the ratio of
the volume of gas present in an enclosure. Patent no. 4,491,008
18. Betts JWC, Timothy AB, David A (inventor), Caterpillar Inc., Peoria (assignee) (1994)
Ultrasonic fuel level sensing device. Patent no. 5,319,973
19. Forgue JR (inventor), TI Group Automotive Systems, L.L.C. (Warren, MI, US) (assignee)
(2003) Fluid level sensor. Patent no. 6993967
20. Combs CM, Goodwin Jr, Perry H (inventors), Robertshaw Controls Company (assignee)
(1978) Adjustable ultrasonic level measurement device. Patent no. 4221004
21. Durkee SR (inventor), Simmonds Precision Products, Inc. (assignee) (2000) Ultrasonic liquid
gauging system. Patent no. 6236142
22. Birkett RE (inventor), Simmonds Precision Product, Inc. Akron, Ohio (assignee) (1993)
Ultrasonic transducer assembly for measuring liquid level. Patent no. 5410518
23. Puttmer A, Hauptmann P, Henning B (2000) Ultrasonic density sensor for liquids. IEEE
Trans Ultrason Ferroelectr Freq Control 47(1):8
24. Borenstein J, Koren Y (1992) Noise rejection for ultrasonic sensors in mobile robot
applications. In: IEEE international conference on robotics and automation proceedings,
vol 2, pp 1727–1732
25. Soltz DJ (inventor), Fischer & Porter Co. (assignee) (1987) Parasitic echo pulse rejector for
ultrasonic liquid level meter. Patent no. 4821569
26. Durkee SR (inventor), Simmonds Precision Products, Inc., Akron, Ohio (assignee) (1999)
Processing echoes in ultrasonic liquid gauging systems. Patent no. 5856953
References 35
27. Kumar L (inventor), Simmonds Precision Products, Inc. (assignee) (1993) Apparatus and
method for discriminating true and false ultrasonic echoes. Patent no. 6046960
28. Ibrahim RA (2005) Introduction. Liquid sloshing dynamics: theory and applications.
Cambridge University Press, Cambridge, p xvii
29. Ibrahim RA (2005) Liquid sloshing dynamics: theory and applications. Cambridge:
Cambridge University Press
30. Kim H-S, Lee Y-S (2008) Optimization design technique for reduction of sloshing by
evolutionary methods. J Mech Sci Technol 22:25–33
31. aus der Wiesche S (2003) Computational slosh dynamics: theory and industrial application.
Comput Mech 30(5–6):374–387
32. Dai L, Xu L (2006) A numerical scheme for dynamic liquid sloshing in horizontal cylindrical
containers. Proc Inst Mech Eng Part D J Automob Eng 220(7):901–918
33. Modaressi-Tehrani K, Rakheja S, Sedaghati R (2006) Analysis of the overturning moment
caused by transient liquid slosh inside a partly filled moving tank. Proc Inst Mech Eng Part D
J Automob Eng 220(3):289–301
34. Sinha NC, Pal SK, Bhattacharyya RK (2001) Experimental investigation of slosh dynamics
of liquid-filled containers. Exp Mech 41:63–69
35. Liu D, Lin P (2008) A numerical study of three-dimensional liquid sloshing in tanks.
J Comput Phys 227(8):3921–3939
36. Kita KE, Katsuragawa J, Kamiya N (2004) Application of Trefftz-type boundary element
method to simulation of two-dimensional sloshing phenomenon. Eng Anal Boundary
Elements 28(2004):677–683
37. Pal NC, Bhattacharyya SK, Sinha PK (2001) Experimental investigation of slosh dynamics of
liquid-filled containers. Exp Mech 41(1):63–69
38. Arafa M (2006) Finite element analysis of sloshing in rectangular liquid-filled tanks. J Vib
Control 13(7):883–903
39. aus der Wiesche S (2003) Computational slosh dynamics: theory and industrial application.
Comput Mech 30(5):374–387
40. Kikuta M, Takahashi T, Terayama T, Hasegawa K, Hayashi C (inventors), Toyoda Gosei Co.,
Ltd. (assignee) (1988) Ultrasonic level gauge. Patent no. 4909080
41. Nawrocki R (inventor), FORD MOTOR CO (US) (assignee) (1990) Apparatus and method
for gauging the amount of fuel in a vehicle fuel tank subject to tilt. Patent no. 5072615
42. Breed DS, Wilbur E, Johnson WC (inventors), Automotive Technologies International Inc.
(assignee) (2003) Method and apparatus for measuring the quantity of a liquid in a vehicle
container. Patent no. 6892572
43. Voss W, Iserlohn (DE) (inventor) Werner Turck GmbH & Co. KG, Halver (DE) (assignee)
(2004) Ultrasonic filling level sensor. Patent no 7168314
44. Gazis DC, KW Francis, von Gutfeld RJ (inventors), International Business Machines
Corporation (assignee) (1996) Ultrasonic liquid level gauge for tanks subject to movement
and vibration. Patent no. 5,793,705
45. Tsuchida T, Okada K, Okuda Y, Kondo N, Shinohara T (inventors), Toyota Jidosha Kogyo
Kabushiki Kaisha (assignee) (1981) Method of and apparatus for indicating remaining fuel
quantity for vehicles. Patent no. 4402048
46. Kobayashi H, Obayashi H (inventors), Nissan Motor Company, Limited (assignee) (1983)
Fuel volume measuring system for automotive vehicle. Patent no. 4611287
47. Guertler T, Hartmann M, Land K, Weinschenk A (inventors), Daimler Benz AG (DE)
(assignee) (1997) Process for determining a liquid quantity, particularly an engine oil
quantity in a motor vehicle. Patent no. 5831154
48. Kobayashi H, Kita T (inventors), Nissan Motor Company, Limited (assignee) (1982) Fuel
gauge for an automotive vehicle. Patent no. 4470296
http://www.springer.com/978-3-319-00632-1