Temperature Compensation for Eddy Current Sensors
20200018624 ยท 2020-01-16
Assignee
Inventors
Cpc classification
G01D18/00
PHYSICS
International classification
Abstract
A method for calibrating an eddy current sensor for temperature. Both frequency and one of voltage and current of an oscillator driving the eddy current sensor are measured at a plurality of temperatures and a plurality of target surface distances. Temperature equations are regressed to fit the measured frequency and one of the voltage and the current for each temperature, where the temperature equations have a common number of equivalent factors, and factor equations are regressed for each of the equivalent factors. A gain adjustment and an offset adjustment pair for each of the plurality of temperatures is determined for an oscillator associated with the eddy current sensor, that compensates an output of the eddy current sensor to a standard temperature. A gain equation is regressed to fit the determined gain adjustments, and an offset equation is regressed to fit the determined offset adjustments. The temperature equations, factor equations, gain equation, and offset equation are provided with the eddy current sensor.
Claims
1. A method for calibrating an eddy current sensor for temperature, the method comprising the steps of: measure both frequency and one of voltage and current of an oscillator driving the eddy current sensor at a plurality of temperatures and a plurality of target surface distances, regress temperature equations to fit the measured frequency and one of the voltage and the current for each temperature, where the temperature equations have a common number of equivalent factors, regress factor equations for each of the equivalent factors, determine for an oscillator associated with the eddy current sensor a gain adjustment and an offset adjustment pair for each of the plurality of temperatures that compensates an output of the eddy current sensor to a standard temperature, regress a gain equation to fit the determined gain adjustments, regress an offset equation to fit the determined offset adjustments, and providing the temperature equations, factor equations, gain equation, and offset equation with the eddy current sensor.
2. A method for correcting an eddy current sensor for temperature, the method comprising the steps of: read frequency and one of voltage and current of an oscillator associated with the eddy current sensor, input the frequency and the one of voltage and current into provided temperature equations to determine a temperature, input the temperature into a provided a gain equation to determine a gain adjustment, input the temperature into a provided offset equation to determine an offset adjustment, and adjust the oscillator using the gain adjustment and the offset adjustment.
3. A method for calibrating and correcting an eddy current sensor for temperature, the method comprising the steps of: calibrate the eddy current sensor by, measure both frequency and one of voltage and current of an oscillator driving the eddy current sensor at a plurality of temperatures and a plurality of target surface distances, regress temperature equations to fit the measured frequency and one of the voltage and the current for each temperature, where the temperature equations have a common number of equivalent factors, regress factor equations for each of the equivalent factors, determine for an oscillator associated with the eddy current sensor a gain adjustment and an offset adjustment pair for each of the plurality of temperatures that compensates an output of the eddy current sensor to a standard temperature, regress a gain equation to fit the determined gain adjustments, regress an offset equation to fit the determined offset adjustments, and provide the temperature equations, factor equations, gain equation, and offset equation with the eddy current sensor, and correct the eddy current sensor by, read frequency and one of voltage and current of an oscillator associated with the eddy current sensor at an unknown temperature, input the frequency and the one of voltage and current into the provided temperature equations to determine the unknown temperature, input the determined temperature into the provided gain equation to determine a gain adjustment, input the determined temperature into the provided offset equation to determine an offset adjustment, and adjust the oscillator using the gain adjustment and the offset adjustment.
Description
DRAWINGS
[0011] Further advantages of the invention are apparent by reference to the detailed description when considered in conjunction with the figures, which are not to scale so as to more clearly show the details, wherein like reference numbers indicate like elements throughout the several views, and wherein:
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
DESCRIPTION
[0025] With reference now to
[0026] In some embodiments the oscillator 902 is a free-running oscillator which means that there is no feedback loop to the electrical inputs on the oscillator 902 to create a constant frequency of oscillation on the output. Stated another way, changes in the impedance in the coil 910 or cable 908 will change the frequency that is output by the oscillator 902. This is quite different from the design of many other eddy current sensors. Changes in the material of the surface 922 and temperature of the surface 922 and sensor chain 900 also effect the frequency of oscillation of the oscillator 902.
[0027] In one embodiment, the signal that results from the interaction of the oscillator 902, coil 910, and cable 908 is passed through a demodulator 914 and signal conditioner 916 before exiting the eddy current sensor chain 900 through the output 920.
[0028] The hardware as described above is not always a part of the small device that many would refer to as an eddy current sensor, but comprises what could be called the sensor chain of electronics that connect to the coil 910. In some embodiments, the coil 910 itself is the only part that is included in the small package that is considered to be the sensor, and all other elements as depicted and described are more remotely located. However, for convenience herein, the sensor chain 900 as depicted in
[0029] Somewhere in the sensor chain 900 there is what is called herein a controller 918. The location of the controller 918 in one embodiment is depicted in
[0030] As introduced above, the oscillator 902 frequency and voltage are influenced by changing ambient temperatures. When the other influencing variables (material of the surface 922 and other sensor 900 characteristics) are known, the ambient temperature can be determined from oscillator frequency and oscillation circuit voltage.
[0031] In some embodiments of the present invention the two variables of electrical quality and frequency are read, and thus the apparatus 900 is able to determine what could be called the influencing variables of temperature and sensor distance. The so-called electrical quality is measured by one of either the voltage or the current of the oscillator 902, depending on the type of resonant circuit (voltage for a parallel sensor 910 and current for a series sensor 910). In this discussion we use the example of voltage and a parallel sensor 908 throughout. However, it is appreciated that the methods described herein are similarly applicable to measuring current instead of voltage for a series sensor 908.
[0032] Since the system is undefined, the desired influencing variables are determined by two measured variables, and so additional boundary conditions are specified as follows. When the sensor chain 900 is put into operation, the sensor 908 behavior is determined at a standard temperature and with a standard material. The material is then measured again at standard temperature and compensated accordingly. If a measurement at standard temperature is not possible, then the measurement is made at a known temperature and the measured values are recalculated to standard temperature. The measuring distance is now set to the sensor 908 and the material of the surface 922, so that only the parameters distance and temperature are to be recorded and processed.
[0033] To detect different temperatures, the behavior of the oscillator frequency has a monotonic function over the operating temperature range at a constant distance from the coil 910 to the surface 922, either monotonically increasing or monotonically decreasing. This can be ensured, in some embodiments, by the electrical properties of the coil 910. This is not possible with every coil 910 type. If ferrites are used in the coil 910, they must be selected in such a way that they also support the monotonic functions of the frequency response.
[0034] With reference now to
[0035] Next, it is determined in block 110 whether the material of the surface 922 is known, and whether the information in regard to the surface 922 is provided. If not, then the calibration procedure 112 of the sensor chain 900 to the material of the target surface 922 is performed, as given in block 112, and explained in more detail hereafter. If the information is provided, then the oscillator 902 voltage and frequency (OSC VF) calibration data associated with the surface 922 material is entered into the controller 918, as given in block 114. At this point, the sensor chain 900 is calibrated, as given in block 116.
[0036] With reference now to
[0037] With reference now to
[0038] Another flowchart for an overall method 1000 to determine the temperaturevoltagedistance characteristic of a reference sensor chain is given in
[0039] The voltage of the oscillator 902 is read and recorded, as given in block 1008, and the frequency of the oscillator 902 is read and recorded, as given in block 1010. If it is desired to make the measurements at more distances, as determined in block 1012, then the desired distance between the surface 922 and the coil 910 is incremented as given in block 1014, and the method returns to block 1006. When the parameters have been measured at the last desired distance, then a decision is made as given in block 1016 to make the readings at another temperature. If so, then the desired temperature is incremented as given in block 1018, and the method returns to block 1004. If all desired temperatures have been analyzed, then the method falls to block 1020.
[0040] At this point, there has been a measurement made and recorded for both voltage and frequency at several different distances and temperatures. From this data, a plot can be constructed, such as given in
[0041] As can be seen in
[0042] As a first step in this embodiment of the method, a mathematical regression of each of the temperature-dependent plots is individually made, as given in block 1022, and a mathematical equation is constructed that describes the shape of the plots over the distance and voltage values of probable interestmeaning, for example, over the ranges of anticipated use of the sensor 900. In one embodiment, a fourth-order polynomial equation is used to describe the plots, such as having the form of:
F(V)=a.sub.4.Math.V.sup.4+a.sub.3.Math.V.sup.3+a.sub.2.Math.V.sup.2a.sub.1.Math.V+a.sub.0
[0043] Such a plot of the temperature-dependent data for one temperature and the regressed equation is depicted in
[0044] The parameters a.sub.0 through a.sub.4 are dependent on the temperature. The change in parameter versus temperature is nearly linear, and can be expressed as a function of first order, such as indicated in the equations below:
a.sub.4(T)=b.sub.1.Math.T+b.sub.0
a.sub.3(T)=c.sub.1.Math.T+c.sub.0
a.sub.2(T)=d.sub.1.Math.T+d.sub.0
a.sub.1(T)=e.sub.1.Math.T+e.sub.0
a.sub.0(T)=f.sub.1.Math.T+f.sub.0
[0045] As indicated in block 1024, it is possible to regress mathematical equations that describe each of the variables a.sub.0 through a.sub.4. In other words, an equation is created by which one can input the temperature, and the desired coefficient is output. Such a plot is depicted in
[0046] When actually taking measurements with the sensor chain 900, after the calibration has been performed, the method 1100 as depicted in
[0047] For example, the equations introduced above can be rewritten in terms of temperature, as given below:
T(V,F)=(F(b.sub.0V.sub.4+c.sub.0V.sub.3+d.sub.0V.sub.2+e.sub.0V+F.sub.0))/(b.sub.1V.sub.4+c.sub.1V.sub.3+d.sub.1V.sub.2+e.sub.1V+F.sub.1)
[0048] This procedure yields the ability to calculate sensor 908 temperatures from two measured variables, the oscillator voltage (or current) and the oscillator frequency.
[0049] As introduced above, the oscillator 902 gain and offset are preferably adjusted to achieve a desirable straight-line regression without temperature dependency. The gain and offset values produced as a result of the measurements at the different sensor 908 temperatures, as described above, with the oscillator 902 adjusted to achieve the output results at all temperatures as though they were produced at the standard temperature, such as 23 centigrade. Once these changes are made, temperature variations in the sensor chain 900 are dramatically reduced, as depicted in chart 800 of
[0050] The temperature-dependent adjustments are graphically depicted in
[0051] The measurement of the frequency can be carried out in a simple manner, but in some embodiments is accomplished as precisely as possible. An internal counter of the controller 918 can be used to adjust of the sensor chain 900 for measure frequency. To determine the frequency, in one embodiment, the frequency signal processed by the resonant circuit is evaluated. A timer configured as a counter (timer.sub.0) detects the rising edge on the controller 918. For an 8-bit counter, for example, after 256 counting steps, this triggers an interrupt. Each timer.sub.0 interrupt increases the register value by 1. Timer.sub.1 (T.sub.1) is started almost simultaneously with T.sub.0. The 16 bit timer.sub.1, which is clocked with a controller clock frequency, stops the timer.sub.0 and its interrupt enable on its first overflow. By evaluating the timer.sub.0 overflows and the current count of timer.sub.0, the frequency can now be determined, since timer.sub.1 provides a fixed period in which the number of rising edges is counted. The pulse counter indicates the number of pulses that occur up to the timer.sub.1 overflow on the controller. The value of the pulse counter is calculated as:
Pulses=T.sub.0_Interrupts2.sup.8+T.sub.0_Rests
[0052] The measurement period can be determined by:
Period=T.sub.1_Overclock/2.sup.16
[0053] Where the multiplier is inherent with the data width of timer.sub.1. The frequency can then be determined as:
Frequency=Pulses/Period
[0054] If the clock frequency is too high or the difference between the data width between timer.sub.0 and timer.sub.1 is too small, timer.sub.1 can also be started several times to obtain a safe result with low measurement uncertainty.
[0055] In various embodiments according to the present invention, the temperature compensation technology as described herein is used with different types of eddy current sensors 900, such as a converter with a voltage output that is proportional to the distance between the surface 922 and the coil 910, a transmitter with a current output that is proportional to the distance between the surface 922 and the coil 910, and a transmitter with a current output of a characteristic value, such as the effective value of the vibrational portion of the distance between the surface 922 and the coil 910. Other embodiments are also contemplated herein
[0056] The foregoing description of embodiments for this invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Obvious modifications or variations are possible in light of the above teachings. The embodiments are chosen and described in an effort to provide illustrations of the principles of the invention and its practical application, and to thereby enable one of ordinary skill in the art to utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated. All such modifications and variations are within the scope of the invention as determined by the appended claims when interpreted in accordance with the breadth to which they are fairly, legally, and equitably entitled.