Method for Determining Flow Measurement Values of a Coriolis Mass Flowmeter in the Presence of a of a Two-phase Flow

20210381868 · 2021-12-09

    Inventors

    Cpc classification

    International classification

    Abstract

    A method is disclosed for determining flow measurement values of a Coriolis mass flowmeter in the presence of a two-phase flow of a two-phase medium having a gas phase and the subsequent presence of a single-phase flow of a single-phase medium not having a gas phase. The method includes: detecting a start time of a two-phase measurement interval at an onset of the two-phase flow; detecting an end time of the two-phase measurement interval at an end of the presence of the two-phase flow; determining and at least partially storing two-phase flow measurement values of the two-phase flow; determining at least one state variable of the single-phase medium; determining subsequently corrected two-phase flow measurement values as at least indirect input variables of a correction calculation; and outputting the corrected two-phase flow measurement values as individual values or as part of a cumulative flow measurement value.

    Claims

    1. A method for determining flow measurement values of a Coriolis mass flowmeter in the presence of a two-phase flow of a two-phase medium having a gas phase in a two-phase measurement interval and a subsequent presence of a single-phase flow of a single-phase medium not having a gas phase in a single-phase measurement interval, comprising: detecting the start time of the two-phase measurement interval at the onset of the two-phase flow; detecting the end time of the two-phase measurement interval at the end of the presence of the two-phase flow; in the two-phase measurement interval, determining and at least partially storing two-phase flow measurement values of the two-phase flow; in the single-phase measurement interval, determining at least one state variable of the single-phase medium; from the stored two-phase flow measurement values and from the at least one state variable of the single-phase medium determined in the single-phase measurement interval, determining subsequently corrected two-phase flow measurement values as at least indirect input variables of a correction calculation; and outputting the corrected two-phase flow measurement values as individual values or as part of a cumulative flow measurement value.

    2. The method according to claim 1, further comprising: determining at least the density of the single-phase medium as state variable of the single-phase medium; and using at least the density of the single-phase medium as at least an indirect input variable of the correction calculation.

    3. The method according to claim 2, further comprising: calculating the gas-volume fraction of the two-phase medium using the density of the single-phase medium; and using the calculated gas-volume fraction of the two-phase medium as a direct input variable of the correction calculation; wherein the gas volume fraction of the two-phase medium is calculated by forming the quotient of the difference between the density of the single-phase medium and the density of the two-phase medium and the density of the single-phase medium; and wherein the quotient is formed from the difference between the density of the single-phase medium and the density of the two-phase medium and the difference between the density of the single-phase medium and the density of the gas phase of the two-phase medium.

    4. The method according to claim 3, further comprising: determining the density of the gas phase of the two-phase medium by measuring the temperature of the two-phase medium and measuring the pressure at the outflow side of the Coriolis mass flowmeter; and determining the density of the gas phase of the two-phase medium based on the measured temperature of the two-phase medium and based on the measured pressure at the outflow side of the Coriolis mass flowmeter.

    5. The method according to claim 1, further comprising: using the viscosity of the single-phase medium as a further input variable of the correction calculation; and determining the viscosity of the single-phase medium from a temperature-dependent viscosity curve using the temperature of the two-phase medium.

    6. The method according to claim 1, further comprising: using the differential pressure over the inflow side and the outflow side of the Coriolis mass flowmeter as a further input variable of the correction calculation; at least partially storing the differential pressures determined in the two-phase measurement interval; and storing a differential pressure for each two-phase flow measurement value.

    7. The method according to claim 1, further comprising: implementing the correction calculation with an approximate solution method in which at least the stored two-phase flow measurement values and the at least one state variable of the single-phase medium determined in the single-phase measurement interval as at least indirect input variables, are approximately mapped onto the corrected two-phase flow measurement values.

    8. The method according to claim 7, wherein the correction calculation is implemented by an artificial neural network having an input layer with at least two input neurons for supply of the stored two-phase flow measurement values to be corrected and for supply of the state variable of the single-phase medium determined in the single-phase measurement interval or a variable derived therefrom as at least indirect input variables, having an output layer with an output neuron for output of the subsequently corrected two-phase flow measurement values, and having at least one intermediate layer with at least two neurons, wherein each input neuron is connected to each neuron of the intermediate layer via directed and weighted signal paths and wherein each neuron of the intermediate layer is connected to the output neuron of the output layer via a directed and weighted signal path.

    9. The method according to claim 8, wherein the artificial neural network comprises: at least four input neurons in the input layer for supply of the stored two-phase flow measurement values to be corrected, the gas-volume fraction of the two-phase medium, the viscosity of the single-phase medium and the differential pressure via the inflow side and the outflow side of the Coriolis mass flowmeter; an output neuron for output of the subsequently corrected two-phase flow measurement values; and four neurons in an intermediate layer, wherein each input neuron is connected to each neuron of the intermediate layer via directed and weighted signal paths and wherein each neuron of the intermediate layer is connected to the output neuron of the output layer via a directed and weighted signal path.

    10. The method according to claim 8, wherein the artificial neural network is trained with a training data set; and wherein the training data set is collected for one design of a Coriolis mass flowmeter and the training data set includes value tuples from the used input variables of the artificial neural network and the output variable of the artificial neural network.

    11. The method according to claim 10, wherein a training data set is collected for each two-phase medium and a separate artificial neural network is trained for each two-phase medium.

    12. The method according to claim 1, further comprising: storing all flow measurement values during a measurement operation; after the completed measurement operation, determining the single-phase measurement interval and the two-phase measurement interval from the stored flow measurement values or other recorded data; and carrying out the correction calculation.

    13. A Coriolis mass flowmeter, comprising: at least one measuring tube through which a medium can flow, at least one oscillation generator; at least two oscillation sensors; and at least one control and evaluation unit; wherein the control and evaluation unit is designed such that, in the presence of a two-phase flow of a two-phase medium having a gas phase in a two-phase measurement interval and a subsequent presence of a single-phase flow of a single-phase medium not having a gas phase in a single-phase measurement interval, the starting time of the two-phase measurement interval is detected at the onset of the two-phase flow; wherein the end time of the two-phase measurement interval is detected at the end of the presence of the two-phase flow; wherein, in the two-phase measurement interval, two-phase flow measurement values of the two-phase flow are determined and at least partially stored; wherein, in the single-phase measurement interval, at least one state variable of the single-phase medium is determined; wherein, from the stored two-phase flow measurement values and from the at least one state variable of the single-phase medium determined in the single-phase measurement interval, subsequently corrected two-phase flow measurement values are determined as at least indirect input variables of a correction calculation; and wherein the corrected two-phase flow measurement values are output as individual values or are output as part of a cumulative flow measurement value.

    14. The Coriolis mass flowmeter according to claim 13, wherein the control and evaluation unit is designed such that: at least the density of the single-phase medium is determined as state variable of the single-phase medium; and at least the density of the single-phase medium is used as at least an indirect input variable of the correction calculation.

    15. The Coriolis mass flowmeter according to claim 13, wherein the start time of the two-phase measurement interval is detected at the onset of the two-phase flow and/or that the end time of the two-phase measurement interval is detected at the end of the presence of the two-phase flow by evaluating the level of the excitation signal of the oscillation generator and/or by evaluating the level of the sensor signal of the oscillation sensor; wherein the start time of the two-phase measurement interval is detected when a limit height of the excitation signal and/or of the sensor signal is exceeded; and wherein the end time of the two-phase measurement interval is detected when the excitation signal and/or the sensor signal falls below a limit height.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0031] In detail, there are now a multitude of possibilities for designing and further developing the method according to the invention and the Coriolis mass flowmeter according to the invention. For this, reference is made to the following description of embodiments in connection with the drawings.

    [0032] FIG. 1 schematically illustrates the design of a Coriolis mass flowmeter.

    [0033] FIG. 2 illustrates the time course of various relevant physical variables during a typical refueling operation of a ship with two-phase flow and subsequent single-phase flow.

    [0034] FIG. 3 schematically illustrates a method for determining corrected flow measurement values of a Coriolis mass flowmeter.

    [0035] FIG. 4 schematically illustrates another embodiment of a method for determining corrected flow measurement values of a Coriolis mass flowmeter.

    [0036] FIG. 5 illustrates an embodiment for the implementation of a correction calculation within the method of interest here with the aid of an artificial neural network.

    [0037] FIG. 6 illustrates a further embodiment for the implementation of a correction calculation within the method of interest here with the aid of an extended artificial neural network.

    DETAILED DESCRIPTION

    [0038] In all figures, a method 1 for determining flow measurement values of a Coriolis mass flowmeter 2 in whole or in part is shown. FIG. 2 schematically shows a Coriolis mass flowmeter 2 in which the method 1 for determining flow measurement values described below is implemented.

    [0039] All the embodiments shown have in common that they are concerned with determining flow measurement values of a Coriolis mass flowmeter 2 in the presence of a two-phase flow of a two-phase medium having a gas phase in a two-phase measurement interval 3 and a subsequent presence of a single-phase flow of a single-phase medium not having a gas phase in a single-phase measurement interval 4.

    [0040] FIG. 1 schematically shows a Coriolis mass flowmeter 2 with a measuring tube 6 through which a medium 5 (indicated by the arrows running horizontally from left to right) can flow, an oscillation generator 7, two oscillation sensors 8 and a control and evaluation unit 9. Flow measurement values can be displayed here on the display unit 10. The Coriolis mass flowmeter 2 shown here as an example has a measuring tube 6 bent into a V-shape. The Coriolis mass flowmeter 2 can just as easily be designed in any other shape, for example with straight measuring tubes, with U-shaped or omega-shaped measuring tubes, etc.; the chosen design of a Coriolis mass flowmeter is not important. The control and evaluation unit 9 is based on a small computer with a digital signal processor and with I/O interfaces via which the oscillation generator 7 can be controlled and via which the sensor signals 24 of the oscillation sensors 8 can be captured by means of measurement. With suitable programming of the control and evaluation unit 9, the method 1 described here for determining flow measurement values is implemented in the Coriolis mass flowmeter 2.

    [0041] On the basis of the time curves of mass flow rate, density of the medium and the sensor signal 24 of an oscillation sensor, FIG. 2 shows the typical course of a filling operation using the example of the refueling of a ship, in which both a two-phase flow and a subsequent single-phase flow are present. At the very beginning of the filling operation, the fuel is mixed with a gas phase, so that a two-phase flow is present in the two-phase measurement interval 3. The gas content in the two-phase medium varies greatly here, and the flow measurement values and the determined density ρ.sub.TP of the two-phase medium also vary accordingly. The amplitude of the sensor signal 24 of one of the oscillation sensors 8 is also subject to strong fluctuations, which is characteristic of a two-phase flow.

    [0042] The range of two-phase flow in the two-phase measurement interval 3 is problematic in terms of measurement, the achievable measurement accuracy is frequently worse by one or even two powers of ten than the measurement accuracy in the range of single-phase flow in the single-phase measurement interval 4.

    [0043] The method 1 according to the invention is based on the idea of initially storing the inaccurate two-phase flow measurement values q.sub.TP, meas and later supplying them to a correction calculation in the knowledge of state variables x.sub.SP of the single-phase medium determined with high accuracy in the single-phase measurement interval 4.

    [0044] FIG. 3 shows an example of an implementation of method 1 by means of a flow chart. The start time t.sub.start of the two-phase measurement interval 3 is determined at the onset of the two-phase flow 11, and the end time t.sub.end of the two-phase measurement interval 3 is determined at the end of the presence of the two-phase flow 12. In the two-phase measurement interval 3, two-phase flow measurement values q.sub.TP, meas of the two-phase flow are determined and at least partially stored 13. Furthermore, in the single-phase measurement interval 4, at least one state variable x.sub.SP of the single-phase medium is determined 14. From the stored two-phase flow measurement values q.sub.TP, meas and from the state variable x.sub.SP of the single-phase medium determined in the single-phase measurement interval 4, subsequently corrected two-phase flow measurement values q.sub.TP, corr are then determined 15 as at least indirect input variables of a correction calculation f.sub.corr. In this embodiment, the corrected two-phase flow measurement values q.sub.TP, corr are output 16 as part of a cumulative flow measurement value m.sub.tot.

    [0045] Of course, the question arises which specific state variable x.sub.SP of the single-phase medium is suitable to be used meaningfully as at least indirect input variable of a correction calculation f.sub.corr; for this, the actually present two-phase flow measurement values must be dependent on the state variable. In the embodiments shown here, the density ρ.sub.SP of the single-phase medium is determined as the state variable of the single-phase medium—at least also—and used as at least indirect input variable of the correction calculation f.sub.corr. The density ρ.sub.SP of the single-phase medium can be detected with a Coriolis mass flowmeter, since the density of the medium 5 flowing in the measuring tubes 6 affects the natural angular frequency of the excited oscillation mode of the measuring tube 6 (or several measuring tubes 6).

    [0046] As is indicated in FIG. 4, the density ρ.sub.SP of the single-phase medium is used to calculate 17 the gas-volume fraction GVF of the two-phase medium and the calculated gas-volume fraction GVF of the two-phase medium is used as a direct input to the correction calculation f corr, wherein the gas volume fraction GVF of the two-phase medium is calculated by forming the quotient of the difference between the density ρ.sub.SP of the single-phase medium and the density ρ.sub.TP of the two-phase medium and the difference between the density ρ.sub.SP of the single-phase medium and the density ρ.sub.G of the gas phase of the two-phase medium. For example, the density ρ.sub.TP of the two-phase medium can be detected in the same way as the density ρ.sub.SP of the single-phase medium.

    [0047] In the method 1 shown in FIG. 4, the density ρ.sub.G of the gas phase of the two-phase medium is detected by measuring the temperature T.sub.TP of the two-phase medium and measuring the pressure p at the outlet of the Coriolis mass flowmeter 2, and the density ρ.sub.G of the gas phase of the two-phase medium is detected based on the measured temperature T.sub.TP of the two-phase medium and based on the measured pressure p at the outflow side of the Coriolis mass flowmeter.

    [0048] As can also be seen in FIG. 4, the viscosity ρ.sub.SP of the single-phase medium is used as another input variable for the correction calculation f.sub.corr. The viscosity ρ.sub.SP of the single-phase medium is determined from a temperature-dependent viscosity curve using the temperature T.sub.TP of the two-phase medium; the temperature-dependent viscosity curve is not shown separately here.

    [0049] Furthermore, in the method 1 according to FIG. 4, the differential pressure P.sub.D over the inflow side and the outflow side of the Coriolis mass flowmeter 2 is used as a further input variable of the correction calculation f.sub.corr, wherein the differential pressures P.sub.D determined in the two-phase measurement interval 3 are also stored 13 at least in part. Presently, a differential pressure P.sub.D is also stored for each stored two-phase flow measurement value q.sub.TP, meas.

    [0050] For the illustrated embodiments for method 1, it holds true that the correction calculation f.sub.corr is implemented with an approximate solution method in which the input variables of the correction calculation f.sub.corr, i.e., at least the stored two-phase flow measurement values q.sub.TP and the at least one state variable x.sub.SP of the single-phase medium determined in the single-phase measurement interval 4 as at least indirect input variables (FIG. 3), are mapped approximately to the corrected two-phase flow measurement values q.sub.TP, corr. These approximate solution methods are all implemented here by an artificial neural network 18, which is shown in more detail in FIGS. 5 and 6.

    [0051] FIG. 5 shows that the correction calculation f.sub.corr is implemented by an artificial neural network 18 having an input layer with two input neurons 19 for supply of the stored two-phase flow measurement values q.sub.TP to be corrected and for supply of the state variable x.sub.SP of the single-phase medium (density ρ.sub.SP of the single-phase medium) determined in the single-phase measurement interval 4. In fact, it is not the density ρ.sub.SP of the single-phase medium that is supplied, but the gas volume fraction GVR as a quantity derived from the density ρ.sub.SP of the single-phase medium. Furthermore, an output layer with an output neuron 20 for output of the subsequently corrected two-phase flow measurement values q.sub.TP, corr is provided, and an intermediate layer with four neurons 21. Each input neuron 19 is connected to each neuron 21 of the intermediate layer via directed and weighted signal paths 22, and each neuron 21 of the intermediate layer is connected to the output neuron 20 of the output layer via a directed and weighted signal path 23. An offset value b.sub.i is applied to each neuron 21 of the intermediate layer. The weights of the signal paths are denoted by w, although not all weights of all signal paths 22 have been drawn for clarity.

    [0052] The embodiment according to FIG. 6 is characterized in that the artificial neural network 18 has four input neurons 19 in the input layer for supply of the stored two-phase flow measurement values q.sub.TP, meas, the gas volume fraction GVF of the two-phase medium, the viscosity μ.sub.SP of the single-phase medium and the differential pressure P.sub.D to be corrected via the inflow side and the outflow side of the Coriolis mass flowmeter 2. As in the previous embodiment, the artificial neural network 18 has an output neuron 20 for output of the subsequently corrected two-phase flow measurement values q.sub.TP, corr and four neurons 21 in an intermediate layer, wherein each input neuron 19 is connected to each neuron 21 of the intermediate layer via directed and weighted signal paths 22, and wherein each neuron 21 of the intermediate layer is connected to the output neuron 20 of the output layer via a directed and weighted signal path 23, and in particular each neuron 21 of the intermediate layer is supplied with an offset value b.sub.i. As in FIG. 5, not all weighting w of the signal paths 22, 23 have been drawn here.

    [0053] The artificial neural networks 18 according to FIGS. 5 and 6 are trained with a training data set in order to be operational, wherein the training data set is collected for one design of a Coriolis mass flowmeter 2. In the present case, this has been done under laboratory conditions. The training data set comprises value tuples from the used input variables of the artificial neural networks 18 and the output variable of the artificial neural network 18, i.e., the—preferably error-free—value for the flow. In the example shown here, the flow has been varied over about 80% of the measurement range to create the training data set, and in addition, the gas volume fraction GVF of the two-phase medium has been varied in the range between about 0% and 60%.

    [0054] The training of the artificial neural networks 18 according to FIGS. 5 and 6 is done in an iterative optimization process. The artificial neural network 18 is repeatedly supplied with the input data of the associated value tuples, and in each case a value results at the output of the artificial neural network 18 for the corrected two-phase flow measurement value q.sub.TP, corr. This value is compared to the two-phase flow measurement value contained in the value tuple of the training data set. Ideally, the value calculated by the artificial neural network 18 is as close as possible to (or as similar as possible to) the exact value from the corresponding value tuple of the training data set. When training the network, the deviation of both values from each other (difference, amount of difference, square of error, etc.) is then minimized by suitably changing the weighting w.sub.i of the signal paths and also the offset values b.sub.i of the neural nodes 21 of the intermediate layer (e.g., gradient descent method). The suitability of the resulting artificial neural network 18 is tested with a portion of the training data set which was not used during the training of the artificial neural network 18. If the deviation of the corrected two-phase flow measurement values of the artificial neural network 18 from the exact results of the training data set is below a tolerable threshold, the training is terminated and the trained artificial neural network 18 then approximately implements the correction calculation f.sub.corr.

    [0055] A variation of method 1, not shown separately in the figures, is that during a measurement operation, for example during a filling operation, all flow measurement values q.sub.TP, q.sub.SP are stored, i.e., those of the two-phase flow as well as those of the single-phase flow. After the measurement operation is completed, the single-phase measurement interval 4 and the two-phase measurement interval 3 are determined from the stored flow measurement values or other recorded data, then the correction calculation f.sub.corr is performed.

    [0056] As described above, the method 1 is implemented in the Coriolis mass flowmeter 2 in that the control and evaluation unit 9 is designed such that, when there is a two-phase flow of a two-phase medium having gas phase in a two-phase measuring interval 3 and a subsequent presence of a single-phase flow of a single-phase medium not having a gas phase in a single-phase measuring interval 4, the start time t.sub.start of the two-phase measurement interval 3 is detected at the onset of the two-phase flow, that the end time t.sub.end of the two-phase measurement interval 3 is detected at the end of the presence of the two-phase flow, that in the two-phase measurement interval (3) two-phase flow measurement values q.sub.TP, meas of the two-phase flow are determined and at least partially stored 13, that in the single-phase measurement interval 4 at least one state variable x.sub.SP of the single-phase medium is determined 14, that, from the stored two-phase flow measurement values q.sub.TP, meas and from the at least one state variable x.sub.SP of the single-phase medium determined in the single-phase measurement interval 4, subsequently corrected two-phase flow measurement values q.sub.TP, corr are determined 15 as at least indirect input variables of a correction calculation f.sub.corr, and that the corrected two-phase flow measurement values q.sub.TP, corr are output as individual values or are output 16 as part of a cumulative flow measurement value not.

    [0057] In FIG. 1, the control and evaluation unit 9 is configured in such a way that the Coriolis mass flowmeter 2 is capable of carrying out the previously described embodiments of the method 1.

    [0058] In particular, the Coriolis mass flowmeter shown in FIG. 1 is designed such that the start time t.sub.start of the two-phase measurement interval 3 is detected at the onset of the two-phase flow and also the end time t.sub.end of the two-phase measurement interval 3 is detected at the end of the presence of the two-phase flow by evaluating the level of the sensor signal 24 of the oscillation sensor 8. Here, the start time t.sub.start of the two-phase measurement interval 3 is determined when a limit height of the sensor signal 24 is exceeded, and the end time t.sub.end of the two-phase measurement interval 3 is determined when the sensor signal 2 falls below a limit height, for which reference is made to FIG. 2.