Analytical process of liquid samples with air bubble detection
The method addresses inefficiencies in air bubble removal by using image analysis to detect and remove bubbles in syringes, ensuring accurate sample analysis and operational efficiency in liquid sample aspiration systems.
Patent Information
- Application Number
- JP2024517092
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-16
- Filing Date
- 2022-09-16
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-09-16
AI Technical Summary
Existing methods for removing air bubbles from syringes used in liquid sample aspiration are inefficient, leading to compromised analysis due to the presence of air bubbles and increased operational time, as they require repetitive bubble removal cycles even when no bubbles are present.
An analytical method using image analysis to detect air bubbles in a syringe, followed by targeted bubble removal cycles, ensuring accurate sample volume and efficient operation by verifying bubble removal through image analysis before proceeding with sample analysis.
This method effectively reduces the occurrence of air bubbles in liquid samples, ensuring accurate sample analysis by verifying bubble removal, thereby improving operational efficiency and reducing the need for unnecessary cycle repetitions.
Smart Images

Figure 2024534476000001
Abstract
Description
[Technical field]
[0001] The present invention relates to the field of analysis of liquid samples contained in containers, typically vials, which are aspirated using a syringe, typically by an autosampler, and delivered to an analytical device. [Background technology]
[0002] A syringe, as is known, in particular comprises a duct through which the sample is aspirated and a movable plunger in the duct. By moving the plunger to increase the space in the duct for the liquid (i.e. by moving it away from the needle tip of the syringe), a depression is created in the duct, allowing the liquid to be aspirated into the syringe. When compression is applied to the liquid by the plunger, i.e. when the plunger moves towards the needle of the syringe, the liquid is forced out of the syringe.
[0003] The aspirating process carries the risk of forming gas bubbles in the duct of the syringe inside the liquid sample. The presence of gas has several drawbacks, including the presence of less liquid in the duct than normal and contamination of the sample. The subsequent analysis of the sample is therefore compromised, since the analysis is carried out on the assumption that a given amount of liquid has been aspirated and that the liquid is not contaminated.
[0004] Indeed, autosamplers are specifically designed to aspirate defined volumes of liquid samples from vials by means of a syringe, and one of the most important operating parameters of an autosampler is its reproducibility of operation, in particular its ability to always aspirate the same volume of liquid into the syringe.
[0005] Thus, methods for removing air bubbles from a syringe cylinder are known in the art. One known method is to perform one or more compressions of the sample by a limited stroke (typically multiple limited strokes) of the plunger. This method is known in the art as, for example, a "bubble removal stroke" or a "plunger stroke".
[0006] This is repeated before each injection of sample from the syringe into the test device.While this solution reduces the number of analyses that are compromised by the presence of air bubbles, it does have several drawbacks.
[0007] First, to automate the process, the bubble removal operation is repeated every time after aspiration of a sample from a vial and before injection into an analytical device, resulting in the operation being performed even when there are no bubbles in the sample, slowing down the analytical process.
[0008] Furthermore, the system is programmed to subject the sample to a certain number of compression cycles, and if air bubbles are present, this number of compressions may not be sufficient to reliably remove the bubbles. Thus, even with such a system, some analyses may be compromised by the presence of air bubbles in the sample.
[0009] Therefore, it is an object of the present invention to solve the problems described above.
[0010] The object of the present invention is to provide an analytical method, and a respective system suitable for carrying out said method, which in particular overcomes the problem of the presence of air bubbles in a syringe for aspirating a sample from an associated container. Summary of the Invention
[0011] These and other objects are obtained by the present invention according to one or more of the appended claims.
[0012] Specifically, one aspect of the invention relates to a method for analyzing a liquid sample by an analysis system comprising a sampling device equipped with at least one syringe having a sampling duct and a plunger movable within the duct, an image capture device, a computer equipped with image analysis software, and a sample analysis device, specifically comprising the steps of A taking a liquid sample from a container by the syringe, B operating the image capture device to capture one or more images of the syringe in the area of the syringe where the sample was aspirated, and C performing an image analysis by the computer to detect the presence of one or more air bubbles in the liquid sample.
[0013] Thereafter, if one or more air bubbles are detected in step C, the method includes step D of performing one or more bubble removal cycles and then preferably repeating the above steps B and C. If necessary, additional samples may be taken by repeating step A. In particular, step A may be repeated if, during the sampling procedure, the volume of liquid in the syringe is below a certain value.
[0014] A syringe typically has a duct through which the sample is aspirated and a needle fluidly connected to the duct. In a known manner, the needle is configured to penetrate a vessel containing the sample. A plunger is typically axially movable within the duct, so that moving the plunger away from the needle creates a depression in the duct suitable for facilitating the aspirating of the sample from the vessel into the duct. Similarly, when a sample is aspirated by the syringe, moving the plunger towards the needle compresses or otherwise exerts pressure on the sample to a point where the sample is expelled from the needle, for example during the step of delivering the sample from the syringe.
[0015] Thus, in step A, a syringe needle is inserted into the vessel, typically by drilling a surface hole in the vessel, and a plunger is actuated to create a depression in a duct to aspirate sample from the vessel.
[0016] During the bubble removal step, a portion of the sample may be expelled from the syringe by rapid movement of the plunger, which is configured to compress the sample and remove the air bubbles. Thus, at the end of the bubble removal step, after N removal cycles, the sample may be aspirated again and step A may be repeated to return to the desired volume. For example, if the volume in the syringe is less than 80% of the maximum volume to be sampled, step A may be repeated. This volume may be estimated through analysis of the image.
[0017] After an air bubble removal cycle, i.e., after the first execution of step D, an image of the syringe is preferably captured again to verify that the air bubbles have been effectively removed. Thus, if air bubbles are detected again after the new image analysis, the air bubble removal step is repeated, a new image analysis of the syringe is performed, and so on.
[0018] If the presence of one or more air bubbles is not detected in step C, the method performs step E of delivering the sample from the syringe to an analytical device and performing an analysis of the liquid sample.
[0019] Typically, step E involves moving a plunger towards the syringe needle to compress or otherwise exert pressure on the sample to expel it from the syringe needle, and then configuring the autosampler in a known manner to place the syringe into an analytical device or into a delivery element suitable for delivering the sample to an analytical device.
[0020] It should be noted that the above step C may be the first execution of step C or a step executed after the air bubble removal step.
[0021] In summary, according to a preferred embodiment of the invention, the image analysis and bubble removal steps are repeated until no air bubbles are detected in step C. If the sample is initially free of air bubbles, step D is not performed and the method directly performs step E. According to one possible embodiment, regardless of the number of repetitions of steps B, C, and D discussed above, the bubble removal cycle may not be sufficient to remove the air bubbles.
[0022] In this case, the system may be programmed to repeat these steps a maximum number of times. If the presence of one or more air bubbles is again detected after this maximum number has been exceeded, the system may be programmed to discard the sample or continue to perform an analysis of the sample, in which case the system is programmed to report in each analysis that an analysis was performed on a sample with air bubbles. As will be discussed more fully below, image analysis may not only be able to detect the presence of air bubbles, but also to estimate their size. In this case, the system may estimate the amount of liquid sample actually present in the syringe, which may then be recorded in each analysis.
[0023] However, the possibility of proceeding to the sample analysis from step D onwards, i.e. without carrying out a check of actual bubble removal (thus without repeating steps B and C), is not excluded. Generally speaking, this solution is less preferred since it does not allow verification of the effectiveness of the bubble removal cycle. However, like the previous alternative, this solution has the advantage that bubble removal cycles in bubble-free samples are avoided, since such cycles can only be performed if the presence of one or more bubbles in the sample has actually been verified. This method therefore allows for a quick operation of the system and is particularly suitable in cases where there is no need to test the effectiveness of a bubble removal cycle, for example if the characteristics of the sample to be analyzed make it particularly effective.
[0024] Generally, this solution makes it possible to avoid bubble removal cycles for samples that are bubble-free.
[0025] A solution that has verified the effectiveness of the bubble removal cycle also makes it possible to avoid analyzing liquid samples that contain bubbles, or in any case, when analyzing a sample with bubbles, to record which analyses have been performed on a sample that is smaller than the expected sample volume.
[0026] Thus, an operator who has to check the results of an analysis performed by a system according to the solution can identify analyses performed on samples without air bubbles. Perhaps, if the system has obtained data on air bubbles, in particular data related to their size, the operator may also obtain useful data from the analysis, taking into account the type, in particular the size and / or the amount of bubbles detected.
[0027] According to one possible embodiment, step C comprises detecting a variation or gradient of a property of the pixels of the image, preferably related to the color and / or brightness of the pixels, along a direction intersecting the liquid sample in the syringe. Preferably, said property is a so-called "density value" or "density level", terms which will be used interchangeably below and which are commonly known in the art as "density level".
[0028] Indeed, the liquid sample to be analyzed typically exhibits a substantially uniform coloration. Pixels of the image where liquid is present show substantially zero variation. On the other hand, air bubbles typically exhibit different colors / brightness in different areas. Generally, this is due to the light refraction of the air bubbles. Pixels of the image on a line intersecting with an air bubble typically exhibit a variation in a color and / or brightness related property along the line. In other words, different pixels located on the line have at least one different property, typically different color and / or brightness. It is noted that algorithms for detecting the color and intensity etc. of pixels in an image are known in the art and will not be discussed in detail here.
[0029] Preferably, the analysis is performed in such a way as to verify a change in brightness above a certain threshold along a direction substantially perpendicular to the axis of the syringe.
[0030] Therefore, the variation of this characteristic along this line is different from zero, which allows the system to verify the presence of an air bubble.
[0031] It should be noted that even liquids may refract light minimally, so that in practice the pixels of an image aligned with a liquid sample may not have exactly the same color value and / or intensity. Therefore, the system is typically programmed to determine the presence of a bubble when the aforementioned difference between different pixels is greater than a predefined threshold, rather than when the difference is different from zero.
[0032] This threshold may be determined empirically depending on, for example, the type of image capture device, the lighting of the environment, the type of syringe and liquid used, etc.
[0033] Once this threshold value is determined, the system can automatically recognize the presence of an air bubble in the syringe.
[0034] According to a possible embodiment, the above-mentioned operation of detecting the gradient is repeated for pixels arranged in a number of different directions parallel to each other. It is preferable to select at least directions perpendicular and / or parallel to the axis of the syringe sampling duct. As discussed above, a preferred solution uses a direction (i.e. a line) that is substantially perpendicular to the axis of the syringe sampling duct.
[0035] In other words, by analyzing pixels arranged on multiple lines perpendicular to the syringe duct, the difference in this property between different pixels is evaluated. In this way, it is possible not only to evaluate the presence of an air bubble, but also to estimate its size, as will be discussed more fully below.
[0036] It should be noted that alignment algorithms known in the art make it possible to identify the axis of the syringe duct in the captured image and define a direction (i.e., a line) along which analysis is performed for the pixels of the image.
[0037] According to one possible aspect, an operation is performed of evaluating the difference between values of the characteristic at pairs of pixels, the first pixel of each pair being arranged along a first direction parallel to the axis of the duct, the second pixel of each pair being arranged along a second direction parallel to the axis of the duct and different from the first direction, and the pixels of each pair also being arranged on the same line perpendicular to the first and second directions.
[0038] Typically, the presence of an air bubble causes the difference between the values of the pixel properties to exceed a predefined threshold.
[0039] It is also possible to define a function Z=f(X,Y) where X and Y are the coordinates of a pixel of an image in a reference system defined by two mutually perpendicular directions in the plane of the image and Z is the value of a property of a pixel located at the X and Y coordinates of the image, as well as a value for evaluating the variation of Z as a function of X and / or Y.
[0040] Specifically, once the function is obtained, it is possible to estimate the slope of at least one segment of a line that intersects the function Z=f(X,Y) at at least two points having the same X coordinate and different Y coordinates, the X coordinate referring to a direction parallel to the axis of the duct.
[0041] Typically, when an air bubble is present, the slope of this segment will be greater than a predefined threshold.
[0042] In the embodiments discussed above, the default threshold is typically a function of the system used (e.g., typically depends on the type of sensor used to capture the image as well as the sample used). This predefined threshold may be estimated in different ways, for example by performing preliminary tests (generally by performing an analysis in the presence and absence of air bubbles), or may be estimated depending on the characteristics of the system.
[0043] According to one possible embodiment, if (at least) one air bubble removal cycle is performed in step D above, the liquid sample is compressed by a plunger (preferably multiple times) to facilitate air bubble removal.
[0044] An aspect of the present invention also relates to an analysis system comprising a sampling device provided with a sampling duct and at least one syringe having a plunger movable within the duct, an image capture device, a computer provided with an image analysis software application and programmed to carry out at least step C of the method according to one or more of the above aspects, and a sample analysis device.
[0045] The computer is typically configured to control the entire method, i.e. to control the various elements of the system, and to execute all of the method steps A to E discussed above. It should be noted that the computer may be a single unit (e.g. a single CPU) or a collection of multiple control units (e.g. multiple CPUs).
[0046] In general, a system typically comprises at least one control unit or computer, which controls the operation of at least some of the components of the system.
[0047] As discussed, the sampling device is typically an autosampler.
[0048] Illustrative and non-limiting embodiments of the present invention are now discussed with reference to the accompanying figures. [Brief description of the drawings]
[0049] [Figure 1] 1 is a schematic diagram of a system according to an embodiment of the present invention. [Figure 2-1] 2A is an illustration of an image captured by an imaging device of the system of FIG 1. FIGB is an illustration of possible results following analysis of the image in A. [Figure 2-2]C is an illustration of a possible outcome following analysis of the image in A. D is an enlarged view of a detail in C. [Diagram 3] FIG. 2 is a summary of a possible method according to the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0050] The system 100 according to an embodiment of the invention comprises a sampling device 1, configured in a known manner, for aspirating a liquid sample from a container 20, typically in the form of a vial or similar element. The sampling device 1 is typically an autosampler.
[0051] The sampling device 1 comprises a syringe 11. The syringe 11 has a body 11a in a known manner, crossed by a duct 11b for aspirating a sample. The syringe 11 typically has a needle 11c, fluidly connected to the duct 11a and adapted to penetrate the container 20. In a known manner, a plunger 11d is axially movable in the duct, and when the plunger 11d moves away from the needle 11c, a depression is created in the duct suitable for facilitating the drawing of the sample from the container 20 into the duct 11b. Similarly, when the plunger 11d moves towards the needle, pressure is applied to the liquid sample 30, which is forced out of the syringe 11.
[0052] The sampling device 1 is therefore typically provided with suitable elements for moving the plunger 11d, not shown in detail.
[0053] System 100 also features an image capture device 2 (hereinafter also referred to as "imaging device 2"), preferably a device capable of capturing digital images, typically in the form of a digital camera. Imaging device 2 is arranged to capture images of duct 11b of syringe 11. Imaging device 2 may be configured to directly capture still images or filmed sequences from which still images can be derived at a later time.
[0054] The imaging device 2 is typically connected to a computer 3, as known in the art, provided with software applications for performing analysis of images captured by the imaging device 2. In addition to performing image analysis, the computer 3 is typically also used to control other system operations and may be configured to control, for example, the operation of the imaging device 2 and / or the sampling device 1.
[0055] The system 100 further comprises a device 4 for performing an analysis of the liquid sample, such as a chromatographic analysis, but this will not be discussed in detail here.
[0056] For example, as diagrammatically shown in FIG. 3, in use, in a first step (step A), the syringe 11 is operated to aspirate a liquid sample from a respective container 20, typically by partially inserting and operating the needle 11c of the syringe 11 into the container 20, and by operating the plunger 11d to form a depression in the duct 11b.
[0057] Referring also to FIG. 2, the liquid sample 30 is therefore located in the duct 11 b of the syringe 11 .
[0058] Then, in a second step (step B), the imaging device 2 captures one or more images of the syringe 11, and in particular the area of the syringe 11 where the liquid sample 30 is present.
[0059] Then, in a third step (step C), this image is analyzed by a computer 3 which, thanks to an associated software application, is able to detect the presence of possible air bubbles 41, 42.
[0060] Preferably, the computer 3 detects changes in the properties of the pixels of the image along one or more directions, preferably changes in colour and / or brightness of image pixels arranged along a line, or differences in colour and / or brightness between different pixels arranged on the same line.
[0061] The liquid sample 30 typically exhibits a uniform coloration. Thus, the pixels of an image placed on the sample exhibit substantially zero, or at least minimal, variation of the respective property along one direction. In contrast, for gas bubbles 41, 42, the color and / or brightness of the image pixels varies along at least one direction. As discussed above, this direction is preferably at an angle (i.e. not parallel) to the axis of the duct of the syringe 11, more preferably at an angle of at least 45° to said axis, and even more preferably substantially perpendicular to said axis.
[0062] Thus, if the computer 3 detects a change in the pixel characteristics along one direction, the system 100 identifies the presence of at least one air bubble 41, 42 in the syringe 11. In this case, an additional step (step D) is performed to perform one or more bubble removal cycles, after which at least the steps of image capture and analysis (steps B and C) are repeated.
[0063] Possible solutions are explained in detail herein with examples.
[0064] Imaging device 2 captures an image 50 of syringe 11, as shown in FIG. 2A.
[0065] Preferably, to facilitate subsequent operations to verify the presence of bubbles 41, 42, the image 50 is typically converted to a density scale.
[0066] Then, in a known manner, the computer identifies the duct 11b, and in particular the area of the duct 11b where the liquid sample 30 is present. This can be done, for example, by identifying the needle 11c and the plunger 11d in the image 50. Indeed, these components generally exhibit a different color than the rest of the elements visible in the image. Typically, the needle 11c and the plunger 11d are located in the darkest parts of the captured image 50, for example as in FIG. 2A.
[0067] Generally, to facilitate image analysis, it is preferred that the needle and plunger have a different color and / or brightness than the sample contained in the syringe. Preferably, the needle 11c and plunger 11d are black or at least have a darker shade than the sample, so that the density value of the pixel located at these points is close to zero or at least significantly lower than the density value of the sample.
[0068] These regions are recognized by the computer 3 as the needle 11c and the plunger 11d. The space between the needle 11c and the plunger 11d thus represents the liquid sample 30. Preferably, therefore, only the pixels between the needle 11c and the plunger 11d are analyzed, or only the pixels arranged in the duct 11b are included, i.e. the pixels in the needle 11c and the plunger 11d, but not the pixels of the body 11a outside the duct 11b of the syringe. For example, as will be considered more fully below, the analysis that led to the results of FIG. 2C was carried out between the points α, β, γ, δ of FIG. 2A, i.e. within a rectangle with α, β, γ, δ as vertices. These points belong to the duct 11b of the syringe 11.
[0069] Next, the intensity levels of the pixels of the captured image 50 are measured along one or more directions. Intensity levels, also known as density values, are a well-known concept in computer science and will not be considered in detail herein. In general, an analysis of the characteristics of the various pixels in the image, preferably related to their color and / or brightness, is performed.
[0070] Typically, images are in RGB format and are later converted to a density scale in a known manner, however it is possible to work with different image formats (e.g. CMYK) and convert them to a format that is more user-friendly for the system.
[0071] There are also known procedures for directly detecting the density levels of a colour image, such as the pixels of an RGB image, without an intermediate transformation of the image.
[0072] Furthermore, the possibility of analyzing the variations in the levels of a single color of various pixels in an image is not excluded, for example the variations in the red level of a pixel in an RGB image, however, an analysis of the density level of the pixels in an image (generally a function of all the colors of the pixel) is generally more accurate.
[0073] For example, Fig. 2B shows trends of the intensity values of pixels in the image of Fig. 2A arranged along two mutually different directions d1a and d1b parallel to the axis of the duct 11b, i.e. arranged at a non-zero distance measured along a direction d2 perpendicular to the axis of the duct 11b. Fig. 2B thus shows two trends a1 and a2 of pixel intensity values of the image 50, the first trend a1 representing the trend of pixel intensity values arranged along the first direction d1a and the second trend a2 representing the trend of pixel intensity values along the second direction d1b. In particular, the X-axis of the graph is the position along the direction d1 (measured on the respective axis d1a or d1b) and the Y-axis is the intensity value of the respective pixel.
[0074] As will be discussed more fully later in this specification, in the liquid sample 30, in the needle 11c, and in the plunger 11d, the pixels exhibit a substantially uniform coloration, i.e., there is minimal change in density value in a direction parallel to the axis of the duct of the syringe 11. Thus, in these regions, the respective trends, a1 and a2, are approximately horizontal. Furthermore, the pixel density values vary minimally, i.e., below a predetermined threshold, when moving along a direction perpendicular to the axis of the duct of the syringe 11. Thus, in these regions, the trends a1 and a2 substantially overlap and are substantially indistinguishable.
[0075] In short, the density values do not vary as a function of the direction d2 perpendicular to the axis of the duct 11b, i.e. perpendicular to the direction d1. The first and second trends a1, a2 are substantially overlapping and therefore indistinguishable. In other words, the density values of the pixels located on the needle 11c and plunger 11d along the first direction d1a substantially coincide with the density values of the pixels located on the needle 11c and plunger along the second direction d1b.
[0076] In this case, on the density scale, the color of the liquid sample 30 is gray, approximately halfway between white and black. The density values of the pixels arranged in the liquid sample are therefore halfway between the maximum and minimum possible values. At the transition from the needle 11c to the liquid sample 30, the trends a1, a2 of the density values show a high slope, i.e. present a large variation in this value, and then return to an essentially horizontal state in the liquid sample 30. Also, in this case, the density values of the pixels arranged in the liquid sample 30 vary minimally as a function of the direction d2. Also, in this case, the two trends a1 and a2 are indistinguishable.
[0077] In this case, the syringe contains two air bubbles 41, 42. The contours of the air bubbles show a color close to black. Thus, at the contours of the air bubbles, the intensity value of each pixel is close to 0. Indeed, a peak towards 0 in the intensity values of the pixels located at the edge of the air bubbles is visible in the graph of FIG. 2B.
[0078] Moreover, in the "body of the bubble", i.e. the space contained within the contour of the bubble, the pixels are brighter than at the edges, and the intensity values of the pixels located along the first direction d1a do not vary as much, which also occurs along the second direction d1b. Indeed, in the graph, the intensity values of the pixels located in the body of the bubble return to values not different from those of the sample and remain substantially constant, i.e. they do not vary significantly between the peaks of the graph of Fig. 2B, and therefore in the body of the bubbles 41, 42 the trends a1 and a2 are substantially horizontal.
[0079] However, the density values of the pixels located in the bubble body vary along a direction perpendicular to the axis of the duct 11b, i.e. parallel to the direction d2. The trends a1 and a2 of the body of the same bubble are therefore spaced apart from each other. In particular, in this case the pixels located in the bubble 41, 42 along the first direction d1a are brighter than the pixels located in the bubble 41, 42 along the second direction d1b.
[0080] Thus, the trends a1 and a2 are substantially parallel, but at a distance from each other. This allows the evaluation of the difference between pixels located at two different points on any line perpendicular to the axis of the duct of the syringe 11 intersecting with the directions d1a and d1b, i.e. at the intersections of said line with the directions d1a and d1b. This allows the evaluation of the change in the characteristics of the pixels of the image in a direction perpendicular to the syringe 11. In fact, evaluating the difference between the trends a1 and a2 on the same horizontal axis corresponds to evaluating the difference between two pixels aligned with said horizontal axis and located on a line perpendicular to the syringe 11.
[0081] In other words, evaluating the distance between trends a1 and a2 (measured along the vertical axis) is equivalent to evaluating the difference in feature values between pairs of pixels arranged at the intersection of a line perpendicular to the axis of the duct and two directions d1a and d1b parallel to the axis of the duct. This can be repeated for multiple pairs of pixels defined by the intersection of lines perpendicular to the axis of the duct and the two directions d1a and d1b (one line for each pair).
[0082] In short, by analyzing the trends of pixels arranged along multiple directions parallel to the axis of the duct of the syringe 11, it is also possible to evaluate (in a discrete, i.e. non-continuous manner) the variation in pixel characteristics even in lateral directions, including directions perpendicular to the axis of the duct of the syringe 11.
[0083] Thus, the computer 3 can detect, at the same point along the X-axis in the direction d1 of the graph in Figure 2, the presence of said peaks along the Y-axis in the direction d2 and the difference in said concentration values, i.e. the distance between the trends a1 and a2 in the area of the graph, these indicators enabling the computer 3 to detect the presence of the bubbles 41, 42. Furthermore, the distance between the peaks of the graph allows the computer to assess the size of the bubbles 41, 42, at least as measured along the direction d1.
[0084] It should be noted that for simplicity, the analysis of pixels arranged along only two directions d1a, d1b has been described. The solution may be sufficient to obtain an indication of the presence of air bubbles. However, it is possible to carry out the analysis along several directions. For example, FIG. 2C shows the result of an analysis of the intensity values of pixels arranged side by side in succession along several directions parallel to the direction d1. This makes it possible to create a three-dimensional graph with the Z axis having the intensity values of pixels measured at points with predefined coordinates measured in the directions d1 and d2. For example, the point α has coordinates (0,0) measured in the directions d1 and d2 respectively, and the point δ has coordinates (X,0) which are the maximum values of the axes of the graph on the axes parallel to the directions d1 and d2. max , Y max ).
[0085] With reference also to the details of FIG. 2D, it is noted that along the resulting surface the trends a1 and a2 of FIG. 2B are identified.
[0086] Additionally, a segment S is drawn along the graph, which is a portion of a line aligned in a plane perpendicular to direction d1 and passing through trends a1 and a2.
[0087] The segments are substantially horizontal, i.e. substantially parallel to the plane containing d1 and d2, in the pixels of the image 50 aligned with the needle 11c, the plunger 11d and the liquid sample 30. The slope of these segments increases significantly at the gas bubbles 41, 42. The computer 3 can then detect the presence of gas bubbles 41, 42 when the slope of these segments S exceeds a certain predefined threshold.
[0088] Note that for simplicity, this may be done by measuring the slope of a segment passing through the two trends a1, a2, but it may also be done by evaluating the slope of a segment passing through multiple pairs of trends of the surface resulting from analysis along multiple directions, or from analysis of the average slope of that surface relative to a plane containing the directions d1 and d2.
[0089] For example, the slope of a segment can be estimated by evaluating the difference between the values of the pixel properties, typically the density value of the intersection of the segment S with two trends a1, a2 divided by the distance between the two points. Thus, the slope can be calculated by the formula P=(V1-V2) / D, where P is the slope of S, V1 is the value of the property at the intersection of a1 with S, V2 is the property at the intersection between a2 with S, and D is the distance between a1 and a2 measured in the direction d2.
[0090] According to one embodiment, the system can be trained with images containing samples with air bubbles in the syringe (and possibly also images of samples without air bubbles) so that the system can identify characteristics of the images that are indicative of the presence of air bubbles.
[0091] For example, the analysis of the training images may help to define a minimum variation of a pixel characteristic (e.g., density value) between different pixels that indicates the presence of one or more bubbles. Considering the above-mentioned embodiment, the analysis of the training images may help to define, for example, a minimum variation suitable for identifying the "peak" in Fig. 2B and / or a threshold value of the variation of the characteristic of different pixels that identifies the presence of a bubble, such as a threshold value of the distance between the two trends a1, a2 in Fig. 2B or a threshold value of the slope of the segment S in Fig. 2C.
[0092] According to a possible solution, if the system can work with different kinds of samples, or at least with samples with different properties, it is possible to define different conditions for identifying bubbles for each sample. For example, different threshold values of the variation of the pixel property (such as the threshold value of the slope of segment S in FIG. 2C) can be defined for different samples. It is noted that "threshold" and "threshold value" are used interchangeably in this description.
[0093] In general, a possible embodiment involves deriving a trend of a pixel property as a function of the pixel's position in the image, which allows defining a set of points with three coordinates (X, Y, Z), where X and Y represent the location of the analyzed pixel, identified by a point in the plane formed by the directions d1 and d2 (i.e. parallel and perpendicular to the axis of the duct, respectively), and Z represents the value of the property (identified below as "density level" for simplicity, although the following description may also apply to different properties of the pixel).
[0094] Therefore, the detection of air bubbles can be performed by evaluating the change in concentration values both in the direction parallel to the duct and in the direction perpendicular to the duct.
[0095] This is therefore equivalent to evaluating the shape of the surface obtained by evaluating the intensity values at various points in the image, i.e. evaluating the shape of the surface Z=f(X,Y) (typically the area of the surface at the needle and plunger is not taken into account). In areas of the image where no air bubbles are present, the surface is substantially flat or at least has a Z value whose variation in X and Y directions is below a certain threshold. In areas where air bubbles are present, the surface appears uneven. Typically, at least in the body of the air bubble, the surface has areas of gradually increasing or decreasing Z values in the Y direction.
[0096] Alternatively, multiple directions orthogonal to the syringe axis can be used directly and the pixel variation along each of these orthogonal directions can be evaluated.
[0097] Generally, several tools are available that enable the computer 3 to detect the presence of bubbles 41, 42 following analysis of the variation of pixel characteristics along a direction, typically related to pixel brightness and / or color.
[0098] As discussed above, by analyzing the pixels of the image 50, it is possible to identify the presence of bubbles and to evaluate their size. In particular, one or two dimensions of the bubble can be derived from the analysis of the two-dimensional image. For example, with reference to FIG. 2A, the length of the bubble (i.e., its dimension along the direction d1) can be estimated by evaluating the positions of the peaks of the trends a1 and a2. The second and / or third dimensions of the bubble can be estimated, typically as a function of the duct diameter 11b. For example, with reference to FIG. 2A, the bubble can be considered to have a diameter that is typically equal to the diameter of the duct of the syringe. Then, since the length and diameter of the bubbles are known, it is possible to estimate their volume. A correction factor can be used to take into account the end parts of the bubble, which typically have a reduced diameter. Alternatively, it is also possible to estimate the length (along the direction d1) and width (i.e., along the direction d2) of the bubble as a function of the data obtained from the image, and to approximate the third dimension of the bubble as being equal to its own width (i.e., the size of the bubble in the direction d2).
[0099] Generally, it is possible to estimate the volume of liquid sample actually present in the syringe 11 by estimating the size of the air bubbles, i.e. without taking into account the space occupied by the air bubbles 41, 42 present therein.
[0100] As discussed above, therefore, if the system 100 detects the presence of at least one air bubble 41, 42, one or more cycles are performed in an attempt to remove the air bubble 41, 42. Typically, in this step (step D), the plunger 11d performs alternating expulsion and suction strokes at high speed to mechanically expel the sample containing the one or more air bubbles from the syringe. Finally, the liquid is again aspirated at a slower speed. A new image is then preferably acquired to check whether any air bubbles 41, 42 remain, and if they are still present in the newly acquired image, the steps of removing the air bubbles 41, 42 are repeated.
[0101] On the other hand, if no air bubbles are detected, a further step (step E) may be performed in which the liquid sample 30 may be delivered to the analysis device 4, which is known in the art and will not be discussed in detail herein.
[0102] As discussed above, it is preferable to repeat the bubble detection operation after the removal cycle to determine whether the method can continue or whether the bubble removal process needs to be performed again.
[0103] However, the possibility of operating in a bubble removal cycle without rechecking the image in order to proceed directly to the sample analysis step at a later time is not excluded, as diagrammatically represented by the dashed arrow in FIG.
[0104] When the bubble removal cycle is followed by image verification as well, if the system 100 is unable to remove the bubbles 41, 42 from the syringe 11, the system may get stuck in an infinite cycle. In this regard, the maximum number of repetitions of the bubble removal step may be pre-determined. In particular, before performing the bubble removal step (i.e. before step D), the system 100 may perform a check of the number of removal cycles previously performed on the same sample. If this number of cycles exceeds a pre-defined threshold, several actions may be performed.
[0105] Preferably, this threshold value lies between 1 and 5 bubble removal cycles, more preferably between 1 and 15 bubble removal cycles. Possible solutions involve this threshold being between 3 and 15 cycles, or between 5 and 10 cycles.
[0106] According to two possible alternatives, if after this maximum number of iterations (i.e. exceeding this threshold value) the presence of air bubbles 41, 42 is detected again, the system 100 can be programmed to interrupt the analysis of the liquid sample 30 or to continue its analysis. In the second case, the system 100 is typically configured to record the results of the analysis carried out on a non-optimal sample in which air bubbles 41, 42 are present. According to one possible embodiment, when analyzing a sample with air bubbles, if the system 100 is able to estimate the volume of the air bubbles, it is possible to estimate the volume of the liquid sample 30 actually present in the syringe by subtracting the volume of the air bubbles from the initial expected value. In this case, the actual amount of the liquid sample 30 analyzed can be recorded in the results. In this case, once the actual amount of the liquid sample 30 analyzed is known and recorded, the analysis report can be generated by correcting the calculation of the actual volume of the liquid analyzed, resulting in more accurate and reproducible results.
Claims
1. A method for the analysis of a liquid sample (30) by means of an analysis system (100), said analysis system (100) comprising a sampling device (1) provided with at least one syringe (11) having a duct (11b) for aspirating said sample and a plunger (11d) movable in said duct (11b), a device for capturing images (2), a computer (3) provided with a software application for image analysis and a device (4) for analyzing said sample, said method comprising the steps of: A step A of aspirating the liquid sample (30) from a container (20) by the syringe (11); Step B: operating the image capture device (2) to capture one or more images (50) of the syringe (11) in a region of the syringe (11) where the liquid sample (30) has been aspirated; C. performing an analysis of said image (50) by said computer (3) to detect the presence of air bubbles (41, 42) in said liquid sample (30); step D, in case the presence of one or more air bubbles (41, 42) is detected in step C, performing one or more air bubble (41, 42) removal cycles, preferably thereafter repeating at least steps B and C, and, if necessary, also repeating step A before steps B and C; and step E, if no air bubbles (41, 42) are detected in step C or if a predefined number of air bubble removal cycles by one or more repetitions of step D have been performed, delivering the liquid sample (30) from the syringe (11) to the analysis device (4) and performing the analysis of the liquid sample (30).
2. 2. The method of claim 1, wherein step C comprises detecting a variation in a characteristic of a pixel of the image (50) along a direction transverse to the liquid sample (30) in the syringe (11).
3. The method of claim 2 , wherein the property of the pixel relates to the color and / or brightness of the pixel.
4. The method of claim 3 , wherein the characteristic relates to a density level of the pixel.
5. 5. A method according to any one of claims 2 to 4, comprising detecting the variations along at least two directions (d1a, d1b) that are distinct, preferably parallel to one another, and / or detecting variations between the characteristics of pixels arranged at the intersection between said two directions and a line that crosses, preferably is orthogonal to, said at least two directions (d1a, d1b).
6. 6. The method according to claim 5, wherein the directions (d1a, d1b) are substantially perpendicular and / or parallel to the axis of the sampling duct of the syringe.
7. 7. A method according to claim 5 or 6, wherein step C comprises an operation of evaluating the difference between the values of the characteristic at pairs of pixels, the first pixel of each pair being arranged along a first direction (d1a) parallel to the axis of the duct, the second pixel of each pair being arranged along a second direction (d1b) parallel to the axis of the duct and different from the first direction, and the pixels of each pair also being arranged on the same line perpendicular to the first and second directions.
8. 7. The method according to claim 2, wherein step C comprises defining a function Z=f(X,Y), where X and Y are the coordinates of the pixel of the image in a reference system defined by two mutually perpendicular directions (d1, d2) in the plane of the image, and Z is the value of the property of the pixel located at the X and Y coordinates of the image, the value evaluating the variation of Z as a function of X and / or Y.
9. 9. The method of claim 8, wherein step C comprises evaluating the slope of at least one segment (S) of a line that intersects the function Z=f(X,Y) at at least two points having the same X coordinate and different Y coordinate, the X coordinate referring to a direction (d1) parallel to the axis of the duct.
10. 10. The method according to any one of claims 2 to 9, wherein during step C, the presence of an air bubble is detected if the variation of said property between different pixels along a direction exceeds a predefined threshold, preferably if the variation of said property along a direction perpendicular to the axis of the duct exceeds a predefined threshold.
11. The method according to any one of claims 1 to 10, wherein in step D, if at least one air bubble removal cycle is performed, the liquid sample (30) is compressed by the plunger (11d) to facilitate air bubble removal.
12. The method according to any one of claims 1 to 11, wherein the system operation is interrupted if the air bubbles (41, 42) have not been removed after at least the air bubble removal step D has been repeated a predetermined number of times.
13. The method according to any one of claims 1 to 11, wherein if the air bubbles (41, 42) have not been removed after a predetermined number of repetitions of the air bubble removal step D, the volume of the air bubbles is estimated so that the actual amount of liquid in the syringe is calculated, and the liquid sample is delivered to the analysis device (4) so that the analysis device (4) can perform its sample analysis operation according to the previously calculated actual amount of liquid in the syringe (11).
14. An analysis system (100), comprising: a sampling device (1) equipped with at least one syringe (11) having a duct (11b) for drawing said liquid sample (30) and a plunger (11d) movable within said duct (11b); An image capture device (2); a computer (3) equipped with an image analysis software application and programmed to carry out at least step C of the method according to one or more of claims 1 to 13; A device (4) for sample analysis.
15. The system (100) of claim 14, wherein the sampling device (1) is an autosampler.
Citation Information
Patent Citations
Continuous liquid sample injection system and flow-through liquid detection and analysis instrument
CN212083462U
Device and method for detecting interface of liquid / gas flowing in pipe
JP1995092092A
Dispenser
JP1998227799A
Detecting method of aqueous liquid condition in tip end part for dispensing, and detecting device for inappropriate liquid content in tip end part for measurement and feeding of analyser
JP1999337559A
Method and device for liquid transfer for analyzing device
JP2000338117A
