Converter circuit with current interface and measuring device with such respective converter circuit
10256830 ยท 2019-04-09
Assignee
Inventors
Cpc classification
International classification
Abstract
A converter circuit includes a current interface with a control input, with a current signal output and a current output. The converter circuit includes a micro-processor with a measuring signal input for the digital measuring signal, with a current signal input connected to the current signal output of the current interface, and with a control output connected to the control input of the current interface. The current interface lets the signal current flow through the current output and simultaneously adjust both the amperage to a stationary amperage level corresponding to a control value currently applied to the control input, and to output a sequence of current values at the current signal output. The micro-processor is designed to generate a measuring value sequence on the basis of the digital measuring signal and use it as the basis from which to generate a control value sequence and issue it at the control output as well as to monitor and/or check the current interface using the control value sequence and the current value sequence.
Claims
1. A converter circuit transforming a digital measuring signal representing a temporal course of a changing physical and/or chemical measurand into an analogue measure value signal dependent on said digital measuring signal, said analogue measure value signal exhibiting a signal current, whereby an amperage of said signal current represents a measuring value for the measurand; said converter circuit comprising: a current interface, with a control input, with a current signal output, and with a current output; and a micro-processor with a measuring signal input for the digital measuring signal, with a current signal input connected to the current signal output of the current interface, and with a current signal output connected to the current signal output of the current interface; said current interface being configured for letting the signal current flow through the current output while adjusting the amperage of the signal current to a current value currently applied to the control input to an appropriate stationary amperage level in such a way as to make each of the stationary amperage levels dependent on a respective control value as determined by a characteristic curve function of the current interface as well as for outputting at the current signal output a current value sequence, said current value sequence representing a temporal course of the signal current amperage and said current value sequence being a sequence of digital current values representing the current amperage for different points in time; said micro-processor being adapted to generate, based on the digital measuring signal at the measuring signal input, a measuring value sequence, said measuring value sequence representing a temporal course of the measurand for different points in time and said measuring value sequence being a sequence of digital measuring values each momentarily representing the measurand in turn, as well as to output a control value sequence at the control output based on the measuring value sequence, said control value sequence being a sequence of digital control values for the current interface; and said micro-processor being adapted to monitor and/or check the current interface based on the control value sequence and the current value sequence.
2. The converter circuit according to claim 1, further comprising: a volatile data memory to save digital measured values and/or digital control values, with the micro-processor being set to temporarily save digital control values, as well as digital current values in the data memory.
3. The converter circuit according to claim 1, wherein: said micro-processor is adapted to check the current interface based on the control value sequence and the current value sequence, namely: to determine a deviation between a control value and at least one corresponding digital current value and/or to determine to what extent said current value deviates from said control value and/or to determine a current characteristic curve function according to which the current interface adjusts said stationary amperage levels in relation to said digital control values and/or to determine whether or to what extent a current characteristic curve function used by said current interface to adjust the stationary amperage levels subject to said digital control values deviates from a previously determined characteristic curve function determined for the current interface.
4. The converter circuit according to claim 1, wherein: the current interface includes a release input and the micro-processor includes a release output connected to said release input of the current interface; and whereby the current interface is adapted to output the sequence of current values on the current signal output after a control command has been applied to the release input that activates the current signal output, and the micro-processor is adapted to generate control command to activate the current signal output and issue it at the release output.
5. The converter circuit according to claim 4, wherein: the current interface is adapted to temporarily not issue a sequence of current values at the current signal output.
6. The converter circuit according to claim 5, wherein: the current interface is adapted not to issue a sequence of current values at the current signal output after a deactivating control command is applied to the release input; and the micro-processor is adapted to generate a control command to deactivate the current signal output and issue it at the release output.
7. The converter circuit according to claim 1, wherein: the converter circuit is adapted to be operated in a normal operation mode over some time, during which normal operation mode the measurand is modified only over time within a pre-determined measuring range, with a minimum range limit, for the pre- set measuring value for measurand and a determined maximum range limit, pre-set by the determined highest measuring value for measurand, and during which normal operation mode the micro-processor only outputs control values at the control output which cause the current interface to adjust the amperage of the signal current in such a way that the stationary amperage levels are each found within a pre-set measuring range, that is pre-set in that it corresponds with the measuring range for the measurand, therefore having a first limit current value, corresponding to the minimum range threshold, and a second limit current value, corresponding to the maximum range threshold, which differs from the first limit current value.
8. The converter circuit according to claim 7, wherein: the first limit current value is 4 mA or less.
9. The converter circuit according to claim 7, wherein: the second limit current value is 20 mA or more.
10. The converter circuit according to claim 7, wherein: the converter circuit is adapted to be operated in a special operating mode for at least some of the time, during which special operation mode the micro-processor outputs such control values at the control output that cause the current interface to adjust the amperage of the signal current in such a way that the stationary amperage levels are outside the pre-set measuring range.
11. The converter circuit according to claim 10, wherein: the converter circuit is adapted to switch from normal operation mode to special operation mode.
12. The converter circuit according to claim 10, wherein: the micro-processor is adapted to output a control value at the control output to determine at least one replacement coefficient, with said control value causing the current interface to adjust the amperage of the signal current to a stationary amperage level that is lower than the lower of the two limit amperages of the measuring range; and/or the micro-processor is adapted to output a control value at the control output to determine at least one replacement coefficient, with said control value causing the current interface to adjust the amperage of the signal current to a stationary amperage level that is higher than the higher of the two limit amperages of the measuring range.
13. The converter circuit according to claim 10, wherein: the micro-processor is adapted to switch automatically from a normal operating mode to said special operating mode.
14. The converter circuit according to claim 10, wherein: the micro-processor is adapted to switch controlled externally from a normal operating mode to said special operating mode.
15. The converter circuit according to claim 7, wherein: the converter circuit is adapted to be operated in a start-up mode that starts up the micro-processor.
16. The converter circuit according to claim 15, wherein: the micro-processor is designed to check the current interface during start-up mode.
17. The converter circuit according to claim 15, wherein: the micro-processor is adapted to check the current interface during start-up mode by issuing a live-zero-control value at the control output, namely a control value that causes the current interface to adjust amperage of the signal current in such a way that the corresponding stationary amperage level relates to a live-zero-value, namely an amperage signaling the live zero point of the converter circuit corresponding to the lowest of the two limit amperages.
18. The converter circuit according to claim 17, wherein: the micro-processor is adapted to check automatically the current interface during start-up mode by issuing a control value that deviates from the live-zero-control value causing the current interface to adjust the amperage of the signal current in such a way that the corresponding stationary amperage level relates to a current value above the lowest of the two limit amperages.
19. The converter circuit according to claim 18, wherein: the micro-processor is adapted to check the current interface during start-up mode automatically, by using the live-zero-control value, a digital current value corresponding to the live-zero-control value, the control value deviating from the live- zero-control value, as well as at least one digital current value corresponding to said digital current value to determine a current characteristic curve function that regulates the adjustment of the stationary amperage levels subject to the digital control values by the current interface and by comparing said current characteristic curve function with a pre-set characteristic curve function; and/or the micro-processor is adapted to check the current interface during start-up mode automatically by determining both, a deviation between the live-zero-control value and the respective digital current value and a deviation between the other control value deviating from the live-zero-control value and the respective digital current value, and by determining whether each of the deviations found is within or outside a tolerance range representing admissible deviations.
20. The converter circuit according to claim 1, wherein: the micro-processor is adapted to determine a transducer error based on the sequence of control values and the sequence of current values, esp. based on the saved control values, as well as the saved digital current values.
21. The converter circuit according to claim 1, wherein: the micro-processor is adapted to determine the control values of the control value sequence based on a calculation rule determined by at least two pre-set, currently valid coefficients (A.sub.1, . . . , A.sub.N) according to a polynomial function
22. The converter circuit according to claim 21, wherein: the micro-processor is adapted to adjust, based on the sequence of control values and the sequence of current values, said calculation rule to a current characteristic curve function used by the current interface to adjust the stationary amperage levels subject to the digital control values.
23. The converter circuit according to claim 22, wherein: the micro-processor is adapted to adjust said calculation rule to a current characteristic curve function such that a deviation of the current characteristic curve function from a previously determined characteristic curve function for the current interface is compensated.
24. The converter circuit according to claim 21, wherein: the micro-processor is adapted to occasionally determine at least one replacement coefficient (A.sub.M) for at least one of the currently valid but still to be replaced coefficients (A.sub.M {A.sub.1, . . . , A.sub.N}).
25. The converter circuit according to claim 24, wherein: the converter circuit is adapted to be operated in a special operating mode for at least some of the time, during which special operation mode the micro-processor outputs such control values at the control output that cause the current interface to adjust the amperage of the signal current in such a way that the stationary amperage levels are outside a pre-set measuring range, and the micro-processor is adapted to determine the replacement coefficient in said special operating mode.
26. The converter circuit according to claim 25, wherein: the micro-processor is adapted to switch from a normal operating mode to said special operating mode in order to determine the replacement coefficient.
27. The converter circuit according to claim 25, wherein: the micro-processor is adapted to determine the replacement coefficient in said special operating mode in such a way that for the determination of at least the replacement coefficient at least two different control values are issued by the micro-processor, at least one of which causes the current interface to adjust the amperage of the signal current in such a way that the respective stationary amperage level is below the lowest of the two limit amperages, and/or at least one of which causes the current interface to adjust the amperage, of the signal current in such a way that the respective stationary amperage level is higher than the higher of the two limit amperages.
28. The converter circuit according to claim 24, further comprising: a persistent data memory, wherein: the micro-processor is adapted to store said at least one replacement coefficient within said persistent data memory.
29. The converter circuit according to claim 21, wherein: the micro-processor is designed to determine at least one replacement coefficient (A.sub.M) for at least one of the currently valid but nonetheless to be replaced coefficients (A.sub.M {A1, . . . , A.sub.N}), based on a first control value (W.sub.D,j) determined by the calculation rule governed by a calculation rule corresponding to said momentarily valid coefficients (A.sub.1, . . . , A.sub.N), issued at the control output and valid at least at a first point in time (t.sub.j) and at least one first digital current value (I.sub.D,j) issued by the current interface at its current signal output and based on at least one second control value (W.sub.D,j+1) issued at control output compliant with the calculation rule determined by said momentarily valid coefficients (A.sub.1, . . . , A.sub.N) and valid at a second point in time (t.sub.j+n) which differs from the first control value (W.sub.D,j) and at least one second digital current value (I.sub.D,j+n) issued by the current interface at its current signal output.
30. The converter circuit according to claim 29, wherein: the micro-processor is designed to generate a control value sequence using the at least one replacement coefficient instead of the coefficient to be replaced.
31. The converter circuit according to claim 29, wherein: the micro-processor is designed to determine, a replacement coefficient (A.sub.1) for a first coefficient (A.sub.1 {A.sub.1, . . . , A.sub.N}) to be replaced compliant with a first calculation rule for replacement coefficients, using a first control value (W.sub.D,j) and the first digital current value (I.sub.D,j) as well as the second control value (W.sub.D,j+1) and the second digital current value (I.sub.D,j+n):
32. The converter circuit according to claim 1, wherein: the converter circuit is adapted to at least occasionally check, based on the sequence of control values and the sequence of current values, whether a stationary amperage level corresponds to the respective pre-set control value and/or to what extent a stationary amperage level deviates from the control value set.
33. The converter circuit according to claim 1, wherein: the micro-processor is designed to determine the control values (W.sub.D,j) of the control value sequence as a linear function of one of the digital measuring values (X.sub.D,j) of the measuring value sequence based on a polynomial function
34. The converter circuit according to claim 1, further comprising: a persistent data memory.
35. A measuring device, comprising: a measuring sensor to capture a physical and/or chemical measurand changing over time and to generate at least one analogue measuring signal representing the temporal course of said measurand; a well as measuring device electronics electrically coupled to the sensor and adapted to convert the analogue measuring signal in a digital measuring signal representing said analogue measuring signal and, consequently, a temporal course of said measurand, wherein the measuring device electronics includes a converter circuit according to claim 1.
36. The measuring device according to claim 35, wherein: the measuring device electronics includes: a first connecting terminal adapted to be electrically connected to a first conduit external from the converter circuit; and a second connecting terminal adapted to be electrically connected to a first conduit external from the converter circuit.
37. The measuring device according to claim 36, wherein: the current output of the current interface includes two connecting electrodes, of which connecting electrodes a first connecting electrode is connected electrically to the first connecting terminal and a second connecting electrode connected to the second connecting terminal.
38. The measuring device according to claim 36, further comprising: a display element controlled by the micro-processor to display measured values generated by the micro-processor and to display a pair of values consisting of a current value and a control value and/or a deviation of a current value from a control value and/or to display a transducer error.
39. The measuring device according to claim 36, further comprising: a third connecting terminal adapted to be electrically connected to a third conduit external from the converter circuit; and a fourth connecting terminal adapted to be electrically connected to a fourth conduit external from the converter circuit.
40. The measuring device according to claim 39, wherein: the voltage input of the energy supply circuit comprises two connecting electrodes, of which connecting electrodes the first connecting electrode is connected to the third connecting terminal and a second connecting electrode to the fourth connecting terminal.
41. The measuring device according to claim 35, wherein: said measuring device electronics further comprise an energy supply circuit with an input and at least one output, said energy supply circuit being adapted to supply a useful voltage at said output to operate the micro-processor and/or to operate the current interface.
42. The measuring device according to claim 41, wherein: the energy supply circuit is designed to carry at least a part of the signal current and use it to supply the useful voltage to operate the micro-processor and/or operate the current interface.
43. The converter circuit according to claim 1, wherein: the micro-processor is adapted to monitor and/or check the current interface based on the control value sequence and the current value sequence based on at least temporarily saved control values as well as at least temporarily saved digital current values.
44. The converter circuit according to claim 1, wherein: the micro-processor is adapted to monitor and/or check the current interface based on a deviation between a control value and at least determine one respective digital current value.
45. The converter circuit according to claim 1, wherein: the micro-processor is adapted to monitor and/or check the current interface by determining to what extent a current value deviates from its corresponding control value.
46. The converter circuit according to claim 1, wherein: the micro-processor is adapted to monitor and/or check the current interface by determining a current characteristic curve function used by the current interface to adjust stationary amperage levels depending on the digital control values.
47. The converter circuit according to claim 1, wherein: the micro-processor is adapted to monitor and/or check the current interface by determining if or to what extent a current characteristic curve function used by the current interface to adjust stationary amperage levels deviates from an earlier characteristic curve function of the current interface.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention as well as other advantageous embodiments of it are in the following explained using some design examples shown in the figures of the drawing. The same parts are labeled with the same reference sign in all figures; for reasons of clarity or if it appears sensible for other reasons, reference signs used before are not repeated in the following illustrations. Further advantageous embodiments or further developments, esp. combinations of partial aspects of the invention that were originally explained separately may be derived from the illustrations in the drawing and from the sub-claims themselves. The figures show in detail:
(2)
(3)
(4)
DETAILED DISCUSSION IN CONJUNCTION WITH THE DRAWINGS
(5)
(6) The measuring device MA serves to capture a physical and/or chemical measurand x subject to changes over time, e.g. the density, viscosity, a temperature and/or the pressure of a fluid, a volume flow rate or a mass flow rate of a fluid flowing in a conduit, esp. a pipe or a chute, or the fill level of a medium, esp. a liquid or bulk material in a container, esp. a tank or a basin as well as to generate at least one measuring signal that represents the temporal course of the measurand xinitially as an analogue measuring signal, which is then transformed into a digital measuring signal representing it, i.e. the temporal course of said measurand x, using the measuring device electronics ME, and then is evaluated in order to generate a digital measuring value X.sub.D to represent the measurand x. The measurand x itself is naturally subject to change over time in such a way that it changes during fault-free operation of the measuring point the respective measuring device is part of, specifically only within a measuring range x.sub.12 given for the measuring point and/or the respective measuring device; with the measuring range extending from a given smallest measuring value for measurand x determining the lower range threshold x.sub.1 and a given highest measuring value for measurand x determining the upper range threshold x.sub.2. Any measurand outside the measuring range would accordingly be regarded as a fault in the measuring point.
(7) The measuring electronics ME are furthermore intended to generate an analogue measuring value signal with a signal current based on the digital measuring signal and/or the measuring values derived from this, with said signal current amperage I.sub.X representing a measuring value X for the measurand; this in particular in such a way that a stationary amperage level I.sub.x,j for the amperage I.sub.x each falling within a measuring span I.sub.12 given for this purpose. The measuring span I.sub.12 in this case corresponds to the measuring range x.sub.12 given for the measurand x and, therefore, has a first limit amperage I.sub.1 corresponding to the lower range threshold value x.sub.1 and a second limit amperage I.sub.2 naturally is not identical to limit amperage I.sub.1 and corresponds to the upper range threshold value x.sub.2. The smaller of the two limit amperages I.sub.1, I.sub.2 here occasionally also corresponds to the live zero point of the converter circuit and is occasionally referred to as live zero value. The measuring value signal may, for example, correspond to a 4 mA 20 mA current signal frequently used in industrial measuring and automation technology, and therefore be a signal current flowing in a signal circuit including the measuring device electronics whose limit amperage I.sub.1 is 4 mA or lower, but ideally more than 3.6 mA, and whose limit amperage I.sub.2 is 20 mA or higher, but ideally less than 21 mA. Amperage levels outside the measuring span may further serve to signal special operating modes, esp. also alarm conditions caused by malfunctions.
(8) In order to convert the digital measuring signal x.sub.D to the analogue measuring value signal, the measuring device electronics ME includes a converter circuit Tre.g. in the form of a digital measuring converter with analogue output signal as per the NAMUR recommendation NE43:18.01.1994 mentioned abovewith a current interface DCC and a micro-processor C controlling the current interface and receiving the digital measuring signal x.sub.D at a measuring signal input. The micro-processor C is, among other functions, designed to generate a sequence of measuring values at its measuring value input based on the digital measuring signal xD, namely a sequence representing a temporal course of the measurand for different points in time t.sub.i, the sequence consisting of digital measuring values X.sub.D,i, each momentarily representing the measurand in turn.
(9) The measuring values generated using the converter circuit Tr can be displayed directly on site, i.e. directly at the measuring point or in the immediate vicinity. To visualize measuring values generated inside the measuring device and/or system status messages generated inside the measuring device, such as an error message or a warning on site, the measuring device may, for example, be equipped with a display or a display-and-handling element HMI communicating with the measuring device electronics, esp. controlled by the micro-processor and/or portable, such as an LCD, OLED or TFT display with a corresponding input keypad or a touchscreen in the electronic housing behind a window for this purpose. In a favorable way the measurement device electronics, also as a version to be remotely parametrized, may furthermore be designed in such a way that it exchanges measuring and/or other operating data during the operation of the measuring device with a higher-level electronic data processing system, e.g. a programmable logic controller (PLC), a personal computer and/or a workstation using a data transmission system, e.g. an Ethernet, a field bus and/or wireless radio connection, possibly in real time, among such data current measuring and/or system diagnosis values or adjustment values needed to control the measuring device. Furthermore, the measuring device electronics ME also have an energy supply circuit EV with an input featuring two connection electrodes and at least one output that serves to provide at such output a useful voltage U.sub.N to operate the current interface DCC and/or the micro-processor C, thus for the operation of the measuring device electronics it is part of, and/or appropriate useful electrical voltage for, the measuring device electronics. Said energy supply circuit is fed by an external source of energy.
(10) The current interface DCC in turn has a current output for the signal current, a control input I.sub.ctrl.sub._.sub.in and a current signal output I.sub.D.sub._.sub.out and is designed to let the signal current flow through the current output during operation while both adjusting the amperage of the signal current to a momentarily applied control value W.sub.D,j applied to the control input I.sub.ctrl.sub._in corresponding to the stationary amperage level I.sub.x and issuing a current value sequence i.sub.D at the current signal output I.sub.D.sub._.sub.out. The current value sequence i.sub.D is a sequence of digital current values I.sub.D,j determined for different, e.g. also equidistant (scanning) times t.sub.j representing the amperage and/or the respective set amperage level I.sub.x and thus illustrates the temporal course of the signal current i.sub.x. As shown schematically in
(11) In order to include the converter circuit Tr, and thus the measuring device it is part of, into a signal current circuit eventually carrying the signal current, the converter circuit Tr features a first connecting terminal P1, as well as a second connecting terminal P2. Both connecting terminals P1 and P2 are designed to be electrically connected with one of two connection lines L1 and L2 respectively that are placed outside the converter circuit. Furthermore, the current output of the current interface features two corresponding connection electrodes, the first of which I1 is electrically connected to the connecting terminal P1 (and hence with connection line L1) and another connection electrode I2 is electrically connected to the connecting terminal P2 (and hence with connection line L2). The measuring device may take the form of a so-called two-wire measuring device, i.e. a measuring device that is only supplied with electrical energy via the two connecting cables L1, L2 and only connected to an external electronic data processing system via the two connecting lines L1, L2, in such a way that the energy supply circuit EV as schematically shown in
(12) In order to control the current interface DCC, in the micro-processor C there is furthermore the provision of a connected to its control input I.sub.ctrl.sub._.sub.in, e.g. via the control output I.sub.ctrl.sub._.sub.out and the micro-processor is furthermore designed to generate a control value sequence w.sub.D on the basis of the measuring value sequence, i.e. a sequence of digital control values W.sub.D,j for the current interface, for which control values W.sub.D,j each respectively represents a momentary amperage level adjusted using the current interface DCC and issued at the control output I.sub.ctrl.sub._.sub.out. In order to save the digital measuring and/or control values generated during operation, the micro-processor C is furthermore connected with a volatile data memory RAM in the converter circuit. Sequence programs controlling the micro-processor, not least computational programs serving to generate the nominal value sequence or parts thereof are furthermore saved in a second persistent data memory EEPROM in the converter circuit Tr which can be read and written by the micro-processor C.
(13) As schematically shown in
I.sub.x,j=C.Math.W.sub.D,j+D ,
or may be assumed to be linear at first with sufficient accuracy for the modeling of the respective current interfaces, since in such current interfaces there are regularly also certain dependencies of the actually applied current from the temperature and effective current loads, i.e. dependencies from several influencing variables and/or to a smaller extent also non-linear or temporary dependencies from the current control value.
(14) The micro-processor in turn determines the control values W.sub.D,j of the control value sequence as a functional value of a function for at least one of the digital measuring values X.sub.D,j of the measuring value sequence, i.e. based on the at least one (momentary) measuring value determined before, as well as a calculation rule with at least two given, currently valid coefficients A.sub.1, . . . , A.sub.Nappropriately saved in the micro-processor C or saved in the data memory EEPROM. A polynomial function may serve as a calculation
(15)
rule, for example. The coefficients A.sub.1, . . . , A.sub.Nfor which an original set may be set, for example by the manufacturer of the measuring device electronics or the measuring device using it before delivery by calibration with a, potentially accredited, measuring and testing sequence and be stored in a non-volatile data memory such as the EEPROM data memoryare selected in such a way that the respective measuring value X.sub.D,j is modified to a previously arranged stationary amperage level that corresponds to it and
(16)
is subject to a general characteristic converter curve for the converter circuit derived from the combination of micro-processor and current circuit overall. In this, it may well be an advantage to at least save the original set of coefficients A.sub.1, . . . , A.sub.N in the micro-processor and protect it with a password to avoid unintentional deletion of the coefficients A.sub.1, . . . , A.sub.N and/or allow a reset of the micro-processor to this original set of coefficients A.sub.1, . . . , A.sub.N at any time.
(17) In one embodiment of the invention, the micro-processor C is also particularly designed to determine the control values (W.sub.D,j) of the control value sequence as a linear function of one of the digital measuring values X.sub.D,j of the measuring value sequence, i.e. based on a polynomial function governed by two precisely predetermined, currently valid coefficients A.sub.1, A.sub.2:
(18)
hence a polynomial function of polynomial degree N1=1, namely in such a way that the characteristic converter curve is defined in the form:
I.sub.x,j=C.Math.(A.sub.1+A.sub.2.Math.X.sub.D,j)+D
(19) For current interfaces that are supposed to adjust the signal current proportionally to the measuring value to be signaled, the coefficients are further set in an advantageous way such that the result for each stationary amperage level I.sub.x,j of the set signal current i.sub.x fulfills the condition:
(20)
during standard operation, i.e. for a measurand x that only changes within the given measuring range x.sub.12.
(21) As indicated above, the converter circuit Tr is designed to be temporarilyideally mainlyoperated in a normal operation mode in which the measurand x only changes temporarily within the measuring range x.sub.12 and in which the micro-processor additionally also issues such control values at the control output I.sub.ctrl.sub._.sub.out that cause the current interface DCC to adjust the amperage I.sub.x of the signal current in relation to each measuring value X.sub.D,j in such a way that the stationary amperage levels I.sub.x,j each found within the measuring span I.sub.12, e.g. as schematically shown in
(22) In another embodiment of the invention, the converter circuit Tr, or the measuring device electronics ME it is part of, is further designed to occasionally switch automatically from a normal operation mode to the above-mentioned special operation mode in case of a self-diagnosed malfunction of the measurement device electronics or the measurand.
(23) As mentioned above, current interfaces of the type discussed here, not least due to their circuit configuration still realized to a large degree in analogue technology even for modern measuring devices in industrial measuring and automation technology, may tend to slowly and/or successively change their characteristic curve function that is determined by the total of electronic components and modules contributing to the adjustment and/or control of the signal current flow, ultimately a momentary transmission behavior of the individual current interface; in such a way that the current characteristic curve function I.sup.+.sub.x,j=C.sup.+.Math.W.sub.D,j+D.sup.+ used by the current interface to currently adjust the stationary amperage levels Ix,j depending on the digital control values WD,j deviates from the previously identifiable characteristic curve function I.sub.x,j=C.Math.W.sub.D,j+D for the current interfacee.g. during calibration at the manufacturer's or on site, namely during a (re)calibration of the measuring device electronics during start-up of a measuring device in a facilitypossibly due to continued ageing of the electronic components or the modules of the current interface, and in turn changing the entire characteristic curve for the converter, namely:
(24)
and thus also the above-mentionedhere proportionalconnection between an identified measuring value X.sub.D,j and the currently set amperage level I.sub.x,j, for it, namely:
(25)
(26) Hence the calculation rule () that was precisely adapted to the previously correct characteristic curve function for the current interface DCC fits the control values for the current interface DCC controlled by them less and less as it has since changed its transmission behavior. With the continuing process of such modifications in the characteristic curve function, this may lead to a discrepancy between the current calculation rule and the current characteristic curve function that continues to grow, and to a consequent increase in the deviation between a control value W.sub.D,j and the stationary amperage level I.sub.x,j, namely a deviation between a measuring value W.sub.D,j and the corresponding stationary amperage level I.sub.x,j which at a certain point in time t.sub.failnot regularly predictable or identifiable
becomes unacceptable. The result of this deviation is that the currently valid calculation rule no longer fits the current characteristic curve function of the current interface DCC (
) because the control values determined on this basis actually lead to a conversion error Err, i.e. a discrepancy between the measuring value displayed with the actually set stationary amperage level I.sub.x,j and measuring value X.sub.D,j underlying the corresponding control value W.sub.D,j, which may be unacceptably high, and potentially should be reported and/or corrected. The converter error Err may, for example, be specified using the formula:
(27)
for a quantitative expression. At this point t.sub.fail then, the calculation ruleoriginally sufficiently accurate for the current interfacemust be assumed to be unsuitable for the calculation rule for the time being with regard to the current interface and/or its current characteristic curve function C.Math.W.sub.D,j+D.fwdarw.C.Math.W.sub.D,j+D, and hence the signal current I.sub.x,j I.sub.x, delivered by the converter circuit according to its current characteristic converter curve:
(28)
must be regarded as currently incorrect ().
(29) For the converter circuit Tr according to the invention, and thus for the measuring device according to the invention incorporating it, it has therefore been proposed to detect regular changesnot least due to the continued operation time and ageing of the current interface DCCin the characteristic curve function for the current interface DCC at an early stage and report it if necessary and/or compensate for it appropriately by a suitable implementation of an adjusted calculation rule for the control values via the micro-processor C and the current interface DCC themselves. For this purpose, the micro-processor C features a current signal input I.sub.D.sub._.sub.in electrically connected to the current signal output I.sub.D.sub._.sub.out of the current interface DCC. At the same time, the micro-processor C of the converter circuit Tr according to the invention is arranged to check the current interface occasionally, esp. in regular intervals based on the control value sequence w.sub.D and the current value sequence i.sub.D.sub._.sub.in,read in via current signal input I.sub.D.sub._.sub.in, and at least temporarily determine, whether the current characteristic curve function fits the currently valid calculation rule () for the identification of the control values, i.e. the one executed by the micro-processor C to generate the control values or whether, for example, the transmission behavior of the current interface DCC has meanwhile changed so drastically that the converter error Err is unacceptably high, and should be reported and/or corrected, and hence the currently valid calculation rule no longer fits the current characteristic line function of the current interface DCC (
), hence to monitor the current interface and/or its functional efficiency.
(30) Said monitoring or checking of the current interface DCC may be effected by using the micro-processor C to determine a deviation between a control value W.sub.D,j currently representing an amperage level to be adjusted by the current interface DCC and at least one respective digital current value I.sub.D,j, possibly with regular repetition and then deciding whether the deviation found is within or outside a tolerance range given for acceptable deviations, and/or by using the micro-processor C to calculate to what extent or by what percentage said current value I.sub.D,j deviates from the control value W.sub.D,j, and thus from the measuring value X.sub.D,j represented by it. Alternatively or as a complement, the current parameters gradient C and zero point D of thecurrentcharacteristic curve function of the current interface can be identified at least approximately on the basis of two or more value pairs each consisting of a control value W.sub.D,i and a corresponding current value I.sub.D,j using the micro-processor C and then be compared with previously identified reference values C, D saved, for example, in the persistent data memory EEPROM, to determine, for instance, whether or to what extent said current characteristic curve function deviates from a characteristic curve function for the current interface DCC previously determined e.g. during a calibration process at the manufacturer's.
(31) Since such a check for the current interface DCC cannot be regarded as time sensitive compared to a repetition ratein the range of a couple of millisecondsfor the generation of the actual measured values and/or the control values in the micro-processor, and may thus be extended over a much longer period of time, e.g. even over a couple of minutes, testing the converter circuit may at first be executed during normal operation mode without causing problems, e.g. in such a way that first the value pairs monitored by the micro-processor and consisting of a control value W.sub.D,i and respective corresponding current value I.sub.D,j are saved, at least temporarily in the data memory EEPROM, i.e. at least until the end of the testing underway and then used to determine the characteristic curve function as mentioned above. In this, it may well be advantageous to save the control value and at least one corresponding digital current value, hence at least the one value pair consisting of those two values in the data memory EEPROM together with a time stamp, i.e. a time value that corresponds to the time of saving. The value pairs that may be saved with a corresponding time stamp and/or the deviations or converter errors Err identified between their current values and each corresponding control value may, for example, also be displayed using the display unit HMI on site, e.g. upon a suitable control command sent to the micro-processor and/or saved in the non-volatile data memory EEPROM, possibly also together with a corresponding time stamp.
(32) Considering the fact that the characteristic curve function of the current interface DCC typically only changes very slowly over time, also compared to the above-mentioned repetition rate for the measuring values and compared to typical modification rates of the measurand to be identified, it may well be sufficient if a test of the current interface is only executed occasionally, e.g. on a regular interval basis and/or when needed. On the other hand, it is also possible to have the current signal output I.sub.D.sub._.sub.out of the current interface in a version that can be switched on or off in such a way that the current interface only issues the current value sequence i.sub.D at the current signal output I.sub.IST.sub._.sub.out after receipt of a control command ON that adds, or activates the current signal output I.sub.IST.sub._.sub.out or, reversed, that the current interface for a certain interval, e.g. when the control command ON is not received, does not issue a current value sequence i.sub.D at the current signal output I.sub.D.sub._.sub.out. For this purpose, the analogue-to-digital converter ADC that forms the current output may also be switched off completely, e.g. to temporarily lower the useful voltage needed for the operation of the converter circuit and/or to keep the operation time that contributes to ageing behavior of said analogue-to-digital converter ADC as low as possible. Keeping this in mind, it may also prove to be advantageous to maintain an activation time, i.e. the cumulated total time over a given operation period during which the current interface issues the current value sequence i.sub.D at the current signal output I.sub.D.sub._.sub.out shorter than a deactivation time, i.e. the cumulated total time over a given operation period during which the current interface does not issue the current value sequence i.sub.D at the current signal output I.sub.D.sub._.sub.out. According to a further embodiment of the invention, the current interface correspondingly also features a release input EN as schematically indicated in
(33) In case it is occasionally noted during a test run by the micro-processor C during operation to check the current interface DCC that the currently valid calculation rate no longer fits the current character curve function for the current interface DCC, (), which cannot be excluded as such, and that therefore the point in time t.sub.fail has been shown to have been exceeded, this may at first be reported, also on site using the above-mentioned display element HMI to first demonstrate the need for an appropriate correction before adjusting the converter circuit. Alternatively or as a complement, the characteristic converter curve may also be corrected based on the control values generated by the micro-processor and then on the basis of the current values issued by the current interface and read by the micro-processor, to thus minimize the converter error Err accordingly. The micro-processor C in another embodiment of the invention is therefore further designed to adjust the calculation rule for the control values to the current characteristic curve function for the current interface DCC and thus to reduce the converter error Err againnamely from a point in time t.sub.korr, based on the control value sequence w.sub.D and the current value sequence i.sub.D, and esp. based on saved control values W.sub.D,j as well as saved digital current values I.sub.D,j, and ideally in such a way, that a deviation of the current characteristic curve function from a previously determined characteristic curve function for the current interface is compensated almost completely and the converter error Err is practically eliminated.
(34) For the purpose of a correction of the characteristic converter curve, provision is made in another embodiment of the invention for the micro-processor C to determine at least one replacement coefficient A.sub.M for at least one of the currently valid and still to be replaced coefficients A.sub.M {A.sub.1, . . . , A.sub.N} once an unacceptably high deviation of a stationary amperage level I.sub.x,j from the control value W.sub.D,j set for this value is identified, and therefore an unacceptably large converter error Err and/or the point in time t.sub.fail was exceeded. This especially in such a way that the characteristic converter curve () that has been corrected, i.e. newly adjusted using the calculation rule that now is also governed by at least one replacement coefficient A.sub.M.fwdarw.A.sub.M corresponds as much as possible to the original characteristic converter curve, and therefore the following applies for the corrected and/or the original characteristic converter curve:
C.Math.(A.sub.1+A.sub.2.Math.X.sub.D,j)+D=C.Math.(A.sub.1+A.sub.2.Math.X.sub.D,j)+D
(35) At least one replacement coefficient islike the now replaced coefficientsaved as non-volatile data, e.g. in the data memory EEPROM and is thus available for the micro-processor. Said saving of the replacement coefficient may also once more be done with an appropriate time stamp. For the correction of the characteristic converter curve causing unacceptably large converter errors Err, the micro-processor according to another embodiment of the invention is furthermore arranged in such a way that it first identifies two different control values W.sub.D,j and/or W.sub.D,j+n according to the current calculation rule governed by the currently valid coefficients A.sub.1, . . . , A.sub.N, which nevertheless no longer fit the current interface, and issues them at the control output I.sub.ctrl.sub._.sub.out at different times t.sub.j and/or t.sub.j+n. Furthermore the micro-processor calculates digital current values I.sub.D,j and I.sub.D,j+n. representing the actually set stationary amperage level for the control values W.sub.D,j and/or W.sub.D,j+n generated accordingly by the current interface and based on the current value sequence I.sub.D.sub._.sub.out at the current signal output I.sub.D.sub._.sub.out during the issuing of the control values W.sub.D,j and/or W.sub.D,j+n at control output I.sub.ctrl.sub._.sub.out. Based on the at least two control values W.sub.D,j and/or W.sub.D,j+n and the at least two digital current values I.sub.D,j and I.sub.D,j+n, the micro-processor finally identifies at least one replacement coefficient A.sub.M for at least one of the currently valid, but to be replaced coefficients A.sub.M {A.sub.1, . . . , A.sub.N} to then, namely from the point in time t.sub.korr that saw execution of the calculation rule modification generate the control value sequence w.sub.D using the at least one replacement coefficient A.sub.M.fwdarw.A.sub.M instead of the coefficient A.sub.M to be replaced.
(36) For the typical case that on the one hand the momentary characteristic line function mainly corresponds to a linear function, and is therefore approximated in the formula I.sub.x,j=C.Math.W.sub.D,j+D with sufficient approximation, and that on the other hand the calculation rule corresponds to a polynomial function of polynomial degree One (N=2), and hence only two replacement coefficients A.sub.1, A.sub.2 have to be identified in order to correct the characteristic converter curve and/or adjust the calculation rule for the control values to the current characteristic curve function of the current interface, the calculation of the replacement coefficient A.sub.2.fwdarw.A.sub.2 may be realized with the micro-processor C according to the following calculation rule:
(37)
and/or the calculation of the replacement coefficient A.sub.1.fwdarw.A.sub.1 may be realized by the micro-processor C according to the following calculation rule:
(38)
(39) In case the measurand x remains stationary over longer periods of time, or is very slow compared to the above-mentioned repetition rate used for the generation of the actual measured values and/or the control values in the micro-processor, the calculation of the above-mentioned replacement coefficients A.sub.M (A.sub.1, A.sub.2, . . . ) may conveniently occur during the normal operating mode of the converter circuit Tr. In another case that the measurand x typically fluctuates massively or is at most only stationary in an unpredictable way or only for a very short time, it may also be quite necessary to cause the converter circuit Tr to switch from normal operating mode to a special operating mode to identify the replacement coefficient A.sub.M once the need for a modification of the calculation rule has been diagnosed. Said switch from normal to special operating mode may, for example, be externally controlled, e.g. by a control command transferred to the micro-processor via the display and control element HMI or alternatively also automatically, i.e. through the micro-processor itself once a corresponding result of the diagnosis is received and without waiting for another external control command. In order to determine at least one replacement coefficient A.sub.M, two or more control values that deviate from one another may be issued by the micro-processor C, each of which causes the current interface DCC to adjust the amperage I.sub.x of the signal current in such a way that the corresponding stationary amperage level I.sub.x is outside the measuring span I.sub.12, and hence below the lower of the two limit amperages of the measuring span, or over the higher of the two limit amperages of the measuring span, e.g. 3.6 mA or less and/or 21 mA or more.
(40) For the converter circuit according to the invention and/or the measuring electronics including said converter circuit, another option for checking the characteristic curve function of the current interface, the calculation rule for the control values and/or the characteristic converter curve on site is also during the (first) startup in the plant after the respective measuring device has been installed, or during a (renewed) start-up after restarting the micro-processor. This offers the advantage that during this time the system has to be verified or controlled anyway without using the measuring device that the measuring electronics to be tested are part of, and therefore no further, potentially unplanned disruption of the operation in the rest of the system is required. Accordingly, the converter circuit according to another embodiment of the invention is designed to be operated in a start-up mode in which the micro-processor is first started and then the current interface checked with the micro-processor. During start-up mode, the current interface can very easily be tested using the micro-processor, naturally after the latter has been restarted, by first using a live-zero-control value at the control output at a point in time t.sub.j, said control value causing the current interface to adjust the amperage I.sub.x of the signal current in such a way that the corresponding stationary amperage level I.sub.x,j corresponds to an amperage signaling the live-zero-value (live zero point of the converter circuit), as well as at a later time t.sub.j+n, esp. after the micro-processor has read in at least one digital current value corresponding to the life-zero-control value, a control value deviating from the live-zero-control value causing the current interface to adjust the amperage I.sub.x of the signal current in such a way that the issued corresponding stationary amperage level I.sub.x,j+n corresponds to a current value above the live-zero-value, for example also to an alarm current value of more than 20.5 mA and less than 23 mA, and by using the life-zero-control value, at least one digital current value corresponding to said live-zero-control value, the control value deviating from the live-zero-control value and at least one digital current value corresponding to said control value to identify the current characteristic curve function and comparing it with the originally given characteristic curve function. As an alternative or a complement, a deviation between the live-zero-control value and the corresponding digital current value I.sub.D,j, as well as a deviation between the other control value deviating from the live-zero-control value and the corresponding digital current value I.sub.D,j+n can be identified for the purpose of checking the current interface with the micro-processor. Then, the current interface can be tested by using the micro-processor to determine whether each of the two deviations found are within or outside the above-mentioned tolerance range representing acceptable deviations.