METHOD AND APPARATUS FOR DISCRIMINATING ULTRASONIC ECHOES USING WAVELET FUNCTION PROCESSING

Abstract: A method of and apparatus for discriminating among ultrasonic echoes reflected from various objects in a tank containing liquid is disclosed. Ultrasonic signals are generated from an ultrasonic transducer into liquid contained in a tank. Ultrasonic echoes are received by the transducer from various objects in the tank including a surface of the liquid in response to the generated ultrasonic signal and are converted into electrical echo signals representative thereof. Data samples of the electrical echo signals are generated and processed by a signal processor using wavelet function processing to generate wavelet coefficients thereof in a wavelet domain. The wavelet coefficients of the echo data samples are used to discriminate the ultrasonic echoes reflected from the various objects in or part of the tank. In one embodiment, echoes reflected from the liquid surface are discriminated from echoes reflected from other objects based on the wavelet coefficients of the echo data samples of each. In another embodiment, energy of each of the ultrasonic echoes determined from the wavelet coefficients thereof is used to discriminate the ultrasonic echoes from the various reflective surfaces.

Description: METHOD AND APPARATUS FOR DISCRIMINATING ULTRASONIC ECHOES USING WAVELET FUNCTION PROCESSING Background of the Invention The present invention is directed to the ultrasonic measurement of liquid quantity in a tank, in general, and more particularly to, a method of and apparatus for discriminating among ultrasonic echoes reflected from various objects in the tank containing liquid using 5 wavelet function processing. Generally, in ultrasonic liquid measurement systems, an ultrasonic transducer is disposed at a tank containing a liquid for measuring the quantity of liquid therein. The ultrasonic transducer is excited to produce ultrasonic pulses into the liquid and receive 10 echoes from the liquid surface and various objects that may be disposed in or a part of the tank. The received echoes are converted into electrical signals by the transducer for down stream electronic signal processing thereof. A metal target or pin is usually disposed at a fixed and predetermined distance from the ultrasonic transducer 15 40 within the tank so as to compute the speed of the ultrasonic pulse through the liquid in the tank. Briefly, since speed is equal to distance per unit time, then knowing the distance to the target and time over which an ultrasonic pulse is generated and its echo from the target received, speed of the ultrasonic pulse may be calculated. 20 Accordingly, knowing the speed and being able to measure the round trip time from when an ultrasonic pulse is generated until its echo reflected from an object, like the fluid surface, for example, is received, the distance to the reflected object may be calculated. With a prior knowledge of the tank geometry and the distance to the 25 liquid surface, the liquid quantity in the tank may be calculated. This ultrasonic liquid measurement process seems straightforward. A problem however is being able to discriminate among the echoes reflected from the various objects within the tank in response to the generated ultrasonic pulse. In other , ords, which 30 received echo is being reflected from which object within the tank. In particular, it is important to determine the difference between an echo reflected by the liquid surface and an echo reflected from an object with ,a different acoustic property (e.g. impedance) from that of the * liq id surface, like the fixed target or tank sides or top, 35 for example. An embodiment of a method and apparatus for discriminating among echoes reflected from various objects within the tank containing liquid will now be described. Summary of the Invention In accordance with one aspect of the present invention, a method of discriminating among ultrasonic echoes reflected from various objects in a tank containing liquid comprises the steps of: generating an ultrasonic signal in the tank of liquid; receiving ultrasonic echoes reflected from various objects in the tank including a surface of the liquid in response to the generated ultrasonic signal; converting the received ultrasonic echoes into electrical echo signals representative thereof; sampling the electrical echo signals in time to generate data samples thereof; processing the data samples of each echo using a wavelet function to generate wavelet coefficients thereof in a wavelet domain; and discriminating the ultrasonic echoes reflected from the various objects based on the wavelet coefficients of the echo data samples. In one embodiment, the method step of discriminating includes discriminating an echo reflected from the liquid surface from echoes reflected from other objects based on the wavelet coefficients of the echo data samples of each. In another embodiment, the method step of discriminating includes determining an energy of each ultrasonic echo from the wavelet coefficients thereof; and discriminating the ultrasonic echoes based on the determined energies thereof. In accordance with another aspect of the present invention, apparatus for discriminating among ultrasonic echoes reflected from various objects in a tank containing liquid comprises: means for exciting the ultrasonic transducer to generate an ultrasonic signal in the tank, the ultrasonic transducer converting the received ultrasonic echoes into electrical echo signals representative thereof; means for sampling and digitizing the electrical echo signals in time to generate digitized data samples thereof; and means for processing the digitized data samples of each echo using a wavelet function to generate wavelet coefficients thereof in a wavelet domain and to discriminate the ultrasonic echoes reflected from the various objects based on the wavelet coefficients of the echo data samples. In one embodiment, the apparatus includes a buffer memory for storing the digitized data samples of each reflected echo, and a programmed digital processor for processing the digitized data samples. The programmed digital processor may include a program for discriminating an echo reflected by the liquid surface from echoes reflected by objects with different acoustic properties from the liquid surface based on the wavelet coefficients of the echo data samples thereof. In another embodiment, the tank may be an aircraft fuel tank and the liquid comprising aircraft fuel. Brief Description of the Drawings Figure 1 is an illustration of an exemplary environment for embodying the present invention. Figure 2 is a cross-sectional illustration of one embodiment of the present invention. Figure 3 is another cross-sectional view of the embodiment of depicted in Figure 2. Figures 4A through 4K are graphs of exemplary echoes received from various objects within the tank of liquid of the embodiment of Figure 2. Figures 5 and 6 are wavelet time-frequency graphs illustrating the resulting wavelet coefficients from a wavelet function processing of echoes received from two different metal slabs in accordance with the embodiment of Figure 2. Figure 7 is a wavelet time-frequency graph illustrating the resulting wavelet coefficients from a wavelet function processing of an echo received from a target or metal pin in accordance with the embodiment of Figure 2. Figures 8 through 14 are wavelet time-frequency graphs illustrating the resulting wavelet coefficients from a wavelet function processing of echoes received from a liquid surface at various angles of incidence in accordance with the embodiment of Figure 2. Figure 15 is a functional block diagram of an embodiment for wavelet function processing suitable for use in the embodiment of Figure 2. Description of the Preferred Embodiment An exemplary environment for the embodiment is illustrated in Figure 1. In such an environment, the tank 10 and motion table 16 are intended to model an aircraft fuel tank on-board an aircraft that may undergo pitch and roll motion, and the liquid is intended to model fuel in an aircraft fuel tank. It is understood, however, that the principles of the present invention should not be limited in any way, shape or form based on the particular tank being used or liquid contained therein. Referring to Figure 1, a tank 10 of a rectangular cross-sectional form having top, bottom and sides of metallic material contains a quantity of liquid 12, which for the present example may include a fuel or fuel-like hydrocarbon at a liquid level 14 within the tank 10. A metal slab 13 and at least one metal target or pin 15 may be disposed within the tank 10 for purposes that will be better understood from the description hereinbelow. The tank, slab and target may each be made from materials or substances other than metal so long as the acoustic properties thereof (e.g. acoustic impedance) are not similar to the liquid acoustic properties. The tank 10 is disposed on a platform 16, which may be a motion table, for example. The tank is oriented on the table 16 to have one side 18 parallel with an Y-Z plane of a three dimensional X, Y and Z axis Cartesian coordinate system shown at 20. Another side 22 of the tank 10 is oriented parallel to an X-Z plane of the Cartesian coordinate system. In the present model, pitch motion 24 is simulated in the X-Z plane by coupling the table 16 to an electrical motor and conventional gear box assembly represented in the illustration of Figure by the block 26 via a shaft 28 that is substantially perpendicular to the X-Z plane. Accordingly, the motor and associated gearbox 26 may control the movement of the table and tank through clockwise and counterclockwise pitch angles in the X-Z plane as would normally occur during a flight of an aircraft. Likewise, roll motion 30 is simulated in the Y-Z plane coupling the table 16 to another electrical motor and conventional gear box assembly represented in the illustration of Figure by the block 32 via a shaft 34 that is substantially perpendicular to the Y-Z plane. And, similarly, the motor and associated gearbox 32 may control the movement of the table and tank through clockwise and counterclockwise roll angles in the Y-Z plane as would normally occur during a flight of an aircraft. In Figure 2 is shown an illustration of the tank 10 in a cross sectional view along an X-Z plane. An ultrasonic transducer 40 which may be of the type described in the copending U.S. patent application bearing application number 08/996,747, filed December 23, 1997 and assigned to the same assignee as the instant application, for example, is disposed at the tank 10. The U.S. patent application 08/996,747 is incorporated by reference into the instant application for describing in greater detail various elements of the embodiment. However, it is understood that any ultrasonic transducer conventional or otherwise may be used in the embodiment without deviating from the principles of the present invention. In the present embodiment, the transducer 40 is disposed at the bottom of the tank 10 and generates ultrasonic signals represented by lines 42 upward toward the slab 13, the target 15, the liquid surface 14, and tank sides and top. In response to the generated ultrasonic signal, ultrasonic echoes are reflected from the liquid surface 14, slab 13, target 15 and the sides and top of the tank back to the transducer 40 where they are received and converted into electrical signals representative of the ultrasonic echoes. The slab (plan) 13 is included to show by way of example that the characteristics of a time-frequency map of echoes (which will become more apparent from the description hereinbelow) are due to differences in substance or material (i.e. air versus metal) and not due to difference in shapes (line or pin versus plan) . The angle of incidence of the fluid surface 14 may be varied by controlling the pitch motion of the table 16 as described in connection with the environment of Figure 1. A clockwise variation in pitch will result in the fluid surface at an orientation or angle of incidence as shown by the dashed line 14a with respect to the ultrasonic signal 42 and similarly, a counterclockwise variation in pitch will result in the fluid surface at an orientation or angle of incidence 14b. In Figure 3 is shown an illustration of the tank 10 in a cross sectional view along an Y-Z plane. The angle of incidence of the fluid surface 14 may be also varied by controlling the roll motion of the table 16 as described in connection with the environment of Figure 1. A clockwise variation in roll will result in the fluid surface at an orientation or angle of incidence as shown by the dashed line 14c with respect to the ultrasonic signal 42 and similarly, a counterclockwise variation in roll will result in the fluid surface at an orientation or angle of incidence 14d. Accordingly, the angles of incidence of the fluid surface and other objects, like the slab 13 and pin 15, in the tank 10 may be varied with respect to the ultrasonic signal 42 in a similar manner, as they would be during an aircraft flight. The target or pin 15 is disposed at a fixed and predetermined distance from the ultrasonic transducer 40 within the tank 10 so as to compute the speed of the ultrasonic signal 42 through the liquid 12. Briefly, since speed is equal to distance per unit time, then knowing the distance to the target 15 and time over which an ultrasonic signal is generated and its echo from the target is received, speed of the ultrasonic signal may be calculated. Accordingly, knowing the speed and being able to measure the time over which an ultrasonic signal is generated and its echo reflected from an object, like the fluid surface 14, for example, is received, the distance to the reflected object may be calculated. The problem is being able to discriminate among the echoes reflected from the various objects within the tank in response to the generated ultrasonic signal. In other words, which received echo is being reflected from which object within the tank. In particular, it is important to determine the difference between an echo reflected by the fluid surface and an echo reflected from an object, like the fixed target or tank sides or top, for example. An embodiment of a method and apparatus for discriminating among echoes reflected from various objects within the tank containing liquid will now be described. Referring back to Figure 2 , an exciter circuit shown by the block 50 is coupled to the ultrasonic transducer 40 over signal lines 52 to cause the transducer 40 to generate an ultrasonic signal 42 within the tank 10 substantially along the dot-dashed line 54. The exciter circuit 50 may be of the type described in the above referenced U.S. patent application 08/996,747, for example. However, it is understood that any exciter circuit conventional or otherwise may be used without deviating from the principles of the present invention. The ultrasonic transducer receives ultrasonic echoes from various objects within the tank 10, like the slab 13, the surface of the fluid 14, the target 15, and the top and sides of the tank, for example, in response to the generated ultrasonic signal 42. In the present embodiment, the incidence angles were varied randomly by controlling the pitch and roll motions of the table 16 as described supra. Examples of echoes received from the various objects within the tank are shown in Figures 4A-4K. The echoes illustrated in Figures 4A and 4B are exemplary of echoes reflected from the metal slab 13, the echo illustrated in Figure 4C is exemplary of an echo reflected from the target 15, and the echoes illustrated in Figures 4D-4K are exemplary of echoes reflected from the liquid surface at various incidence angles in pitch and roll and combinations thereof . The reason for simulating the pitch and roll of a real aircraft in the present embodiment is to show that pitch and roll variations do not considerably affect time-frequency maps of the echoes as will become evident from the following description. All of the ultrasonic echoes are received by the ultrasonic transducer 40 and converted into electrical signal representations thereof. Figures 4A-4K are illustrations of the electrical signal representations of the foregoing described echo signals. The ordinate or Y-axis of each of the graphs of Figures 4A-4K represent a normalization of the echo between 1 and -1, and the abscissa of the graphs span between -2 x 10" 5 seconds and 2 x 10 "5 seconds. The placement of the echo within each graph has no absolute relevance. Rather, the echoes of the graphs of Figures 4A-4K are used for comparison purposes based on time and amplitude. The electrical echo signals form the transducer 40 are coupled to a sampling and digitizing circuit 56 over signal lines 58 wherein they are sampled and digitized to generate data samples of each echo signal. Conceptually, it does not matter how the signal is digitized, i.e. in real time or off line. In addition, the circuit 56 may be constantly sampling and digitizing through the interpulse periods or may be triggered to start sampling by a predetermined signal level detection depending on the application. The sampling frequency and computing horsepower may also vary based on the application. What matters is that at any given time there is a sufficient number of data samples to perform an analysis as will become more evident from the description hereinbelow. The minimum number of data samples depends on many factors such as the resolution of discrimination, the signal to noise ratio, and the wavelet shape to name just a few. The digitized data samples of each echo, which may span over a period of 20 to 40 microseconds, for example, are stored in a conventional buffer memory 60. In the present embodiment, the circuits 56 and 60 are embodied by a Tektronix oscilloscope bearing model number TDS460A, which operates at around 25 million, samples per second. A programmed digital processor 62 is coupled to the buffer memory 60 and is programmed for accessing and processing the data samples of each of the aforementioned exemplary echo signals using a wavelet function to generate wavelet coefficients thereof in a wavelet domain, and for discriminating the ultrasonic echoes reflected from the various objects based on the wavelet coefficients of the echo data samples. The programmed digital processor 62 may be of the type including a microprocessor manufactured by Intel Corporation bearing model number i486, for example, the operation of which being well known to all those skilled in the pertinent art. However, it is understood that any digital processor conventional or otherwise may be used in the present embodiment without deviating from the principles of the present invention. Wavelet processing of data samples of an echo has the advantage over other processing techniques of performing local analysis of the data samples in a time-frequency plan. This property is used to produce a 3-D map having a time variable in an X-axis, a scale variable in an Y-axis, and wavelet coefficients in a Z-axis. The scale variable is closely related to the signal frequency, i.e. the higher the scale, the lower the frequency. In the present embodiment, all data samples are scaled at substantially the same amplitude and at substantially the same time reference in order to permit the processor 62 to obtain results that are based solely on a time-scale (frequency) map of the echo data samples and not on the time map by itself only or on the frequency map by itself only (i.e. by using Fourier transform) . Because the exemplary echo waveforms as illustrated in Figures 4A-4K have a shape that resembles a Mexican hat in the time domain, the "Mexican hat" wavelet which is a well known wavelet function, is chosen for the present embodiment to perform the wavelet processing in the processor 62. An analytical expression for the Mexican hat wavelet is as follows: This choice for wavelet time-frequency analysis is considered to minimize the (nonzero) wavelet coefficients of echoes reflected from the liquid surface. The above expression may be substituted by any wavelet function in the equations found hereinbelow. Hence, the processing for discriminating echoes reflected by objects with different acoustic properties will be easier in the wavelet domain. Wavelet transforms provide a multiresolution analysis with dilated windows. In contrast to the Fourier transform where all frequencies are analyzed by a fixed width window, Wavelet transforms can provide an adaptive windowing technique for frequency analysis . High frequency analysis is done using narrow windows, whereas low frequency analysis is done using wide windows . Unlike the properties of Fourier transform that are universal, properties of wavelet transforms are closely dependent on the shape of the wavelet function ψ(t) . Conceptually, any of the well-known wavelets such as Daubechies wavelet, Morlet wavelet, Meyer wavelet, or any other wavelet function, may be used instead of the Mexican Hat for this wavelet analysis. In fact, it is possible to construct one's own wavelet function in order to solve specific problems. The following explanation may help to understand the wavelet transform of the present embodiment and its mathematical background. In the present embodiment, the multiresolution analysis is performed by the digital processor 62 using a Matlab program. The wavelet transform of a signal provides different details of the signal at different levels of resolutions. Each level of resolution defines a new vector space on which the original signal is projected. A projection is a mathematical operator that permits the approximation of the projected signal at the corresponding vector space. As we go further in decomposing the signal, the quality of the approximated signal becomes worse and worse. A wavelet representation provides a simple hierarchical framework for interpreting the signal information. The difference of information between two projections of the original signal /(x) at the levels of resolution 2 J and 2 J can be evaluated by decomposing the signal /(x) in a wavelet orthonormal basis. By translations and dilations of a single function ψ(x) , the mother wavelet, one may build the different elements of this basis. The resulting basis ( (Vsψ(sx — t)) t)eR+xR )) is used to represent any function of L (R) , where s is the scaling factor related to the frequencies of the signal /(x) , t is the time translation, R is the set of all real numbers, R + is the subset of R of all positive real numbers and L 2 (R) is the set of finite energy functions. This decomposition of the signal /(x) defines an orthogonal multiresolution representation called the wavelet representation, which will be described hereinbelow. Let A j be the operator which approximates the signal, f (x) , at the level of resolution 2 where (x) has finite energy: (f(x) eL 2 (R)i.e. J_ |f(x)| 2 dx < ∞ ) . intuitively, we would expect such an approximation operator to meet the following conditions: 1: A j is an involutive operator. This means that A j f(x), the approximation of f (x) at the resolution 2 J , is not modified if we approximate it at the same resolution 2 : A 2J ° A 2J = A 2J Hence A 2j is a projection operator on a particular space N 2 CZ L (R) . 2 : A 2 is orthogonal : The operator A must provide the most "similar" function (A ,f (x)) to f (x) among all the other possible operators in N 2 . Hence the projection A } on N 2 must be the minimum: VB 2J ≠ A 2j ,||B 2j f(x) - f(x)| > |A 2j f(x) - f(x)| In other words A 2 must be an orthogonal projection on N 2 . 3: A 2 is causal: It is obvious that the approximation of a signal at a resolution 2 contains all the necessary information to compute the same signal at a smaller resolution 2 J , but not conversely. This yields an important property of the associate vector spaces N 2 : Vj e Z,N 2 <z N 2 +1 4: A 2j is shift invariant: Suppose that the approximation A j f (x) is characterized by 2 J samples per length unit. When f (x) is translated by a length proportional to 2 _J , A j f(x) is translated by the same amount. Mathematically speaking, there exists an isomorphism I: N t — I (z). (I (z). is the space of square summable sequences: I Z (z) = < (α) ιeZ 3 ^|θC j | (∞ ) such that: I(A 1 f(x)) = (α 1 ) ιaZ I(A 1 f(x-k)) = (o 1 _ k ) ιβz 5: A 2 is consistent: A, has to provide a similar approximation of f (x) at all resolutions . Which yields : f(X) 6 N 2J <-> f(2X) E N 2J+1 6: A 2 is asymptotically convergent: As the resolution increases to +∞ the approximated signal should converge to the original signal; conversely as the resolution decreases to zero, the approximated signal contains less and less information and converges to zero: +00 +00 . limV 2J = N 2J , and li m N 2J = nN 2J = {0} j→∞ ∞ j→-∞ _co Any vector space (N_ j ) ]eZ that satisfies the above properties is called a multiresolution approximation of L (R) . The associated set of operators (A X z give the approximation of anyL (R) function at a resolution 2 J . How to build an orthogonal basis of (N j ) z will now be explained. It is shown that for a given vector space (N 2J ) / there exists a unique function φ(x) eL (R) , called the scaling function, such that (Λ/2 J φ j (x — 2 J n)) neZ is an orthonormal basis of V,, where, φ 2J (x) = 2 J φ(2 J x),VjeZ The orthogonal projection of the signal f (x) being analyzed on N j (i.e. the approximation of the signal f (x) at the resolution 2 J ) can be now computed by decomposing f (x) on the orthonormal basis (Vr Jx-2- J n)) neZ : Vf(x)eI (R), A 2J f(x) = 2- J J f(u),φ 2J (u-2- J n);ψ 2J (x-2- J n). n=-∞ Note, that the factor n discretizes the approximation of the signal f ix) . Hence, the discrete approximation of f (x) at the resolution 2 J is characterized by the following set of inner products where d is an index representing the specific data sample and /(u) represents a measure of the signal being analyzed at the sample d : A 2 d J f = ((f(u),φ 2J (u-2-n))) n£z By changing variables in the inner product, it can be shown that: f(u),φ 2J (u-2 "J n)) = 2, h(2n - k)(f(u),φ 2jW (u -2- - 1 k)) Equation (E) n=-co where ll(ll) is the impulse response of a discrete filter H (ω) that is a Fourier transform which may be configured for a specific wavelet function, like the Mexican hat wavelet, for example, by the following expression Ψ(2ω) = (H(ω)φ(ω)) . Let H be the discrete filter whose impulse response is given by: VneZ, h(n)= (φ 2 ,(u),φ(u-n)). H is called the mirror filter of H i.e.: VneZ, h(n) = h(-n). Accordingly, The scaling function φ(x) can be defined as the basic function such that the set (-v2 _J φ j (x — 2 J n)) n6Z forms an orthogonal basis of V, hich meets the above six conditions of a multiresolution vector space. In practice there are some conditions (i.e. the admissibility and the regularity conditions) put on φ(x) to be a scaling function. Recall that our goal is to build a multiresolution representation based on the differences of information at two successive levels of resolutions. This representation is possible by decomposing the signal /(x) on a wavelet orthonormal basis. The difference of information, called the detail signal , at the resolution 2 represents the lost details of the signal f (x) when moving from a fine resolution (N. jW ) to the right next coarser resolution ( N 2J ) . The idea is to decompose the finer multiresolution vector space N J+1 into a direct sum of N ; and O : , where O, is the orthogonal complement of V, on N J+1 , hence: o 2J ®v 2J = N 2J+J . In order to compute the orthogonal projection of f (x) on O s , one needs to find an orthonormal basis of O , . As the basis for N has been built by dilation and translation of the scaling function φ(x) , the same strategy will be used to build a basis for O j . The basic function for O j; denoted by ψ(x) , is the mother wavelet. Thus ( 2 J ψ j (x—2 "J n)) neZ is an orthonormal basis of O , and ( x x—2 _J n)"V(n ,)eZ „ 2 is an orthonormal basis of L (R) ' . It is worth noting that the mother wavelet, which may be the Mexican hat wavelet for the present embodiment, and the scaling function are related together in the frequency domain (i.e ψ(2w) = G(w)φ(w) ) . Accordingly, the Fourier transform filters H and G constitute a pair of quadrature mirror filters, i.e. (G(w)=e IW H(w+ π)), or equivalently in the discrete time domain: VneZ, g(n) = (-lf- n (l -n) , where g (n) is the discrete impulse response of the filter G(ω) configured for a wavelet function, like the Mexican hat wavelet, for example, and h(-n) is the discrete impulse response of the filter H(ω) described above. Now, let D j f be the discrete detail signal at the resolution 2 . This coefficient can be written as : D 2J f = ((f(u),ψ 2J (u-2- J n))) n6z ..τhus, f(u),ψ 2J (u-2-n))= ∑ g(2n-k)(f(u),φ 2J+1 (u-2- J - 1 k)) Equation n=-co (E') Equations (E) and (E') above describe the decomposition of the discrete projected signal (i.e.A J+1 f) into the approximation at a coarser resolution (A ,f) and into the signal detail (D 2J f) as depicted in the embodiment of Figure 15, wherein the discrete signal (i.e. approximation (A +lj f ) ) is decomposed into an approximation at coarser resolution (A j f ) , and into the detail signal (D f). Referring to Figure 15, in the filter blocks of H and G, the discrete signal A d 2 - +1 / is convolved with the respective filter H and G and in the functional block following each filter block, the samples output from the respective filter block are downsampled by selecting every one of two samples . The 3-D mapping results of the wavelet signal processing of the representative echoes of Figures 4A-4K according to the embodiment of Figure 15 using a sliding data sample window of a predetermined number of samples, like one hundred (100) samples, for example, are illustrated in Figures 5-14. Each illustration shows the wavelet coefficients of the 10 representative echoes in a time-frequency plan. Referring to Figures 5-14, by comparing the wavelet coefficients of each representative echo, it can be determined which echo is reflected by a non-liquid object and which is reflected by the liquid surface (regardless the incidence angle of the tank) . Unlike an echo reflected by a non-liquid object, like the target 15 or slab 13, for example, echoes reflected by the liquid surface are well localized in frequency. A practical criterion that may be implemented in a program of the processor 62 to differentiate between the two aforementioned kinds of echoes is to compute the energy of each echo, excluding the energy of the main lobe, in the wavelet domain. In the present embodiment, the energy of an echo is defined as the calculated volume of the shape or envelope limited by the amplitude of wavelet coefficients, time, and scale (i.e. frequency) in the wavelet domain as shown in Figures 5-14, each showing the energy of a corresponding one of the aforementioned representative echoes as the volume under the wavelet coefficient envelope in the time-frequency plan. These different energy values (excluding the energy in the main lobe) of 11 representative echoes are recorded in the first row of the following table. The second row of the table shows the energy ratio of the energy of a selected echo, like the echo reflected by the target (i.e. pin), for example, and the other echoes. It is recognized, from the above table, that the energy of an echo reflected by the fuel surface is at least 2 times higher than the energy of an echo reflected by a metal object (either in the form of a slab or a pin) . Hence, in the present embodiment, a program is provided to be executed in the processor 62 to differentiate between the two kind of echoes by computing the energies (excluding the energy of the main lobe) of the echoes and comparing them. In the present example, the echo that has the lower energy is the echo reflected by the liquid surface. The representative echoes may be categorized in two families: echoes reflected by objects inside the tank and echoes reflected by the fuel surface (air) . The recognized difference between the two categories is mainly due to the reflecting object (and not due to the angle of incidence or to the distance from the transmitter.) as demonstrated by the foregoing described wavelet analysis as recorded in the above table. Therefore, wavelets are shown to be an efficient tool to discriminate echoes reflected from various objects in the fuel tank. For instance, applying wavelets to differentiate between echoes reflected by a possible residual of water in the bottom of the tank from echoes reflected from the fuel surface or from echoes reflected by a target is possible using similar wavelet processing programs. Multiple echoes reflected by the fuel surface (regardless their angles of incidence) and echoes reflected by other targets may also be discriminated in accordance to the above described method. In fact, high order level (2 nd , 3 rd , etc.) echoes reflected by the fuel surface share a common frequency property (i.e. they are all reflected by the fuel surface) which makes them differentiable from echoes reflected by the target. Wavelet processing may also be applied to differentiate between multiple echoes (reflected by the fuel surface) themselves. In general, wavelet techniques could be used to discriminate between different echoes in fluids based on time-frequency properties . This notion could be extended to higher dimension signals. Consider for instance 2-D signals (images.). Discrimination between images of different objects could be done easily at the frequency-space hyper plan (after a wavelet analysis.) This discrimination might be very difficult at the frequency domain alone (Fourier transform) or at the space domain alone. Signals with higher dimensions (matrices) could also be addressed in this context. While the present invention has been described hereinabove in connection with a specific embodiment, it is understood that it should not be limited in any way to that embodiment or any equivalent embodiment, but rather construed in breadth and broad scope in accordance with the appended claims .

Claims: Claims We claim: 1. A method of discriminating among ultrasonic echoes reflected from various objects in a tank containing liquid, said method comprising the steps of : generating an ultrasonic signal in said tank of liquid; receiving ultrasonic echoes reflected from various objects in said tank including a surface of the liquid in response to said generated ultrasonic signal; converting the received ultrasonic echoes into electrical echo signals representative thereof; sampling said electrical echo signals in time to generate data samples thereof; processing said data samples of each echo using a wavelet function to generate wavelet coefficients thereof in a wavelet domain; and discriminating said ultrasonic echoes reflected from said various objects based on said wavelet coefficients of the echo data samples . 2. The method of claim 1 wherein the step of discriminating includes the step of discriminating an echo reflected from the liquid surface from echoes reflected from other objects based on the wavelet coefficients of the echo data samples of each. 3. The method of clam 1 wherein the step of discriminating includes the steps of: determining an energy of each ultrasonic echo from the wavelet coefficients thereof; and discriminating the ultrasonic echoes based on the determined energies thereof . 4. The method of claim 3 wherein the step of determining an energy of each echo includes the steps of establishing a wavelet coefficient envelope above a time-frequency plane in the wavelet domain for each echo; and calculating the volume under the wavelet coefficient envelope in the wavelet domain for each echo as representative of the corresponding energy thereof . 5. The method of claim 4 wherein the step of discriminating includes the step of comparing the calculated volumes of the echoes . 6. The method of claim 4 wherein the step of discriminating includes the steps of: selecting a volume of the calculated volumes; calculating a ratio of each volume of an echo to said selected volume; and discriminating the echoes based on a comparison of said volume ratios. 7. The method of claim 6 wherein the step of discriminating includes the step of discriminating an echo reflected from the liquid surface from echoes reflected from other objects based on the comparison of the volume ratios . 8. The method of claim 3 wherein the step of discriminating includes the step of comparing the determined energies of the echoes . 9. The method of claim 8 wherein the step of discriminating includes the step of discriminating an echo reflected from the liquid surface from echoes reflected from other objects based on the comparison of the energies thereof. 10. The method of claim 1 wherein the step of processing includes the step of processing said data samples of each echo using a "Mexican Hat" wavelet function to generate wavelet coefficients thereof in a wavelet domain. 11. The method of claim 1 wherein the tank includes at least two separable liquids, each having a different liquid surface from which to reflect the ultrasonic echo; and the step of discriminating includes the step of discriminating the ultrasonic echoes reflected from said different liquid surfaces based on said wavelet coefficients of the echo data samples. 12. The method of claim 1 wherein the step of discriminating includes the step of discriminating an echo reflected from the liquid surface independent of an angle of incidence of the liquid surface from echoes reflected from other objects based on the wavelet coefficients of the echo data samples of each. 13. The method of claim 1 wherein the step of discriminating includes the step of discriminating an echo reflected by the liquid surface from echoes reflected by other objects based on the wavelet coefficients of the echo data samples of each. 1 . Apparatus for discriminating among ultrasonic echoes reflected from various objects in a tank containing liquid, said apparatus comprising: an ultrasonic transducer disposed at the tank; means for exciting said ultrasonic transducer to generate an ultrasonic signal in said tank of liquid, said ultrasonic transducer for receiving ultrasonic echoes reflected from various objects in said tank including a surface of the liquid in response to said generated ultrasonic signal for converting the received ultrasonic echoes into electrical echo signals representative thereof,- means for sampling and digitizing said electrical echo signals in time to generate digitized data samples thereof; and means for processing said digitized data samples of each echo using a wavelet function to generate wavelet coefficients thereof in a wavelet domain and to discriminate said ultrasonic echoes reflected from said various objects based on said wavelet coefficients of the echo data samples. 15. The apparatus of claim 14 including a buffer memory for storing the digitized data samples of each reflected echo. 16. The apparatus of claim 14 wherein the processing means comprises a programmed digital processor. 17. The apparatus of claim 14 wherein the tank is an aircraft fuel tank and the liquid comprises aircraft fuel. 18. The apparatus of claim 17 wherein the processing means comprises a programmed digital processor including a program for discriminating an echo reflected by the fuel surface from echoes reflected by other objects based on the wavelet coefficients of the echo data samples thereof. 19. The apparatus of claim 18 wherein the digital processor includes a program for discriminating an echo reflected by the fuel surface independent of an angle of incidence of the fuel surface from echoes reflected by other objects inside the tank based on the wavelet coefficients of the echo data samples of each. 20. The apparatus of claim 17 wherein the tank includes aircraft fuel and at least one other separable liquid, each having a different liquid surface from which to reflect the ultrasonic echo; and wherein the processing means comprises a programmed digital processor including a program for discriminating the ultrasonic echoes reflected from said different liquid surfaces based on said wavelet coefficients of the echo data samples.

Inventors: DURKEE SCOTT ROBERT, SADOK MOKHTAR M, DURKEE, SCOTT, ROBERT, SADOK, MOKHTAR, M.
Applicants: SIMMONDS PRECISION PRODUCTS, SIMMONDS PRECISION PRODUCTS, INC.
Application year: 2001
Main classification: G01S7
IPC codes: G01F23, G01S7, H04R1