Detection of contamination on the sensing surface of a thermal sensor
By analyzing the transient behavior of thermal parameters on the thermal sensor, the effects of fouling and membrane asymmetry are distinguished, the offset problem of the thermal flow sensor when detecting fluid flow rate is solved, and the measurement accuracy is improved.
Patent Information
- Application Number
- CN201911311448.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-20
- Filing Date
- 2019-12-18
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2039-12-18
AI Technical Summary
When the existing thermal flow sensor detects the flow rate of fluid flow, it is easily affected by membrane asymmetry and contamination, resulting in a temperature difference offset. It is difficult to distinguish the offset caused by contamination and membrane asymmetry from the signal caused by the actual flow rate.
By arranging active elements and temperature sensors on the sensing surface of the thermal sensor and utilizing processing circuitry to analyze the transient behavior of thermal parameters in response to changes in electrical power, the effects of fouling and membrane asymmetry are distinguished and the fouling signal is determined. The method involves sampling thermal parameters at multiple time points, comparing transient behavior, and determining weighting factors for thermal conductivity and heat capacity through a fitting process to distinguish the effects of contamination and flow.
It effectively distinguishes the offset caused by pollution and membrane asymmetry from the signal caused by the actual flow rate, improves the measurement accuracy of the thermal flow sensor, reduces misjudgments, and enhances the ability to measure fluid flow rate.
Smart Images

Figure CN111351539B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a thermal sensor, in particular to a thermal flow sensor configured to detect the presence of contamination on a sensing surface of the thermal sensor. The invention also relates to a method of detecting contamination on a surface of a thermal sensor and also to a corresponding computer program product. Background Art
[0002] A commonly used micro thermal flow sensor comprises a heater and two spatially separated temperature sensors. The temperature sensors are usually symmetrically located upstream and downstream of the heater to measure the amount of heat that has been carried away by the flow medium. The heater and the temperature sensor may be embedded in or arranged on a film across a recess or opening in a bulk semiconductor material. A thermopile may be used as a temperature sensor. An example of this type of micro thermal flow sensor is disclosed in WO 01 / 98736A1.
[0003] As a measure for mass flow rate, the difference between the steady-state temperatures determined by the upper and lower temperature sensors when the heater is activated can be utilized. However, in addition to the expected dependence on mass flow rate, there are many other factors that affect this temperature difference, each of which will cause a non-zero offset in the temperature difference at zero flow rate:
[0004] — Waste heat from surrounding circuits : The activity of energy dissipating elements integrated on the bulk material surrounding the membrane, such as circuits measuring and processing the voltage difference signal, may affect the temperature difference. As disclosed in EP 2 930 475 A1, the challenges associated with waste heat of the surrounding circuits can be solved by evaluating a compensated temperature signal.
[0005] — Production-related membrane asymmetry : Sensor offset is often dominated by geometric asymmetries of the sensor structure, e.g., sensor offset may be caused by asymmetric back etching of bulk material to release the membrane. Such membrane asymmetries may be difficult to characterize. For example, optical inspection of the membrane is not always possible in the final package, depending on the assembly concept of the flow sensor.
[0006] — Fouling on the membrane : Contamination can be caused, for example, by airborne particles or droplets deposited on the membrane. Several prior art documents relate to measures for avoiding contamination (see, for example, WO 02 / 073140 A2, EP 3 037 791 A1 or US 9,612,146 B2). However, it is not always possible to completely avoid contamination. Particles or droplets that have been eccentrically deposited on the membrane have an influence on the thermal conductivity and heat capacity of the sensors located on the upstream and downstream sides and will therefore influence the temperature difference.
[0007] If an offset occurs, it may be necessary to determine whether it is caused by production-related membrane asymmetry or by contamination. If zero flow conditions cannot be easily achieved, it may also be necessary to distinguish between an offset caused by contamination and a sensor signal caused by actual flow.
[0008] Microthermal flow sensors are also known, which include separate bridges for carrying the heater and the temperature sensor instead of having a continuous membrane (see, for example, US 4,478,076). Similar problems also arise for this type of sensor. For example, both asymmetry of the bridge and contamination on the bridge may cause a shift in the sensor output. As disclosed in EP 3 367 087 A2, it may also be necessary to detect contamination on other types of thermal sensors, such as microthermal sensors, for determining the heat capacity of a fluid.
[0009] EP 1 065 475 A2 discloses a method for determining the flow rate using a calorimetric flow sensor having a heater and two temperature sensors arranged on a membrane. The temperature sensors measure the temperature difference from upstream and downstream of the heater. In addition, at least a second temperature difference is measured in different ways depending on the gas flow rate and the thickness of the membrane. The two temperature differences are used to calculate a measurement signal that is less dependent on the thickness of the membrane, in particular the influence of the accumulation of dirt on the membrane. However, the method of this document assumes that the dirt accumulates uniformly over the entire surface of the membrane, which leads to a change in sensitivity rather than an offset. This method cannot compensate for the offset of the flow signal caused by uneven contamination.
[0010] EP 1 965 179 A1 discloses a thermal flow sensor which is equipped with a self-test unit for monitoring the device and generating a fault signal in the event of a fault. The self-test unit can, for example, monitor the integrity of a membrane with a heater and a temperature sensor, or it can monitor various operating parameters of the device. The document does not mention the detection of contamination. Summary of the invention
[0011] The object of the present invention is to provide a thermal sensor, in particular a thermal flow sensor for measuring the flow rate of a fluid flow, which is configured to detect contamination of a sensing surface of the thermal sensor, such as a membrane or a bridge carrying a heater and a temperature sensor of the thermal sensor.
[0012] In a first aspect, the object is achieved by a thermal sensor according to the present invention. Other embodiments of the present invention are presented in the detailed description.
[0013] According to a first aspect, a thermal sensor is provided, in particular a thermal flow sensor for measuring a flow rate of a fluid flow, the thermal sensor comprising:
[0014] an active element configured to be supplied with power to cause a change in temperature of the active element, particularly a heater or a cooler;
[0015] at least one temperature sensor disposed in the vicinity of the active element such that a temperature change of the active element may cause a temperature change of the at least one temperature sensor; and
[0016] A processing circuit configured to perform the following steps:
[0017] causing a change in power supplied to active components;
[0018] determining, at a plurality of times, a thermal parameter based on an output signal of at least one temperature sensor;
[0019] Analyzing transient behavior of thermal parameters in response to changes in electrical power;
[0020] Based on the analysis of the transient behavior of the thermal parameter, a contamination signal indicative of contamination on a sensing surface of the flow sensor is determined.
[0021] According to a first aspect of the invention, the transient behavior of a thermal parameter derived from the output of at least one temperature sensor is analyzed and conclusions are drawn from the analysis about the presence or absence of contamination on the sensing surface. This is based on the finding that the transient behavior is affected by contamination in a different way than by flow or production-related asymmetries of the sensing surface. In particular, the transient behavior depends in a different way on changes in thermal conductivity and changes in heat capacity. Contamination affects thermal conductivity and heat capacity in a different way than flow or production-related asymmetries. In this way, a distinction can be made between these effects.
[0022] In some embodiments, the processing circuit is integrated with the active elements and the at least one temperature sensor in a common sensor package or even on the same substrate, such as on a common semiconductor chip. In other embodiments, at least a portion of the processing circuit is arranged away from the active elements and the at least one temperature sensor, such as in a separate microcontroller or computer.
[0023] In particular, the processing circuit may include: a power control circuit for supplying power to the active element; and a readout circuit for reading at least one temperature sensor and for determining thermal parameters. The power control circuit may be configured to supply constant power or constant current to the active element, for example, or to supply power to the active element in such a way that the active element reaches a predetermined temperature. The readout module may include, for example, an analog-to-digital converter (ADC) for digitizing the output signal of at least one temperature sensor. These circuits are advantageously implemented on a common substrate, in particular on a common semiconductor chip, together with the active element and at least one temperature sensor. The circuit may be implemented, for example, in CMOS technology. The processing circuit may also include an analyzer circuit configured to perform the steps of analyzing transient behavior and determining a contamination signal. The analyzer circuit may be integrated with the power control circuit and the readout circuit in a common sensor package or even on a common substrate, or the analyzer circuit may be remote from the power control circuit and the readout circuit. The analyzer module may be implemented, for example, in the form of an ASIC configured to perform the steps of analyzing transient behavior and determining a contamination signal by implementing a simple state machine. In other embodiments, the analyzer module may be implemented in the form of a general purpose computer programmed to perform the steps of analyzing transient behavior and determining a contamination signature.
[0024] The processing circuit may further comprise an I / O interface configured to output the contamination signal.Alternatively or additionally, the processing circuit may comprise a compensation circuit configured to perform compensation for contamination in subsequent measurements made using the thermal sensor based on the contamination signal.
[0025] In some embodiments, the step of analyzing the transient behavior of the thermal parameter may include comparing the transient behavior of the thermal parameter with a reference transient. To this end, the processing circuit may include: a storage device that stores the reference transient; and a comparator that is used to read the reference transient from the storage device and to perform the comparison.
[0026] The steps for analyzing the transient behavior of thermal parameters may include:
[0027] Based on the transient behavior, deriving the transient amplitude; and
[0028] Compare the transient amplitude to a reference amplitude or threshold.
[0029] Only a few data points are needed for the comparison between the measured transient and the reference transient and / or for deriving the transient amplitude. For example, three data points or four data points may already be sufficient. Therefore, these steps can be easily implemented by a simple logic circuit, for example with an ASIC.
[0030] In some embodiments, the step of analyzing the transient behavior of the thermal parameter comprises performing a fitting process of the time dependency of the thermal parameter with a superposition of at least two time dependency functions to obtain a weight factor for at least one of the functions. Preferably, one of the weight factors (at least mainly) indicates the contribution of the thermal resistance to the transient behavior, while the other weight factor (at least mainly) indicates the contribution of the thermal capacity to the transient behavior. The step of determining the contamination signal may comprise taking into account at least one weight factor determined by the fitting process, preferably at least a weight factor indicating the contribution of the thermal capacity. In some embodiments, the contamination signal is calculated directly from the weight factors or may even be identical to one of these weight factors, in particular to the weight factor indicating the contribution of the thermal capacity.
[0031] In some embodiments, the thermal sensor comprises not only one single temperature sensor, but a plurality of temperature sensors arranged in different sectors of the sensing surface. In this case, it is advantageous if the thermal parameter is a multi-sector thermal parameter based on a combination of the output signals of the plurality of temperature sensors. In particular, a differential thermal parameter may be formed from the output signals of at least two temperature sensors to cancel or at least reduce certain undesirable contributions to the output signal and thereby facilitate the detection of contamination, as will be explained in more detail below by way of example.
[0032] In particular, in some embodiments, the thermal sensor comprises at least one first temperature sensor and at least one second temperature sensor, the first temperature sensor and the second temperature sensor being arranged in different sectors of the sensing surface. In particular, one or more first temperature sensors may be arranged on a first side of the active element, and one or more second temperature sensors may be arranged on a second side of the active element opposite to the first side. In some embodiments, the thermal sensor is a thermal flow sensor for determining a flow rate of a fluid flow, which defines a flow direction. One or more first temperature sensors may then be arranged upstream of the active element relative to the flow direction, and one or more second temperature sensors may be arranged downstream of the active element. In this case, the first temperature sensor may be appropriately referred to as an upstream temperature sensor, and the second temperature sensor may be appropriately referred to as a downstream temperature sensor.
[0033] In some embodiments, the multi-sector thermal parameter is a temperature difference parameter indicative of a temperature difference between a first temperature sensor and a second temperature sensor. Such a parameter is particularly sensitive to any asymmetry between the first temperature sensor and the second temperature sensor, including asymmetry caused by contamination in the form of particles or droplets eccentrically deposited on the sensing surface. Therefore, analyzing the transient behavior of the temperature difference parameter can facilitate detection of contamination.
[0034] In some embodiments, the thermal sensor includes at least two first temperature sensors and at least two second temperature sensors. Then, the multi-sector thermal parameter can indicate the sum or difference of a first temperature non-uniformity parameter and a second temperature non-uniformity parameter, the first temperature non-uniformity parameter indicating the temperature non-uniformity between the first temperature sensors, and the second temperature non-uniformity parameter indicating the temperature non-uniformity between the second temperature sensors. Contamination in the form of particles or droplets eccentrically deposited on the sensing surface will cause temperature non-uniformity between the first temperature sensor and / or the second temperature sensor, which is reflected in the first temperature non-uniformity parameter and / or the second temperature non-uniformity parameter. In the case of a thermal flow sensor, for the first order, a properly defined non-uniformity parameter will be insensitive to the flow rate or will at least have a much lower sensitivity to the flow rate. In this way, the detection of contamination at non-zero flow rates is facilitated. If a difference in the non-uniformity parameter is formed, the resulting multi-sector thermal parameter will be further independent of certain kinds of asymmetries of the sensing surface, in particular asymmetries parallel or perpendicular to the heater direction.
[0035] A preferred multi-sector thermal parameter is a diagonal difference parameter formed by the outputs of two first temperature sensors and two second temperature sensors aligned with each other. In particular, the two first temperature sensors may be referred to as a "left" first temperature sensor and a "right" first temperature sensor arranged on the first side of the active element, and the two second temperature sensors may be referred to as a "left" second temperature sensor and a "right" second temperature sensor arranged on the second side of the active element. Here, the terms "left" and "right" are understood to be name tags that are used only to distinguish the two first temperature sensors and the two second temperature sensors from each other, respectively. The term is not intended to imply an absolute position or absolute direction. The left second temperature sensor may be aligned with the left first temperature sensor, and the right second temperature sensor may be aligned with the right first temperature sensor. If the first temperature sensor and the second temperature sensor are positioned opposite each other on different sides of the heater, the first temperature sensor and the second temperature sensor are considered to be "aligned". In the case of a flow sensor, the first temperature sensor and the second temperature sensor are aligned with respect to the flow direction: the fluid that has passed through the first (upstream) temperature sensor along the flow direction will also subsequently pass through the second (downstream) temperature sensor aligned with the first (upstream) temperature sensor. The diagonal difference parameter indicates the difference between a first temperature non-uniformity parameter indicating the temperature non-uniformity between the left first temperature sensor and the right first temperature sensor, and a second temperature non-uniformity parameter indicating the temperature difference between the left second temperature sensor and the right second temperature sensor. To the first order, the diagonal difference parameter is independent of asymmetry parallel to or perpendicular to the heater direction. If the thermal sensor is a flow sensor, to the first order, the diagonal difference parameter is also independent of flow rate.
[0036] In such a multi-sector embodiment, it may be advantageous to also split the active element into at least two separate active elements. In particular, if the active element is a heater, the heater may include a first heater element and a second heater element, the first heater element being arranged between the first upstream temperature sensor and the first downstream temperature sensor, and the second heater element being arranged between the second upstream temperature sensor and the second downstream temperature sensor. If the active element is a cooler, the same arrangement may be chosen. In this way, essentially two parallel thermal sensors are created.
[0037] The above-described detection of contamination based on transient behavior of thermal parameters can be supplemented by a detection scheme based on comparing steady-state values of thermal parameters under zero flow conditions with reference values. In particular, the processing circuit can be configured to perform the following steps:
[0038] receiving flow indicator;
[0039] causing power to be supplied to the active element when the flow indicator indicates zero flow rate;
[0040] determining a steady-state value of a thermal parameter when power is applied to the active element; and
[0041] The steady state value of the thermal parameter is compared to a reference value to determine the sensor offset parameter.
[0042] The flow indicator may, for example, be set to a logical one when there is flow, and may be set to a logical zero when the flow has been stopped, for example by closing a valve.For example, the flow indicator may be generated by a valve for regulating the flow of a fluid.
[0043] In some embodiments, the flow is stopped only if the contamination signal, which has been obtained by analysis of the transient behavior, indicates the presence of contamination.The sensor offset parameter is then determined and subsequently used for offset correction.
[0044] In a second aspect, the present invention relates to the concept of utilizing multi-sector thermal parameters, which are obtained based on the outputs of temperature sensors arranged in different sectors of a sensing surface regardless of whether the transient behavior of the multi-sector thermal parameters is analyzed or whether the steady-state values of the multi-sector thermal parameters are adopted.
[0045] Therefore, the present invention provides a thermal sensor, in particular a thermal flow sensor for measuring the flow rate of a fluid flow, the thermal sensor comprising:
[0046] an active element configured to be supplied with power to cause a change in temperature of the active element, particularly a heater or a cooler;
[0047] at least two first temperature sensors arranged in different sectors of the sensing surface, preferably on a first side of the active element;
[0048] at least two second temperature sensors arranged in different sectors of the sensing surface, preferably on a second side of the active element opposite to the first side; and
[0049] A processing circuit configured to perform the following steps:
[0050] enabling power to be supplied to active components;
[0051] determining a multi-sector thermal parameter based on a combination of output signals of at least two first temperature sensors and at least two second temperature sensors; and
[0052] A contamination signal indicative of contamination on a surface of the flow sensor device is determined based on the multi-sector thermal parameters.
[0053] As discussed above, the multi-sector thermal parameter may indicate the sum or difference of a first temperature non-uniformity parameter indicating temperature non-uniformity between first temperature sensors and a second temperature non-uniformity parameter indicating temperature non-uniformity between second temperature sensors.
[0054] In particular, the multi-sector thermal parameter may be the diagonal difference parameter discussed above.
[0055] The determination of the contamination signal may be based on steady state values of the multi-sector parameters or based on transient behavior of the multi-sector parameters.
[0056] In both aspects, any type of temperature sensor may be used. In particular, each of the first temperature sensor and the second temperature sensor may be a thermopile, ie, a group of thermocouples connected in series or a single thermocouple. In other embodiments, a resistive temperature sensor may be used.
[0057] The thermal sensor may include a carrier for the active element and the first temperature sensor and the second temperature sensor. The carrier may take the form of a film or a plurality of separate bridges. The active element and the temperature sensor may be arranged on the carrier and / or embedded in the carrier. The sensing surface is formed by the carrier and at least those parts of the active element and the temperature sensor arranged on the carrier.
[0058] The invention also relates to a method for determining contamination on a sensing surface of a thermal sensor according to each of the aspects discussed above.
[0059] In particular, the present invention provides a method of determining contamination on a sensing surface of a thermal sensor, in particular a thermal flow sensor for measuring a flow rate of a fluid flow, the thermal sensor comprising: an active element configured to be supplied with power to cause a temperature change of the active element, in particular a heater or a cooler; and at least one temperature sensor arranged in the vicinity of the active element, the method comprising:
[0060] causing a change in power supplied to active components;
[0061] determining, at a plurality of times, a thermal parameter based on an output signal from at least one temperature sensor;
[0062] analyzing transient behavior of thermal parameters in response to changes in electrical power; and
[0063] Based on the analysis of the transient behavior of the thermal parameter, a contamination signal indicative of contamination on a sensing surface of the thermal sensor is determined.
[0064] As discussed above, the step of analyzing the time dependency of the thermal parameter may include comparing the transient behavior of the thermal parameter with a reference transient and / or deriving a transient amplitude and comparing the transient amplitude with a reference amplitude or a threshold, and / or the step of analyzing the time dependency of the thermal parameter may include performing a fitting process of the time dependency of the thermal parameter with a superposition of at least two time dependencies to obtain a weight factor for at least one of the functions.
[0065] As discussed above, the thermal sensor may include a plurality of temperature sensors arranged in different sectors of the sensing surface, and the thermal parameter may be a multi-sector thermal parameter based on a combination of output signals of the plurality of temperature sensors. In particular, the multi-sector thermal parameter may be a temperature difference parameter indicating a temperature difference between a first temperature sensor and a second temperature sensor, the first temperature sensor and the second temperature sensor may be arranged on different sides of the active element, or the multi-sector thermal parameter may indicate a sum or difference of a first temperature non-uniformity parameter and a second temperature non-uniformity parameter. In particular, the multi-sector parameter may be the diagonal difference parameter discussed above.
[0066] As discussed above, this method can be augmented by the following steps:
[0067] Stopping fluid flow;
[0068] enabling power to be supplied to active components;
[0069] determining a steady-state value of a thermal parameter when power is applied to the active element; and
[0070] The steady state value of the thermal parameter is compared to a reference value to determine the sensor offset parameter.
[0071] In another aspect, the invention provides a method of determining contamination on a sensing surface of a thermal sensor, in particular a thermal flow sensor for measuring a flow rate of a flow of a fluid, the thermal sensor comprising: an active element configured to be supplied with electrical power to cause a temperature change of the active element; at least two first temperature sensors arranged in different sectors of the sensing surface, preferably on a first side of the active element; and at least two second temperature sensors arranged in different sectors of the sensing surface, preferably on a second side of the active element opposite to the first side, the method comprising:
[0072] enabling power to be supplied to active components;
[0073] determining a multi-sector thermal parameter based on a combination of output signals of at least two first temperature sensors and at least two second temperature sensors, the multi-sector thermal parameter preferably indicating a sum or a difference of a first temperature non-uniformity parameter indicating temperature non-uniformity between the first temperature sensors and a second temperature non-uniformity parameter indicating temperature non-uniformity between the second temperature sensors; and
[0074] A contamination signal indicative of contamination on a surface of the flow sensor device is determined based on the multi-sector thermal parameters.
[0075] As discussed above, the multi-sector thermal parameters may be diagonal difference parameters.
[0076] As discussed above, the determination of the contamination signal may be based on steady state values of the multi-sector parameters and / or based on transient behavior of the multi-sector parameters.
[0077] In yet another aspect, the invention provides a computer program product for determining contamination on a sensing surface of a thermal sensor, in particular a thermal flow sensor for measuring the flow rate of a fluid, the thermal sensor comprising an active element, at least one temperature sensor and a processing circuit, the computer program product comprising instructions which, when executed by the processing circuit, cause the processing circuit to perform any of the methods described above. The computer program may be stored on a storage medium, in particular on a non-volatile data carrier. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] The preferred embodiments of the present invention are described below with reference to the accompanying drawings, which are for the purpose of illustrating the current preferred embodiments of the present invention rather than for the purpose of limiting the present invention.
[0079] Figure 1 A flow sensor according to a first embodiment is shown in plan view;
[0080] Figure 2 Shown in perspective Figure 1A part of a flow sensor;
[0081] Figure 3 Shows Figure 1 Schematic functional representation of a flow sensor;
[0082] Figure 4 Shows the Figure 1 Equivalent circuit for modeling the thermal performance of flow sensors;
[0083] Figure 5 shows a diagram representing the dependence of the first model function f(x,r) on the variable x for various values of the variable r;
[0084] Figure 6 shows a diagram showing the dependence of the second model function g(x,r) on the variable x for various values of the variable r;
[0085] Figure 7 shows a graph representing the weighted superposition of the first model function f(x,r) and the second model function g(x,r) in dependence on the variable x for various values of the weight w for g(x,r) for r=0.5;
[0086] Figure 8 shows a schematic functional representation of a flow sensor according to a second embodiment;
[0087] Fig. 9 shows a schematic functional representation of a flow sensor according to a third embodiment;
[0088] Fig.10 shows a schematic functional representation of a flow sensor according to a fourth embodiment;
[0089] Fig.11 shows a schematic functional representation of a flow sensor according to a fifth embodiment;
[0090] Fig.12 A cross-sectional view of an infrared gas sensor is shown in a highly schematic manner;
[0091] Fig.13 shows a schematic block diagram of a processing circuit that may be used in conjunction with the present invention;
[0092] Fig.14 shows a flow chart for a method according to a first embodiment;
[0093] Fig.15 shows a flow chart for a method according to a second embodiment; and
[0094] Fig.16 A flow chart is shown for a method according to a third embodiment. DETAILED DESCRIPTION
[0095] Flow sensor setup and operation
[0096] Figure 1 A thermal flow sensor 1 according to a first embodiment is shown. Details of the flow sensor are shown in Figure 2 The arrangement and operation of such a flow sensor is disclosed in WO 01 / 98736 A1. As described in this document, the sensor can be operated to determine the mass flow rate of a fluid (ie, a gas or a liquid) flowing through a conduit 10 along a flow direction F.
[0097] from Figure 2 It can be seen that the flow sensor 1 is integrated on a silicon substrate 20, in which an opening or recess 21 has been formed by etching. A thin film 22 spans the opening or recess 21. On the membrane 22, a resistive heater 41, a first (upstream) temperature sensor 31 and a second (downstream) temperature sensor 32 are arranged. The first temperature sensor 31 is arranged upstream of the heater 41 with respect to the flow direction F, while the second temperature sensor 32 is arranged downstream of the heater 41.
[0098] In this example, each of the temperature sensors 31, 32 consists of a thermopile, i.e., a plurality of thermocouples connected in a series configuration. A thermocouple comprises two pieces of dissimilar material, which are joined at one end to form an electrical junction. The junction (referred to as a "hot junction") is located on the membrane. In this example, the upstream temperature sensor 31 comprises a plurality of hot junctions 31a, and the downstream temperature sensor 32 comprises a plurality of hot junctions 32a. At the other end of the two pieces of dissimilar material, each of the two pieces is joined to the next thermocouple or to a readout terminal. These junctions are referred to as "cold junctions". These junctions are located on a bulk substrate surrounding the membrane. In this example, the upstream temperature sensor 31 comprises a plurality of hot junctions 31a and a cold junction 31b, and the downstream temperature sensor 32 comprises a plurality of hot junctions 32a and a cold junction 32b. Whenever there is a temperature difference between the hot junction and the cold junction, an electric potential difference is generated, resulting in a thermoelectric voltage indicating the temperature difference between the hot junction and the cold junction that can be easily measured.
[0099] according to Figure 1 It is evident that the flow sensor 1 also includes a reference temperature sensor 35 for determining the temperature of the bulk substrate surrounding the membrane. The flow sensor also includes processing circuitry 50 including both analog and digital components for performing various tasks including controlling the heater 41, reading the temperature sensors 31, 32 and 35, etc. Contact pads 60 are provided for interfacing the flow sensor 1 with external circuitry.
[0100] exist Figure 3A simplified functional representation of the flow sensor 1 is shown in . The substrate 21 is represented by a frame, the membrane 22 is represented by a white area, the hot and cold junctions of each temperature sensor 31, 32 are represented by bars, and the processing circuit 50 is represented by a box. The surface portion of the flow sensor within the contour of the membrane can be considered to form the sensing surface of the flow sensor.
[0101] In order to determine the mass flow rate of the fluid, the flow sensor 1 is operated as follows: heater power is supplied to the heater. While the heater is activated, the upstream temperature sensor 31 and the downstream temperature sensor 32 are read to determine the upstream temperature and the downstream temperature, and the difference between the upstream temperature and the downstream temperature is calculated. In an alternative embodiment, the upstream temperature sensor and the downstream temperature sensor are connected in an anti-series configuration so that the generated thermoelectric voltage directly indicates the difference between the upstream temperature and the downstream temperature. In the following, the difference between the upstream temperature and the downstream temperature will be denoted as DTP. Instead of determining the temperature difference DTP, another thermal parameter indicating the degree to which the upstream temperature is different from the downstream temperature, such as the quotient or normalized difference of these temperatures, can also be determined.
[0102] In the prior art, usually only the steady-state value of the thermal parameter DTP is determined. This steady-state value is a measure of the mass flow rate of the fluid.
[0103] As already explained above, contamination of the membrane 22 on one side of the heater 41 causes changes in both thermal conductivity and heat capacity on this side, resulting in a shift in the thermal parameter DTP, which can easily be mistaken for mass flow. As will be shown below, such contamination can be detected and corrected by analyzing the transient behavior of the thermal parameter DTP.
[0104] In the following section, a theoretical model is presented that explains how contamination affects the transient behavior of the temperature difference parameter DTP.
[0105] Equivalent Circuit
[0106] According to systems science, the behavior of certain parameters or certain components in thermal systems behaves mathematically in a similar way to the behavior of certain parameters or certain components in electrical systems. Specifically, equivalent variables for electrical and thermal systems are given in standard systems science literature as follows:
[0107]
[0108] In the following, an equivalent circuit is introduced and analyzed to describe the dynamic thermal phenomena on the sensing surface of the flow sensor.
[0109] Figure 4An equivalent circuit used as an electrical model of a sensing surface is shown. An upstream temperature sensor 31 and a downstream temperature sensor 32 are each associated with a node in the equivalent circuit. The equivalent voltage corresponding to the temperature difference between the hot junction and the cold junction of the upstream temperature sensor is represented as V1. The equivalent voltage corresponding to the temperature difference between the hot junction and the cold junction of the downstream temperature sensor is represented as V2. The equivalent resistance corresponding to the thermal resistance of the film between the upstream temperature sensor and the downstream temperature sensor is represented as R0, the equivalent resistance corresponding to the thermal resistance of the upstream temperature sensor toward the adjacent substrate is represented as R1, and the equivalent resistance corresponding to the thermal resistance of the downstream temperature sensor toward the adjacent substrate is represented as R2. The equivalent capacitance corresponding to the heat capacity of the upstream temperature sensor 31 and the adjacent membrane portion is represented as C1, and the equivalent capacitance corresponding to the heat capacity of the downstream temperature sensor 32 and the adjacent membrane portion is represented as C2. The equivalent current corresponding to the heat flow rate received by each of the temperature sensors from the heater is represented as I, and the model assumes that both temperature sensors receive the same heat flow rate. The model also assumes that the cold junctions of both temperature sensors are at the same reference temperature, corresponding to electrical ground.
[0110] Mathematical model
[0111] By using standard Kirchhoff's circuit laws, we find Figure 4 The differential equations of the equivalent circuit shown in . Again replacing the electrical parameters by thermal parameters, the following equations describe the dynamics of the upstream temperature T1 and the downstream temperature T2 relative to the reference temperature of the substrate:
[0112]
[0113] Here, q represents the heat flow rate into each of the temperature sensors due to the heater power, and c=C1 / C2 is the ratio of the heat capacity of the upstream temperature sensor to the downstream temperature sensor. The time constants are given by τ0=R0C1, τ1=R1C1, and τ2=R2C2. The boundary conditions are T1(0)=T2(0)=0, i.e., the system is assumed to be in thermal equilibrium at the moment the heater is turned on.
[0114] The differential equation can be solved by diagonalizing the dynamics matrix. This yields the following two time constants:
[0115]
[0116]
[0117] It is instructive to use symmetrical and asymmetrical combinations of T1 and T2:
[0118] DTP = T1-T2 (difference between upstream and downstream temperatures)
[0119] STP = T1 + T2 (sum of upstream temperature and downstream temperature)
[0120] Using these variables, the differential equation is written as:
[0121]
[0122]
[0123] Completely symmetrical model
[0124] As an illustration of the model, we will first discuss the completely symmetric model corresponding to an ideal sensor. Due to symmetry, there are τ1=τ2=τ and c=1, and the two time constants are given by:
[0125] τ + = τ,
[0126]
[0127] For symmetrical heat input, the solution is
[0128]
[0129] DTP(t)=0.
[0130] Among them, R=R1=R2.
[0131] The results show that in the case of perfect symmetry, a symmetrical heat input will not produce a DTP signal. Non-zero values for the parameter DTP will only appear if there is an asymmetry.
[0132] Almost symmetrical model
[0133] Next, consider the case where the upstream thermal resistance and the downstream thermal resistance differ by an amount δR and the upstream heat capacity and the downstream heat capacity differ by an amount δC. Mathematically, this is:
[0134]
[0135]
[0136]
[0137]
[0138] Assumptions and Therefore, in and Only models up to multilinear (first) order are solved in .
[0139] The solution for STP is given by:
[0140]
[0141] Where, the STP time constant is:
[0142]
[0143] For the DTP problem, the solution can be written as a superposition of two general functions:
[0144]
[0145] The two general functions are given by:
[0146]
[0147]
[0148] Among them, the ratio is:
[0149]
[0150] The DTP time constant τ- is given by:
[0151]
[0152] exist Figure 5 and Figure 6 , respectively, show the dependence of the functions f(x, r) and g(x, r) on the variable x for various values of the ratio r.
[0153] Note that for t→∞, In other words, the steady-state value of DTP depends only on the asymmetry of the thermal resistance δR and is given by DTP(t→∞)=δR qr.
[0154] As discussed above, the actual transient behavior of the DTP can be modeled by a weighted superposition of the functions f(x,r) and g(x,r). Figure 7 It is shown in Figure 7 shows the different weights for g(x,r) Relative to The weighted superposition of the functions f(x,r) and g(x,r) at a fixed value r = 0.5 shows the different contributions of . The sequence of curves shows that the shape of the transient caused mainly by the asymmetry δC of the thermal capacity is different from the shape of the transient caused mainly by the asymmetry δR of the thermal resistance.
[0155] DTP-based particle detection
[0156] Particles or droplets on the sensing surface, i.e. on the membrane or on an element arranged on the membrane, locally change the thermal properties of the membrane and the element thereon. This causes an asymmetry in the thermal capacity δC and the thermal resistance δR.
[0157] Particle detection using DTP's zero flow steady-state excursion
[0158] As discussed above, under zero flow conditions, the value of DTP for t→∞ (i.e., the steady-state shift of DTP) is affected only by the asymmetry of thermal resistance δR. Therefore, the asymmetry of δR can be detected by determining the steady-state shift of DTP under zero flow conditions.
[0159] However, because asymmetric δR may be caused by each of these effects, it is not possible to distinguish between contamination and membrane asymmetry in this way. Therefore, the following strategy can be adopted: after production, a reference steady-state offset of the DTP for some defined heater power is determined and stored in a memory of the processing circuit or in an external memory such as a database. The reference offset will reflect any production-related asymmetry. At a later time in the field, the steady-state offset at zero flow is measured again and compared with the reference offset. Any deviation of the measured steady-state offset from the reference offset will then reflect contamination. The determination of the steady-state offset can be repeated from time to time to detect any other contamination that has occurred since the previous offset determination. The measured steady-state offset can also be stored in a memory and / or can be output for further analysis. The measured steady-state offset can be used for offset compensation in subsequent flow measurements.
[0160] It should be noted that this approach requires that a zero flow condition be established, since it is not possible to differentiate between flow and contamination by measuring the steady state value of DTP.
[0161] Transients using DTP for particle detection by comparison with reference transients
[0162] By taking into account the transient behavior of the DTP (i.e., the values of the DTP at different points in time after a defined change in heater power), the detection of contamination can be improved. As discussed above, the transient behavior is affected by both the asymmetry of the thermal resistance, δR, and the asymmetry of the heat capacity, δC. The presence of particles or droplets on the membrane generally has a stronger effect on the heat capacity than on the thermal resistance, and therefore, transient measurements may be more sensitive to contamination than steady-state measurements, which are only sensitive to the asymmetry of the thermal resistance.
[0163] A simple strategy for exploiting the transient behavior of the DTP can be implemented in the following way: after production, a reference transient (i.e., the value of the DTP at different points in time after a defined heater power change) is determined and stored in a memory of the processing circuit or in an external memory. The reference transient will reflect any asymmetry related to production. A few points in time may already be sufficient, such as three or four points, the first point reflecting, for example, the value of the DTP when the heater is turned on, one or two points reflecting the transient behavior of the DTP, and the last point reflecting the steady-state value of the DTP. At a later time, the transient measured in the field is compared with the reference transient. Any deviation of the amplitude and / or shape of the measured transient from the reference transient will then reflect contamination. For example, the transient amplitude difference can be calculated based on the difference between the transient measured at one or several selected points in time and the reference transient, and the transient amplitude difference can be compared with a threshold value to determine whether the measured transient differs from the reference transient to such an extent that the degree can be concluded that there is contamination. This calculation is very simple and can be easily implemented by logic circuits in an ASIC. The measurement of transients may be repeated from time to time to detect any further contamination occurring since the previous measurement, for example by monitoring the transient amplitude over time.The measured transients or parameters derived therefrom, such as transient amplitude, may be stored in a memory and / or may be output for further analysis.
[0164] The above process is preferably performed under zero flow conditions. However, it is also conceivable to perform the process under non-zero flow. For example, multiple reference transients for different flow rates can be stored in the memory of the processing circuit. The actual flow rate can be determined based on the steady-state value of the DTP. The amplitude or shape of the relevant transient can then be compared with the reference transient for the flow rate. In practice, the process works quite well for relatively small flow rates, typically for flow rates that do not exceed about 5% of the dynamic range of the flow sensor, in other words, about 5% of the maximum flow rate that can be reasonably determined by the flow sensor. The process is particularly useful in gas meter applications where it is generally not easy to completely cut off the gas flow. Then, the detection of contamination can be performed when the sensor output indicates an hourly flow rate.
[0165] Particle detection by fitting the transient state of the DTP to the superposition of two functions
[0166] Because the shape of the transient due to asymmetry of heat capacity δC is different from the shape of the transient due to asymmetry of thermal resistance δR, contamination can be distinguished from membrane asymmetry or low flow rate by the shape of the transient of DTP. In contrast, in the strategies discussed above, no attempt is made to directly distinguish between membrane asymmetry, low flow rate and contamination due to particles / droplets. Instead, the presence of contamination is inferred by comparing the measured data with reference data, which already reflects the effects of membrane asymmetry and can reflect the effects of low flow rate.
[0167] By taking advantage of membrane asymmetry, small flow rates and fouling and The different relative effects of the membrane asymmetry and low flow rates make it possible to distinguish directly between membrane asymmetry, low flow rates and fouling. Compared to membrane asymmetry or low flow rates, particles or droplets that have already deposited on the membrane usually lead to and In particular, the absolute value of this ratio is usually larger for particles or droplets already deposited on the membrane than for membrane asymmetry or for flow. As discussed above, the transient behavior of the thermal parameter DTP can be described by a weighted superposition of two functions, which in the model discussed above are called f(x,r) and g(x,r). The weights of these functions correspond to and The two functions have different shapes (ie, the two functions depend differently on the variable x). By fitting the shape of the DTP transient to the superposition of the functions f(x,r) and g(x,r), it is thus possible to distinguish between membrane asymmetry or flux and fouling.
[0168] The analysis can be performed as follows. The two model functions f(x,r) and g(x,r) can be determined, for example, based on a theoretical model of the sensing surface or based on empirical data. If a theoretical model is used, the model can be the simple model used above, or the model can be a more complex model of the sensing surface. The model functions can be stored in a memory of the processing circuit or in an external memory in a suitable form. For example, the function values for each value pair of the variable (x,r) can be stored directly, or the function can be parameterized (for example, by Taylor expansion) and the parameters characterizing the function can be stored (for example, the Taylor coefficients of the function up to a certain order). In order to determine the weights for the two functions f(x,r) and g(x,r), a fitting process (for example, regression analysis) can be performed, the weighted superposition of the two functions f(x,r) and g(x,r) describing the transient behavior of the DTP as derived above. The weight of g(x,r) is due to the presence of particles or droplets. The changes are particularly sensitive and can be used as a signal for contamination detection.
[0169] In order to determine the independent variables of the functions f(x,r) and g(x,r) It can be determined from independent measurements, for example by determining the transient behavior of the STP The value of , whose time dependence is determined only by Representation.
[0170] The fitting process is somewhat complicated by the fact that, at least in principle, not only the weights of the functions f(x,r) and g(x,r) depend on And the function itself depends on the variable r That is, the fitting parameters should in principle include not only the weight values of f(x,r) and g(x,r), but also the value of r. The dependence of is highly nonlinear. However, to simplify the process, we can initially set the value of r to correspond to or set to some other fixed value such as r = 0.5. A first fit can be made for this fixed value r. If ρ is small, the fit already produces very good results. If not, r can be iteratively varied and the fit repeated until a deviation parameter indicating the deviation of the measured DTP value from the value of the fitted superposition is minimized.
[0171] Particle detection based on multi-sector thermal parameters
[0172] Four-quadrant thermal parameter DiagDiff
[0173] The upstream temperature sensor and the downstream temperature sensor may be conceptually split in half so that four temperature sensors are formed, each temperature sensor being located in a different quadrant of the sensing surface. Figure 8 An example is shown in FIG. The flow sensor now comprises two upstream temperature sensors 31, 33 and two downstream temperature sensors 32, 34. In the following, the outputs of these temperature sensors will be referred to as the upstream left [UL] temperature sensor, the upstream right [UR] temperature sensor, the downstream left [DL] temperature sensor and the downstream right [DR] temperature sensor.
[0174] With this arrangement of the temperature sensors, several measurement modes can be performed. Of particular interest is the difference between the difference of the outputs of the left upstream and right upstream temperature sensors and the difference of the outputs of the left downstream and right downstream temperature sensors (i.e., symbolically, (UR-UL)-(DR-DL)). This is the same as the difference between the DTP values of the right upstream and right downstream temperature sensors and the DTP values of the left upstream and left downstream temperature sensors (symbolically, (UR-DR)-(UL-DL)). This four-sector parameter, which is the difference of the sensor output differences, will be referred to as the diagonal difference parameter DiagDiff hereinafter.
[0175] For the first (linear) order, the left and right halves of the sensing surface can be considered thermally independent. For this order, the DiagDiff parameter is insensitive to the membrane asymmetry perpendicular to the heater, common to both the left and right temperature sensors, and parallel to the heater, common to both the upstream and downstream temperature sensors.
[0176] However, the DiagDiff parameter is sensitive to contamination that is present in only one of the quadrants or that is unevenly distributed in the four quadrants, which is typically the case where contamination is by a single particle or droplet. Therefore, the DiagDiff parameter can be used to detect contamination while filtering out contributions from the most common types of membrane asymmetries.
[0177] Since the generated flow signal enters with opposite sign, the DiagDiff parameter is also independent of the flow rate of the fluid flow to the first order. Therefore, the DiagDiff parameter can also be used to detect contamination in the presence of fluid flow.
[0178] This is true both for the steady state value of the DiagDiff parameter and for the transient behavior of the DiagDiff parameter. Both can be used for the detection of contamination by particles or droplets.
[0179] Particle detection using steady-state values of DiagDiff
[0180] If only the steady-state value of the DiagDiff parameter is used for the detection of contamination, the following strategy can be adopted: After production, a reference steady-state value of DiagDiff is determined and stored in a memory of the processing circuit or in an external memory such as a database. The reference steady-state value of DiagDiff will reflect any production-related quadrupole membrane asymmetry. At a later time in the field, the steady-state value of DiagDiff is measured again and compared with the reference value. Any deviation of the measured steady-state value of DiagDiff from the reference value will then reflect contamination. The determination of the steady-state value of DiagDiff can be repeated from time to time to detect any other contamination that has occurred since the previous deviation determination. The measured steady-state value of DiagDiff can also be stored in a memory and / or can be output for further analysis.
[0181] Particle detection using transient behavior of DiagDiff
[0182] If the transient behavior of the DiagDiff parameter is analyzed, the same strategy as described above in conjunction with the transient of the DTP parameter can be adopted. Because the DiagDiff parameter is independent of the flow rate for the first order, it becomes easy to distinguish between contamination and fluid flow. Therefore, contamination can also be easily detected in the presence of fluid flow. In particular, after production, a reference transient for DiagDiff can be determined and stored in a memory of the processing circuit or in an external memory. The reference transient will reflect any asymmetry related to production. In addition, a few time points may be sufficient, for example four points. At a later time, the transient of DiagDiff measured in the field is compared with the reference transient. Then, any deviation of the amplitude and / or shape of the measured transient from the reference transient will reflect contamination. For example, the transient amplitude difference for DiagDiff can be calculated based on the difference between the measured transient of DiagDiff and the reference transient at one or several selected time points, and the amplitude difference can be compared with a threshold to determine whether the measured transient differs from the reference transient to such an extent that contamination can be concluded to exist.
[0183] By fitting the transient state of DiagDiff to two model functions, it becomes possible to make a direct distinction between fouling and quadrupole membrane asymmetry, also in a very similar way as explained above in conjunction with the transient state of the DTP parameters.
[0184] Other four-quadrant thermal parameters
[0185] It should be noted that, for the first order, the other four-quadrant parameters are also independent of the fluid flow rate, specifically, the sum of the difference between the outputs of the left upstream temperature sensor and the right upstream temperature sensor and the difference between the outputs of the left downstream temperature sensor and the right downstream temperature sensor (i.e., symbolically, (UR-UL)+(DR-DL)) is independent of the fluid flow rate. This is the same as the difference between the STP values of the right upstream temperature sensor and the right downstream temperature sensor and the STP values of the left upstream temperature sensor and the left downstream temperature sensor (symbolically, (UR+DR)-(UL+DL)). In yet another form, this can be expressed as (UR-DL)-(UL-DR). If the temperature sensor is a thermopile, the latter form (UR+DR)-(UL+DL) reflects the preferred wiring scheme, with the "plus" sign indicating that the corresponding thermopiles are connected in a series configuration, and the "minus" sign indicating that the corresponding thermopiles are connected in an anti-series configuration. Of course, other wiring schemes are also feasible. Although the four-sector parameter is sensitive to contamination by particles or droplets as desired, but not to flow rate, it is unfortunately also sensitive to geometric asymmetry of the membrane parallel to the heater. Therefore, for the detection of contamination, the four-quadrant parameter is less preferred than the DiagDiff parameter.
[0186] Extension to other multi-sector thermal parameters
[0187] The sensing surface may be subdivided into more than four sectors. For example, the sensing surface may be subdivided into six, eight, ten or more sectors. Thus, three, four, five or more upstream temperature sensors and the same number of downstream temperature sensors may be employed, each temperature sensor being located in one of the sectors. Based on the sensor outputs, a multi-sector thermal parameter may be formed. For example, the multi-sector thermal parameter may represent the sum or difference of an upstream temperature non-uniformity parameter and a downstream temperature non-uniformity parameter, each of which in turn indicates a non-uniformity between the temperatures determined by the corresponding sensors. There are many possibilities for forming such temperature non-uniformity parameters. The same advantages may be obtained using a general multi-sector thermal parameter as discussed above in conjunction with the four-quadrant thermal parameter, which is just an example of a more general concept of a multi-sector thermal parameter.
[0188] Note that the DTP parameter and the STP parameter can be viewed as particularly simple forms of multi-sector parameters, involving temperature signals from only two sectors.
[0189] Bridge replaces intact membrane
[0190] Instead of integrating the heater and the temperature sensor in a complete membrane, these structures can also be realized as bridges separated by gaps. Fig. 9 An example is shown in Fig. 9 A thermal flow sensor is schematically shown, comprising a substrate 21, in which openings 26 or recesses have been produced. Three separate bridges 23, 24, 25 of dielectric material span the openings 26 or recesses. The bridges extend perpendicularly to the flow direction F and are spaced apart by a distance d. An upstream temperature sensor 31 is formed on the first bridge 23, a downstream temperature sensor 32 is formed on the second bridge 24, and a heater 41 is formed on the third bridge 25. An additional temperature sensor 36 measures the heater temperature. All these components are additionally connected to a processing circuit 50. For more details, reference is made to EP 3 367 087 A2.
[0191] The sensing surface is formed by the surface of the bridge and the surface of the element arranged on the bridge. Contamination on this sensing surface causes very similar effects as contamination on an intact membrane and can be detected in the same way as described above in connection with the embodiment with an intact membrane.
[0192] Specifically, as described above in connection with the embodiment with an intact membrane, the bridge carrying the temperature sensor may be divided into four or more sectors and multi-sector thermal parameters may be employed for detection of contamination.
[0193] Fig.10An example is shown in FIG. In this example, the upper bridge carries two upstream temperature sensors 31 , 33 in the form of thermopiles. Figure 3 and Figure 8 In contrast to the membrane embodiment of the thermopile, the cold junction of the thermopile is arranged transversely at the end of the bridge. In the same way, the lower bridge carries two downstream temperature sensors 32, 34.
[0194] Fig.11 Another example is shown in . The bridges now extend in the flow direction F. Each bridge carries a separate heater 41 , 42 and an upstream temperature sensor 31 , 33 and a downstream temperature sensor 32 , 34 , respectively. A separate central third bridge carrying a heater may also be provided.
[0195] The same strategy for detecting fouling can be used as in embodiments with intact membranes.
[0196] Extension to other types of thermal sensors
[0197] One or more coolers may be used instead of one or more heaters. This is particularly useful in applications where the flow medium should not be heated above a certain temperature. The cooler may include one or more cooling elements such as one or more Peltier elements.
[0198] The present invention can be used not only for detecting contamination on a flow sensor, but also for other types of thermal sensors, such as the thermal sensor disclosed in EP 3 367 087 A2 for detecting the heat capacity of a fluid.
[0199] In a simple embodiment, the thermal sensor may include only a single temperature sensor. Even in this case, contamination can still be detected by analyzing the transient behavior of the temperature signal from the single temperature sensor. Similar to the transient of DTP or DiagDiff discussed above, the transient of the temperature signal from a single temperature sensor is also affected differently by the change in heat capacity and the change in thermal conductivity. By analyzing the transient behavior, in particular the shape of the transient behavior, it becomes possible to detect contamination even if only a single temperature sensor is used.
[0200] Fig.12 Another example is shown in , which shows in a highly schematic manner an infrared gas sensor for detecting a gas, such as carbon dioxide, by its absorption of infrared (IR) radiation. Fig.12The gas sensor comprises a carrier plate 11 having an opening 12. A bulb 43 is arranged on the carrier plate 11, which extends into the opening 12. Opposite to the bulb 43, an infrared detector is arranged, which also extends into the opening 12. The infrared detector comprises a temperature sensor 37 having a thin film on which an IR absorbing layer 38 is arranged. The temperature sensor may comprise, for example, one or more thermopiles arranged on or in the film. A capsule comprising an upper capsule portion 13 and a lower capsule portion 14 defines a radiation unit 15. In operation, the bulb 43 is activated to emit IR radiation. The IR radiation reaches the IR detector via a plurality of radiation paths X. The IR radiation heats up the IR absorbing layer 38. The resulting temperature rise is detected by the temperature sensor 37. If the gas in the radiation unit 15 absorbs the IR radiation, the temperature rise will be lower than the temperature rise in the absence of the gas. Thus, the gas can be detected. For details, reference is made to EP 3 144 663A1, the entire contents of which are incorporated herein for teaching gas sensors employing such a sensing principle.
[0201] Contamination of the temperature sensor 37 in such a gas sensor can be detected by analyzing the transient behavior of the temperature signal after a change in the power of the bulb 43. As in the previously discussed embodiments, contamination in the form of particles or droplets deposited on the membrane or on the IR absorbing material will change the transient behavior. In particular, such contamination will increase the thermal capacity of the membrane, which in turn will change the shape of the transient of the temperature signal.
[0202] Block diagram of processing circuit
[0203] The processing circuit may be fully integrated with the heater and temperature sensor, in particular on the same substrate, or at least a portion of the processing circuit may be implemented remotely from these elements. For example, in a simple embodiment, the method of detecting contamination discussed above may be implemented in an ASIC integrated on the same substrate as the heater and temperature sensor, the ASIC implementing a simple state machine. In other embodiments, more complex processing circuits may be used, for example including a program-controlled microprocessor.
[0204] Fig.13 1 shows a highly schematic block diagram of an exemplary processing circuit that may be used in conjunction with the present invention. The processing circuit essentially forms a microcontroller comprising a microprocessor (μP) 51 connected to a data bus 52. Data is communicated via the bus with a read-only memory (ROM) 53, a random access memory (RAM) and a communication interface 59 such as an I 2C interface for exchange. ROM 53 stores in particular lookup tables LUT1, LUT2 represented by boxes 54, 55 and program instructions for microprocessor 51 represented by box 56. The lookup table may contain, for example, calibration data, reference values and / or reference functions and data representing the model function discussed above. An input / output (I / O) interface 58 is also connected to bus 52, and input / output (I / O) interface 58 includes components such as multiplexers and ADCs for reading temperature sensors 31 to 35 and drivers or switches for driving heaters 41, 42. Possible hardware implementations may be realized as disclosed in WO01 / 98736A1 or EP 1 965 179A1.
[0205] Flowchart of the method
[0206] Figures 14 to 16 Some of the strategies discussed above for detecting contamination on a sensing surface are shown in the flow chart of FIG.
[0207] Fig.14 The flow chart of shows a strategy for analyzing the transient behavior of thermal parameters such as DTP or DiagDiff. In step 71, the heater power is changed. In step 72, DTP or DiagDiff is sampled at multiple time points t. In step 73, the resulting transient is analyzed by fitting the transient to a superposition of model functions f(x,r) and g(x,r) to obtain weights wf and wg for these model functions. In step 74, a contamination signal is derived from these weights. The contamination signal can then be output or stored.
[0208] Fig.15 The flow chart of shows a strategy for analyzing steady-state values of multi-sector thermal parameters such as DiagDiff. In step 81, the heater is activated. In step 82, the steady-state value DiagDiff(∞) is determined. In step 83, a contamination signal is derived from the steady-state value, for example by comparison with a reference value.
[0209] Fig.16 The flow chart of FIG. 1 shows a strategy for analyzing a steady-state value of a thermal parameter such as DTP at zero flow. In step 91, the fluid flow is stopped. In step 92, the heater is activated. In step 93, the steady-state value of DTP is determined. In step 94, a contamination signal is derived from the steady-state value, for example, by comparison with a reference value.
[0210] It should be understood that the present invention is not limited to the exemplary embodiments described above and that many modifications may be made without departing from the scope of the present invention.
[0211] List of reference numerals
[0212] 1 Thermal flow sensor 31a, 32a Thermal junction
[0213] 2 31b, 32b cold junction
[0214] 10 Conduit 41, 42 Heater
[0215] 11 Carrier plate 43 Light bulb
[0216] 12 Opening 50 Processing circuit
[0217] 13 Upper diaphragm box part 51 Microprocessor
[0218] 14 Lower diaphragm box part 52 bus
[0219] 15 Radiating unit 53 ROM
[0220] 20 Substrate 54, 55 Lookup table
[0221] 21 recess 56 program instruction
[0222] 22 Film 57 RAM
[0223] 23-25 Bridge 58 I / O interface
[0224] 26 Opening 59 Communication interface
[0225] 31, 33 Upstream temperature sensor 60 Contact pad
[0226] 32, 34 Downstream temperature sensor 71-74 Steps
[0227] 35, 36 Other temperature sensors 81-83 Steps
[0228] 37 Temperature Sensor 91-94 Steps
[0229] 38 IR absorption layer
Claims
1. A thermal sensor, comprising: an active element (41) configured to be supplied with power to cause a temperature change of the active element (41); at least one temperature sensor; as well as A processing circuit (50) is configured to perform the following steps: causing a change in power supplied to the active element (41); determining a thermal parameter based on at least one output signal of the at least one temperature sensor at a plurality of times after the change in power to obtain a time-dependent transient behavior of the thermal parameter in response to the change in power; analyzing the time-dependent transient behavior of the thermal parameter in response to changes in the electrical power; Based on an analysis of the time-dependent transient behavior of the thermal parameter, a contamination signal indicative of contamination on a sensing surface of the thermal sensor is determined.
2. The thermal sensor according to claim 1, wherein: The thermal sensor is a thermal flow sensor for measuring the flow rate of a fluid flow.
3. The thermal sensor according to claim 1 or 2, in, The step of analyzing the time-dependent transient behavior of the thermal parameter comprises comparing the time-dependent transient behavior of the thermal parameter with a reference transient, and / or Therein, the step of analyzing the time-dependent transient behavior of the thermal parameter comprises deriving a transient amplitude and comparing the transient amplitude with a reference amplitude or a threshold value.
4. The thermal sensor according to claim 1 or 2, in, The step of analyzing the time-dependent transient behavior of the thermal parameter comprises performing a fitting process of a weighted superposition of at least two time-dependent functions and the time-dependent transient behavior of the thermal parameter to obtain a weight factor for each of the time-dependent functions, one of the weight factors indicating a contribution of thermal resistance to the time-dependent transient behavior and another weight factor indicating a contribution of thermal capacity to the time-dependent transient behavior; and Therein, the step of determining the contamination signal comprises taking into account weighting factors determined by the fitting process.
5. The thermal sensor according to claim 1 or 2, wherein: The thermal sensor comprises a plurality of temperature sensors arranged in different sectors of the sensing surface, and wherein the thermal parameter is a multi-sector thermal parameter based on a combination of output signals of the plurality of temperature sensors.
6. The thermal sensor according to claim 5, in, The temperature sensor comprises: at least one first temperature sensor (31) and at least one second temperature sensor (32), and The multi-sector thermal parameter is a temperature difference parameter indicating a temperature difference between the first temperature sensor (31) and the second temperature sensor (32).
7. The thermal sensor according to claim 6, wherein: The at least one first temperature sensor (31) is arranged on a first side of the active element (41), and wherein the at least one second temperature sensor (32) is arranged on a second side of the active element (41) opposite to the first side.
8. The thermal sensor according to claim 5, in, The thermal sensor comprises at least two first temperature sensors (31, 33) and at least two second temperature sensors (32, 34), and The multi-sector thermal parameter indicates the sum or difference of a first temperature non-uniformity parameter and a second temperature non-uniformity parameter, wherein the first temperature non-uniformity parameter indicates the temperature non-uniformity between the first temperature sensors (31, 33), and the second temperature non-uniformity parameter indicates the temperature non-uniformity between the second temperature sensors (32, 34).
9. The thermal sensor according to claim 8, wherein: The at least two first temperature sensors (31, 33) are arranged on a first side of the active element (41), and wherein the at least two second temperature sensors (32, 34) are arranged on a second side of the active element (41) opposite to the first side.
10. A thermal sensor comprising: an active element (41) configured to be supplied with power to cause a temperature change of the active element (41); at least two first temperature sensors (31, 33) arranged in different sectors of the sensing surface; at least two second temperature sensors (32, 34) arranged in different sectors of the sensing surface; as well as A processing circuit (50) is configured to perform the following steps: causing power to be supplied to the active element (41); determining a multi-sector thermal parameter based on a combination of output signals of the at least two first temperature sensors (31, 33) and the at least two second temperature sensors (32, 34), the multi-sector thermal parameter indicating a difference between a first temperature non-uniformity parameter and a second temperature non-uniformity parameter, the first temperature non-uniformity parameter indicating temperature non-uniformity between the first temperature sensors (31, 33) and the second temperature non-uniformity parameter indicating temperature non-uniformity between the second temperature sensors (32, 34); as well as A contamination signal indicative of contamination on a surface of the thermal sensor is determined based on the multi-sector thermal parameters.
11. The thermal sensor according to claim 10, wherein: The thermal sensor is a thermal flow sensor for measuring the flow rate of a fluid flow.
12. The thermal sensor according to claim 10 or 11, wherein: The at least two first temperature sensors (31, 33) are arranged on a first side of the active element (41), and wherein the at least two second temperature sensors (32, 34) are arranged on a second side of the active element (41) opposite to the first side.
13. The thermal sensor according to claim 12, in, The first temperature sensors are a left first temperature sensor (31) and a right first temperature sensor (33) arranged on the first side of the active element (41), wherein the second temperature sensors are a left second temperature sensor (32) and a right second temperature sensor (34) arranged on the second side of the active element (41), the left second temperature sensor (32) being aligned with the left first temperature sensor (31), and the right second temperature sensor (34) being aligned with the right first temperature sensor (33), and The multi-sector thermal parameter is a diagonal difference parameter, the diagonal difference parameter indicates the difference between a first temperature non-uniformity parameter and a second temperature non-uniformity parameter, the first temperature non-uniformity parameter indicates the temperature non-uniformity between the left first temperature sensor (31) and the right first temperature sensor (33), and the second temperature non-uniformity parameter indicates the temperature difference between the left second temperature sensor (32) and the right second temperature sensor (34).
14. A method of determining contamination on a sensing surface of a thermal sensor, the thermal sensor comprising: an active element (41) configured to be supplied with power to cause a temperature change of the active element (41); and at least one temperature sensor, the method comprising: causing a change in power supplied to the active element (41); determining a thermal parameter based on an output signal from the at least one temperature sensor at a plurality of times after the change in power to obtain a time-dependent transient behavior of the thermal parameter in response to the change in power; analyzing the time-dependent transient behavior of the thermal parameter in response to changes in the electrical power; Based on an analysis of the time-dependent transient behavior of the thermal parameter, a contamination signal indicative of contamination on a sensing surface of the thermal sensor is determined.
15. The method according to claim 14, wherein: The thermal sensor is a thermal flow sensor for measuring the flow rate of a fluid flow.
16. The method according to claim 14 or 15, in, The step of analyzing the time-dependent transient behavior of the thermal parameter comprises comparing the time-dependent transient behavior of the thermal parameter with a reference transient, and / or Therein, the step of analyzing the time-dependent transient behavior of the thermal parameter comprises deriving a transient amplitude and comparing the transient amplitude with a reference amplitude or a threshold value.
17. The method according to claim 14 or 15, in, The step of analyzing the transient behavior of the thermal parameter comprises performing a fitting process of a weighted superposition of at least two time-dependent functions and the time-dependent transient behavior of the thermal parameter to obtain a weight factor for each of the time-dependent functions, one of the weight factors indicating a contribution of thermal resistance to the time-dependent transient behavior and another weight factor indicating a contribution of thermal capacity to the time-dependent transient behavior; and Therein, the step of determining the contamination signal comprises taking into account weighting factors determined by the fitting process.
18. The method according to claim 14 or 15, wherein: The thermal sensor comprises a plurality of temperature sensors arranged in different sectors of the sensing surface, and wherein the thermal parameter is a multi-sector thermal parameter based on a combination of output signals of the plurality of temperature sensors.
19. The method according to claim 18, wherein: The temperature sensor comprises at least one first temperature sensor (31) and at least one second temperature sensor (32), wherein the multi-sector thermal parameter is a temperature difference parameter indicating a temperature difference between the first temperature sensor (31) and the second temperature sensor (32).
20. The method according to claim 19, wherein: The first temperature sensor (31) and the second temperature sensor (32) are arranged on opposite sides of the active element (41).
21. The method according to claim 18, wherein: The thermal sensor comprises at least two first temperature sensors (31, 33) and at least two second temperature sensors (32, 34), The multi-sector thermal parameter indicates a sum or a difference of a first temperature non-uniformity parameter indicating temperature non-uniformity between the first temperature sensors (31, 33) and a second temperature non-uniformity parameter indicating temperature non-uniformity between the second temperature sensors (32, 34).
22. The method according to claim 21, wherein: The at least two first temperature sensors (31, 33) are arranged on a first side of the active element (41), and wherein the at least two second temperature sensors (32, 34) are arranged on a second side of the active element (41) opposite to the first side.
23. A method of determining contamination on a sensing surface of a thermal sensor, the thermal sensor comprising: an active element (41) configured to be supplied with power to cause a temperature change of the active element (41); at least two first temperature sensors (31, 33) arranged in different sectors of the sensing surface; and at least two second temperature sensors (32, 34) arranged in different sectors of the sensing surface, the method comprising: causing power to be supplied to the active element (41); determining a multi-sector thermal parameter based on a combination of output signals of the at least two first temperature sensors (31, 33) and the at least two second temperature sensors (32, 34), the multi-sector thermal parameter indicating a difference between a first temperature non-uniformity parameter and a second temperature non-uniformity parameter, the first temperature non-uniformity parameter indicating temperature non-uniformity between the first temperature sensors (31, 33), and the second temperature non-uniformity parameter indicating temperature non-uniformity between the second temperature sensors (32, 34); and A contamination signal indicative of contamination on a surface of the thermal sensor device is determined based on the multi-sector thermal parameters.
24. The method according to claim 23, wherein: The thermal sensor is a thermal flow sensor for measuring the flow rate of a fluid flow.
25. The method according to claim 23 or 24, wherein: The at least two first temperature sensors (31, 33) are arranged on a first side of the active element (41), and wherein the at least two second temperature sensors (32, 34) are arranged on a second side of the active element (41) opposite to the first side.
26. The method according to claim 25, in, The first temperature sensors are a left first temperature sensor (31) and a right first temperature sensor (33) arranged on the first side of the active element (41), wherein the second temperature sensors are a left second temperature sensor (32) and a right second temperature sensor (34) arranged on the second side of the active element (41), the left second temperature sensor (32) being aligned with the left first temperature sensor (31), and the right second temperature sensor (34) being aligned with the right first temperature sensor (33), and The multi-sector thermal parameter is a diagonal difference parameter, the diagonal difference parameter indicates the difference between a first temperature non-uniformity parameter and a second temperature non-uniformity parameter, the first temperature non-uniformity parameter indicates the temperature non-uniformity between the left first temperature sensor (31) and the right first temperature sensor (33), and the second temperature non-uniformity parameter indicates the temperature difference between the left second temperature sensor (32) and the right second temperature sensor (34).
27. A storage medium storing a computer program for determining contamination on a sensing surface of a thermal sensor, the thermal sensor comprising an active element (41), at least one temperature sensor and a processing circuit (50), the computer program comprising program instructions executable by the processing circuit (50) or by a separate processor to perform a method according to any one of claims 14 to 26.
