The present invention relates to a method for determining and/or monitoring at least one physical, process variable of a medium with an oscillatable unit, wherein the oscillatable unit is excited by means of a frequency search sweep within a predetermined frequency band in the working range of the oscillatable unit in the form of transmitted signals successively to oscillate with discrete exciter frequencies following one after the other, wherein the corresponding oscillations of the oscillatable unit are received in the form of received signals, wherein, via the frequency search sweep, that exciter frequency is ascertained, in the case of which the oscillatable unit oscillates with an oscillation frequency, which has a predetermined phase shift between the transmitted signal and the received signal, and wherein a transmitting/receiving unit excites the oscillatable unit to oscillate with the ascertained oscillation frequency or wherein the following frequency search sweep is started. The process variable is, for example, a predetermined fill level of the medium, the phase boundary, the density or the viscosity of the medium.
With vibronic measuring devices, a large number of physical variables can be detected or monitored, such as, for example, the fill level, the phase boundary, the density or the viscosity of a medium in a container or in a pipeline. The assignee provides such measuring devices in a large variety under the marks, Liquiphant and Soliphant.
Vibronic measuring devices have an oscillatable unit, which, most often, includes a membrane and a thereon secured oscillatory rod or an oscillatory fork having two tines.
There are, however, also vibronic measuring devices known, whose oscillatable unit is only the membrane.
The exciting of the oscillatable unit to oscillate with the resonance frequency occurs usually via a piezoelectric stack- or bimorph drive or via electrodynamic drive elements, wherein the drive unit, most often, is embodied as a combined transmitting/receiving unit. The transmitted signal and the received signal have a phase shift, which usually lies in a defined range around 90°.
For fill level measurement, the effect is utilized that the oscillation frequency and oscillation amplitude change, when the degree of covering of the oscillatable unit changes. In air, undamped oscillation occurs, while oscillation is damped in the case of oscillatable unit covered with medium. This change in the oscillation amplitude or oscillation frequency is utilized to detect the reaching of a predetermined fill level, usually a maximum fill level, for overflow protection or a minimum fill level for protection against running empty.
The oscillation amplitude of an oscillatory fork or of an oscillatory rod depends furthermore on how much mass is being dragged. If the density or the phase of a medium changes, then this influences the oscillation of the oscillatable unit, so that a transition between different phases as well as also density changes can be detected with the vibronic measuring device. In similar manner, the oscillation is damped when the viscosity of the medium increases.
In order to so set the exciter frequency that the oscillatable unit oscillates with a predetermined phase shift between transmitted signal and received signal, the assignee has developed a method utilizing a frequency search sweep. A corresponding patent application (Application No. DE 102009026685) has been filed but has not yet been published. The method will be described briefly here.
In the frequency search sweep, the oscillatable unit is excited successively to oscillate with discrete, closely neighboring frequencies and the frequency corresponding to the predetermined phase shift is ascertained. The ascertaining of the frequency occurs, in such case, via phase selective rectification and following low-pass filtering. A rectangular signal delayed by the predetermined phase shift relative to received signal is multiplied with the received signal. If the phase shift between the transmitted signal and the received signal corresponds to the predetermined phase shift, then this product contains only positive portions, while in the opposite case, it also negative has portions. The described evaluation methods can be implemented analogly or digitally. The embodiment with analog components has, in such case, two disadvantages. On the one hand, the circuit complexity is high and, on the other hand, the determining of the oscillation frequency at the predetermined phase shift is relatively inaccurate. The advantages in the case of the digital practice of the method include that the high circuit complexity is absent and, additionally, the oscillation frequency can be determined with high accuracy. The disadvantage of the digital method is, however that it is very calculation intensive, which makes a high computing power necessary.
An object of the invention, consequently, is to provide a method for the simple evaluation of frequency search sweep.
The object is achieved by the features including that the oscillation frequency at the predetermined phase shift is ascertained by sampling the received signal discretely at selected points in time, wherein the selected time points depend on the predetermined phase shift between transmitted signal and received signal, and that the voltage values Ui of the received signal sampled at the discrete exciter frequencies are evaluated with reference to amplitude.
Since the received signal is sampled discretely only at selected points in time, the number of measurement points, which are stored and further processed, is reduced compared to methods, in the case of which the entire received signal is further processed. In this way, the computing power required is reduced. A further advantage is that the evaluation occurs essentially digitally, which saves time and manufacturing costs compared with analog practice. The used components can have high tolerances, since, for example, noise is filtered out, so that exact results are achieved nevertheless.
In a first embodiment of the solution of the invention, for evaluating sampled voltage values Ui of the received signal, negative portions of the received signal are converted, by rectification or by adding an offset voltage, into positive voltage values. The received signal is an alternating voltage. Before digitizing for evaluating the received signal the therein contained, negative portions are preferably converted into positive portions, in order to make the received signal useful for an analog-digital converter, which can only process positive input voltages. If an analog-digital converter is used, which can process both negative as well as also positive input voltages, then the changing into positive signals is not required. The changing into positive voltage values is accomplished either by rectification, i.e. through inverting the negative voltage values, or by adding a direct voltage to the alternating voltage, so that the entire voltage curve is shifted by a certain value (offset) into the positive region. The offset is selected, in such case, in order, on the one hand, that all negative voltage values are shifted into the positive region, and, on the other hand, the value of the maximum arising voltage does not exceed the allowable maximum input voltage of the analog-digital converter.
In a further development of the method of the invention, the received signal is always sampled at points in time, when it, in the case of presence of the predetermined phase shift between transmitted signal and received signal, passes through an extreme. Thus, per oscillation period, always two voltage values of the received signal are sampled.
In the case of an additional further development of the invention, for the case, in which the predetermined phase shift amounts to 90°, the received signal is always sampled at points in time, when the transmitted signal, in the case of presence of the predetermined phase shift, passes through zero.
A further development of the method of the invention provides that the sampled voltage values Ui of the received signal are evaluated by determining the frequency, at which the magnitude |Ui| of the voltage value is maximum. If the received signal at a frequency fk corresponds to an oscillation with the predetermined phase shift, then the voltage value detected at the sampling points in time corresponds to the maximum oscillation amplitude. If the received signal at a frequency fl does not correspond to the oscillation with the predetermined phase shift, then the maximum amplitude is not detected at the sampling points in time, but, instead a lesser voltage value. If one plots the voltage values at different frequencies determined at the sampling points in time, then there results a curve with a maximum at the frequency fk, where the transmitted signal and the received signal have the predetermined phase shift.
A further development of the method of the invention provides that the sampled voltage values Ui of the received signal are evaluated by adding the magnitudes of the voltage values MI sampled over a number of oscillation periods of equal frequency to a value Σ |Ui|, and the frequency is determined, at which the associated value Σ |Ui| is maximum.
A further development of the solution of the invention is provides that the received signal is sampled always at points in time, at which, in the presence of the predetermined phase shift between transmitted signal and received signal, it passes through zeros and extrema. Per oscillation period, there are thus four voltage values sampled.
In the case of a further development of the method of the invention, for the case, in which the predetermined phase shift amounts to 90°, the received signal is always sampled at points in time when the transmitted signal, in the case of presence of the predetermined phase shift, passes through zero and at points in time, at which the transmitted signal, in the case of presence of the predetermined phase shift, passes through an extreme.
In a further development of the method of the invention, the sampled voltage values Uii, Uij of the received signal are evaluated by subtracting from one another the magnitudes, in each case, of two sequential voltage values |Uii|, |Uij| which correspond, at the predetermined phase shift, to the voltage value at a zero traverse and the magnitude of the voltage value at an extreme of the received signal, and the frequency is determined to be that at which the difference ΔU=|Uii|−|Uij| has maximum magnitude. If the measured voltage values |Uii| of the maximum voltage values, which occur at the respective frequency, by a magnitude dUii and the measured voltage values |Uij| differ from zero by a magnitude dUij, then the difference AU differs by dUii+dUij from the maximum voltage value at the respective frequency. If one considers only the voltage values, which, in the case of predetermined phase shift, correspond to extrema, then these differ by a smaller value, namely dUii, from the maximum voltage value, which occurs at the respective frequency. If the predetermined phase shift is present, then there results in the case of the difference forming between the value, in the case of the maximum and the value, in the case of the zero traverse, the same (maximum) voltage value, which results only through consideration of the maximum. Therefore, is the maximum around the frequency corresponding to the desired phase shift in the case of consideration of the differences AU more marked than in the case of the method, in the case of which only the voltage values are sampled and evaluated, which, at predetermined phase relationship, correspond to the maximum.
In a further development of the solution of the invention, the voltage values Uii, Uij of the received signal sampled over a number of oscillation periods of equal frequency are so evaluated that the magnitudes of the sampled voltage values |Uii|, which were sampled at points in time, which, at the predetermined phase shift, correspond to the position of an extreme, are added to a value Umax, that the magnitudes of the sampled voltage values |Uij|, which were sampled at points in time, which, at the predetermined phase shift, correspond to the position of a zero traverse, are added to a value Uzero, that the values Umax and Uzero are subtracted from one another and that the frequency is determined, at which the difference ΔU=Umax−Uzero has maximum magnitude. For each frequency, thus, in each case, only one voltage value is taken into consideration for determining the frequency at the predetermined phase shift.
A further development of the method of the invention provides that a phase shift between transmitted signal and received signal is set, which depends on the quality of the oscillatable unit
In an additional further development of the solution of the invention, a phase shift between transmitted signal and received signal is set, which lies preferably in the range between 70° and 120°. The predetermined phase shift amounts, most often, to 90° or lies preferably in the stated range. It is, however, equally possible that it assumes a value outside of the stated range, to the extent that the quality of the oscillatable unit permits this.
Another further development of the invention provides that the physical measured variable is a predetermined fill level of the medium, the density, the viscosity, or the phase boundary of the medium. If a predetermined fill level of the medium in a container is to be detected, then the oscillatable unit is placed at the height of the predetermined fill level.
The invention will now be explained in greater detail based on the appended drawing, the figures of which show as follows:
a an example of the positioning of the sampling points in the case of a received signal with the frequency fk corresponding to the predetermined phase shift;
b an example of the positioning of the sampling points in the case of a received signal with the frequency fl lying outside the predetermined phase shift;
c the received signal of
d the received signal of
a shows the received signal R at an exciter frequency fk over one and one half periods. For comparison, the transmitted signal T is likewise plotted. In
For the case shown here, in which the predetermined phase shift Δφ between transmitted signal T and received signal R amounts to 90°, the zero traverses of the transmitted signal T coincide with the extrema of the received signal R and the extrema of the transmitted signal T with the zero traverses of the received signal R. Relative to the transmitted signal T, the received signal R is thus always sampled at points in time, when the transmitted signal T passes through a zero or an extreme.
b shows a received signal R with an exciter frequency which is located outside the predetermined phase shift Δφ for the transmitted signal T. The sampling points in time, consequently, do not coincide with the points in time, at which the received signal R passes through a zero or an extreme. The sampled voltage values Uii differ from the maximum voltage value Al by a value dUii and the sampled voltage values Uij differ from zero by a value dUij.
The received signals R illustrated in
During the frequency search sweep, the oscillatable unit is excited with discrete exciter frequencies fk (k=0 . . . N) within the total working range. The goal is to filter out that exciter frequency fk, in the case of which the transmitted signal T and the received signal R have a predetermined phase shift Δφ, for example, 90°. For this, a transmission signal T with a first exciter frequency f0 is produced. The received signal R is sampled at selected points in time. The points in time are, in such case, then selected such that, in the case of predetermined phase shift Δφ, the extrema and the zero traverses of the received signal R are detected. In the case of a predetermined phase shift Δφ=90°, these are the points in time, at which the transmitted signal T traverses zero and extrema.
The voltage values Uii sampled at expected extrema and voltage values Uij sampled at expected zero traverses are stored. The sampled and stored voltage values Uii, Uij are processed, by subtracting, in each case, a voltage value Uii, which corresponds to an expected extreme, from a thereon following voltage value Uij, which corresponds to an expected zero-point. After an established number of oscillation periods, the next exciter frequency fk is set.
If the exciter frequency fk is that, in the case of which the phase shift Δφ corresponds to the predetermined phase shift Δφ, then the voltage values Uii sampled at expected extrema correspond to the maximum voltage value, which occurs for the particular exciter frequency fk, thus the amplitude Ak of the oscillation. The voltage values Uij sampled at expected zero traverses are zero. If, however, the exciter frequency fk differs from the exciter frequency fk, in the case of which the predetermined phase shift Δφ is present, then the voltage values Uii, Uij detected at the sampling points in time are smaller than the associated amplitude Ak or greater than zero. The voltage value Uii, which is detected, is thus not the maximum voltage value Ak, which occurs in the case of the respective exciter frequency fk. If one forms the difference, in each case, of the two voltage values Uii and Uij, which were sampled in the case of the expected zero traverse and in the case of the expected extreme, then this difference ΔU is smaller than the difference ΔU at the predetermined phase shift Δφ. At the predetermined phase shift Δφ, the difference ΔU equals the amplitude Ak of the received signal and, thus, is maximum. If to the received signal an offset is added, in order to obtain purely positive voltage values, then this value must be appropriately taken into consideration in the case of evaluating the sampled voltage values Uii, Uij.
An alternative embodiment of processing the voltage values Uii, Uij sampled at an exciter frequency fk provides that all voltage values Uii sampled in the case of an expected extreme are added to a value Umax, that all voltage values Uij sampled in the case of an expected zero traverse are added to a value Uzero, and that then the difference ΔU=|Umax−Uzero| is formed.
In this way, one obtains an averaged voltage value for each exciter frequency fk.
In an additional method step, the formed voltage differences ΔU are plotted versus the respective exciter frequencies fk. The resulting histogram has a maximum at the exciter frequency fk corresponding to the predetermined phase shift Δφ.
In this example of an embodiment, both expected zero traverses as well as also expected extrema are sampled and then the difference ΔU between the voltage values Uii, Uij is formed. In an alternative embodiment of the method, the received signal R is sampled only at points in time of expected extrema. If the received signal R in the case of the exciter frequency fk corresponds to an oscillation with the predetermined phase shift Δφ, then the oscillation amplitude Ak is detected. If the received signal R in the case of the exciter frequency fk does not correspond to the oscillation with the predetermined phase shift Δφ, then not the amplitude Ak is detected, but, instead, a lesser value. If one plots the voltage values Uii determined at different exciter frequencies fk, then there results a curve with a maximum at that exciter frequency fk, in the case of which the transmitted signal T and the received signal R have the predetermined phase shift Δφ. Analogously to the case described for the difference forming, the sampled voltage values Uii over a number of oscillation periods can be added up, so that in the histogram per exciter frequency fk only a voltage value ΣUii is stated. Alternatively, an option is to list all sampled voltage values Uii separately.
It is provided that as soon as a frequency search sweep is ended, a renewed frequency search sweep is started, the frequency search sweeps thus are performed continuously. In this way, changed process conditions can be rapidly reacted to and the oscillation frequency of the oscillatable unit can be immediately adjusted. Alternatively, for this, the oscillatable unit is excited with the exciter frequency fk determined in the frequency search sweep. Renewed frequency search sweeps occur then, for example, instead, at determined intervals or are started on request.
Number | Date | Country | Kind |
---|---|---|---|
102009028022.7 | Jul 2009 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2010/058801 | 6/22/2010 | WO | 00 | 1/26/2012 |