Method for determining a turbidity and turbidity sensor for implementing the method
09671339 · 2017-06-06
Assignee
Inventors
- Bjorn Haase (Stuttgart, DE)
- Matthias Grossmann (Vaihingen-Enz, DE)
- Carsten Gotz (Ettenheim, DE)
- Thilo Kratschmer (Gerlingen, DE)
Cpc classification
International classification
Abstract
A method for determining a turbidity of a medium in a container using at least one turbidity sensor. Depending on the ambient conditions at the installation location of the turbidity sensor, comprising the following steps: passing transmitted radiation through the medium, wherein the transmitted radiation is converted by interaction with the medium, as a function of the turbidity in the received radiation; receiving the received radiation; converting the received radiation into a scattered light intensity, and determining the turbidity from the scattered light intensity. The method is characterized by the following steps: detecting the chronological sequence of the scattered light intensity; determining a mean value on the basis of the chronological sequence of the scattered light intensity; determining the turbidity from the mean value using a calibration model by assigning a turbidity to each mean value; determining a corrected mean value on the basis of the chronological sequence of the scattered light intensity, by determining a noise parameter from the scattered light intensity, and by determining the corrected mean value from the noise parameter using a noise model, and determining a corrected turbidity at least from the corrected mean value using the calibration model by assigning a corrected turbidity to each corrected mean value. The invention further relates to a turbidity sensor for implementing the method.
Claims
1. A method for determining the turbidity of a medium using at least one turbidity sensor for use in process automation, the method comprising: calculating parameters for a noise model for the turbidity sensor; passing transmitted radiation into a medium, wherein the transmitted radiation is converted into received radiation by scattering as a function of turbidity in the medium; converting the received radiation into a scattered light intensity; measuring a chronological sequence of the scattered light intensity; calculating a mean value of the chronological sequence of the scattered light intensity; calculating a turbidity value from the mean value using a calibration model; calculating a noise parameter based on the chronological sequence of the scattered light intensity; calculating a corrected mean value of the chronological sequence of the scattered light intensity using the noise parameter and the noise model; calculating a corrected turbidity value using at least the corrected mean value and the calibration model; calculating a turbidity offset by comparing the turbidity value and the corrected turbidity value; and determining whether the turbidity offset exceeds a threshold, wherein upon determining that the turbidity offset exceeds the threshold, generating a message indicating that the turbidity value contains interference due to an interference variable or an interference source.
2. The method according to claim 1, wherein: the corrected turbidity value is calculated using at least the corrected mean value, the mean value, and the calibration model.
3. The method according to claim 1, further comprising: upon determining that the turbidity offset exceeds the threshold, compensating the turbidity by determining an actual turbidity using the corrected turbidity.
4. The method according to claim 1, wherein the noise parameter is calculated using a Fourier transformation of the chronological sequence of the scattered light intensity.
5. The method according to claim 1, wherein: the corrected mean value is determined from the noise parameter using the noise model, the noise model defined as,
RK=*{square root over (MW.sub.kor)}+ where RK is the noise parameter, is a scaling factor for the conversion of an electrical variable to the turbidity, MW.sub.kor is the corrected mean value, and is a constant for the turbidity sensor.
6. The method according to claim 1, wherein: said noise parameter depends on ambient conditions and/or the state of the turbidity sensor.
7. The method according to claim 6, wherein: the ambient conditions are at least materials, diameter, surface roughness, surface color, surface texture and/or deposits on the container, and/or distance of turbidity sensor to the container.
8. The method according to claim 6, wherein: the state of the turbidity sensor is surface texture, deposits, wear of an optical window, and/or contamination at the turbidity sensor.
9. The method according to claim 6, further comprising the step of: displaying said noise parameter and/or a message about the ambient condition and/or state of the turbidity sensor.
10. A turbidity device comprising a turbidity sensor and a controller, the turbidity sensor configured to transmit radiation into a medium and to receive radiation scattered by turbidity in the medium, the controller configured to: convert the received radiation into a scattered light intensity; measure a chronological sequence of the scattered light intensity; calculate a mean value of the chronological sequence of the scattered light intensity; calculate a turbidity value from the mean value using a calibration model; calculate a noise parameter based on the chronological sequence of the scattered light intensity; calculate a corrected mean value of the chronological sequence of the scattered light intensity using the noise parameter and a noise model; calculate a corrected turbidity value using at least the corrected mean value and the calibration model; calculate a turbidity offset by comparing the turbidity value and the corrected turbidity value; and determine whether the turbidity offset exceeds a threshold, wherein upon determining that the turbidity offset exceeds the threshold, generate a message indicating that the turbidity value contains interference through an interference variable or an interference source.
11. The turbidity device according to claim 10, wherein: the turbidity device comprises a higher-level unit, which determines said noise parameter, the mean value, the corrected mean value, the turbidity and/or the corrected turbidity and performs a comparison of the turbidity with the corrected turbidity, wherein the higher-level unit is part of the turbidity device or is installed in an external device, in particular a transmitter.
12. The turbidity device according to claim 11, wherein: the turbidity device is connected with the external device, in particular the transmitter, over an electrically insulated, and in particular, inductive interface, or the turbidity sensor is connected with the external device, in particular the transmitter, over a wireless, in particular a Bluetooth interface.
13. The method according to claim 1, wherein the noise parameter is calculated using a standard deviation analysis of the chronological sequence of the scattered light intensity.
14. The method according to claim 1, wherein the calibration model outputs the turbidity value based on the mean value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention is further explained in more detail by means of the following figures. They show:
(2)
(3)
(4)
(5)
DETAILED DISCUSSION IN CONJUNCTION WITH THE DRAWINGS
(6) The reference symbols of similar features remain the same in the figures.
(7) Turbidity measurement is an application of the method according to the invention. The turbidity measurement is only dealt with briefly as it is known in principle.
(8) For measuring the turbidity, a light beam is directed through the medium and it is deflected there from its original direction by visually denser constituents, for example solid particles. This process is referred to as scattering. The incident light is scattered in many directions, i.e. at different angles to the direction of propagation. Here, several ranges of angles are of great interest, wherein two are explained here in detail: The scattered light that is detected at an angle of 90 opposite the direction of the incident light, or the scattered light intensity RW that is detected by the detectors, such as photodiodes, is only slightly influenced by the particle size. Another interesting scattering angle is 135 to the direction of the incident light. This light in the 135 direction also gives information at high particle densities. If the particle density in the medium is low, much light is scattered along the 90 path and little light along the 135 path. If the particle density increases, this phenomenon is inverse (more light along the 135 path, less light along the 90 path). A common turbidity sensor has two independent sensor units that are arranged in parallel. The application-dependent evaluation of the two signals results in stable measured values. Thus, the optimum measurement of turbidity and solids is possible: The 90 path is preferably used at low turbidity values. The 135 path is used at average and high turbidity values and at solid measurements.
(9) The measurement method essentially includes four methods. The multi-beam alternating light method, 90 scattered light method, the forward scattered light method and the backward scattered light method.
(10) The four-beam alternating light method, as a kind of multi-beam alternating light method is based on two light sources and two light receivers. LEDs with a long service life are used as monochromatic light sources. These LEDs that are alternately pulsed generate two scattered light signals at the receivers per LED pulse.
(11) In the 90 scattered light method, the measurement is carried out at a wavelength of 860 nm as described in ISO 7027/EN 27027. The emitted light beam is scattered by the solid particles suspended in the medium. The so-generated scattered radiation is measured using scattered light receivers, which are arranged at an angle of 90 to the light sources. The turbidity of the medium is determined from the quantity of scattered light.
(12) In the backscatter light method, the light beam transmitted is scattered in the medium by the solid particles. The generated backscatter is measured by the scattered light receiver. The turbidity of the medium is determined from the quantity of backscattered light. Very high turbidity values can be measured using this form of scattered light measurement.
(13) The three measurement methods mentioned are the most common ones that are partly specified by standards. However, other methods and measuring angles may be specified, depending on the country.
(14) The forward scattered light method, for example at an angle of 11, is used less frequently
(15) However, all of the described methods face the problem described above that interference variables, e.g. reflections at the installation or contamination of the optical window, falsify the measurement result. The user must try to eliminate these undesired reflections by calibration, but as mentioned, these tests are time and cost-intensive a well as prone to error.
(16)
(17) The noise parameter RK can be determined in various ways. The noise parameter RK may be determined by a frequency analysis, in particular a Fourier transformation of the chronological sequence of the scattered light intensity RW. Alternatively, the noise parameter RK can be determined using statistical methods such as the calculation of the standard deviation. The scattered light intensity RW is detected over its course of time. From this course of time, e.g. the arithmetic mean of ten consecutive values, namely a mean value MW is calculated by means of an algorithm.
(18) Then, a corrected mean value MW.sub.kor is determined from the noise parameter RK by means of a noise model RM. The noise model RM is briefly described below. The
RK=.Math.{square root over (MW.sub.kor)}+
corrected mean value MW.sub.kor is determined by means of the formula (solve the formula accordingly). Here, is a scaling factor for the conversion of an electrical variable to the turbidity and is a specific constant for the turbidity sensor. The constant is different for various measuring angles (e.g. turbidity measured at 90 or 135). The constant describes the equipment noise and it depends on the relevant hardware, namely the corresponding turbidity sensor together with electronics, etc. Both parameters can be calculated practically by two-point calibration, can be determined in a theoretical manner by means of light scattering analysis with reception- and detection characteristics of the sensor and scattering properties of the medium and by means of noise analysis of the sensor.
(19) In the next step, see
(20) Then, the turbidity TU and the corrected turbidity TU.sub.kor are compared. From this comparison, by subtracting from each other (an offset of turbidity TU.sub.offset results) in the simplest case, a statement about the reliability or unreliability of the turbidity can be made as to whether the turbidity TU coincides with the corrected turbidity TU.sub.kor or not. There is a high reliability, for example, if the deviation TU.sub.offset is less than 1%. There is a low reliability, for example, if the deviation TU.sub.offset is more than 100%. If there is no correspondence, i.e. a deviation from a certain tolerance range, there is interference through an interference variable or source.
(21) In another step, the turbidity can be corrected if the determined turbidity TU does not correspond to the corrected turbidity value TU.sub.kor, i.e. the deviation TU.sub.offset exceeds a certain value. This is done by determining the actual turbidity using the corrected turbidity value TU.sub.kor, i.e. ultimately based on the noise parameter RK and thus, on the basis of the noise.
(22) As mentioned, using the calibration model KM, a turbidity value TU and a corrected turbidity value TU.sub.kor are uniquely assigned to each mean value MW or each corrected mean value MW.sub.kor. The corrected mean value MW.sub.kor is also clearly determined from the noise parameter RK using the noise model RM. Therefore, turbidity TU and corrected turbidity TU.sub.kor act like the noise parameter RK and mean value MW.
(23)
(24) The value of the noise parameter RK forms a characteristic noise for the respective value. This characteristic noise may be determined at standard conditions, for example, in advance and not at the installation location of the turbidity sensor. Standard conditions in this case refer to a measurement in the laboratory at constant temperature, constant barometric pressure, well-defined amount of medium and regular stirring of the medium to keep the turbidity constant. In general, the correlation between mean value MW and noise RK must be determined at conditions, where no interfering influences such as dirt or wall effects occur. This can be in the laboratory as mentioned, but also at the user's location. Likewise, the same applies to the and parameters mentioned above.
(25) As mentioned, the turbidity value TU is compared to the corrected turbidity value TU.sub.kor. The measurement appears to be okay if a correspondence occurs here. If there is no correspondence, i.e. a deviation from a certain tolerance range, there is interference through an interference variable or source. Ideally, this is detected and the turbidity sensor is accordingly compensated. This will be discussed in more detail below.
(26) Upon occurrence of an interference variable, e.g. sensor sees a wall, the measured scattered light intensity RW increases, but the corrected average value MW.sub.kor determined therefrom remains approximately constant (see
(27)
(28) Thus, on the y-axis, the mean value MW is also plotted, or in other words, the characteristic noise expected for the respective ambient condition. However, the actual measured value of the noise parameter RK or the corrected mean value MW.sub.kor approximately constant. Therefore, there is a difference between the mean value MW and corrected mean value MW.sub.kor in
(29) A user can identify an appropriate ambient condition, such as material, diameter, surface roughness, surface color, surface texture and/or deposits at the container, and/or distance between sensor and container, and it is possible to carry out a corresponding compensation. This helps in avoiding incorrect measurements. The corresponding assignments of the type of interference to the predicted value of the noise parameter may be stored in the form of tables, as a function, formula, diagram or the like, for example on a memory in the higher-level unit. The appropriate ambient conditions are selected by the user, for example through the higher-level unit.
(30) Alternatively or in addition, an automatic detection of the corresponding fault can be performed. As shown in
(31)
(32) Thus, the state of the sensor, namely the surface texture, deposits, contamination of the sensor, can also be detected and compensated for, and adjusted, if necessary.