BACKGROUND OF THE INVENTIONThe invention relates to the field of fluid or gas volume measurement and, more particularly, to a highly accurate measurement of fluid level under adverse conditions.
The measure of the fluid level in a container, particularly in a irregularly shaped container, can be accomplished by measuring the volume of gases above the liquid and subtracting from the known total volume of the container. Therefore, the same method may be used for measuring the volume of a gas or a liquid.
The measurement of fluid levels as in the gasoline tank of a vehicle has relied, almost exclusively, on some type of float device coupled to a potentiometer. While such an arrangement can provide a rough estimate of the fuel remaining in the tank, it is inaccurate under the best of conditions and is subject to many error-causing factors. The inherent inaccuracy is due to such things as the increasingly shallower tanks of present day vehicles, the irregular shapes of most tanks and the mechanical problems of the float/potentiometer combination. Variable factors include the effects of driving terrain and vehicle loading. With the use of a voltage or current meter as the readout device, there was no need or demand for precise measurement, but with the present day use of microprocessors and digital readouts, as well as the emphasis on fuel conservation, a more accurate measurement and readout are both possible and desirable. The same measuring arrangement can, of course, be applied to the measurement of the volume of a container, the volume of gas above a liquid in a container or the amount of liquid in a container. It would be desirable to have an arrangement which can very simply be adapted to different sizes of container. It would also be desirable to additionally provide an indication when the container is left uncapped. Additionally, it would be desirable to utilize a basic liquid volume measurement to provide a corollary reading such as miles per gallon in a vehicle.
SUMMARY OF THE INVENTIONIt is, therefore, an object of the present invention to provide a highly accurate measurement of the volume of gases in a container.
It is an additional object to utilize such a measurement in terms of liquid in the container.
It is a particular object to provide such a measurement of the instantaneous liquid volume on a continuing basis and under all conditions.
It is another object to provide such a measuring scheme which is easily adaptable to different containers.
It is still another object to provide a means of detecting when a container is open to the surrounding atmosphere.
It is yet another object to utilize the measurement of fluid level to provide a corollary reading of level change such as miles per gallon.
These objects and others which will become apparent are provided in an arrangement in accordance with the present invention wherein two transducers are mounted separately in the walls of a rigid-walled container and the outer side of each is enclosed in a relatively small housing, the air pressure in each housing being essentially the same as in the larger container. One transducer is driven at a low frequency, to produce sonic pressure waves in the gases contained in the container. The second transducer detects the pressure waves and produces an output signal which is a function of the volume of the gases. All effects of atmospheric pressure, temperature and humidity are canceled out since the "spring" of the cone suspension of the first transducer becomes essentially the compliance of the trapped air behind the cone. In addition, the frequency at which the driver transducer is driven should be low enough that air or gas pressure over the entire tank is essentially uniform; i.e., the wave length being much larger than the largest dimension of the container.
BRIEF DESCRIPTION OF THE DRAWINGFIG. 1 is a cut-away view of the container arrangement combined with a block diagram of a logic circuit for measuring liquid volume.
FIG. 2 is a simplified cut-away view of a tank with a driver transducer.
FIG. 3 is an equivalent circuit of the arrangement of FIG. 2.
FIG. 4 is a simplified version of the equivalent circuit of FIG. 3 for optimized operating conditions.
FIG. 5 is a cut-away view of a detail of a preferred embodiment.
FIG. 6 is a diagram of a complete system utilizing the invention.
DETAILED DESCRIPTION OF A PREFERRED EMBODIMENTThe measuring device described herein is adaptable to the measurement of both gas and liquid volumes, as will be apparent, but will be described generally in the environment of a fuel tank. Measurement of the fuel volume will be accomplished by measuring the volume of gas (air and fuel vapor) and calculating the volume of fuel.
As shown in FIG. 1, afuel tank 10 has two transducers mounted within the trapped air space above the liquid fuel. One transducer is adriver 12 which is driven from a 20Hz source 14, clocked by aclock 16. It is to be noted that the frequency value of 20 Hz is merely a typical value. The actual frequency will be determined by several parameters of the system. The second transducer is asonic pressure sensor 18, the output of which is coupled through a logic block #1 to an A/D converter 20. In the logic block #1, the output signals from thesensor 18 are converted to the desired form. The digital output of theconverter 20 would be coupled to alogic block #2 wherein the necessary calculations of volume would be made. The calculation could include determining the volume of gas by comparing the output of the A/D converter 20 with a reference number determined by the total tank volume, then subtracting volumes to obtain the volume of liquid in the tank. Thus, the same device can be utilized in different tanks by changing the reference number. The output of thelogic block #2, representing liquid volume, can then be displayed by adigital readout device 24 such as an LED display. A typical display might have three digits, giving readings to the nearest tenth of a gallon. Ahousing 30, which may be divided as shown or may consist of two separate housings, encloses the backs of thetransducers 12, 18. The volume of air contained in thehousing 30 will normally be very small compared to the volume of thetank 10.
FIG. 2 shows thetank 10 with thedriver transducer 12 mounted in a wall of the tank and with a small housing 30' enclosing the back of the transducer. Thetransducer 12, as shown here, might be a small speaker with a liquid-proof cone. When the speaker coil is driven, as by the 20Hz source 14, the gas above the fluid in the tank is compressed and released in proportion to the total volume of gas. As a simplified example of this operating principle, a cork may be pushed down more easily into the neck of a nearly empty bottle than it can into a nearly full bottle.
FIG. 3 is an equivalent circuit for the arrangement of FIG. 2 with a current applied to the driver coil 12' oftransducer 12. D represents the force produced by the driver coil and equals Bli where B is the speaker airgap flux density (Weber/m2), l is the length of wire on the cone driver coil (meters), and i is the current in the coil (amperes). RSD is the damping resistance of thedriver coil 12'. CAS is the acoustical compliance of the suspension of thecone 12" and RAS is the acoustical resistance. MAT is the equivalent acoustical mass of the air in thetank 10; CAT is the compliance. RAT is the acoustical resistance of thetank walls 10. CAR is the acoustical compliance of the air in thehousing 30 and MAR is the equivalent acoustical mass. RAR is the acoustical resistance of the housing walls. RAB1 and MAB1 are the equivalent acoustical resistance and mass of the air bleed 34 between thetank 10 and the housing 30' . RAB2 and MAB2 are the equivalent acoustical resistance and mass of the air bleed 36 from thetank 10 to the outside air. PREF is the zero pressure or reference pressure at the tank walls and PD, the pressure at the driver cone, is D/SD where SD is the area of the cone (meters2). PT is the sound pressure in the tank. VEL indicates the volume velocity of the diaphragm (m3 /SEC).
If the driver D of FIG. 3 is driven from a constant current source, RSD approaches zero. If the air space in the speaker housing is very small compared to the volume of the tank, the reactance of the air compliance is large compared to CAS, MAD and RAS. If the frequency of the driver D is low enough so that the pressure over the internal surface of the tank is uniform, the reactance of MAT is small compared to CAT. Also, if the tank walls are rigid enough so that essentially all of the energy of compression is reflected, RAT is small compared to the reactance of CAT. Under these preferred operating conditions, the equivalent circuit becomes the simplified circuit shown in FIG. 4. The sound pressure PT can be shown to be independent of barometric pressure under these conditions and, since the volume of the tank is much larger than the volume of air behind the speaker, PT (BliVR)/(SD VT). Thus, it may be seen that PT is inversely proportional to the volume of trapped air in the tank. If it is desired to use the device to measure the amount of liquid in a tank of known size, it is a simple matter to calculate the answer from an accurate measure of the air volume. Also, if the tank or container should be left open to the outside air, as by the gas tank cap being removed or not replaced, the volume of the tank VT would register as essentially infinite and this greater-than-maximum reading could be used to provide an indication thereof, such as an audio or visual alert signal.
The sensor diagram of FIG. 5 depicts one possible embodiment of thesensor 18 and shows a portion of thetank wall 10 and thehousing 30" surrounding the back of thesensor 18. In this embodiment, the sensor utilizes a very small (on the order of one inch diameter) tweeter including adomed diaphragm 40 of aluminum or plastic with an addedmass 42. Aneoprene membrane 44 serves as a flexible connection to arigid ring 46 which is mounted on the inner wall oftank 10. Avoice coil 48 is attached to themembrane 44 and the magnetic field is supplied by a magnet structure 50 which may be supported by thehousing 30".
An entire system for measuring liquid level or liquid volume is shown in FIG. 6. Thelow frequency source 14 is coupled through anamplifier stage 52 to thedriver transducer 12 and to amultiplier stage 54 in the logic block #1. Thepressure sensor 18, which may be similar to a condenser microphone, is also coupled to the logic block #1. Thesensor 18 output signal is amplified in anamplifier 56, filtered in a narrowband pass filter 58, and multiplied by the signal from thesource 14 in themultiplier 54. Themultipler 54 output signal is then filtered in a DC filter (0-1 Hz) 62 and coupled to a combiningcircuit 64. The combining circuit also receives a linearity reference signal from alinearity control 66. It is to be noted that, while abattery 68 is shown as the DC source for the linearity control and also for a zeroset control 70, it may be desirable to derive the DC source from thedriver 14 signal (rectified). The output signal of the combiningcircuit 64 is coupled to adivider 72 for division by a reference signal from a maximumvolume reference source 74. The output signal from thedivider 72 is coupled to a combiningcircuit 76 which also receives a zero volume reference signal from the zero reference setcontrol 70.
The output signal of the logic block #1 is thus a function of the measured volume of liquid in a tank of known size. This output signal could be coupled directly to alogarithmic meter 80. However, the increased accuracy of measurement of this system would be better utilized by a digital volt meter. As is known in the art, such a meter may include the A/D converter 20, thelogic block #2 and thedisplay 24. Theconverter 20 could be an integrated circuit such as the Motorola MC1505. Thelogic block #2 could comprise a digital logic subsystem such as the Motorola MC14435 with a BCD-to-seven segment latch/decoder/driver such as the Motorola MC14511. Other digital readout circuits could, of course, be utilized.
The signal at the output of thecombiner 76 is proportional to the volume of gases in thetank 10. If that signal is termed Eg, then Eg =C1 (Vg -V0)/V0 +C2 where Vg is a voltage proportional to the force on thedriver cone 12" and is adjusted by thelinearity control 66. V0 is the output signal from thesensor 18. C1 is a constant voltage established by the maximumvolume reference source 74, and C2 is a constant voltage established by the zeroset control 70. It will be apparent that, since the volume of liquid equals the volume of the tank minus the measured volume of gases, the setting of C2 can include this substraction function. It is also to be noted that if the volume of thehousing 30" is much less than the minimum volume of gases in thetank 10; for example, the expansion space in the tank, the function of the combiningcircuit 64 may not be needed since Vo will then be much smaller than Vg, making Vg -Vo essentially equal to Vg.
The signal from the combiningcircuit 76 could also be used in combination with other signals relating to other parameters such as in obtaining a continuous miles-per-gallon reading for a vehicle engine by coupling the signal from the combining circuit to adifferentiator circuit 84. The output signal of the differentiator, the rate of change of volume of liquid, could be coupled to adivider circuit 86 and divided therein by a signal from a velocity detector 88 (as used in a speedometer). The output of thedivider 88 will therefore be function of Vel./(dVol./dt) and can be displayed in a miles-per-gallon indicator 90.
Another way in which the measurement of volume can be utilized is to measure the miles traveled between a pair of predetermined volume levels (such as 10 gal., 9 gal.), to calculate the miles-per-gallon for that volume difference, and to display that figure until the next calculation is made (for the values 9 gal., 8 gal.).
Thus, there has been shown and described a system capable of measuring gas volume, liquid volume, rate of change of liquid volume and miles traveled for a set volume of liquid (fuel) used. Other modifications and variations of the invention are possible and it is intended to cover all such as fall within the spirit of scope of the appended claims.