The present invention relates to a measuring method for a measured variable dependent on auxiliary measured variables. Such a measured variable can be, for example, a relative pressure, wherein the auxiliary measured variables are an absolute process pressure and an absolute atmospheric pressure, whose difference must be formed. Orth et al. disclose in U.S. Pat. No. 6,907,790 B2 such a method for determining relative pressure, in the case of which a first absolute pressure measuring device measures a process pressure and a second absolute pressure measuring device measures an atmospheric pressure. The atmospheric pressure registered by the second measuring device is transmitted to the first measuring device, whereupon the first measuring device calculates the relative pressure. The atmospheric pressure can, in such case, be transmitted especially using the HART-multidrop method. For fill-level measurements, which, in the case of Orth et al., are clearly the main interest, it is, as a rule, not absolutely required that a measured value of the atmospheric pressure be obtained simultaneously with a measured value of the process pressure, since the atmospheric pressure usually changes only slowly.
In case, however, processes with more dynamic parameters are to be monitor, deviations between the points in time of the registering of the different auxiliary measured variables, which enter into the determining of the measured variable, can cause considerable corruption of the measured variable to be determined. It is, therefore, an object of the present invention to provide a method, which overcomes the disadvantages of the state of the art and enables a registering of auxiliary measured variables with minimal time deviation.
The object is achieved by the method defined in independent claim 1.
The method of the invention for determining a value of a measured variable, which is a function of a first auxiliary measured variable and at least a second auxiliary measured variable, includes steps as follows: Registering and providing a sequence of measured values of the first auxiliary measured variable over at least a first time range; providing a value of the second auxiliary measured variable, wherein the point in time of registering the provided value lies in the first time range; selecting a value of the first auxiliary measured variable from the sequence of measured values of the first auxiliary measured variable as a function of information concerning point in time of registering the provided value of the second auxiliary measured variable; and ascertaining a value of the measured variable as a function of the selected value of the first auxiliary measured variable and the value of the second auxiliary measured variable.
The method can especially be executed repeatedly, in order to output a sequence of measured values of the measured variable. This can occur, for example, with an average repetition frequency of several Hz up to 100 Hz.
The sequence of measured values of the first auxiliary measured variable can be measured especially with a repetition frequency, which amounts to at least twice, especially at least 4 times, preferably at least 8 times, further preferably at least 16 times and especially preferably at least 32 times an average repetition frequency, with which the method of the invention is repeated, or with which the measured values of the second auxiliary measured variable are provided.
The providing of the value of the second auxiliary measured variable can occur, according to an embodiment of the invention, for example, upon a demand that the value be provided.
For example, in the so-called burst mode of the HART protocol, the values of the second auxiliary measured variable can, however, be provided without special demand, essentially, for instance, periodically.
The registering of the value of the second auxiliary measured variable to be provided can, according to an embodiment of the invention, occur, for example, likewise upon demand that the value be provided.
In a further development of the invention, a sequence of values of the second auxiliary measured variable is registered independently of a demand signal, wherein, upon demand that a value of the second auxiliary measured variable be provided, the most up-to-date, available registered value of the sequence is provided.
Especially, a sequence of values of the second auxiliary measured variable can be registered with a repetition frequency, which corresponds to the repetition frequency for registering the values of the first auxiliary measured variable. This means, for example, that the repetition frequency for registering values of the second auxiliary measured variable deviates by not more than 5%, especially no more than 2% and preferably no more than 1% from the repetition frequency for registering the values of the first auxiliary measured variable.
In a further development of the invention, the value of the second auxiliary measured variable is provided together with information concerning point in time of registering the provided value of the second auxiliary measured variable.
In an embodiment of this further development of the invention, there is transmitted, together with the value of the second auxiliary measured variable, the value of a delay time, which has passed between registering of the value of the second auxiliary measured variable and the providing of the value of the second auxiliary measured variable.
In an embodiment of the invention, based on point in time of receipt of a data frame, with which the value of the second auxiliary measured variable is provided, and based on a delay time between registering of the value of the second auxiliary measured variable and the providing of the data frame, the point in time of the registering of the value of the second auxiliary measured variable is ascertained. The delay time can be, for example, the delay time provided with the measured value or it can be a predetermined delay time. A predetermined delay time is especially proper, when a constant delay time can be assumed, which corresponds to the predetermined delay time. The predetermined delay time can be transmitted, for example, once upon an initializing of the involved measuring devices and, in given cases, validated over greater time intervals.
In another embodiment of the invention, there is provided with the value of the second auxiliary measured variable a time signal, which expresses the point in time of the registering according to a system time of a measuring device, which registers and provides the value of the second auxiliary measured variable.
In a further development of this embodiment of the invention, the system time of the second measuring device is synchronized with the system time of a first measuring device, which registers the sequence of values of the first auxiliary measured variable. The synchronizing can occur, for example, by having the first measuring device request the system time of the second measuring device, which then transmits its system time to the first measuring device, and the first measuring device compares the system time of the second measuring device with its own system time and transmits a correction value for the system time of the second device to the second device, wherein the second measuring device corrects its system time using the transmitted correction value.
In a further development of the invention, repetition frequency of the registering of the sequence of values of the first auxiliary measured variable is a function of a clock signal of the first measuring device, wherein the clocking frequency of the first measuring device is variable in a range of variation of no more than 10%, especially no more than 5%, and wherein by variation of the clocking frequency the repetition frequency for registering the values of the first auxiliary measured variable is varied, in order to minimize a deviation between the point in time of the registering of the value of the first auxiliary measured variable to be selected in each case and the point in time of registering the provided value of the second auxiliary measured variable.
The maximum time separation between the selected value of the first measured variable and the provided value of the second auxiliary measured variable can be, for example, the reciprocal value of the repetition frequency, especially half the reciprocal value of the repetition frequency, of the first auxiliary measured variable. Half the reciprocal value of the repetition frequency can then occur as maximum time deviation, when actually that value of the first auxiliary measured variable is selected, which has the least time separation relative to the provided value of the second auxiliary measured variable, and, indeed, independently of which value was registered first. When always only the, in time, next following registering point in time is selected or always only the, in time, next preceding registering point in time, then the entire reciprocal value of the repetition frequency can occur as maximum time deviation.
By an especially temporary variation of the repetition frequency for registering the values of the first measured variable and fitting this repetition frequency to a repetition frequency for registering the values of the second measured variable, a phase difference between the points in time of registering the sequence of values of the first auxiliary measured variable and the points in time of registering the sequence of values of the second auxiliary measured variable can be minimized.
The provided values of the sequence of values of the first auxiliary measured variable can, according to a further development of the invention, be stored in a ring buffer.
In a further development of the invention, the values of the first auxiliary measured variable are registered by a first measuring device, wherein the values of the second auxiliary measured variable are registered by a second measuring device, wherein the first and the second field devices are connected with one another via a digital data communication means. In an embodiment of this further development of the invention the first measuring device and the second measuring devices communicate with one another via a HART protocol. The second measuring device can provide the value of the second auxiliary measured variable especially in the burst mode in a HART multidrop frame, which can also contain time information.
The measured variable can be, for example, a pressure difference between a first pressure and a second pressure wherein the first auxiliary measured variable is the first pressure and the second auxiliary measured variable is the second pressure.
A further development of the invention relates to a method for determining a value of a measured variable, which is a function of at least three auxiliary measured variables.
Such a method can be, for example, determining mass flow of a gas by means of pressure difference measurement and density determination. The auxiliary measured variables are, for this, in a first embodiment, a first absolute pressure of the gas in the case of a first flow cross section, a second absolute pressure of the gas in the case of a second flow cross section and the temperature of the gas. In a second embodiment, the auxiliary measured variables are an absolute pressure of the gas, a pressure difference of the gas between a first flow cross section and a second flow cross section and the temperature of the gas.
The auxiliary measured variables, which concern pressure, or pressure difference, are time critical in flow applications. In such case, the separation in time between registering of the measured values needed for evaluation is necessarily to be minimized. To the extent that also in the case of the temperature as third auxiliary measured variable rapid changes are to be expected, the values of the third auxiliary measured variable are to be provided in the same manner as the values of the second auxiliary measured variable, and their registering points in time taken into consideration.
Insofar as deviations between the points in time of registering of the provided values of the second and third auxiliary measured variable are to be expected, here, in given cases, a rule is to be established, according to which a value of the first auxiliary measured variable is to be selected. This can occur, for example, by forming a weighted average value of the points in time of registering of the second auxiliary measured variable and the third auxiliary measured variable.
In another embodiment of the method for determining a measured variable, which depends on three auxiliary measured variables, sequences of measured values for a first auxiliary measured variable and for a second auxiliary measured variable can be recorded, wherein a value of a third auxiliary measured variable is provided with information concerning point in time of the registering of the provided value, wherein based on the time information concerning point in time of registering the provided value of the third auxiliary measured variable, an appropriately timed value, especially the next value in time, is provided from the sequence of values of the second auxiliary measured variable, and wherein, added to this, an appropriately timed value, especially the next value in time is taken from the sequence of values of the first auxiliary measured variable, in order to determine a value of the measured variable based on the values of the first, second and third auxiliary measured variables.
Fundamentally, it holds for any measured variables, which depend on two or more auxiliary measured variables, that the values of those auxiliary measured variables, which are subject to strong dynamics, should, first of all, be registered near in time to one another and, secondly, they should be provided accompanied by information concerning point in time of their registering.
The invention will now be explained based on the examples of embodiments presented in the drawing, the figures of which show as follows:
The apparatus shown in
The first and second devices can be pressure measuring devices, wherein the first device determines a pressure difference based on the pressure measurement values. Details of the communication of the devices with one another and with the control system will now be explained with reference to
The three, parallel, time axes shown in
The HART communication on the two wire loop comprises, in this example of an embodiment, a repeating sequence of three elements, of which the first is a request from the control unit for output of a value of the measured variable, whereupon the first measuring device, which ascertains the measured variable, outputs the most recent, earlier calculated value of the measured variable as response. After output of the response by the first measuring device, there follows the time window, in which the first device is ready to receive a value of the second auxiliary measured variable provided by the second measuring device in a HART multidrop frame, wherein the frame supplementally contains time information concerning the delay time between registering of the value of the second auxiliary measured variable and the providing of the value, wherein the beginning of the HART multidrop frame is utilized as synchronization point for the providing.
The first measuring device can, based on the beginning of the HART multidrop frame and the time information, select from the ring buffer an appropriately timed value of the first auxiliary measured variable and, with the provided value of the second auxiliary measured variable as well as the selected value of the first auxiliary measured variable, calculate a value of the measured variable, which is then output as response on the next request from the control system. In the illustrated example of an embodiment, the value p1,7 is selected as the value with the suitable time, in order, therewith, for example, to determine a pressure difference dp=p1,7−p2 and to output such as response on the next request.
To the extent that the delay time dt between registering of a value of the second auxiliary measured variable and its output is constant and known, the value of the delay time need not be transmitted in each multidrop frame. It can instead, for example, be transmitted once upon the initializing of the measuring devices and, in given cases, validated at greater time intervals.
In the case of the example of an embodiment shown in
Also in the case of the example of an embodiment shown in
Of course, the concept of time information as system time of the registering of the value of the second auxiliary measured variable can also be used in methods, in the case of which the measuring devices are not connected for tandem operation, but, instead, are controlled by a control unit, upon whose request they react, as such is the case in the first and second examples of embodiments.
Number | Date | Country | Kind |
---|---|---|---|
10 2010 038 573.5 | Jul 2010 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP11/60197 | 6/20/2011 | WO | 00 | 1/25/2013 |