METHOD FOR DETERMINING A PROCESS VARIABLE WITH A CLASSIFIER FOR SELECTING A MODEL FOR DETERMINING THE PROCESS VARIABLE
20200125974 ยท 2020-04-23
Inventors
- Thomas Alber (Stuttgart, DE)
- Dieter Waldhauser (Durach, DE)
- Philipp Leufke (Rheinfelden, DE)
- Markus Kilian (Merzhausen, DE)
- Tobias Brengartner (Emmendingen, DE)
- Sergey Lopatin (Lorrach, DE)
- Rebecca Page (Basel, CH)
- Ruediger Frank (Haigerloch, DE)
Cpc classification
G05B17/00
PHYSICS
G01D21/02
PHYSICS
G01F23/28
PHYSICS
G01F23/804
PHYSICS
International classification
Abstract
The present disclosure relates to a method for determining at least one process variable of a medium, including steps of recording a sensor signal from a field device and determining a selected model from a set of at least two different models by means of a classifier. Each of the models is used for determining the process variable based at least on the sensor signal. The classifier is designed to select the selected model. The method also includes a step of determining the process variable based at least on the selected model and the sensor signal.
Claims
1. A method for determining at least one process variable of a medium, including the following method steps: recording a sensor signal from a field device; determining a selected model from a set of at least two different models using a classifier; wherein each of the models is used for determining the process variable at least on the basis of the sensor signal; and wherein the classifier is designed to select the selected model; and determining the process variable at least on the basis of the selected model and the sensor signal.
2. The method of claim 1, wherein the classifier is designed to learn the selection of the selected model.
3. The method of claim 2, wherein the classifier is trained offline or online.
4. The method of claim 1, wherein the classifier is designed to use at least one influencing variable in the selection of the selected model.
5. The method of claim 4, wherein the influencing variable is the sensor signal or a variable derived from the sensor signal.
6. The method of claim 1, wherein, based on a data record comprising at least one input variable and an output variable associated with the input variable, a mapping is created, wherein the classifier determines the selected model based on the mapping.
7. The method of claim 1, wherein a feature vector is determined, wherein the classifier is designed to select the selected model based on the feature vector.
8. The method of claim 7, wherein a first and a second classifier are used, wherein the first classifier performs a feature extraction or creates a feature vector, wherein the second classifier selects the selected model based on the feature vector.
9. The method of claim 1, further including determining a classification quality with respect to the selection of the selected model.
10. The method of claim 9, further including evaluating the classification quality using a probability with which the classifier selected the selected model.
11. The method of claim 9, further including detecting a change of the classifier from a first to a second selected model.
12. The method of claim 11, further including determining an alternating frequency between the first and the second selected models or a time interval during which the first or the second selected model is used.
13. The method of claim 1, wherein the field device is a field device for determining or monitoring a turbidity, a flow rate, or a fill level of a medium, or for determining a concentration of at least one substance contained in the medium.
14. A computer program for determining at least one process variable of a medium with computer-readable program code which, when executed on a computer, cause the computer to execute the following steps: record a sensor signal from a field device; determine a selected model from a set of at least two different models using a classifier; wherein each of the models is used to determine the process variable based at least on the sensor signal; and wherein the classifier is designed to select the selected model; and determining the process variable at least on the basis of the selected model and the sensor signal.
15. A computer program product stored in a computer readable medium for determining at least one process variable of a medium, comprising: computer code for recording a sensor signal from a field device; computer code for determining a selected model from a set of at least two different models using a classifier; wherein each of the models is used for determining the process variable at least on the basis of the sensor signal; and wherein the classifier is designed to select the selected model; and computer code for determining the process variable at least on the basis of the selected model and the sensor signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The present disclosure is explained in greater detail with reference to the following figures.
[0030]
[0031]
[0032]
[0033]
DETAILED DESCRIPTION
[0034] In the Figures, identical elements are respectively provided with the same reference characters.
[0035] The method according to the present disclosure is schematically depicted in
[0036] The method can, for example, be implemented in an electronic system of a field device 1, 4 (shown in later Figures) or in a higher-level unit. The electronic system comprises a memory unit, which is likewise not shown separately, in which different models M.sub.1-M.sub.n for determining the process variable y are stored on the basis of a sensor signal x received from a sensor unit (not shown) of the field device 1, 4.
[0037] Respectively received from the sensor unit is/are a sensor signal or a plurality of sensor signals x.sub.1-x.sub.i for which the process variable y.sub.1-y.sub.i is respectively to be determined. The various models M.sub.1-M.sub.n are thereby available for determining the process variable y. The classifier K according to the present disclosure then serves to determine and select a selected model (here M.sub.2) from the set of models M.sub.1-M.sub.n. This selection is illustrated in
[0038] Optionally, one or more influencing variables can be made available to the classifier K, as indicated by the dashed arrows. In the present instance, these are e.g. the sensor signals x.sub.1-x.sub.i, as well as the further influencing variables x.sub.j and x.sub.k.
[0039] The different models M.sub.1-M.sub.n can respectively be used to determine the process variable y.sub.1-y.sub.i based on the sensor signals x.sub.1-x.sub.i. The models M.sub.1-M.sub.n may, for example, relate to different measurement principles or different configurations in the process, for example different fields of use and/or application. For example, the different models M.sub.1-M.sub.n may also be at least partially mutually exclusive, so that certain models are not applicable to certain circumstances. In the simplest instance, the respectively selected model M.sub.2 remains the same for a predeterminable duration of a specific process. However, it is also conceivable that, during continuous operation, process and/or ambient conditions change in such a way that a change of the selected model M.sub.2 by the classifier K is to be performed continuously, periodically, or selectively. For example, in the instance of
[0040] A possible application of the method according to the present disclosure with regard to the contactless determination of a fill level F of a medium M as process variable y is illustrated by the run-time-based fill level measurement method known per se from the prior art, as illustrated in
[0041] The measuring principle is illustrated schematically in
[0042] In order to allow an optimally precise determination of the fill level F, the respectively used algorithms A must be appropriately parameterized 3b for the respective process or the respective application. This parameterization 3b, or the selection and specification of the parameters, often takes place manually according to the prior art. For example, a maximum filling speed and/or emptying speed of the container 2 are specified for the precise tracking of the fill level-dependent echo signal. For precise determination of the fill level F, various data are in turn required regarding the medium M, including the the dielectric constant, and for the surface behavior of the medium M within the container, for example information regarding turbulence or foam formation in the area of the surface O. The parameterization 3b is accordingly highly application-specific and must be selected appropriately for each new application. This is associated with a high cost.
[0043] In relation to the present disclosure, the different envelopes, algorithms A, or even different parameter sets serve as different models M.sub.1-M.sub.n. The classifier K serves for the intelligent selection of the matching model for determining the process variable y=F on the basis of the sensor signals x, which in this instance are provided by the echo signals R. In this respect, it is conceivable that the classifier K selects at least one parameterization 3b for a parameter from a plurality of parameter values based on one or more envelope(s).
[0044] Another example of an application of the method according to the present disclosure relates to a turbidity sensor 4, likewise known from the prior art, for determining a turbidity of a medium M, as illustrated in
[0045] Turbidity sensors are also produced by the applicant in various embodiments and are sold under the name Turbimax, for example. A turbidity sensor 4 based on the measurement principle of scattered light measurement is shown in
[0046] In the instance of the quadruple-beam alternating light method, as illustrated in
[0047] Before starting up a sensor 4 for determining the solid concentration CF of a sludge in a specific application, the appropriate model M.sub.1-M.sub.n must respectively be selected manually. In the event that the type of sludge changes over the course of time, the model M.sub.1-M.sub.n used for determining the substance concentration CF must correspondingly also be changed. If the necessity of a model change in continuous operation is not detected promptly, which often occurs, a faulty determination of the substance concentration of the sludge occurs at least intermittently.
[0048] By means of the present disclosure, a classifier K can now be used for determining a respective appropriate selected model M.sub.2, M.sub.n. The classifier K accordingly serves in principle for the intelligent recognition of the sludge type at least on the basis of the sensor signals x of the turbidity sensor 4, for example of the signals x received by means of the detector 12. Depending on the type of sludge, the classifier K selects the selected model M.sub.2, M.sub.n suitable for determining the concentration.
[0049] On the one hand, sensor signals x.sub.1-x.sub.i of the turbidity sensor 4 can serve as possible influencing variables. However, other influencing variables x.sub.j, x.sub.k can also additionally or alternatively be provided, for example those which reflect spectral characteristics of the medium M, for example an absorption, reflection, transmission, or a scattering at one or more different wavelengths.
[0050] Yet another possible application of the present disclosure relates to the measurement of the alcohol content C.sub.A in a medium M in the form of an aqueous solution, as illustrated in
[0051] For example, in order to determine which alcohol is respectively involved, the density p and the refractive index n.sub.D of the aqueous solution may be determined. Using these two variables, which alcohol is involved can be unambiguously determined, as can be seen from
[0052] In relation to the present disclosure, the classifier K can, for example, be provided with the refractive index n.sub.D and the density p of the aqueous solution as influencing variables x.sub.j, x.sub.k. The classifier K is then designed to determine the respective alcohol present and to select a characteristic curve (the selected model M.sub.2, M.sub.n). The alcohol content C.sub.A of the aqueous solution can then be determined on the basis of the characteristic curve and the density .