AUTOMATIC HYSTERESIS CORRECTION FOR ELECTROMECHANICAL LEVEL GAUGES
20180306634 ยท 2018-10-25
Inventors
Cpc classification
International classification
G01F25/00
PHYSICS
Abstract
An automatic hysteresis compensated method of level measuring a liquid in a tank includes providing an electromechanical liquid level gauge including a controller with a processor, a displacer on a wire from a measuring drum with a motor, where the processor controls a movement of the motor and executes a level gauging algorithm. A measured force displacer position (FS) profile is provided including a move-down FS curve determining Fd, Sd corresponding to a displacer center when moving down and a move-up FS curve to determine Fu, Su corresponding the displacer center when moving up. The algorithm provided a time derivative of F is essentially zero, initiates performing a down/up dip of the displacer moving the displacer down/up to below/above the liquid level, then moving the displacer up/down passing Su/Sd, then moving the displacer to return to Sd/Su, and determining the current liquid level from Fd/Fu upon the return to Sd/Su.
Claims
1. An automatic hysteresis compensated method of level measuring a liquid in a storage tank, comprising: providing an electromechanical liquid level gauge that uses a servo principle (ESG) including a controller having a processor, a displacer suspended on a measuring wire from a measuring drum for causing a torque on said drum having a servo motor coupled to rotate said drum arranged to balance a weight of said displacer, wherein a change in a liquid level causes a change in a counterforce to move said ESG out of balance, said processor monitoring an output of a sensor that senses said torque (torque sensor) and then in response controls a movement of said motor, said processor including an associated memory storing a level gauging algorithm; providing a measured force (F) displacer position (FS) profile including a move-down FS curve obtained from moving said displacer down to entirely down into said liquid to determine Fd, Sd set points on said move-down FS curve corresponding to a center of said displacer when moving down and a move-up FS curve from moving said displacer entirely up out of said liquid to determine Fu, Su set points on said move-up FS curve corresponding to said center of said displacer when moving up; said algorithm executed by said processor implementing: provided a time derivative of said F is currently essentially zero, performing a move down-dip including starting with said displacer suspended completely above said liquid level and moving said displacer down to entirely down into said liquid level or a move up-dip including starting with said displacer suspended below said liquid level and moving said displacer up to completely above said liquid level, then for said move down-dip moving said displacer up passing said Su or for said move up-dip moving said displacer down passing said Sd and for said move down-dip then moving said displacer to return to said Sd or for said move up-dip then moving said displacer to return to said Su, and determining a current liquid level (Lc) from said Fd upon said return to said Sd or said Fu upon said return to said Su.
2. The method of claim 1, wherein responsive to a predetermined minimum rise in said liquid level, wherein said S is fixed in said Sd and follows a FL curve that comprises said move-down FS curve mirrored over an x-axis for said S equal to said Sd, further comprising performing a partial move-down of said displacer to determine an updated Fd value to provide an updated Lc.
3. The method of claim 2, wherein said predetermined minimum rise in said liquid level corresponds to said Fdsaid F equal to an Fmax value, said Fmax value equal to said FdFmin, wherein said Fmin is said F when said S equals an Smax value which is a corner point on said move-down FS curve.
4. The method of claim 1, wherein responsive to a predetermined minimum drop in said liquid level, wherein said S is fixed on said Su, and follows a FL curve that comprises said move-up FS curve mirrored over an x-axis for said S equal to said Su, further comprising performing a partial move-up of said displacer to determine an updated Fu value to provide an updated Lc.
5. The method of claim 4, wherein said predetermined minimum drop in said liquid level corresponds to said Fsaid Fu equal to an Fmax value, said Fmax value equal to said Fmaxsaid Fu, wherein said Fmax is said F when said S equals an Smin value which is a corner point on said move-up FS curve.
6. The method of claim 1, wherein said displacer is a symmetrically-shaped displacer.
7. The method of claim 6, further comprising calculating said Sd as Sd=Smin+(SmaxSmin)/2, wherein said Smin and Smax are corner points on said FS profile, said Smin corresponding to a position of said displacer when said displacer is touching said liquid, and said Smax corresponding to a position of said displacer when said displacer is below said liquid level except for only a hat shaped end of said displacer.
8. An electromechanical liquid level gauge that uses a servo principle (ESG) for level measuring a liquid in a storage tank, comprising: a controller having a processor; a displacer suspended on a measuring wire from a spiral grooved measuring drum for causing a torque on said drum having a servo motor with a gear (motor) coupled to rotate said drum arranged to balance a weight of said displacer, wherein an equilibrium condition exists when said displacer is partly submerged into said liquid, wherein a change in liquid level causes a change in a counterforce to move said ESG out of balance; said processor for monitoring an output of a sensor that senses said torque (torque sensor) and then in response controls a movement of said motor, said processor including an associated memory storing a level gauging algorithm; a measured force (F) displacer position (FS) profile provided to said ESG including a move-down FS curve obtained from moving said displacer down to entirely down into said liquid down to determine Fd, Sd set points on said move-down FS curve corresponding to a center of said displacer when moving down and a move-up FS curve from moving said displacer entirely up out of said liquid to determine Fu, Su set points on said move-up FS curve corresponding to said center of said displacer when moving up; said algorithm executed by said processor implementing: provided a time derivative of said F is essentially zero, performing a down-dip of said displacer including starting with said displacer suspended completely above said liquid level and moving said displacer down to entirely down into said liquid level or an up-dip of said displacer including starting with said displacer suspended below said liquid level and moving said displacer up to completely above said liquid level, then for said down-dip moving said displacer up passing said Su or for said up-dip moving said displacer down passing said Sd, and for said down-dip then moving said displacer to return to said Sd or for said up-dip then moving said displacer to return to said Su, and determining a current liquid level from said Fd upon said return to said Sd or said Fu upon said return to said Su.
9. The ESG of claim 8, wherein responsive to a predetermined minimum rise in said liquid level wherein said S is fixed in said Sd and follows a FL curve that comprises said move-down FS curve mirrored over an x-axis for said S equal to said Sd, said algorithm further implementing performing a partial move-down of said displacer to determine an updated Fd value to provide an updated Lc.
10. The ESG of claim 9, wherein said predetermined minimum rise in said liquid level corresponds to said Fdsaid F equal to an Fmax value, said Fmax value equal to said FdFmin, wherein said Fmin is said F when said S equals an Smax value which is a corner point on said move-down FS curve.
11. The ESG of claim 8, wherein responsive to a predetermined minimum drop in said liquid level wherein said S is fixed on said Su, and follows a FL curve that comprises said move-up FS curve mirrored over an x-axis for said S equal to said Su, said algorithm further implementing performing a partial move-up of said displacer to determine an updated Fu value to provide an updated Lc.
12. The ESG of claim 11, wherein said predetermined minimum drop in said liquid level corresponds to said Fsaid Fu equal to an Fmax value, said Fmax value equal to said Fmaxsaid Fu, wherein said Fmax is said F when said S equals an Smin value which is a corner point on said move-up FS curve.
13. The ESG of claim 8, wherein said displacer is a symmetrically-shaped displacer.
14. The ESG of claim 13, said algorithm further implementing calculating said Sd as Sd=Smin+(SmaxSmin)/2, wherein said Smin and Smax are corner points on said FS profile, said Smin corresponding to a position of said displacer when said displacer is touching said liquid, and said Smax corresponding to a position of said displacer when said displacer is below said liquid level except for only a hat shaped end of said displacer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
DETAILED DESCRIPTION
[0025] Disclosed embodiments are described with reference to the attached figures, wherein like reference numerals are used throughout the figures to designate similar or equivalent elements. The figures are not drawn to scale and they are provided merely to illustrate certain disclosed aspects. Several disclosed aspects are described below with reference to example applications for illustration. It should be understood that numerous specific details, relationships, and methods are set forth to provide a full understanding of the disclosed embodiments.
[0026] One having ordinary skill in the relevant art, however, will readily recognize that the subject matter disclosed herein can be practiced without one or more of the specific details or with other methods. In other instances, well-known structures or operations are not shown in detail to avoid obscuring certain aspects. This Disclosure is not limited by the illustrated ordering of acts or events, as some acts may occur in different orders and/or concurrently with other acts or events. Furthermore, not all illustrated acts or events are required to implement a methodology in accordance with the embodiments disclosed herein.
[0027]
[0028] ESG 100 includes a displacer 235 within a tank 202 that has a flange 204. The displacer 235 is suspended on a measuring wire 238 from a drum 240 that extends through the flange 204 for causing a torque on the drum 240. The displacer shape and displacer dimensions are generally known. A servo motor with a gear (servo motor) 245 is coupled by a drive shaft 249 to rotate the drum 240 to balance a weight of the displacer 235 in the tank 202 having a liquid therein (not shown). An equilibrium condition exists when the displacer 235 is at a top surface of the liquid, wherein a change in the liquid level causes a change in a counterforce to move the ESG 100 out of balance. As noted above, although not shown, any force which acts via the measuring wire 238 on the drum 240 sensed by force transducer 225 can be transferred as a torque to processor side of the ESG 100 using a magnetic coupling 247.
[0029] After moving down the displacer 235 entirely under the level, (a move down FS curve), the displacer's middle needs to be placed essentially exactly on the interface level for an accurate level measurement. However, because of the change of direction by moving the displacer 235 up, a hysteresis effect is caused by friction which needs correction for level measurement accuracy. This hysteresis effect is known to vary between individual ESG instruments because of production variation and over an ESG's lifetime. It is recognized the hysteresis effect is fortunately identical with the direction change of the displacer moving down/up or moving up/down.
[0030] Because the behavior of F is different for rise and fall of the liquid, there is a disclosed process referred to herein as hysteresis equalization. After disclosed hysteresis equalization, the displacer will be held at that position. The force F will now only change if the level of the liquid will rise or fall, referred to herein as hold and correct.
[0031]
[0032] The drive compartment 245a includes a motor 245 including a drive train 246, which imparts rotation to the drum 240 via a shaft 249. For example, the drive train 246 or shaft 249 could generate a magnetic field, and a magnetic coupling 247 can be used to convey torque between the shaft 249 and the drum 240. In these embodiments, no direct connection may be needed between the drum compartment 240a and the other compartments 245a, 222a.
[0033] However, other techniques for causing rotation of the drum 240 can be used, such as when the shaft 249 is physically connected to the drum 240. The drive train 246 includes any suitable structure for imparting rotation to the drum 240. In particular embodiments, the drive train 246 comprises a stepper motor that causes the drum 240 to rotate in specified steps, meaning the drum 240 does not rotate freely but instead in defined amounts or steps. Each step of the motor 245 should therefore impart a known amount of rotation to the drum 240. In these embodiments, since the drum 240 has a known diameter or circumference, the length of connector the wire 238 that is dispensed or collected during a single step rotation can be known with a high degree of certainty.
[0034] The drive compartment 245a also includes a force transducer 225 which identifies the torque induced on the drum 240 by the weight of displacer 235. When the displacer 235 is dangling from the wire 238, the measured torque is higher. When the displacer 235 is completely or partially submerged in the material in the tank, the measured torque is lower. The force transducer 225 generally identifies the torque on the drum 240 by measuring the torque on the shaft 249. The drive compartment 245a is also shown including a user interface 218 and network interface 220.
[0035] The power supply compartment 222a includes a power supply 222, which provides operating power for the ESG 100. The power supply 222 can provide power to various components of the drive compartment 245a. Depending on the implementation, the power supply 222 may or may not supply power to the drum compartment 240a. The power supply 222 can include any suitable structure for providing power, such as a battery, fuel cell, or solar cell.
[0036] As described above, a significant advantage of disclosed ESGs is the increase of accuracy of the liquid level measurement by elimination of the hysteresis independent of the specific ESG or/and its stage in its lifetime. Additional advantages include automatic density measurement of the liquids.
[0037] Regarding the measurement of the density of the liquid(s) by an entirely submerged displacer 235, the densities of the liquid(s) can be calculated from the positions where the displacer is entirely submerged in the liquid.
[0038] Regarding calculation of accuracy increase using other displacer shapes, the accuracy of S.sub.corrected is recognized to depend on the radius of the middle assumed cylindrical shaped part of the displacer because:
The displacer's radius (r) can be increased with a displacer that has a density closer to the densities of the liquid(s) in the tank in combination with the length of the displacer. A generally good combination can be the displacer material being aluminum with a density of 2.7 g/cm.sup.3. The density can be reduced by a factor of 2 using a hollow displacer since the liquid densities are usually below 1.0 g/cm.sup.3 (water). A displacer length of 20 mm and 55 mm radius results in an impressive accuracy increase of 7.5. The absolute accuracy is usually in Newton per mm, but this is unit-less because it compares two accuracy rates of which one is x times higher than the other compared to 250 gram displacers with a radius of 25 mm for all interface exchanges.
[0039] However, interface exchanges between liquids have lower accuracy compared to air/liquid exchanges measured with an identical shaped displacer, because of the differences between the densities. There use of displacer's density as an ESG design parameter for the displacer is believed to be another new feature. A further advantage is the ability for a continuously measured liquid density to be correlated with the shape of the displacer to provide enhanced diagnostic information enabling preventive maintenance (detecting displacer contamination), and increased safety.
[0040] Reducing the need for ESG movements provided by electronic level correction as described above has several advantages, including longer lifetime for the ESG as automatic level adjustments reduce motor wear, and lower power consumption which can be important when for example by supplied power by solar power. Instead of conventionally continuously recalculating the level set point and trying to keep the immersion depth of the displacer constant (using the servo motor 245 to rotate the measuring drum 240), it is also possible perform a virtual (electronic) correction to the level reading. The same method can even be used to reduce normal servo movements as result of normal level changes.
[0041] Regarding a physical analysis for operation of an ESG to which disclosed embodiments can be applied, the displacer 235 for an ESG such as ESG 100 has a mass M.sub.dis which as described above is mounted on a measuring wire 238 (also called a cord) in a tank 202 having at least one liquid therein. The force of gravity F.sub.dis on the displacer 235 will be M.sub.dis.Math.g where g is the acceleration constant (gravity) at the earth's surface (g=9.8 m/s2).
F.sub.dis=M.sub.disg
[0042] Archimedes law states that the displacer 235 with a volume V.sub.dis and a mass M.sub.dis surrounded with a liquid with density in kg/m.sup.2 is forced downward toward the ground with a force F which is smaller than the force of gravity applied on the displacer 235 by a factor .Math.V.sub.dis.Math.g.
F=(M
.sub.dis.Math.V.sub.dis)g
The displacer's 235 density that is selected (typically >2.0 g/cm.sup.3) to be significantly higher than the density of most liquids (typically <0.8 g/cm.sup.3) stored in the storage tank, so that the displacer 235 will always be forced toward the ground (i.e., bottom of the tank 202). The liquid's density can thus be found from the measurement of F if the displacer 235 is entirely immersed in the liquid as all other parameters in the F equation are known parameters. Alternatively,the density can be measured with an entire dip. Both an up-dip and down-dip are possible as both of these dips places the displacer entire above and in the liquid, only the sequence being different. The entire dip is typically conducted frequently and only in a steady-state tank (i.e., very low rate of change in the level, noted above to be 0.1 mm/sec), so there is essentially no pumping in/out, but because of daily temperature changes may shrink or expand the tank and the liquid.
[0043] Regarding disclosed level correction, as noted above, disclosed displacers can optionally be symmetrically-shaped to make the FS profile linear and thus easier to analyze. The displacer 235 is moved through the liquid level (full dip or only a partially dip) and the servo motor 245 will control displacer movements to follow the move-up or move-down curve and stop moving the displacer 235 if the reduced force is becoming stable (i.e., not changing, except for the density increase of the liquid itself which can be neglected). In that case the displacer 235 is entirely under the interface level. The interface can be between air and a liquid, or between different liquids that have different densities.
[0044] To obtain a straight line between the corner points in the move-up curve and move-down curve of the FS profile (except for the corners), the shape of the displacer 235 is recognized to need to be symmetrical. A symmetrical shape is however not required if a straight line is not needed. An example displacer 235 having a symmetrical shape is shown in
[0045]
[0046] The level measurement accuracy of a conventional current ESG is Sdu while disclosed ESGs implementing disclosed methods which closely follow the FS curves are much more accurate (by a factor 10 or more). The position of the displacer 235 can be calculated by a disclosed algorithm (taking the corner points Smin, Smax and calculating the middle) where as described above, Sd is the middle of the displacer when moving down, and Su being the middle of the displacer when moving up. As noted above, the position of the displacer is calibrated based on either the calculated Sd or Su value, which being the center of the displacer essentially exactly corresponds with the interface level of the liquid in the tank.
[0047]
[0048] In
[0049]
[0050] Step 402 comprises providing a measured FS profile including a move-down FS curve obtained from moving the displacer to entirely down into the liquid down to determine Fd, Sd corresponding to a center of the displacer when moving down and a move-up FS curve from moving the displacer entirely up out of the liquid to determine Fu, Su corresponding to a center of the displacer when moving up. The FS profile is used to measure the level of the liquid by measuring the changes in the frequency to be converted to a force F. After an FS profile measurement, all previous profile measurements are not included in the determination of the last Fd, Sd point as the FS profile measurement resets all measurement results and provides an accurate new level set point Sd (or Su) which corresponds to the level of the liquid directly after the FS profile determination.
[0051] Step 403 comprises provided a time derivative of F is essentially zero, performing an at least a partial down-dip of the displacer including starting with the displacer suspended completely above the liquid level, moving the displacer down to below the liquid level, then moving the displacer up passing Su, and then moving the displacer to return to Sd. Step 404 comprises determining a last interface level of the liquid from Fd upon its return to Sd.
[0052] Responsive to a predetermined minimum rise in the liquid level wherein the displacer is fixed at set point Sd and the level follows the hold and correct region mirrored at the move-down FS curve from set point (Fd, Sd), a partial move-down of the displacer is performed to determine an updated Fd value to provide an even further updated liquid level. The predetermined minimum rise in liquid level can correspond to FdF equal to an Fmax value equal to FdFmin, wherein Fmin is the F value when S equals an Smax value which is a corner point on the FS profile. (See Smax in
[0053] The displacer can be a symmetrically-shaped displacer (see displacer 235 in
[0054]
[0055]
[0056] If the liquid level rises (pumping in or volume expansion of liquid) the level of the liquid will follow the mirrored move-down curve until FdF>Fmax. Then the method performs a partial down-dip 515 to move from location B to location A back on the move-down curve obtain a new Sd value. The current liquid level is now equal to the new Sd value where Sd is the calculated set point at the new location A. A dips results in a new Sd and a new Su. This will become the new set point where the displacer's middle is moved to Sd=Smin+(SmaxSmin)/2 (for a symmetrical shaped displacer such as displacer 235 shown in
[0057] If the liquid level drops (pumping out or shrink of the liquid) the level of the liquid will follow the mirrored move-up curve. A partial up-dip 520 is then performed to get the displacer solidly on the move-up curve shown as being at location C. The level of the liquid Lc will follow the move-up curve until FFu>Fmax which will move location D to location C by performing a partial move-up dip reaching location D on the move-up curve. Then a partial up-dip 525 is used for making a transition from location D to location C is then performed to obtain a new Su value, where the current liquid level is now equal to the new Su value. The real liquid level is always on the mirrored move-down curve because the real level as described herein is calibrated for this. Accordingly, the corrected liquid level Lc=SuSdu+S. However, as described above choice to calibrate on move-down curve is a design choice, so that one can also calibrate using the move-up curve.
[0058] Significant disclosed features shown include the x minutes condition shown while at location A, B, C or D where an entire up-dip or down-dip can be used to provide updated FS curves to provide an updated Fdu and updated Sdu. This overcomes the effect of increasing static friction along time which would otherwise result in hysteresis-based errors which is recognized to be generally important in steady state level changes. The x minute condition for location A and C will end up in location A and C itself, while the x minute condition for location B and D will result in location A and C, respectively.
[0059] Partial dips above may be repeated if sensed level changes from changes in F result in when a F value is >a predetermined Fmax value. Trigger partial dips when FdF>Fmax for level rising (partial move-down) and FdF>F max for level drops (partial move-up).
[0060]
[0061]
Examples
[0062] Disclosed embodiments are further illustrated by the following specific Examples, which should not be construed as limiting the scope or content of this Disclosure in any way.
[0063]
[0064] While various disclosed embodiments have been described above, it should be understood that they have been presented by way of example only, and not limitation. Numerous changes to the subject matter disclosed herein can be made in accordance with this Disclosure without departing from the spirit or scope of this Disclosure. In addition, while a particular feature may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for any given or particular application.