This application claims the benefit of the filing date under 35 U.S.C. § 119(a)-(d) of document German Patent Application No. 10 2006 019 705.4; filed Apr. 27, 2006.
The present invention relates to a method for processing time-discrete measured values, which can be described in their time characteristic by means of an exponential function, the method making use of a measured-value filter. In particular, the present invention relates to a method of this kind for use in a gas sensor arrangement, and to a related gas sensor arrangement.
Known gas sensor arrangements comprise a radiation source emitting radiation, a gas measuring chamber, which can be filled with a sample gas that contains at least one analyte to be measured, and at least one detector device detecting radiation, which detector produces an output signal dependent on the presence and/or the concentration of the analyte. Gas sensor arrangements of this kind are known for the detection of a wide range of analytes, for example carbon dioxide or methane. Conventional gas sensors are based on the property of many polar gases to absorb radiation in the infrared (IR) wavelength range. The IR light is capable of causing excited states of the molecules by excitation of rotation and vibration oscillations by interacting with the dipole moment of the polar molecule. The thermal energy of the IR light is transferred to the gas in this way and in the same way the intensity of an IR ray passing through the gas volume is reduced. According to the excitation states, absorption occurs in a wavelength that is characteristic in each case of the gas in question, for example at 4.25 μm in the case of CO2.
The detection of carbon dioxide (CO2) in particular, is now becoming increasingly important in a large number of application areas. In the motor vehicle field, for example, carbon dioxide detection can be used to monitor the CO2 content of the interior air to increase energy efficiency in the case of heating and air conditioning, in order to initiate a supply of fresh air via suitable fan flap activation only if required, i.e. when there is an increased CO2 concentration. In addition, modern vehicle air conditioning systems are also based on CO2 as a coolant, so that CO2 gas sensors in the motor vehicle field can fulfill a monitoring function in connection with escaping CO2 in the event of any defects. In the motor vehicle field in particular, gas sensors must meet the highest requirements in respect of sturdiness, reliability and miniaturizability. In addition, the response time of the sensor may not exceed certain limit values for safety applications.
The output signal of known detector devices, such as those disclosed in German patent application DE 10 2005 055 869.7, can be described quite generally as a response to an abrupt change in concentration by an exponential function according to the following equation (1).
Here y(t) describes the detector signal emitted by the detector at a time t, y0 the final value to which the detector signal approximates and τ the time constant of the exponential function.
To characterize the response behavior of the gas sensor, it is not the time constant τ, which describes the tangent to the exponential function at zero, which is used for the most part in practice, but the so-called t90 time, which describes the time at which the detector signal has attained 90% of the final value y0. Usually a t90 time of less than 10 seconds is required for safety applications of a gas sensor.
However, various design boundary conditions that will be examined in greater detail below result in the t90 time often being too long in the case of known gas sensors.
For example, the use of a filter membrane on the inlet opening, as is necessary to protect against pollution, causes a slower response of the gas sensor, in principle due to the retarded diffusion inwards. The stringent demands made on miniaturization of the gas sensor, furthermore, reduce the dimensions of the inlet opening for the sample gas and likewise lead to increased response times.
To increase the sensitivity of the sensor, it is proposed in German patent application DE 10 2005 055 860.7 to use a rotationally symmetrical cell. However, this implies an extended gas mixing time and thus once more an increase in the response time. Thus known gas sensors have the disadvantage that the t90 time lays above the limit values required for safety applications.
On the other hand, the design conditions should be changed as little as possible, as otherwise, other disadvantages such as insufficient sensitivity have to be accepted.
The present invention relates to a method of processing time-discrete measured values, which can be described in their time characteristic by a first exponential function which has a first time constant, the method comprising the steps of: detecting a first measured value and storing the first measured value, detecting a second measured value and storing the second measured value according to a defined time interval with respect to the detection of the first measured value, filtering the first measured value and second measured value by calculating a sum of the first measured value and a weighted difference between the second measured value and the first measured value, thereby generating time-discrete output values which can be described in their time characteristic by a second exponential function having a second time constant different from the first time constant, and outputting the output values.
The invention is explained in greater detail below with reference to the accompanying Figures of which:
The construction of the gas sensor arrangement according to the invention and the mode of operation of the method according to the invention for processing time-discrete measured values are to be explained in greater detail below with reference to the figures.
The present invention is based on the idea that an improved time characteristic of a gas sensor arrangement 100 as a whole can be achieved by the use of a filter stage in which the measured values of the detector unit 108 recorded at the time interval Δt are converted into a time-discrete output function, which likewise obeys an exponential function but has a modified time constant. Due to the exponential step function response and the time-discrete mode of operation of the gas sensor 100, an additional differential portion can easily be introduced into the measuring signal, so that the sensor system as such has a faster time constant.
According to the invention, to calculate the output value, a sum of a first measured value and a weighted difference between a second measured value and the first measured value is calculated and the sum value used as the output value. This means that the output value is calculated as the sum of the previous measured value and the difference between the current measured value and the previous measured value multiplied by a weighting factor D. This relationship is described by the following equation (2):
z(ti)=yi−1+D·(yi−yi−1) (2)
Here z(ti) describes the value to be output currently in a time-discrete sequence of output values, yi−1 describes the detector value at a first time, yi the detector value at a second time, which differs from the first time by the time interval Δt, and D the weighting factor.
The weighting factor D can be a fixed value with which a τ2→0 can be set. Alternatively, the weighting factor D can also be a function, which is dependent on the difference Δy, i.e. the difference between the current measured value and the previous measured value. By using such an adjusted weighting factor, it is possible for example to set a new time constant τ2 and in addition, it is possible for example to prevent the noise from being increased excessively in the case of small changes.
As shown in
The detector unit 108 supplies a time-discrete detector signal, which obeys a first exponential function y(t) and compared with the step function has a retarded response with a time constant T1. By analogy with the general formulation of equation (1) the equation for the detector signal can be formulated according to the following equation (3):
Here the detector signal according to the invention is defined in that it consists of time-discrete measured values y(ti), which are obtained at a time interval of Δt.
To be able to achieve a faster sensor characteristic, the detector signal is not used directly as the output signal according to the invention, but the detector signal is supplied to a filter unit 109, which carries out conversion of the detector signal y(t) to the output signal z(t). As indicated in
The calculation rule for the conversion of the detector signal to the output signal is provided according to the invention by equation (2):
z(ti)=yi−1+D·(yi−yi−1) (2)
The infrared radiation 116 emitted is conducted through the gas measuring chamber 104 to the detector unit 108. Arranged on the detector unit 108 is an optical filter, which only allows through the wavelength range in which the gas molecules to be detected absorb. Other gas molecules do not normally absorb any light at this specific wavelength and therefore do not influence the amount of radiation reaching the detector unit 108 either. All suitable infrared detectors can be used as a detector unit and the method according to the invention can be adapted to any respective detector type.
For example, the detector can be a pyroelement, an infrared thermopile or a photodiode. The suitable detector in each case can be chosen according to the respective requirements. Thus the photodiode offers the advantage that it represents a comparatively low-cost component, while the thermocolumn, as the thermopile detector is also called, offers the advantage of particularly high and uniform absorption of the radiation in the selected spectral range. Finally, pyroelectric sensors have the advantage of a very high level of sensitivity and a miniaturized manufacturing capability.
According to the invention the infrared signal is pulsed by the radiation source 102, in order to be able to filter thermal background signals out of the desired signal. Thus the measured values supplied by the detector unit are present in the form of time-discrete values y(t), which, as indicated in
A controller 120 activates the radiation source 102 on the one hand and on the other receives the detector signals of the detector unit 108 and processes these further according to the principles of the present invention. In particular, the controller comprises a filter unit 109, which executes the conversion of the detector signal y(t) into an output signal z(t) with a shorter time constant τ2. As indicated schematically in
First it should be noted that the present invention starts out from the basic condition that only a current value and the last value measured are available. As shown in
This means that to attain a shorter t90 time according to the invention, the transient recovery time τ likewise has to be shortened. Such a function with reduced τ2 as output value function z(t) is represented schematically in
Since according to the invention the final value y0 attained is to remain unchanged, it corresponds in equation (5) to the final value y0 from equation (3). The fundamental exponential function characteristic is likewise supplied by the same function term as in equation (1). According to the invention only the τ1 achieved by the detector unit is replaced by the shorter τ2 of the equation (5). As is to be deduced in the following, the conversion from a current measured value y(ti) using the preceding measured value y(ti-1) to a current output value z(ti) is carried out via equation (2).
The following definitions are used for this: t=ti-1 is a first time, at which a measurement is carried out; t+Δt=ti is a second time, which is Δt later than ti-1 and at which a second measurement is carried out. The difference between the measured values at the two times is described by Δy.
Using this nomenclature and the equations (3) and (5), the expression for the weighting factor D is to be deduced below. For the first and second measured values measured at the respective first and second times, the following can be written:
From this it follows for the difference Δy of the two measured values:
If equations (6) and (8) as well as the expression
obtained from equation (5) are now inserted in equation (2), the following general expression for D results after corresponding resolution:
A substantial borderline case is the case in which τ2 is assumed to be 0, i.e. the case in which an ideal sensor, which exactly replicates the step function C(t), is achieved.
The limit value of the expression D for τ2 towards 0 is formed and the following simplified expression results for D, which is no longer dependent on time t:
If 9.8 seconds is inserted for τ1, for example, and 2.5 seconds for Δt, the weighting factor D assumes the value 4.17.
For any τ2 a further conversion is advisable, so that calculation of D is possible. First equation (6) is turned round so that the time t is expressed as a function of y0 and y1:
and following logarithmising on both sides:
If the equations (11) and (12) are put in equation (9) for the expressions
and t respectively, then the following general expression results for the weighting factor D:
The output value is thus multiplied by a weighting factor that is dependent in turn on the preceding measured value.
A further basic condition when operating a gas sensor in a motor vehicle application is the safety requirement that a rising edge with the change in concentration of 1,000 ppm per second must be at least still detectable. On the other hand, the conversion to the accelerated output signal should not take place if possible in the event of very small differences between the first and the second measured value Δy, in order to prevent noise that is too strong.
It can be shown that, depending on the absolute value for Δy, various weighting factors D can make sense. These relationships are shown in
Above the defined value Δymin, the aim is for the response time to be fast, and so above this minimum value filtering takes place using higher D values. The minimum Δy value, up to which the sensor should tend to be sluggish, can be calculated approximately using the following equation (14).
In the case that an edge of 1,000 ppm per second should be reached and the interval between two measurements is 2.5 seconds, ys=2,500 ppm and at τ1=22.5 s a value Δymin of 564 ppm results. If the real time constant value τ1 is still lower, for example 40 seconds, Δymin falls to 335 ppm.
As shown in
The step function 601 uses a constant value of D=0.5 until Δy is distinguished from the noise 610 (here the value 2σ is chosen by way of example). Filtering using D=0.5 corresponds to simple averaging. For Δy>Δymin a value between D=1 and
is entered for D, so that the output values have a reduced time constant τ2. Curve 602 outlines the case in which the new D value is approximated already after 1σ slowly in the form of a linearly rising dependence on Δy.
Such a linear dependence could also, as curve 603 outlines, begin at Δy=0 and rise as far as a value of
which must be attained at the latest for Δy=Δymin. In principle any dependencies can be realised in the calculation unit 124 of the filter 109 according to the invention, as indicated by the curved progression of curve 605.
For D values
(characterized by the area 606 in
the contraction according to the invention in the transient recovery time is attained. In the area 608, i.e. for D values between 1 and 0.5, the system is more sluggish than the transient recovery time of the detector actually prescribes, and for values below D=0.5 (area 609) the sensor “hangs” on the respectively preceding measured value as shown by curve 604.
Using the measured value filtering according to the invention, especially in connection with gas sensors, a faster response of the entire sensor system to abruptly increased gas concentration values can be achieved. Although above it was the special case of an NDIR-CO2 sensor that was being described throughout, it is clear that the present invention can be adapted to all sensor systems in which an exponential approximation to a final value takes place and in which the measured values are present in time-discrete form.
Furthermore, the calculations executed above are based exclusively on the assumption that the measuring signal, starting out from the initial value 0, approaches the final value y0 in a positively rising manner. It can be shown, however, that the principles according to the invention can be transferred by analogy also to the case of an exponential decay according to the general equation
in which case b describes the start value of the decaying signal and the final value to which the signal for t→∞ approximates.
Finally, a gas sensor arrangement with only one radiation source and only one detector was always assumed above. Naturally, all known referencing principles, such as of two radiation sources or of more than one detector, for example, can also be used. For example,
The above described solutions according to the present invention provide the advantage that a faster response of the sensor 100 to an abrupt increase in the gas concentration can be guaranteed without having to resort to design measures.
The advantageous properties of the measured-value processing according to the present invention can be exploited, in particular, in gas sensor arrangements for the detection of carbon dioxide, for example in the motor vehicle field, both for monitoring CO2 escaping from leaks and for verifying the air quality in the passenger interior. Naturally, the principles according to the invention can also be used in connection with the detection of any other gases and are of significance for all sensors in which a measuring signal obeys an exponential function with a first time constant and output values are to be obtained that obey an exponential function with a changed time constant.
The foregoing illustrates only some of the possibilities for practicing the invention. Many other embodiments are possible within the scope and spirit of the invention. It is, therefore, intended that the foregoing description be regarded as illustrative rather than limiting, and that the scope of the invention is given by the appended claims together with their full range of equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10 2006 019 705 | Apr 2006 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
6843102 | Shulga et al. | Jan 2005 | B1 |
Number | Date | Country | |
---|---|---|---|
20080114552 A1 | May 2008 | US |