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.
1-10. (canceled) 11. A method for detecting a faulty state of an FMCW-based fill level measuring device serving for measuring a fill level of a fill substance located in a container, the method comprising:
transmitting a radar signal; receiving a response signal; creating a measurement signal based at least on the response signal; ascertaining a correlation coefficient by means of a correlation of the measurement signal with a reference signal; and detecting the faulty state when the correlation coefficient subceeds a predefined minimum value. 12. The method as claimed in 13. The method as claimed in 14. The method as claimed in 15. The method as claimed in 16. The method as claimed in 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. 17. The method as claimed in 18. The method as claimed in 19. 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, ascertain a correlation coefficient based on the measurement signal and a reference signal, and detect a faulty state when the correlation coefficient subceeds a predefined minimum value. 20. The fill level measuring device as claimed in
The invention relates to a method for detecting a possible faulty state of an FMCW-based fill level measuring device, as well as to a fill level measuring device suitable for performing such method. In automation technology, especially in process automation technology, field devices are often applied, which serve for registering and/or for influencing process variables. For registering process variables, sensors are applied, which are used, for example, in fill level measuring devices, flowmeters, pressure- and temperature measuring devices, pH-redox potential measuring devices, conductivity measuring devices, etc. These register the corresponding process variables, such as fill level, flow, pressure, temperature, pH value, redox potential and conductivity. A large number of these field devices are produced and sold by the firm, Endress+Hauser. For fill level measurement of fill substances in containers, contactless measuring methods have proven themselves, since they are robust and require low-maintenance (considered as “containers” within the scope of the invention are also open containers, such as, for example, vats, lakes or oceans or flowing bodies of water). A further advantage of contactless measuring methods is their ability to measure the fill level virtually continuously, thus, with a very high resolution. Accordingly, primarily radar-based measuring methods are applied for this. An established measuring principle, in such case, is the FMCW measuring principle (wherein FMCW stands for “Frequency Modulated Continuous Wave”). In such case, a continuous radar signal is transmitted and the response signal, which is reflected on the surface of the fill substance, is compared with the frequency of the instantaneously transmitted radar signal. In such case, the frequency of the radar signal lies in a fixed frequency band in the region of a standardized center frequency (f0). According to standard, here frequency bands in the 6 GHz band, the 26 GHz band, or the 79 GHz band are used. Characteristic for the FMCW method is that the transmitted frequency is not constant, but, instead, changes periodically within a frequency band. The change can, in such case, be linear and have a sawtooth- or triangular shape. A sinusoidally shaped change can, however, also be used, depending on application. In the case of the FMCW-based fill level measurement method, a special challenge is to be able to distinguish the received response signal, or the measurement signal derived therefrom, from superimposed disturbance fractions, without there being any doubt as to the correctness of the identification. In such case, the response signal in the ideal case should be produced exclusively by reflection of the radar signal on the fill substance surface. Due to disturbing influences of corresponding error sources, however, defective response signals can be generated. An essential cause, in such case, is the receipt of disturbance signals, which are brought about by reflection of the radar signal on disturbing bodies, such as stirrers or other objects installed in the container. However, also apparatus internal disturbance signals can occur, in which case the error source is, for example, a feedback in the antenna unit of the fill level measuring device. Many different technical approaches exist for filtering disturbance signals in the case of FMCW-based fill level measurement, in order to be able to correct the response signal. Thus, known from WO 2012/139852 A1 is a method for calibration of FMCW-based fill level measuring devices, in the case of which during normal measurement operation a unique reference measurement signal can be generated by means of an oscillating reference reflector, which is positioned between measuring device and fill substance. Described in German patent application DE 10 2008 050 117 A1 is a method for correction of internal disturbance signals of the fill level measuring device. The method described there is based on measuring a reference measurement signal in a test environment, which is as absorbing as possible, and subsequent creating of a correction curve based on the reference signal. By means of this method, disturbance signals can, indeed, in given cases, be compensated, but an aging or fouling of the fill level measuring device also changes the disturbance signals, or the measurement signals, overtime. Therefore, it is of interest to perform the correction in ongoing operation and to conclude that a faulty state exists, when a change of the compensation values is observed. The detection of such a faulty state is desirable exactly in the case of fill level measuring devices, which are applied in critical process plants with high required reliability. The needed requirements for such a use are described, for example, in the standard, IEC/EN 61508, for functional safety (also known as “safety integrity level, SIL”). An object of the invention, therefore, is to provide a method, with which a faulty state of FMCW-based fill level measuring devices can be reliably detected. The invention achieves this object by a method for detecting a faulty state of an FMCW-based fill level measuring device serving for measuring a fill level of a fill substance located in a container, comprising method steps as follows:
In such case, a faulty state is defined within the scope of the invention as a state of the fill level measuring device, in the case of which it cannot be assured that the fill level measuring device ascertains a correct fill level. Thus, the method of the invention can determine with a high degree of certainty a possible faulty state of a fill level measuring device. In this way, the fill level measuring device can be used also in process plants and measuring environments, which require extremely reliable measuring apparatuses, and measurement data. Advantageously for calculating the correlation coefficient, the correlation coefficient is calculated by means of a cross correlation, especially with the usual formula for cross correlation: Applied as reference signal in the context of the invention is, in principle, any measurement signal, which represents a defined reference situation of the fill level measurement, either in the container or in another reference environment. Accordingly, various options are available for implementing the reference signal. On the one hand, the reference signal can be based on a theoretically derived, ideal echo curve. As basis for this, for example, an ideally reflecting plane with known distance and infinite extent can be used. Alternatively, the reference signal can be based on a reference measurement, which is performed by the fill level measuring device in the container in the presence of previously known, reference measurement conditions. A reference measurement condition in the container can be, for example, a prevailing, or subceeded, minimum fill level. In such case, the presence of a clean container interior can represent an additional reference measurement condition. Another possible reference measurement condition for creating a reference signal, in the case of which exclusively internal sources of failure of the fill level measuring device are mapped, is composed in the recording of the reference signal in a test environment, such as, for example, an absorption chamber, in which the radar signal is completely absorbed and, thus, no response signal is produced. Moreover, the method of the invention can be further developed in a form such that, based on the correlation coefficient and its change during ongoing fill level measurements, a time-dependent function of correlation coefficient is created. Accordingly, for the case, in which the correlation coefficient has not yet subceeded the predefined minimum value, a remaining operating time, until the minimum value is subceeded, can be calculated based on the time-dependent function of correlation coefficient. Thus, this further development uses the idea of approximating a remaining operating time by ascertaining the time development of the correlation coefficient over at least two or more fill level measurements, in order to estimate when the minimum value will probably be subceeded and, thus, the faulty state of the fill level measuring device entered. Proviso for this is that the correlation coefficient at the current point in time has not yet subceeded the minimum value. By means of this further development of the invention, thus, a faulty state can be predicted based on the principle of “predictive maintenance”. In such case, the time-dependent function of correlation coefficient can be created by means of regression, in the simplest case a linear regression. In general, the choice of a suitable regression type (thus, exponential, logarithmic, polynomial, sliding average value formation, etc.) in the sense of invention is not limited to any particular regression type, but, rather, depends on the individual time behavior of the correlation coefficient. For performing the regression and/or for ascertaining a suitable regression type, accordingly, for example, the method of least squares can be applied. An object of the invention is achieved analogously to the method of the invention by a fill level measuring device for performing the method of at least one of the above described variants. For this, such a fill level measuring device comprises:
In such case, the evaluating unit is advantageously so designed that, for ascertaining fill level, it performs a Fourier transformation, especially a fast Fourier transformation, of the measurement signal, since in comparison to other types of calculation this require less effort. The invention will now be explained in greater detail based on the appended drawing, the figures of which show as follows: First, for understanding the method of the invention, The fill level measuring device 1 is so arranged on the container 2 that it transmits, sends, a radar signal SHFtypical for FMCW in the direction of the surface of the fill substance 3. After reflection of the radar signal SHFon 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 RHF. In such case, as characteristic for FMCW, the frequency difference between the instantaneously transmitted radar signal SHFand the response signal RHFdepends on the distance d=h−L to the fill substance surface. Thus, from the measured frequency difference, the fill level L can be determined. 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. 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 sHFis, 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 sHFis advantageous for resolution, because at higher frequencies a greater frequency difference can be implemented. After its production, the high frequency signal sHFis fed via a signal divider 12 (and, in given cases, a transmission amplifier 13 In measurement operation, a response signal RHFis produced by reflection of the radar signal SHFon 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 At a receiving antenna 15 of the fill level measuring device 1, the response signal RHFis received and converted into an electrical signal (which, in turn, can, in given cases, be amplified by a receiving amplifier 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. For ascertaining its frequency fpeak(or, when the radar signal is, in given cases, also reflected on disturbing bodies, a plurality of frequencies fpeak), the measurement signal sIFis usually subjected to an analog-/digital conversion by a digitizing unit 17. Then, the digitized measurement signal sIFcan 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 fpeakand, thus, the distance d, and the fill level L, can be determined. In the case of the example of an embodiment shown in The measurement signal sIFis shown as a function of time in The quality decline between the measurement signal sIFmeasured in The invention is based on the observation that a change of the measurement signal sIFresulting from disturbing influences very directly affects the correlation coefficient K between the measurement signal sIFand the earlier stored reference signal sref. This can be seen based on 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 Kminof the correlation coefficient K. In such case, the minimum value Kminrepresents 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. When the correlation coefficient K is ascertained by means of cross correlation, the calculation can occur based on the formula In such case, AIF,iand Aref,iare the corresponding, equal phase and normalized amplitude values of the measurement signal sIFand of the reference signal sref(compare 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 SIFand the reference signal sref. Regarding the minimum value Kmin, 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 If during ongoing operation of the fill level measuring device 1, the minimum value Kminof the correlation coefficient K is subceeded, then this is detected by a logic-gate 19 (see Shown in The time-dependent function K(t) shown in 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 sIFat the point in time of the last fill level measurement, to approximate the probable remaining operating time tr, until the correlation coefficient K will subceed the minimum value Kmin. By means of this further development of the invention, thus, a faulty state can be predicted according to the principle of “predictive maintenance”.LIST OF REFERENCE CHARACTERS