The present invention relates to the determination and correction of an error induced by a high-pass filter in the measurement chain of a sensor.
In the field of the measurement of physical quantities by means of a sensor, it is known for certain principles of measurement to deploy a high-pass filter required for obtaining the measurement. However this same high-pass filter causes an error by introducing disturbances. The only known remedy to this problem is currently to limit the impact of the high-pass filter on the useful signal, by reducing the cutoff frequency of the high-pass filter to the minimum, so as to move it away from the passband of the sensor.
An aim of the invention is to theoretically estimate the error induced by the high-pass filter as a function of the characteristics of the high-pass filter and of the measurement signal output by the high-pass filter so as to correct this error in order to reconstruct the measurement signal.
The invention relates to a device for determining an error induced by a high-pass filter in a signal, comprising a means for calculating said error according to the formula:
E(t)=Ve(t)−Vs(t)=2·Π·Fc·∫α=t
with:
E(t) the value of the error induced by the high-pass filter, as a function of the time variable t,
Π the trigonometric constant,
Fc the cutoff frequency of the high-pass filter,
t0 the initial instant,
α integration variable,
Ve the signal input to the high-pass filter,
Vs the signal output by the high-pass filter,
According to a first embodiment of the invention said calculation means is periodically reset to zero.
The reset to zero can be controlled according to the invention by an external periodic signal.
Alternatively the reset to zero can be controlled according to the invention by a thresholding of the signal Vs.
Advantageously according to the invention said thresholding is carried out with a hysteresis.
According to another characteristic of the invention the threshold value used for the thresholding is substantially equal to the mean value
According to a second embodiment of the invention, the device further comprises a stabilizing filter.
According to another characteristic of the invention said stabilizing filter comprises a first-order low-pass filter, with transfer function 1/(1+τ·p), applied to the signal of mean value
According to yet another characteristic of the invention said low-pass filter employs the recurrence formula:
s(i)=k·
and said high-pass filter employs the recurrence formula:
The invention also and more generally relates to a method of correcting an error induced by a high-pass filter in the measurement chain of a sensor, said method comprising in particular the following steps:
E(t)=Ve(t)−Vs(t)
The invention further relates to the application of the device according to one of the above embodiments to the construction of a conditioner for a sensor comprising a high-pass filter, said conditioner furthermore comprising an adder device, adding said error E to the output signal of the sensor Vs, so as to produce a corrected signal Ve.
The invention further relates to a sensor comprising a high-pass filter, comprising such a conditioner.
The invention further relates to the application to a pressure sensor comprising a piezoelectric sensitive element.
Other characteristics, details and advantages of the invention will emerge more clearly from the detailed description given hereinafter by way of indication in conjunction with the drawings in which:
The subsequent description concentrates on the device 3 for determining the error E. The calculation principle relies on a theoretical analysis of the influence of a high-pass filter 2 on a signal. The transfer function of a first-order high-pass filter is:
with
s output signal,
e input signal,
p Laplace variable, and
τ time constant, with 2·Π·Fc·τ=1, Fc being the cutoff frequency of the high-pass filter 2.
The equivalent differential equation is:
where t represents the time variable. By integration we deduce:
E(t)=[e−s](t)=2·Π·Fc·∫α=t
E(t)=Ve(t)−Vs(t)=2·Π·Fc·∫α=t
By knowing the value of the error E(t0) at a given instant t0, it is possible to determine the error E(t) at any instant, by integrating the signal VS minus its mean value
The device 3 which is the subject of the invention and its various components can be embodied by any means known to a person skilled in the art of analog or digital type. However, whatever technology is employed, the presence of an integrator 14 leads to a drift. Thus, for example, when the device 3 is embodied using digital technology, errors related to the sampling and to the trapezoidal approximation used for the integration contribute to this drift.
If it is assumed that the measured signal Ve, and therefore the disturbed signal Vs, is periodic, it then follows that the error E arising from an integration of said signal Vs vanishes periodically according to a period identical to that of the signals Ve, Vs. This is exploited according to two embodiments of the invention, so as to reduce the impact of this drift. This drift is considered acceptable during a period of the signal since it is negligible in relation to the error E determined. According to a first embodiment of the invention, the error E is periodically reset to zero. According to a second embodiment, an additional filtering is applied to the error E.
According to the first embodiment the calculation means 3 comprises a means for resetting the error E(t) to zero. According to a first variant the means for resetting to zero is controlled by a periodic signal external to the device.
However, it is possible that this external periodic signal may not be available. According to a second variant, the periodic signal Vs may advantageously be threshold so as to control the resetting to zero. A thresholding means (not represented) then compares the signal Vs with a threshold value S. Said signal Vs being periodic, such a thresholding must reveal, for a well-chosen threshold S, over each period, a crossing of the threshold S “upward” and a crossing of the threshold S “downward”. The reset to zero can then advantageously be performed, controlled by one of these crossings.
In order to circumvent a local oscillation of the threshold signal, it is advantageous to carry out the thresholding with a certain hysteresis, according to a procedure well known to a person skilled in the art, by using a greater hysteresis width than the foreseeable amplitude of said oscillation.
Advantageously, to perform a reset to zero of the error E close to the point where it vanishes naturally, the reset to zero is performed when the signal Vs exhibits a point of inflection. For this purpose the threshold value S used for the thresholding is taken to be equal to the mean value
According to the second embodiment, alternatively to a reset to zero, the device according to the invention 3 comprises a stabilizing filter. Such a device is advantageous in that it does not cause any signal discontinuity such as that possibly induced by the reset to zero used in the first embodiment. Thus this second embodiment, since it does not carry out any thresholding, is advantageously more robust to the oscillations of the signal VS and to parasitic noise.
The stabilizing filter advantageously comprises a first-order low-pass filter 9, with transfer function 1/(1+τ·p), applied to the signal of mean value
According to a method well known to a person skilled in the art, the embodying of filters with digital calculation means replaces the transfer functions with recurrence formulae applicable to the signals sampled according to a period Te and indexed as a function of an index i. Thus the disturbed measurement signal Vs is denoted Vs(t) at the instant t in continuous mode. In an equivalent manner Vs(i), respectively Vs(i−1), denotes the sampled value of the signal Vs respectively for the ith and for the i−1th sampling. The recurrence formulae are respectively for the low-pass filter 9:
with
k real number lying between 0 and 1, and such that k=τ/(τ+Te),
Te, Fe respectively sampling period and frequency, and
i recurrence index.
A value of k=0.9999 turns out to be satisfactory. It corresponds to a value of the time constant τ=0.2, for a sampling period of 200 ms. Increasing the value of k makes it possible to improve the accuracy of the device 3. However this is performed to the detriment of its speed, an increase in k being equivalent to an increase in the response time τ. Likewise it is possible to decrease k, so as to increase the speed to the detriment of the accuracy.
Referring to
The present invention can certainly be generalized to filters of order higher than one by applying the principles stated above. The invention therefore also relates to a method of correcting an error induced by a high-pass filter in the measurement chain of a sensor, said method comprising in particular the following steps:
E(t)=Ve(t)−Vs(t)
By way of exemplary application of the invention there may be cited a pressure sensor 5 whose sensitive element 6 comprises a piezoelectric dielectric capacitor. According to a known measurement principle, said capacitor reveals at its terminals a charge representative of the pressure to which it is subjected. A voltage signal indicative of the pressure is obtained by integrating said charge by means of an operational amplifier. Realization of the circuit for amplifying the charge necessarily introduces a high-pass filter. The invention is applicable to such a pressure sensor so as to compensate for the disturbance introduced by said high-pass filter.
One case of application of said pressure sensor is the measurement of the pressure in an internal combustion engine cylinder. Such a measurement reveals a periodic signal whose period corresponds to an engine cycle. The external reset to zero signal may in this case arise from the measurement of the crankshaft angle.
Number | Date | Country | Kind |
---|---|---|---|
0609126 | Oct 2006 | FR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP07/08868 | 10/12/2007 | WO | 00 | 7/13/2009 |