The invention relates to a method for detecting particles in fluid, with which the fluid to be examined is introduced into a beam path of an optical device, between at least one light source and the image acquisition sensor with a matrix of light-sensitive cells, with which the pixel values of the cells are detected and the distribution of the pixel values is at least partly determined.
Methods for the optical detection of particles in a fluid are counted as belonging to the state of the art. EP 2 469 264 A1, WO 2010/063293 A1 and WO 2014/094790 A1 are referred to in this context, and with these disclosures, the detection is carried out by way of an image acquisition sensor with a matrix of light-sensitive cells, for example of a CCD sensor, with which the fluid to be examined is introduced into the beam path of an optical device, between at least one light source and the image acquisition sensor. These devices, although being envisaged for the qualitative and quantitative detection of particles in a fluid in the stationary condition, however are also used for quasi stationary, continuous examination, for example for the regular checking of drinking water. As a rule, they have a sample carrier for this, whose fluid is exchangeable. Suitable valves, as the case may be pumps and a procedural control are provided for this.
With the evaluation of the signal of the image acquisition sensor (imaging sensor), it is counted as belonging to the state of the art to detect the pixel values of the individual cells and to at least partly determine the statistical distribution of the pixel values. The pixel value or the pixel values which are thereby determined most often are used as a value or average value for a background signal which is subtracted from the actual pixel value with a subsequent signal processing, in order in this manner to numerically fade out the background or the background noise and to simplify and improve the particle detection. Kim, Seongjai and Lim, Hyeona “Method of Background Subtraction for Medical Image Segmentation” in Nature 2013 is referred to in this context.
It is particularly with the examination of drinking water, but also with other fluids which encourage an accumulation of deposits or organic growth such as biofilm, that the long-term stability of the sample carrier, in particular of the sample carrier window is a problem. The deposits do not accumulate suddenly, but continuously and this being the case at a speed which cannot be foreseen, and lead to the fact that the results become less and less accurate in the course of time up to the complete failure of the measurement. It is therefore necessary for the sample carrier, i.e. the component, in which the fluid is led along a window arranged in the beam path of the optical device, to be exchanged at regular intervals. The exchange of the sample carrier must be effected in comparatively short intervals as a precautionary measure since the speed of the increase of the deposits or accumulations varies, and this is cumbersome and expensive.
Against this background, it is an object of the invention, to provide a method which detects these deposits and this, if possible, being with already existing means.
With the method according to the invention for the quantitative and/or qualitative detection of particles in fluid, the fluid to be examined is arranged in a beam path of an optical device, between at least one light source and an image acquisition sensor with a matrix of light-sensitive cells. Thereby, the pixel values of the cells are detected and the distribution of the pixel values is at least partly determined, wherein the pixel value or pixel values which have been determined most often, are used as a value or average value for a background signal, as is basically counted as belonging to the state of the art. According to the invention however, a signal is outputted or the detection method is interrupted on reaching a predefined limit value for the background signal.
The basic concept of the method according to the invention is to evaluate the value for the background signal and which per se is to be determined in any case, as to whether this value lies below or above a predefined limit value for the background signal, wherein a signal is outputted or the method is interrupted on reaching this limit value or on falling short of it. Thus a value which is to be determined in any case is determined, in order to ascertain whether an unallowably high degree of deposits or contamination of the examination window but also of the remaining optics between the light source and sensor is present, in order to either output a signal which signalizes the reaching or exceeding of this limit value, or to interrupt the detection method. Thereby, if the limit value is specified or set at a sufficient distance to a possible maximally allowable value, a signal output which indicates to the user that the sample carrier is then to be shortly exchanged or at least cleaned or sets an automatic control in action for this can be sufficient.
The method according to the invention for the quantitative and/or qualitative detection of particles in fluid is basically independent of whether the fluid is still or flows. The method according to the invention however is preferably applied to quasi stationary fluids, which means the fluid to be examined is allowed to flow in a sample carrier, whereupon the feed and discharge are however closed, and a certain time is waited, until the particles located in the fluid no longer move, which means suspended particles have reached a quasi stationary condition, and, with particles which are significantly heavier or lighter than the fluid, these have either completely sunk to the bottom or floated to the top.
The method according to the invention has the advantage that it utilizes present resources and can be implemented quasi with regard to software, which means it creates no additional costs.
Ideally thereby, the distribution of the pixel values of the complete matrix of light-sensitive cells is determined. It is to be understood that it can also be sufficient if only a large part of this matrix is evaluated, if e.g. a part of the cells are to be used for other purposes and is not available for this. Thereby, it does not necessarily need to be a pixel value which has been determined most often, but it can also be several pixel values. Usually, a peak results in a distribution diagram, and this peak is then used as a value or an average value for a background signal, for example by way of forming a mean. This background signal which is also indicated as a noise signal is deducted from each individual pixel value with the later evaluation of the pixel values, in order to thus ensure a quasi noise-free evaluation.
Thereby, according to an advantageous further development of the invention, a signal is outputted on reaching a first predefined limit value for the background signal, and the detection method is interrupted on reaching a second predefined limit value. Such a two-stage solution makes sense, in order, in good time, to indicate an increasing contamination of the optical device, in particular of the sample carrier window and, in a further step, at the latest when the contamination is so great that a statistically valid evaluation is no longer possible, to stop the detection method. The limit values are thereby usefully to be predefined such that the first limit value lies significantly below the permissible limit, within which a reliable quantitative and preferably also qualitative detection of particles in the fluid is ensured, and the second limit value lies just below this limit value or is formed by the limit value itself, so that on reaching this limit value, it is ensured that a detection is no longer effected or the evaluation is aborted.
With the method according to the invention, advantageously a multitude of images is recorded in different image planes, such as is described for example in WO 2014/094790 A1. It is useful to form the background signal by way of the mean of values or average values of several successively recorded images, preferably of 500 to 1500 images of different image planes, but of the same fluid sample, in order to carry out a statistically valid evaluation with regard to the background signal.
According to an advantageous further development of the method according to the invention, one envisages the values for the background signal of temporally successively effected detections of particles in fluid being registered and a change speed being determined by way of the temporal change of the registered values, in order to not only ensure the quality of the current examination, but in particular to detect and to evaluate the increase of deposits or contamination within the optical device, in particular of the sample carrier window. Then, on account of this change speed, one can determine without further ado, as to how long the detection process can still be continued without an intervention in the system being necessary, be it for cleaning purposes or for the exchange of components. Thereby, the change speed gives an indication as to the increase of deposits or contamination which is to be reckoned with, and within which time. The evaluation of the change speed also permits the early recognition as to when unexpected and sudden changes occur within the optical system.
According to an advantageous further development of the method according to the invention, the registration of these values for the background signal and the evaluation of the temporal change of the registered values can advantageously be used to determine when a predefined limit value for the background signal is likely to be reached. A correspondingly designed device, in a suitable display can thus specify when a cleaning of the device or an exchange of the sample carrier is likely to have to be effected at the latest.
The background signal is thus usefully used as a measure for the contamination in the beam path, and a fluid carrier or sample carrier which receives the fluid to be examined is cleaned or exchanged which means is replaced by a new or cleaned fluid carrier, on reaching a predefined limit value.
A constant examination of this background signal is basically not necessary, since the contamination in such optical devices in particular the biofilm formation within the sample carrier window which is being discussed here, is not effected abruptly, but over several days or weeks. According to the invention, the determining of the background signal is however advantageously effected before each detection of particles, or at least in predefined time intervals, in order to ensure adequate system reliability. According to an advantageous development of the invention, one can basically also envisage the contamination degree of the sample carrier being determined in the unfilled condition, i.e. determining the background signal when the sample carrier is not yet filled with fluid, or emptying and preferably also drying this before the measurement procedure.
Thereby, according to an advantageous further development of the invention, on evaluating the pixel values of the cell matrix of the sensor, this matrix can be divided into a multitude of preferably equally large part-matrices, and a background signal formed for each part-matrix. Thereby, the part-matrix or the part-matrices, whose background signal exceeds a predefined further limit value, is excluded from the further valuation for detecting the particles. This further development according to the invention has the advantage that individual, greatly contaminated parts of the sample carrier window can be excluded in a targeted manner with the detection, and this also includes larger particles, such as air bubbles or particles in this size magnitude, if for example it is a case of the detection of particles which are significantly smaller such as bacteria or turbidities for example.
The distribution of the pixel values can not only be used for determining the background signal, but with this advantageously the particles are also categorized with regard to size. In particular, such a categorization with regard to size can already be a first selection if it is a question of the detection of certain particles, and this with regard to the method and also evaluation technology can be carried out in a relatively simple manner.
The evaluation of the pixel values is usefully effected digitally. It has also be found to be useful to specify the limit value for the background signal and/or the further limit value for the background signal of a part-matrix at 10 to 20% of a maximal pixel value. This percentage specification is independent of the resolution of the pixel value. With an 8-bit resolution of a pixel value, which corresponds to a resolution of 256 brightness steps, it has been found to be advantageous to fix the limit value for the background signal between 30 and 50, preferably between 35 and 40. This means that with the specified resolution, after deduction of the background signal, at all events more than 200 different brightness steps still remain. Thereby, this limit value is independent of whether it is the case of an optical device, with which the light source directly beams through the sample carrier window (brightfield technique), or whether it is the case, with which only indirect light reaches the sample carrier (darkfield technique). What is essential is the fact that a measurement range of more than 200 steps remains in each case.
With an 8-bit resolution, a value between 35 and 45 has been found to be advantageous as a further limit value for the background signal of a part-matrix. Thus with the method according to the invention, then only the part-matrices which have a background signal of the part-matrix which exceeds a value between 35 and 45, depending on which value has been predefined here, are excluded from the further detection procedure.
The device according to the invention for the optical detection of particles in a fluid comprises a light source, a image acquisition sensor with a matrix of light-sensitive cells and a fluid carrier which is arranged in the beam path therebetween, as well as control and evaluation electronics which detects the pixel values of the cells and at least partly determines the distribution of the pixel values and uses the pixel value or pixel values which have been determined most often, as a value or average value for a background signal. According to the invention, the control and evaluation electronics are designed such that a signal is outputted or the detection procedure is interrupted, on reaching a predefined limit value for the background signal. In an analogous manner, the control and evaluation electronics according to the invention can be designed, in order to also carry out the previously described further method features.
Parts of the invention are hereinafter explained by way of representations. The present invention is described in detail below with reference to the attached figures. The various features of novelty which characterize the invention are pointed out with particularity in the claims annexed to and forming a part of this disclosure. For a better understanding of the invention, its operating advantages and specific objects attained by its uses, reference is made to the accompanying drawings and descriptive matter in which preferred embodiments of the invention are illustrated.
In the drawings:
Referring to the drawings, a device which is known per se is used with the quantitative and qualitative detection of particles in a fluid, with which a sample carrier with a window is arranged between a light source and a CCD sensor. Thereby, the illumination of the window can either be effected in a direct manner (brightfield technique) or in an indirect manner (darkfield technique), which however is of no significance for the methods which are being discussed here. The representations according to
Thus for example, a frequency distribution of the pixel values is determined for the image according to
Thereby, for the image according to
This background signal is of a hindrance with the image evaluation, since it glares the entire image. For this reason, it is deducted from each individual pixel value with the later image evaluation, so that an image which in the ideal case has no grey, but a white (actually black) background is provided for the evaluation. This is effected in the reverse manner with the darkfield technique, so that a dark black background is formed in the ideal case, wherein the particles do not distinguish themselves against this black background in a dark color as in
A large dark spot 3 can be recognized in
The background signal which can be determined for each image of a fluid sample analyzed by a multitude of images, is formed from a multitude of such images of the same sample, for example as an average value of 500 images, and stored. Thereby, this background signal is not only used for image evaluation, but is also registered over time, as is represented by way of
The diagram according to
The maximal permissible pixel value for the background signal lies at 40 in the diagram according to
Moreover, the speed of the contamination can also be determined by way of the steepness of the curve 5 in the rising regions, and with this, one can reliably predict to a certain extent, as to when the next necessary change of the sample carrier is to be expected. Finally, a predefined limit value can be selected below this upper limit value and this signalizes to the user that the contamination of the window has reached a value which renders an exchange of the sample carrier necessary in the foreseeable future, and thus gives good notice of this.
However, not only the temporal course of the background signal 5 is plotted in
Not only is the background signal subtracted, but moreover individual groups of cells of the cell matrix are excluded in individual images, on evaluation of the signal, in order to improve the evaluation of the sensor signal. For this, the cell matrix of the sensor which for example can comprise 2560 times 1920 cells is divided into 400 equally large sub-matrices, wherein in the same manner a background signal is formed for each sub-matrix, as was effected in the previously described manner for the complete matrix of cells, for forming the background signal. Again a predefined limit value, specifically a further limit value, which with an 8-bit resolution lies between 0 and 255 and here for example is likewise selected at 40, is set for these sub-matrices. If then sub-matrices result, whose background signal exceeds 40 due to large particles, for example air bubbles 11, accumulations of particles 12 or reflection appearances 13 at the edge, then these are excluded from the further image evaluation, as is represented by way of
While specific embodiments of the invention have been shown and described in detail to illustrate the application of the principles of the invention, it will be understood that the invention may be embodied otherwise without departing from such principles.
Number | Date | Country | Kind |
---|---|---|---|
14199823.7 | Dec 2014 | EP | regional |
This application is a United States National Phase Application of International Application PCT/EP2015/078110, filed Nov. 30, 2015, and claims the benefit of priority under 35 U.S.C. §119 of European Application 14199823.7, filed Dec. 22, 2014, the entire contents of which are incorporated herein by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2015/078110 | 11/30/2015 | WO | 00 |