Method for detecting potential faulty states on an FMCW-based filling level measuring apparatus

11650302 · 2023-05-16

Assignee

Inventors

Cpc classification

International classification

Abstract

Disclosed is a method for detecting a faulty state of an FMCW-based fill level measuring device. For this, a correlation coefficient is ascertained by correlation, especially cross correlation, of the measurement signal with a reference signal. The faulty state is accordingly detected when the correlation coefficient subceeds a predefined minimum value. In this way, the functioning of the fill level measuring device can be monitored with a degree of safety allowing the fill level measuring device to be applied also in process plants and measuring environments, which require extremely reliable measuring apparatuses, and measurement data.

Claims

1. A method for detecting a faulty state of a frequency modulated continuous wave (FMCW)-based fill level measuring device serving for measuring a fill level of a fill substance located in a container, the method comprising: transmitting an FMCW radar signal; receiving a response signal; creating a measurement signal based at least on the response signal; correlating the measurement signal with a reference signal using a correlation function; calculating a correlation coefficient using the correlation of the measurement signal with the reference signal; and detecting the faulty state when the correlation coefficient subceeds a predefined minimum value.

2. The method as claimed in claim 1, wherein the correlation function is a cross correlation, and wherein the correlation coefficient, K, is calculated according to the formula: K = .Math. i = 1 n - φ A IF , i * A ref , i + φ wherein A.sub.IF,i is an amplitude of the measurement signal, A.sub.ref,i is an amplitude of the reference signal, n is a number of measured values per measuring/reference signal, and φ is a phase shift between the measurement signal and the reference signal.

3. The method as claimed in claim 1, wherein the reference signal is based on a theoretically derived, ideal echo curve.

4. The method as claimed in claim 1, wherein the reference signal is based on a reference measurement performed by the fill level measuring device in the presence of previously known, reference measurement conditions.

5. The method as claimed in claim 4, wherein the reference measurement conditions are for subceeding of a minimum fill level.

6. The method as claimed in claim 1, further comprising: creating a time-dependent function of the correlation coefficient based on the correlation coefficient and a change of the correlation coefficient during ongoing fill level measurements; and when the correlation coefficient has not subceeded the predefined minimum value, calculating a remaining operating time, until the minimum value is subceeded based on the time-dependent function of the correlation coefficient.

7. The method as claimed in claim 6, wherein the time-dependent function of the correlation coefficient is created by means of a regression.

8. The method as claimed in claim 7, wherein, for performing the regression and/or for ascertaining a suitable regression type, the method of least squares is applied.

9. A fill level measuring device, comprising: a signal production circuit for producing a radar signal; a transmitting antenna for transmitting the radar signal; a receiving antenna for receiving a response signal; a mixer for producing a measurement signal by mixing the radar signal with the response signal; and an evaluating unit configured to: ascertain a fill level based on the measurement signal; correlate the measurement signal with a reference signal using a correlation function; calculate a correlation coefficient using the correlation of the measurement signal with a reference signal; and detect a faulty state when the correlation coefficient subceeds a predefined minimum value.

10. The fill level measuring device as claimed in claim 9, wherein the evaluating unit is further configured to ascertain the fill level by performing a Fourier transformation, including a fast Fourier transformation, of the measurement signal.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The invention will now be explained in greater detail based on the appended drawing, the figures of which show as follows:

(2) FIG. 1 shows a typical arrangement of an FMCW based fill level measuring device on a container,

(3) FIG. 2 shows a typical circuit construction of an FMCW based fill level measuring device for performing the method of the invention, and

(4) FIG. 3 shows schematic graphs for ascertaining the correlation coefficient.

DETAILED DESCRIPTION

(5) First, for understanding the method of the invention, FIG. 1 shows a typical arrangement of a fill level measuring device 1 mounted on a container 2 and working according to the FMCW measuring principle. Located in the container 2 is a fill substance 3, whose fill level L is to be determined by the fill level measuring device 1. For this, the fill level measuring device 1 is mounted on the container 2 above the fill substance 3 at a previously known, installed height h measured from the floor of the container 2. The container 2 can, in such case, depending on application, be more than 100 m high.

(6) The fill level measuring device 1 is so arranged on the container 2 that it transmits, sends, a radar signal S.sub.HF typical for FMCW in the direction of the surface of the fill substance 3. After reflection of the radar signal S.sub.HF on the fill substance surface (or, undesirably, on a disturbing body, such as, for example, an intake 21 protruding into the container), the fill level measuring device 1 receives a corresponding response signal R.sub.HF. In such case, as characteristic for FMCW, the frequency difference between the instantaneously transmitted radar signal S.sub.HF and the response signal R.sub.HF depends on the distance d=h−L to the fill substance surface. Thus, from the measured frequency difference, the fill level L can be determined.

(7) As a rule, the fill level measuring device 1 is connected via a bus system, for instance, a “PROFIBUS”, “HART” or “wireless HART” bus system, to a superordinated unit 4, for example, a process control system. In this way, on the one hand, information concerning a possible faulty state of the fill level measuring device 1 can be communicated. Also information concerning the fill level L can be transmitted, in order, in given cases, to control flows 21 incoming to the container 2 and/or flows 22 outgoing from the container 2.

(8) FIG. 2 shows a suitable circuit construction for an FMCW based fill level measuring device 1, with which the method of the invention for detecting a possible faulty state can be practiced. For producing a high frequency signal s.sub.HF suitable for the FMCW measuring method, the fill level measuring device includes 1 a signal production circuit 11, for example, based on a PLL (“phase lockedloop” thus, a high frequency oscillator whose frequency is controlled by feedback, for example, based on a voltage controlled oscillator). In such case, the high frequency signal s.sub.HF is so sized that it has a frequency in the microwave region (according to standard, at 6 GHz, 26 GHz or 79 GHz, or even a frequency to above 100 GHz). The frequency is, in such case, not constant, but, instead, varies periodically within a predetermined frequency difference: In the case of 79 GHz, the frequency difference can, for example, amount to 2 GHz, so that a frequency band between 78 GHz and 80 GHz is passed through. Usual in the case of the FMCW method is that the periodic change is a sawtooth shaped change of the frequency of the high frequency signal s.sub.HF. Any other shape, for example, a sinusoidal change of the frequency, can be used within the frequency difference.

(9) The repetition of the (sawtooth shaped) change can, in such case, such as typically in the case of the FMCW method, lie in an order of magnitude extending to some number of 100 MHz. The frequency difference of the high frequency signal s.sub.HF is, in this case, preferably sized as large as possible, since by increasing the bandwidth the resolution of the fill level measurement can be increased. Thus, generally, a higher frequency of the high frequency signal s.sub.HF is advantageous for resolution, because at higher frequencies a greater frequency difference can be implemented.

(10) After its production, the high frequency signal s.sub.HF is fed via a signal divider 12 (and, in given cases, a transmission amplifier 13a) to a transmitting antenna 14. There the electrical high frequency signal s.sub.HF is converted into the actual radar signal S.sub.HF and correspondingly radiated. The design of the transmitting antenna depends, in such case, on the frequency of the radar signal S.sub.HF. In the case of frequencies between 6 GHz and 26 GHz, a horn antenna is often applied. Especially in the case of higher frequencies starting from 79 GHz, the antenna is, as a rule, a planar antenna, for example, a fractal, patch or meander shaped antenna, situated on the chip, on which at least the HF components (11, 12, 13a/b, 14, 15, 16) of the fill level measuring device 1 are located.

(11) In measurement operation, a response signal R.sub.HF is produced by reflection of the radar signal S.sub.HF on the surface of the fill substance 3 (and/or on a disturbing body in the container 2, such as, for example, an intake 21 protruding into the container 2; see FIG. 1). In the case of a calibration or reference measurement with the fill level measuring device 1, the response signal R.sub.HF results from reflection of the radar signal S.sub.HF under predefined, reference conditions, for example, by a reference object arranged in a measurement path at known distance d. Another reference condition can be defined by an exactly known fill level L in the container 2 (for example, by a known minimum fill level L.sub.min, which, for example, due to a correspondingly arranged drain 22, cannot go lower, see, again, FIG. 1). Moreover, a reference condition can also be a reflection free as possible measuring environment (for example, an absorption chamber, into which the fill level measuring device points). In such case, optimally, there is no response signal R.sub.HF at all. The response signal R.sub.HF obtained under reference conditions is then stored as reference signal s.sub.ref. Alternatively to the creating of the reference signal s.sub.ref by measuring under reference conditions, the reference signal s.sub.ref can also be based on a theoretically derived, ideal echo curve.

(12) At a receiving antenna 15 of the fill level measuring device 1, the response signal R.sub.HF is received and converted into an electrical signal (which, in turn, can, in given cases, be amplified by a receiving amplifier 13b). Such is then mixed by means of a receiver mixer 16 with the instantaneous high frequency signal s.sub.HF, wherein the high frequency signal s.sub.HF produced by the signal production circuit 11 is borrowed for this using a signal divider 12. In this way, a measurement signal s.sub.IF typical for the FMCW method (also known as the intermediate frequency- or IF-signal) is generated. Its frequency f.sub.peak is, in the absence of disturbing influences, only dependent on the distance d and enables, thus, the measuring of fill level L. In contrast with the frequencies of the radar signal S.sub.HF and the response signal R.sub.HF, the frequency f.sub.peak of the measurement signal s.sub.IF is, due to the difference forming between radar signal S.sub.HF and response signal R.sub.HF by the mixer 16, constant (as long as the fill level L does not change).

(13) Instead of transmitting antenna 14 and receiving antenna 15 as separate units, use of a suitable transmitting/receiving separator, or directional coupler, would alternatively naturally also permit the implementing of a combined transmitting/receiving antenna. This could in the case of low frequencies up to about 26 GHz, analogously to the application of two separate antennas, be designed again as a horn antenna, or at higher frequencies as a planar antenna.

(14) For ascertaining its frequency f.sub.peak (or, when the radar signal is, in given cases, also reflected on disturbing bodies, a plurality of frequencies f.sub.peak), the measurement signal s.sub.IF is usually subjected to an analog-/digital conversion by a digitizing unit 17. Then, the digitized measurement signal s.sub.IF can be subjected to a (fast-) Fourier transformation and, thus, be converted into an easily evaluatable, frequency spectrum. Based on the maximum of the spectrum, the frequency f.sub.peak and, thus, the distance d, and the fill level L, can be determined. In the case of the example of an embodiment shown in FIG. 2, a corresponding evaluating unit 18 is provided for this. When the evaluating unit 18 is, for example, in the form of a microcontroller, FPGA or the like, the above mentioned digitizing unit 17 can be an integral function block of the evaluating unit 18.

(15) The measurement signal s.sub.IF is shown as a function of time in FIG. 3a and FIG. 3b before performance of the Fourier transformation by means of the digitizing unit 17. In such case, the measurement signal s.sub.IF shown in FIG. 3b is for a later fill level measurement as compared with the measurement signal s.sub.IF shown in FIG. 3a. From comparison of FIGS. 3a and 3b, it is evident that the signal-quality of the measurement signal s.sub.IF, such as regards, for instance, the amplitude A or the frequency resolution, can decline with increasing number of measurements. Reasons for this can include, for example, a gradual accretion buildup on the transmitting antenna 14 and/or the receiving antenna 15 in the form of dust containing fill substance 3. Also, internal sources of failure of the fill level measuring device 1, for example, a detuning of the mixer 17, can lead to this behavior.

(16) The quality decline between the measurement signal s.sub.IF measured in FIGS. 3a and 3b is, additionally, evident relative to a reference signal s.sub.ref shown in both figures. In such case, the reference signal s.sub.ref can be, for example, a stored measurement signal s.sub.IF, which was recorded under defined reference conditions. The reference signal shown in FIGS. 3a/b was obtained at the start-up of the fill level measuring device 1, when the container interior was clean and empty, thus, the container 2 had, at most, fill substance 3 rising to the predefined minimum fill level L.sub.min.

(17) The invention is based on the observation that a change of the measurement signal s.sub.IF resulting from disturbing influences very directly affects the correlation coefficient K between the measurement signal s.sub.IF and the earlier stored reference signal s.sub.ref. This can be seen based on FIG. 3c, in which the correlation coefficient K is shown as a function of increasing number N of fill level measurements. This shows that the correlation coefficient K weakens with increasing number N of fill level measurements when the signal-quality of the measurement signal s.sub.IF lessens due to increasing disturbing influences.

(18) The presence of a faulty state of the fill level measuring device 1, or a defective fill level measurement, can, consequently, be detected by defining a minimum value K.sub.min of the correlation coefficient K. In such case, the minimum value K.sub.min represents a threshold value, below which a reliable fill level measurement is no longer possible, and, thus, a faulty state of the fill level measuring device 1 is present.

(19) When the correlation coefficient K is ascertained by means of cross correlation, the calculation can occur based on the formula

(20) K = .Math. i = 1 n - φ A IF , i * A ref , i + φ

(21) In such case, A.sub.IF,i and A.sub.ref,i are the corresponding, equal phase and normalized amplitude values of the measurement signal s.sub.IF and of the reference signal s.sub.ref (compare FIGS. 3a and 3b). For correctly ascertaining the correlation coefficient K, there must be no phase shift φ of the measurement signal s.sub.IF and the reference signal s.sub.ref relative to one another, this being shown especially in FIG. 3a. Otherwise this must, such as indicated in the formula, be correspondingly corrected for calculating the correlation coefficient.

(22) As can be seen additionally from the above formula, the value of the correlation coefficient K depends decisively on the amplitudes A of the measurement signal S.sub.IF and the reference signal s.sub.ref. Regarding the minimum value K.sub.min, it is, consequently, not possible per se to define a fixed value, below which the fill level measuring device 1 is to be graded as no longer capable of functioning. As derivable from FIG. 3c, the minimum value K.sub.min can, however, be defined, for example, as a function of the correlation coefficient K reigning at the first measurement (N=1, for example, the measurement, in which the reference signal s.sub.ref was also ascertained), thus, for example, k.sub.min= 1/10 *K.sub.N=1. A sensible definition of the minimum values K.sub.min can, additionally, be determined, for example, also via corresponding aging tests with the fill level measuring device.

(23) If during ongoing operation of the fill level measuring device 1, the minimum value K.sub.min of the correlation coefficient K is subceeded, then this is detected by a logic-gate 19 (see FIG. 2) of the fill level measuring device 1 designed for this. For this, the correlation coefficient K between the measurement signal s.sub.IF and the reference signal s.sub.ref is calculated in the logic-gate 19, for example, based on above described formula. For calculating the correlation coefficient K, the logic-gate 19 uses the measurement signal s.sub.IF from the mixer 16. The reference signal s.sub.ref is obtained, for example, from the evaluating unit 18 (see FIG. 2). In such case, the logic-gate 19 can also be designed as an integral part of the evaluating unit 18. A possible subceeding of the minimum value K.sub.min, or a presence of a faulty state, can, in turn, be transmitted per a corresponding disturbance message to the superordinated unit 4.

(24) Shown in FIG. 3c, moreover, is another development of the method of the invention. The idea here is to approximate a remaining operating time t.sub.r based on the correlation coefficients K of at least two fill level measurements, until the minimum value K.sub.min of the correlation coefficient K is subceeded and, thus, a faulty state of the fill level measuring device 1 is reached. For this, a time development of the correlation coefficient K in the form of a corresponding mathematical function K(t) must be created based on the correlation coefficients K ascertained to the current point in time. Such a calculation makes sense naturally only when the correlation coefficient K at the point in time of the current fill level measurement has not yet subceeded the minimum value K.sub.min. The creating of the time-dependent function K(t) of the correlation coefficient K and/or the calculating of the remaining operating time t.sub.r can, in turn, be done by the evaluating unit 18 (compare FIG. 2).

(25) The time-dependent function K(t) shown in FIG. 3c is based on regression of the changing correlation coefficient K by means of the sliding average value. In general, the choice of a suitable regression type (thus, also exponential, logarithmic, etc.) in the sense of invention is, however, not limited to any special regression type, but, rather, depends on the particular behavior of the correlation coefficient K (for example, for finding a suitable regression type and/or for performing the actual regression, the method of least squares could be applied).

(26) Following creating of the time-dependent function K(t) of the correlation coefficient K, this function is used, starting from the correlation coefficient K of the measurement signal s.sub.IF at the point in time of the last fill level measurement, to approximate the probable remaining operating time t.sub.r, until the correlation coefficient K will subceed the minimum value K.sub.min. By means of this further development of the invention, thus, a faulty state can be predicted according to the principle of “predictive maintenance”.