HEAT FLOW-BASED PROCESS FLUID TEMPERATURE ESTIMATION SYSTEM WITH THERMAL TIME RESPONSE IMPROVEMENT
20220412815 · 2022-12-29
Inventors
Cpc classification
G01K7/427
PHYSICS
International classification
G01K13/02
PHYSICS
Abstract
A process fluid temperature estimation system includes a mounting assembly configured to mount the process fluid temperature estimation system to an external surface of a process fluid conduit. A sensor capsule has at least one temperature sensitive element disposed therein and is configured to sense at least a temperature of the external surface of the process fluid conduit. Measurement circuitry is coupled to the sensor capsule and is configured to detect a characteristic of the at least one temperature sensitive element that varies with temperature and provide sensor capsule temperature information. A controller is coupled to the measurement circuitry and is configured to obtain a temperature measurement of the external surface of the process fluid conduit and to obtain a reference temperature and employ a heat transfer calculation with the reference temperature, the external surface temperature measurement and a known thermal relationship between the external surface temperature sensor in the sensor capsule and the reference temperature to generate an estimated process fluid temperature output. The controller is also configured to improve response time of the process fluid estimation system mathematically. In some examples, the controller is configured to extract the system tau value from the measured data.
Claims
1. A process fluid temperature estimation system comprising: a mounting assembly configured to mount the process fluid temperature estimation system to an external surface of a process fluid conduit; a sensor capsule having at least one temperature sensitive element disposed therein and configured to sense at least a temperature of the external surface of the process fluid conduit; measurement circuitry coupled to the sensor capsule and configured to detect a characteristic of the at least one temperature sensitive element that varies with temperature and provide sensor capsule temperature information; a controller coupled to the measurement circuitry, the controller being configured to obtain a temperature measurement of the external surface of the process fluid conduit and to obtain a reference temperature and employ a heat transfer calculation with the reference temperature, the external surface temperature measurement and a known thermal relationship between the external surface temperature sensor in the sensor capsule and the reference temperature to generate an estimated process fluid temperature output; and wherein the controller is configured to improve response time of the process fluid estimation system mathematically.
2. The process fluid temperature estimation system of claim 1, wherein the controller is configured to improve the response time mathematically by employing a discretized differential equation.
3. The process fluid temperature estimation system of claim 2, wherein the controller is configured to employ a plurality of discretized differential equations.
4. The process fluid temperature estimation system of claim 3, wherein the controller is configured to select one of the plurality of discretized differential equations based on a type of thermal change.
5. The process fluid temperature estimation system of claim 4, wherein the type of thermal change is a step change.
6. The process fluid temperature estimation system of claim 4, wherein the type of thermal change is a ramp change.
7. The process fluid temperature estimation system of claim 4, wherein the controller is configured to select one of the plurality of discretized differential equations by computing a first order derivative of the external surface temperature measurement over time.
8. The process fluid temperature estimation system of claim 7, wherein the controller is configured to select one of the plurality of discretized differential equations by computing a second order derivative of the external surface temperature measurement over time.
9. The process fluid temperature estimation system of claim 1, wherein the controller is configured to extract a response time (tau) from a set of raw temperature measurements of the external surface of the process fluid conduit.
10. A method of operating a process fluid temperature estimation system, the method comprising: receiving an indication of a temperature of an external surface of a process fluid conduit; receiving an indication of a reference temperature having a known thermal relationship with the external surface of the process fluid conduit; performing a heat flow calculation, with a processor of the process fluid temperature estimation system, to provide a process fluid temperature output based on the indication of temperature of the external surface of the process fluid conduit and the indication of reference temperature; and performing at least one discretized differential equation with the controller to improve response time of the process fluid estimation system.
11. The method of claim 10, wherein the differential equation uses a first-order time constant tau.
12. The method of claim 11, wherein the time constant tau is determined using formulas describing thermal properties of the process fluid conduit.
13. The method of claim 11, wherein the time constant tau is determined using formulas describing the thermal properties of the process fluid conduit and the process fluid.
14. The method of claim 11, wherein the time constant tau is extracted from a series of indications of temperature of the external surface of the process fluid conduit over time.
15. The method of claim 10, wherein a region of valid tau extraction is determined from a first time derivative of a series of indications of temperature of the external surface of the process fluid conduit over time.
16. The method of claim 11, wherein a region of valid tau extraction is determined from the second time derivative of a series of indications of temperature of the external surface of the process fluid conduit over time.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
[0026]
[0027] System 200 includes heat flow sensor capsule 206 that is forced against the external diameter of a pipe by a spring 208. The term “capsule” is not intended to imply any particular structure or shape and can thus be formed in a variety of shapes, sizes and configurations. Sensor capsule 206 generally includes one or more temperature sensitive elements, such as resistance temperature devices (RTDs) or thermocouples. Sensors within capsule 206 are electrically connected to transmitter circuitry within housing 260, which circuitry is configured to obtain one or more temperature measurements from sensor capsule 206 and calculate an estimate of the process fluid temperature based on the measurements from sensor capsule 206, and a reference temperature, such as a temperature measured within housing 260, or otherwise provided to circuitry within housing 260.
[0028] In one example, the basic heat flow calculation can be simplified into:
T.sub.corrected=T.sub.skin(T.sub.skin−T.sub.reference)*(R.sub.pipe/R.sub.sensor)
[0029] In this equation, T.sub.skin is the measured temperature of the external surface of pipe 100. T.sub.reference is a second temperature obtained relative to a location having a known thermal impedance (R.sub.sensor) from the temperature sensitive element that measures T.sub.skin T.sub.reference may be sensed by a dedicated sensor within housing 260. However, T.sub.reference can be sensed or inferred in other ways as well. For example, a temperature sensor can be positioned external to the transmitter to replace the terminal temperature measurement in the heat transfer calculation. This external sensor would measure the temperature of the environment surrounding the transmitter. As another example, industrial electronics typically have on-board temperature measurement capabilities. This electronics temperature measurement can be used as a substitute to the terminal temperature for the heat transfer calculation. As another example, if the thermal conductivity of the system is known and the ambient temperature around the transmitter is fixed or user-controlled, the fixed or user-controlled temperature can be used as the reference temperature.
[0030] R.sub.pipe is the thermal impedance of the conduit and can be obtained manually by obtaining pipe material information, pipe wall thickness, et cetera. Alternatively, a parameter related to R.sub.pipe can be determined during calibration and stored for subsequent use. Accordingly, using a suitable heat flux calculation, such as that described above, circuitry within housing 260 is able to calculate an estimate for the process fluid temperature (T.sub.corrected) and convey an indication regarding such process fluid temperature to suitable devices and/or a control room. In the example illustrated in
[0031]
[0032] Heat flow measurement system 200 also includes power supply module 224 that provides power to all components of system 200 as indicated by arrow 226. In embodiments where heat flow measurement system 200 is coupled to a wired process communication loop, such as a HART® loop, or a FOUNDATION™ Fieldbus segment, power module 224 may include suitable circuitry to condition power received from the loop or segment to operate the various components of system 200. Accordingly, in such a wired process communication loop embodiments, power supply module 224 may provide suitable power conditioning to allow the entire device to be powered by the loop to which it is coupled. In other embodiments, when wireless process communication is used, power supply module 224 may include a source of power, such as a battery and suitable conditioning circuitry.
[0033] Controller 222 includes any suitable arrangement that is able to generate a heat-flow based process fluid temperature estimate using measurements from sensor(s) within capsule 206 and an additional reference temperature, such as a terminal temperature within housing 210. In one example, controller 222 is a microprocessor. Controller 222 is communicatively coupled to communication circuitry 220.
[0034] Measurement circuitry 228 is coupled to controller 222 and provides digital indications with respect to measurements obtained from one or more temperature sensors 230. Measurement circuitry 228 can include one or more analog-to-digital converters and/or suitable multiplexing circuitry to interface the one or more analog-to-digital converters to sensors 230. Additionally, measurement circuitry 228 can include suitable amplification and/or linearization circuitry as may be appropriate for the various types of temperature sensors employed.
[0035] For a heat flow-based temperature sensor, its heat transfer function is denoted as H(t), which describes its thermal response to a change in the process fluid temperature. In addition, Tp(t) is defined to be the process temperature that is to be computed and Tm(t) to be the measured output. The problem is then determining the value of Tp(t) (i.e., the process fluid temperature), given H(t) and a measured value of Tm(t). This procedure essentially removes the time response of the heat flow sensor since the process temperature is being extracted directly in real time.
[0036] The approach can be better understood by considering a simple case that can be generalized to more complex systems. For the heat flow-based temperature estimation system shown in
[0037] In
[0038]
[0039]
T.sub.m(s)=T.sub.p(s).Math.H(s) Equation 1
[0040] where H(s) for the configuration shown in
F(s)=∫.sub.0.sup.∞ƒ(t)e.sup.−stdt Equation 2
[0041] where s is a complex number frequency parameter s=σ+iω with real numbers σ and ω. The advantage of this formulation is that the solution for Tp(s) is solved by simple algebra, viz
[0042] However, to be useful, Tp(s) needs to be converted back into the time domain using an inverse Laplace transform, which symbolically is written as:
[0043] where the inverse Laplace transform is defined according to:
[0044] Unfortunately, the inverse Laplace computation is difficult to implement in real time on a continuous basis. Because of this difficulty, Laplace transforms are usually rendered in terms of Z-transforms, which lend themselves to discrete time-sampled data. This is the preferred approach for complex transfer functions, however, for the case of
[0045] which can be converted into a finite difference equation for discrete time steps Δt.
[0046] Equation 7 is an example of a discretized differential equation that can be used to improve the time response of the process fluid temperature estimation system. This equation can be solved in real time on a computer or microprocessor using data taken at a sampling period of Δt.
[0047]
[0048] Using Equation 7 on the measured data yields the curve labeled 304 in
[0049]
[0050] One last example showing an input made of steps and sinusoidal temperature swings is displayed in
[0051] The above examples illustrate the validity of the described approach and present a methodology to effectively speed up the response time of heat flow-based process temperature fluid estimation systems using the measured signal provided the process response function is known, or equivalently, the system effective tau value. While the time response of the module has been ignored in the calculations above, its time constant can be easily characterized and added to the system response function either by simply adding it to the process tau as an approximation (provided it is much smaller than the process tau), or more correctly, by incorporating it into the transfer function via a Z-transform formulation.
[0052] Knowing the process tau value is important for the described procedure and depends on the particulars of the pipe (e.g., line size, wall thickness, and pipe material) as well as on the fluid properties (e.g., liquid or gas, flow velocity, temperature, et cetera.) There are suitable formulas to estimate with reasonable accuracy the values of the thermal impedances and convection values for pipe materials and line sizes, as well as flow conditions. However, it is more desirable and more accurate to extract the system response time constant directly from the raw measured temperature data. To see how this can be accomplished, consider Equation 6 and its second time derivative, labeled as Equation 8.
[0053] There are two specific cases where the value τ can be determined from the measured temperature data using these equations.
[0054] In the first case, if the process changes temperature in a step-like fashion, there will be a period of time, just after the end of the step, where the process temperature is constant, but the measured temperature is still changing. Over this window, Tp(t1)=Tp(t2) (but Tm(t1)≠Tm(t2)) for the two different times, t1 and t2. When this condition is satisfied, Equation 6 can be used to evaluate τ according to,
[0055] where Tm=Tmeasured.
[0056] In the second case, when the process temperature is ramping up or down and if the ramp rate is roughly constant (i.e., the derivatives at two different time steps are approximately the same such that dTp(t1)/dt≈dTp(t2)/dt, then from Equation 8 it can be shown that,
[0057] In order to use Equations 9 or 10, some knowledge of when they can be appropriately applied is required. Unfortunately, this is not known from Tp(t) directly, since that is what needs to be extracted. However, there is information buried in the time derivatives of Tm(t) that can help determine the domains of applicability.
[0058] For Case 1, the validity range can be determined by monitoring the first and second order time derivatives of the measured temperature. Consider when there is step in the process temperature (illustrated at reference numeral 316 in
[0059]
[0060]
[0061] For Case 2, and a temperature ramp input, the validity range can be determined as was done in Case 1, by monitoring in real time the first and second order time derivatives of the measured temperature. The process ramp (reference numeral 328) and measured response (reference numeral 330) are displayed in
[0062]
[0063]
[0064] The above examples illustrate that it is possible to enhance the time response of the heat flow-based process fluid temperature estimation system using only the measured output provided the system transfer function is known. For thermal systems, this translates into knowing what the system's time response function is, or for most cases, knowing the first order response time, i.e., the value of tau. The value of tau appropriate to the system can be determined from the process conditions and pipe configuration, or as illustrated, directly from the measured temperature under specific conditions.
[0065] Although the present invention has been described with reference to preferred embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention.