A fluorescence detection sample cell and control method for intelligent online precise control of solution concentration
Through intelligent algorithms and high-resolution cameras, the liquid level of the sample pool is monitored in real time, and the peristaltic pump and syringe pump are automatically controlled. This solves the problems of inaccuracy in sample concentration control and solvent evaporation in the existing technology, and achieves accurate solution concentration in fluorescence experiments. control.
Patent Information
- Application Number
- CN202111507009.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-12-10
AI Technical Summary
Existing self-diluting sample cells cannot realize on-demand, automatic and intelligent control of sample concentration, and the concentration changes caused by solvent volatilization in the micro-volume sample cell make it difficult to achieve precise control.
Intelligent algorithms are used to observe the liquid height in the sample pool in real time, and use high-resolution cameras and computers to control peristaltic pumps and syringe pumps to automatically adjust the amount of concentrated solutions and solvents to achieve dilution, concentration, and mixing of solutions, and accurately control fluorescence experiments. solution concentration.
It achieves real-time, precise, and automatic control of solution concentration in fluorescence microscopy experiments, improves the accuracy and efficiency of concentration control, and is suitable for single-molecule experiments.
Smart Images

Figure CN114112920B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of fluorescence detection, and specifically relates to a fluorescence detection sample cell and a control method for intelligently and accurately regulating solution concentration online. Background Art
[0002] In fluorescence microscopy experiments, especially single-molecule fluorescence microscopy experiments, the concentration of fluorescent molecules is a very important influencing factor. The fluorescence signal is extremely sensitive to the concentration of fluorescent molecules. A low molecular concentration leads to low signal intensity, making it difficult to collect statistically significant signals within a limited experimental time. A high concentration of fluorescent molecules makes it difficult to identify individual molecules, so fluorescence microscopy or single-molecule fluorescence microscopy experiments cannot be performed. Therefore, in fluorescence microscopy experiments, the concentration needs to be precisely controlled.
[0003] The volume of the traditional fluorescence detection sample pool is about milliliter or microliter. People usually use pipettes, syringes and other equipment to manually inject or remove samples to change the concentration of the sample to be tested. In order to improve operating efficiency, reduce errors caused by reagent volatilization, and avoid harm to operators and the environment caused by toxic reagents, people have invented self-diluting sample pools. The dilution of samples is achieved by continuously and automatically removing and injecting samples online. At present, most online continuous automatic dilution systems are implemented using pump valve structures, such as: Patent CN 111624357 A, Patent CN 104062170 A, Patent CN 107045015 A, Patent CN 104897820 B, Patent CN200998643Y, etc. Most of these inventions use a fixed dilution ratio. However, no sample pool that can realize on-demand, automatic and intelligent regulation of sample pool concentration increase or decrease has been found in the prior art.
[0004] The removal and injection of samples during the concentration adjustment process cannot be separated from the quantification of the solution. Patent CN 102590091 A discloses a new type of fluorescent sample pool for concentration-assisted parametric fluorescence spectroscopy measurement, in which the amount of liquid removed and injected can be controlled by a peristaltic pump to control the flow rate, or by controlling the upper and lower liquid levels through methods such as liquid level sensors, float needle valves, and ultrasonic ranging to achieve quantification of the solution. The disadvantage is that instruments such as liquid level sensors, float needle valves, and ultrasonic ranging are large in size and difficult to apply to micro sample pools. Patent CN 104062169 A discloses an automatic online micro sample dilution and mixing device and mixing, which use a constant flow pump and a quantitative tube to achieve the quantification of the solution. The disadvantage is that the operation is more complicated and the sample concentration cannot be increased. Patent CN 110715711 A discloses an automatic calibration system for a measuring cylinder. It uses visual technology to identify the position of the liquid level in the measuring cylinder, obtains the positional relationship between the meniscus formed by the water in the measuring cylinder and the target scale in real time, and controls the switch of the water pump according to the positional relationship to achieve quantification of the solution. This method has the advantages of high speed and high accuracy, but is only applicable to quantification of a fixed scale.
[0005] In experiments to study changes in concentration, it is often necessary to detect a series of concentration values. However, the existing self-dilution sample pool can only perform a single dilution operation. Once over-dilution occurs, the experiment needs to be restarted. In addition, for micro-sample pools, factors such as solvent volatilization have a greater impact on the concentration of the sample. After a long experiment, the actual concentration of the sample may change significantly. Therefore, it is not possible to simply rely on setting the volume of different samples added, but it is necessary to characterize the actual sample volume in the sample pool in situ and in real time. By judging the actual volume of the sample in real time, the amount of concentrated solution or blank solvent added can be accurately controlled to achieve precise and automatic control of the solution concentration. In the current design of self-dilution sample pools, the amount of solvent injected and the amount taken out are generally fixed, so quantitative and accurate measurement of sample concentration cannot be achieved. Summary of the invention
[0006] In view of the technical problems existing in the current self-dilution sample pool, the present invention utilizes a series of intelligent algorithms to accurately judge the volume of the solution in the sample pool by observing the height of the liquid in the sample pool in real time, and automatically controls the amount of concentrated solution and solvent added and the amount taken out from the solution by issuing instructions through a computer. It can accurately complete the dilution, concentration and mixing of the solution during the single-molecule experiment, achieve the accuracy of concentration control in the fluorescence experiment, and thus provide a fluorescence detection sample pool and control method for intelligent online precise regulation of solution concentration.
[0007] In order to solve the above technical problems, the technical solutions of the present invention are as follows:
[0008] The present invention provides a fluorescence detection sample cell for intelligent online precise control of solution concentration, comprising a base, a sample cell, and a sealing cover, a peristaltic pump, a high-resolution camera, a syringe pump, a waste liquid bottle, a mixing device and a computer matched with the sample cell;
[0009] The sample pool and the high-resolution camera are installed on the base; the sealing cover is connected to the sample pool; the sealing cover is provided with an injection hole, a sample outlet hole, a first air vent and a second air vent, the sample outlet hole is connected to one end of a peristaltic pump through a sample outlet tube, and the first air vent and the second air vent are respectively connected to a mixing device; the other end of the peristaltic pump is connected to a waste liquid bottle; the injection pump injects the required sample into the sample pool via the injection hole; the peristaltic pump, the high-resolution camera, the injection pump and the mixing device are all connected to a computer through a signal cable.
[0010] Furthermore, the sides and bottom of the sample pool are made of transparent materials; and the mixing device is a bubbler.
[0011] Furthermore, a transparent substrate is connected to the bottom of the side of the sample pool, and the transparent substrate is a glass slide or a quartz slide.
[0012] Furthermore, the injection hole and the outlet hole are arranged at two positions on the upper surface of the sealing cover with the longest straight line distance; the first vent hole and the second vent hole are arranged at two ends of a straight line orthogonal to the injection hole and the outlet hole.
[0013] Furthermore, the injection pump is provided with at least three syringes, which are suspended just above the injection hole and respectively filled with concentrated solution, solvent and probe molecule solution, and can switch positions by rotation.
[0014] Furthermore, the high-resolution camera is fixed at a position directly opposite to a certain transparent side surface of the sample pool, and is used to continuously photograph the liquid level of the solution in the sample pool.
[0015] The present invention also provides a control method for intelligent online precise control of solution concentration, comprising the following steps:
[0016] Step 1: Initialize the solution volume:
[0017] The computer controls a high-resolution camera to collect a side image of the sample pool, processes the image, obtains the position of the upper surface of the transparent substrate of the sample pool, and sets the position as zero liquid level height and zero volume;
[0018] Step 2: Add the initial sample, and the computer controls the high-resolution camera to collect the side image of the sample pool, and processes the image to obtain the sample liquid level height value h 0 , then the initial volume is S·h 0 , S is the cross-sectional area of the sample cell;
[0019] Step 3: Calculate and adjust to the target concentration c 1 The required sample volume is adjusted to keep the final sample volume equal to S·h 0 :
[0020] The solvent volatilization will affect the concentration over a long period of time. As the test time increases, the liquid level value will decrease. Therefore, the real-time liquid level should be used before adjusting the concentration. The real-time liquid level is obtained through image recognition processing as h 0 ′, then the actual volume is S·h 0 ′, the actual concentration is c 0 ′=c 0 h 0 / h 0 ′,c 0 is the initial sample concentration; the actual sample concentration c is displayed in real time on the control panel 0 ′;
[0021] According to c 1 h 0 S=c 0 ′S(h 0 ′-Δh)+c′S(Δh+h 0 -h 0 ′) The volume of the sample taken out is calculated to be S·Δh, Δh is the liquid level difference caused by the sample taken out, c′ is the concentration of the standard concentrated solution, and the calculation results are:
[0022] Δh=h 0 ′-[(c′h 0 -c 1 h 0 )h 0 ′ / (c′h 0 ′-c 0 h 0 )]
[0023] When c 1 <c 0 When c'=0 (i.e. solvent); when c 1 >c 0 , c′ is the set value (concentration of standard concentrated solution);
[0024] Step 4: Control the peristaltic pump to take out a certain amount of sample to be tested, so that the liquid level reaches h 1 =h 0 At ′-Δh, the injection pump adds a quantitative solvent or concentrated solution to reach h 0 ;
[0025] Step 5: Control the mixing device to mix the solution, and the system updates the initial concentration c 0 =c 1 ;
[0026] Step 6: Use a fluorescent signal detection device to perform fluorescence detection on the sample, analyze the concentration of the fluorescent probe based on the fluorescence intensity and distribution of the fluorescent probe, and automatically select an appropriate concentration range of the fluorescent probe; automatically add the probe molecule solution through a syringe pump and a syringe;
[0027] Step 7: Mix well and conduct other tests;
[0028] Step 8: Further adjust the concentration and directly enter the target concentration c to be adjusted 1 , return to step 3.
[0029] Furthermore, in the fourth step, the method for achieving the quantitative measurement of the solution by controlling the high-resolution camera by computer is as follows:
[0030] A high-resolution camera is used to continuously take real-time photos of the liquid level in the sample pool, and a random forest algorithm or an image recognition algorithm is used to process and analyze the pictures to identify the volume information of the solution for quantification of the solution.
[0031] Furthermore, the conversion method from image to solution volume using the random forest algorithm is as follows:
[0032] The image is denoised using a Gaussian convolution kernel, and the first-order Sobel operator is used to calculate the gradient amplitude of each pixel in the image. The non-maximum suppression method is used to eliminate non-edge points and extract the local gradient maximum of the pixel. The double threshold method is used to maintain the effective area of the image, and finally the standard Contours function is used to achieve maximum contour extraction. The image is then analyzed using the random forest algorithm in the artificial intelligence system.
[0033] Furthermore, the positioning of the solution by the image recognition algorithm mainly includes the following two steps:
[0034] The first step is to calibrate the liquid level in the sample pool before the experiment:
[0035] 1. Add liquid and take continuous photos of the liquid level with a high-resolution camera;
[0036] 2. Perform Canny edge detection algorithm on all liquid level images, extract and store the liquid level value of each frame of liquid level image;
[0037] 3. Perform an interpolation algorithm on these discrete images, that is, a method of simulating the surrounding pixel values based on the color parameters of the central pixel and the color movement direction of the liquid surface boundary pixel;
[0038] In the second step, the sample to be tested is then tested, and the quantitative method is:
[0039] The liquid level height image of the sample at a certain moment is searched and compared with the images in the calibrated standard library to find the most similar image and obtain its corresponding liquid level height value: that is, in the process of adjusting the concentration, the image feature information is extracted by performing Canny edge detection on the image captured by the high-resolution camera at a certain moment, and then the feature is compared with the images in the image library. By comparing the contour information, the image with the highest similarity is found, and the corresponding liquid level height value is obtained, thereby realizing the positioning of the liquid level.
[0040] The beneficial effects of the present invention are:
[0041] The fluorescent detection sample pool for intelligent online precise control of solution concentration of the present invention utilizes a computer to identify the liquid level information of the solution in the sample pool and calculate the solution volume according to a random forest algorithm or an image comparison algorithm, and realizes the increase, decrease and uniform mixing of the solution concentration through intelligent control of a peristaltic pump, a syringe pump and a mixing device. The fluorescent detection sample pool for intelligently controlling the solution concentration of the present invention can control the solution concentration in real time, accurately and automatically in a fluorescence microscope experiment, and inject a quantitative amount of pure solvent or a higher concentration solution as needed to dilute or concentrate to achieve a suitable sample concentration. The present invention can identify and locate the liquid level in the sample pool through image recognition technology, and extract the height information of the liquid level in the sample pool in real time and reliably. The sample pool designed by the present invention can realize intelligent in-situ precise control of sample concentration and improve the accuracy of concentration control.
[0042] The intelligent online precise control method of the solution concentration of the present invention utilizes a series of intelligent algorithms to accurately judge the volume of the solution in the sample pool by observing the height of the liquid in the sample pool in real time, and automatically controls the amount of concentrated solution and solvent added and the amount taken out of the solution by issuing instructions through a computer. It can accurately complete the dilution, concentration and mixing of the solution during the single-molecule experiment, and achieve the accuracy of concentration control in the fluorescence experiment. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0044] Figure 1 This is a structural diagram (front view) of a sample pool device for intelligent online precise control of solution concentration provided by the present invention.
[0045] Figure 2 The left side view of the sample pool provided by the present invention.
[0046] Figure 3 A top view of the sample pool sealing cover provided by the present invention.
[0047] Figure 4 This is a flow chart of image feature extraction provided by the present invention.
[0048] Figure 5 The random forest training flow chart provided by the present invention.
[0049] The reference numerals in the figures indicate:
[0050] 1-sample pool, 2-sealing cover, 3-high-resolution camera, 4-syringe pump, 5-sample outlet tube, 6-peristaltic pump, 7-waste liquid bottle, 8-mixing device, 9-computer, 10-base, 11-transparent substrate;
[0051] 101-light hole;
[0052] 21-inlet hole, 22-outlet hole, 23-first vent hole, 24-second vent hole;
[0053] 41 - first syringe, 42 - second syringe, 43 - third syringe;
[0054] 81-catheter;
[0055] 91-Signal cable. DETAILED DESCRIPTION
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the embodiments are briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0057] Combination Figure 1-3 Specifically describe the fluorescence detection sample cell for intelligently controlling solution concentration provided by the present invention, including a base 10, a sample cell 1, a sealing cover 2 matched with the sample cell 1, a peristaltic pump 6, a high-resolution camera 3, a syringe pump 4, a waste liquid bottle 7, a mixing device 8 and a computer 9 (such as Figure 1 As shown); the sample pool 1 and the high-resolution camera 3 are installed on the base 10; the base 10 is provided with a light hole 101 for laser to pass through; the sealing cover 2 is connected to the sample pool 1; the sealing cover 2 is provided with an injection hole 21, a sample outlet hole 22, a first vent hole 23 and a second vent hole 24, the sample outlet hole 22 is connected to one end of the peristaltic pump 6 through a sample outlet tube 5, and the first vent hole 23 and the second vent hole 24 are respectively connected to the mixing device 8; the other end of the peristaltic pump 6 is connected to the waste liquid bottle 7; the injection pump 4 injects the required sample into the sample pool 1 via the injection hole 21; the peristaltic pump 6, the high-resolution camera 3, the injection pump 4 and the mixing device 8 are all connected to the computer 9 through a signal cable 91.
[0058] Preferably, the sides and bottom of the sample pool 1 are made of transparent material and have a regular geometric shape.
[0059] Preferably, a transparent substrate 11 is provided at the bottom of the side of the sample pool 1 , which is a glass slide or a quartz slide and is connected to the bottom of the side of the sample pool 1 through an adhesive.
[0060] Preferably, the sample inlet 21 and the sample outlet 22 are arranged at two positions on the upper surface of the sealing cover 2 where the linear distance is the farthest;
[0061] Preferably, the first vent hole 23 and the second vent hole 24 are arranged at two ends of a straight line orthogonal to the straight line of the sample inlet 21 and the sample outlet 22;
[0062] Preferably, the injection pump 4 is provided with at least three syringes, which are suspended just above the injection hole 21 and are respectively filled with concentrated solution, solvent and probe molecule solution, and can be switched in position by rotation.
[0063] Preferably, the mixing device 8 is a bubbler;
[0064] Preferably, the high-resolution camera 3 is fixed at a position facing a certain transparent side surface of the sample pool 1 , and is used for continuously photographing the liquid level of the solution in the sample pool 1 .
[0065] The present invention also provides a control method for intelligent online precise control of solution concentration. The method identifies the liquid level information of the solution in the sample pool and calculates the solution volume according to the random forest algorithm or the image comparison algorithm, and realizes the increase, decrease and uniform mixing of the solution concentration through intelligent control of the peristaltic pump 6, the injection pump 4 and the mixing device 8. The present invention only needs to check the connection status of each device, turn on the computer 9, set the parameters (initial sample concentration c 0 , sample pool cross-sectional area S, peristaltic pump and syringe pump flow rate, standard concentrated solution concentration c', etc.), and then run, and the peristaltic pump 6, syringe pump 4, high-resolution camera 3 and other instruments will be automatically controlled to achieve solution concentration regulation. The main steps include:
[0066] Step 1: Initialize the solution volume:
[0067] The computer 9 controls the high-resolution camera 3 to collect the side image of the sample pool 1, and processes the image to obtain the upper surface position of the transparent substrate 11 of the sample pool, and sets it to zero liquid level height and zero volume.
[0068] Step 2: Add a certain amount of initial sample, and the computer 9 controls the high-resolution camera 3 to collect the side image of the sample pool 1, and processes the image to obtain the sample liquid level height value h 0 , then the initial volume is S·h 0 .
[0069] Step 3: Calculate and adjust to the target concentration c 1 The required sample volume is adjusted to keep the final sample volume equal to S·h0 :
[0070] The solvent volatilization has a great influence on the concentration over a long period of time. As the test time increases, the liquid level value may decrease. Therefore, the real-time liquid level should be used before adjusting the concentration. The real-time liquid level is obtained through image recognition processing as h 0 ′, then the actual volume is S·h 0 ′, the actual concentration is c 0 ′=c 0 h 0 / h 0 '. The actual sample concentration c is displayed in real time on the control panel 0 ′.
[0071] According to c 1 h 0 S=c 0 ′S(h 0 ′-Δh)+c′S(Δh+h 0 -h 0 ′) The volume of the sample taken out is calculated to be S·Δh, Δh is the liquid level difference caused by the sample taken out, and c′ is the concentration of the standard concentrated solution, which is calculated to be:
[0072] Δh=h 0 ′-[(c′h 0 -c 1 h 0 )h 0 ′ / (c′h 0 ′-c 0 h 0 )]
[0073] When c 1 <c 0 When c'=0 (i.e. solvent); when c 1 >c 0 , c' is the set value (concentration of standard concentrated solution).
[0074] Step 4: Control the peristaltic pump 6 to take out a certain amount of sample to be tested, so that the liquid level reaches h 1 =h 0 At ′-Δh, the injection pump 4 adds a quantitative solvent or concentrated solution to reach h 0 . The quantitative method is described in detail later;
[0075] Step 5: Control the mixing device 8 to mix the solution, and the system updates the initial concentration c 0 =c 1 , which is convenient for calculation when adjusting the concentration next time.
[0076] Step 6: Use the fluorescence signal detection device to perform fluorescence detection on the sample, analyze the concentration of the probe based on the fluorescence intensity and distribution of the fluorescent probe, and automatically select the appropriate concentration range of the fluorescent probe. Automatically add the probe molecule solution through the injection pump 4 and the syringe;
[0077] Step 7: Mix well and conduct other tests.
[0078] Step 8: Further adjust the concentration and directly enter the target concentration c to be adjusted 1 , return to step 3.
[0079] Based on the above control method, the fourth step is to control the high-resolution camera 3 by the computer 9 to achieve the quantitative method of the solution as follows:
[0080] The present invention uses a high-resolution camera 3 to continuously and in real time take pictures of the liquid level in the sample pool 1, and uses a random forest algorithm or an image recognition algorithm to process and analyze the pictures, identify the volume information of the solution, and realize the quantification of the solution. Based on the random forest algorithm and the image recognition algorithm, the present invention proposes to directly classify sample pools with different liquid level heights, and combine the image recognition technology to extract and classify the target area in the image separately.
[0081] The conversion method from image to solution volume using the random forest algorithm is as follows:
[0082] In the picture of the liquid level, the relative height of the liquid level in sample pool 1 is our area of interest, which is implemented by the Canny edge detection algorithm. The specific implementation steps are as follows: Use the Gaussian convolution kernel to reduce the noise of the image, use the first-order Sobel operator to calculate the gradient amplitude of each pixel in the image, use the non-maximum suppression method to eliminate non-edge points, and extract the local gradient maximum of the pixel. Use the double threshold method to maintain the effective area of the image, and finally use the standard Contours function to achieve maximum contour extraction. Then we use the random forest algorithm in the artificial intelligence system to analyze the image.
[0083] The initial image needs to go through a series of image processing to obtain a feature data file that can be processed by random forest. The main processing methods for extracting feature information from liquid level images are as follows (see Figure 4 ):
[0084] 1. Grayscale and binarization processing: Grayscale and binarization operations are required before contour detection of color images.
[0085] 2. Maximum contour extraction and area, perimeter and center distance extraction: The contour extraction work is mainly to extract the maximum contour of the interface in the image, mark the center of mass of the maximum contour, extract the center of mass position to characterize the height information of the detected target, and calculate the area and perimeter of the maximum contour.
[0086] 3. Use probabilistic Hough line detection to extract features.
[0087] 4. Corner point detection feature extraction: The number of corner points and their distribution positions in the stripe image are obtained through corner point detection, and the number of corner points is used as the feature value.
[0088] According to the above features and extraction process, the liquid surface heights of different volumes of solution in sample pool 1 were imported as training set images, and feature extraction was performed on more than 1,000 images. The random forest algorithm principle was used to train the random forest classification model, and the random forest classification model was optimized and parameter adjustment was performed.
[0089] The use of random forest algorithm to analyze training image samples with different liquid level heights can achieve high timeliness and high accuracy of the final algorithm for liquid level positioning. Our algorithm establishes a feature extraction algorithm for liquid level images based on morphological features and local detection feature theory, combined with the feature extraction process, analyzes the liquid level, and uses the obtained feature set combined with the random forest classification model training process to establish a random forest classification model. After the model is established, the grid search method is used to adjust the number of base decision trees and the maximum depth of the base decision trees of the random forest model. The accuracy of the liquid level judgment is 97%. The actual volume of the solution in the sample pool is converted by the liquid level height, laying a data basis for the precise control of the solution concentration (see Figure 5 ).
[0090] In addition, we can also use image recognition algorithms to obtain information such as liquid level height, that is, the method for locating the liquid level of the solution in sample pool 1 is as follows:
[0091] The positioning of the solution through the image recognition algorithm mainly includes the following two steps:
[0092] The first step is to calibrate the liquid level in sample pool 1 before the experiment:
[0093] 1. Slowly add liquid and take continuous photos of the liquid level with a high-resolution camera 3;
[0094] 2. Perform Canny edge detection on all liquid level images (such as Figure 4 As shown, the extraction of the liquid level image feature information is the same as described above), and the liquid level value of each frame of the liquid level image is extracted and stored.
[0095] 3. Perform an interpolation algorithm on these discrete images, that is, simulate the surrounding pixel values based on the color parameters of the central pixel and the color movement direction of the liquid surface boundary pixel. Here, the IFENT (a Specialized and Efficient Intermediate Flow Network) algorithm is used, which directly uses the linear motion (the liquid surface movement direction is constant) assumption to estimate the intermediate frame. In this way, the missing pixel images between two adjacent images in the discrete image are predicted, and a picture library with continuously changing liquid surface heights is established, in which each frame of the picture corresponds to a liquid surface height value.
[0096] In the second step, the sample to be tested is then tested, and the quantitative method is:
[0097] The liquid level picture of the sample at a certain moment is searched and compared with the pictures in the calibrated standard picture library to find the most similar picture and obtain the corresponding liquid level value: that is, in the process of adjusting the concentration, the picture captured by the high-resolution camera 3 at a certain moment is subjected to Canny edge detection to extract the picture feature information, and then the picture is compared with the picture in the picture library to find the picture with the highest similarity by comparing the contour information and obtain the corresponding liquid level value. Thus, the positioning of the liquid level is realized.
[0098] In order to further understand the present invention, the preferred embodiments of the present invention are described below in conjunction with specific implementation methods, but it should be understood that these descriptions are only to further illustrate the features and advantages of the present invention rather than to limit the claims of the present invention.
[0099] Embodiment 1
[0100] like Figure 1-3 As shown, the fluorescence detection sample cell for intelligent online precise control of solution concentration of the present invention comprises a sample cell 1, a sealing cover 2, a high-resolution camera 3, a syringe pump 4, a sample outlet tube 5, a peristaltic pump 6, a waste liquid bottle 7, a mixing device 8, a computer 9 and a base 10; the bottom of the sample cell 1 is a transparent substrate 11, which is installed on the light-through hole 101; the sealing cover 2 is provided with an injection hole 21, a sample outlet hole 22, a first vent hole 23 and a second vent hole 24; the syringe pump 4 is equipped with a first syringe 41, a second syringe 42 and a third syringe 43, which are respectively filled with a pure solvent, a concentrated solution and a probe solution; wherein the sample cell 1 is a common technology; the shape of the sample cell 1 is a regular shape, usually a cube or a cylinder; the shape of the transparent substrate 11 is not particularly limited, and the material can be glass or quartz, etc., and the thickness of the transparent substrate 11 is preferably 0.15 mm;
[0101] The sealing cover 2 is fixed on the sample pool 1. There is no special restriction on the shape of the sealing cover 2, as long as it can form a sealed cavity with the sample pool 1. The sealing cover 2 is provided with an injection hole 21 and an outlet hole 22 connected to the cavity. Preferably, the injection hole 21 and the outlet hole 22 are arranged on a straight line with the farthest distance on the upper surface of the sealing cover 2. If the upper surface of the sealing cover 2 is circular, the injection hole 21 and the outlet hole 22 are arranged at the two ends of a diameter. If the upper surface of the sealing cover 2 is square, the injection hole 21 and the outlet hole 22 are arranged at the two ends of a diagonal line.
[0102] The first syringe 41, the second syringe 42 and the third syringe 43 on the syringe pump 4 are suspended on the injection hole 21, and can freely switch positions and heights to inject a quantitative required solution sample into the sample pool 1. The sample outlet 22 is connected to the peristaltic pump 6 through the sample outlet tube 5 to discharge the waste liquid into the waste liquid bottle 7, and the beginning of the sample outlet tube 5 is always kept below the liquid level.
[0103] The first vent hole 23 and the second vent hole 24 are connected to the mixing device 8 through a conduit 81. The mixing device 8 is preferably a bubbler, and the conduit 81 has a gourd-shaped anti-backflow structure.
[0104] In the present invention, the high-resolution camera 3, the syringe pump 4, the peristaltic pump 6 and the mixing device 8 are all connected to the computer 9 via a signal cable 91, and the computer 9 controls their operation.
[0105] The computer 9 realizes intelligent control of the peristaltic pump 6, the syringe pump 4 and the mixing device 8, and efficiently completes the self-dilution, self-concentration, mixing and other functional processes involved in adjusting the concentration. The specific implementation process is:
[0106] First, the initial parameters are set manually on the computer 9, such as Figure 4 As shown, it includes the current sample concentration and volume, the concentration of the concentrated solution, the sampling flow rate, the injection flow rate, the cross-sectional area of the sample pool and the target solution concentration, etc. The exposure time of the high-resolution camera 3 is preferably 10ms.
[0107] In the first step, the computer 9 processes the image obtained by the high-resolution camera 3, extracts the liquid level of the sample in the sample pool 1 at this time according to the captured liquid level image, and records it as the initial liquid level.
[0108] In the second step, the computer 9 automatically calculates the amount of sample to be drawn out and the amount of sample to be added to adjust to the target concentration. The algorithm used by the program to calculate the concentration is based on the fact that the sample volume before and after the concentration adjustment is the same.
[0109] The third step is to turn on the peristaltic pump 6 to draw the sample to the waste liquid bottle 7 at the set sampling flow rate based on the calculation results. When the high-resolution camera 3 monitors that the liquid level in the sample pool 1 is about 10% higher than the calculated minimum liquid level by the maximum liquid level difference, the peristaltic pump 6 draws at an intermittent low flow rate, that is, it pauses after drawing for 1 second, to give the high-resolution camera 3 and the computer 9 enough reaction time to improve accuracy.
[0110] The computer uses the random forest algorithm to obtain the liquid level information (no less than 1000 samples) after the peristaltic pump 6 is paused, and determines whether the liquid level of each sample is within the range of ±1% of the minimum liquid level. If the final result is "no", the third step is performed, and if the final result is "yes", the next step is performed.
[0111] The fourth step is to select the injection liquid. If dilution is required, select the first syringe 41 containing pure solvent. If the concentration is to be increased, select the second syringe 42 containing concentrated solution. Adjust the height of the syringe, insert it into the injection hole 21, turn on the injection pump 4, and drip the sample into the sample pool 1 through the injection hole 21 at the set injection flow rate. When the high-resolution camera 3 monitors that the liquid level in the sample pool 1 is about 10% lower than the highest liquid level (initial liquid level) by the maximum liquid level difference, the injection pump 4 adopts an intermittent dripping method with a low flow rate to prevent misidentification caused by violent fluctuations in the liquid level caused by dripping liquid.
[0112] Computer 9 uses random forest algorithm to obtain liquid level information (no less than 1000 samples) after injection pump 4 is paused, and determines whether the liquid level of each sample is within the range of ±1% of the maximum liquid level. If the final result is "no", the fourth step is performed, and if the final result is "yes", the syringe is adjusted back to the original height and the next step is started.
[0113] The fifth step is to turn on the mixing device 8 to mix the solution evenly. The choice of the mixing device 8 is selected according to the actual situation. The preferred mixing device 8 can be a bubbler.
[0114] In the sixth step, after the sample is evenly mixed, a fluorescence signal detection device is used to perform fluorescence detection on the sample, and the concentration of the probe is analyzed in combination with the fluorescence intensity and distribution of the fluorescent probe, and an appropriate concentration range of the fluorescent probe is automatically selected. The probe molecule solution is automatically added through the syringe pump 4 and the third syringe 43 to realize intelligent regulation of the probe concentration.
[0115] The advantage of this embodiment is that the random forest algorithm is used to extract features from more than 1,000 images of the liquid surface, and the accuracy of the liquid surface height judgment obtained is as high as 97%.
[0116] Embodiment 2
[0117] The difference between this embodiment and the first embodiment is that the liquid level positioning method adopted in this embodiment is an image recognition algorithm, and the liquid level positioning is achieved by searching and comparing the liquid level images calibrated in advance. The specific implementation method is as follows:
[0118] First, the liquid level is calibrated, and the sample pool 1 is filled with a calibration liquid, preferably water. Then the computer 9 controls the peristaltic pump 6 to pump out the liquid at a certain flow rate (the smaller the flow rate, the more accurate the liquid level calibration value), and at the same time, the high-resolution camera 3 is turned on to continuously take pictures of the liquid surface of the sample pool 1. The computer 9 processes all captured images, including the Canny edge detection algorithm and the interpolation algorithm, etc. to obtain the height values of the liquid surface corresponding to different pictures, and stores them as an image library. Then the concentration of the target solution is regulated.
[0119] First, a certain amount of initial sample is added to the sample pool 1 to calibrate the initial sample height information: the computer 9 first processes the image of the initial sample obtained by the high-resolution camera 3, compares it with the standard library, finds the image with the highest similarity with the standard library, and marks this image as the high liquid level height image.
[0120] Then, the initial parameters are manually set on the computer 9, including the current sample concentration and volume, the concentrated solution concentration, the sampling flow rate and the injection flow rate (preferably 60 μL / s), the cross-sectional area of the sample pool 1 and the initial concentration of the target solution. The control program is run. The computer 9 is controlled by the program according to Figure 4 Processing the images captured in real time by the high-resolution camera 3, the control program automatically implements the quantitative steps in the concentration control process as follows:
[0121] In the first step, the computer 9 automatically calculates the amount of sample to be extracted and the amount of sample to be added to adjust to the target concentration based on the concentration of the current sample. The algorithm for calculating the concentration is based on the same sample volume before and after the concentration adjustment. According to the calculated target liquid level value, the computer searches for the image corresponding to this liquid level value in the standard image library, and marks this image as a low liquid level image. The standard images 10% above the low liquid level image are marked as the second lowest liquid level image, and the standard images 10% below the high liquid level image are marked as the second highest liquid level image. (10% represents all consecutive images between the high liquid level image and the low liquid level image in the standard image library)
[0122] The second step is to turn on the peristaltic pump 6 and pump the sample to the waste liquid bottle 7 at the set sampling flow rate according to the calculation results. When the image captured by the high-resolution camera 3 coincides with the image of the second lowest liquid level, the peristaltic pump 6 samples at a low flow rate, preferably 30 μL / s, to give the high-resolution camera 3 and the computer 9 enough reaction time to improve the accuracy. When the image captured by the high-resolution camera 3 coincides with the image of the low liquid level, turn off the peristaltic pump 6. When the liquid level is stable and the liquid level fluctuation is less than ±1%, the next step can be started.
[0123] The third step is to select the injection liquid. If dilution is required, select the first syringe 41 containing pure solvent. If the concentration is to be increased, select the second syringe 42 containing concentrated solution. Adjust the height of the syringe, insert it into the injection hole 21, turn on the injection pump 4, and drip the sample into the sample pool 1 through the injection hole 21 at the set injection flow rate. When the image captured by the high-resolution camera 3 coincides with the image of the second highest liquid level, the injection pump 4 injects the sample at a low flow rate, preferably 20 μL / s, to prevent misidentification caused by violent fluctuations in the liquid level caused by the dripping of liquid. When the image captured by the high-resolution camera 3 coincides with the image of the high liquid level, turn off the injection pump 6. Wait for about 30 seconds, until the liquid level is stable and the liquid level fluctuation is less than ±1%, then adjust the syringe back to the original height and proceed to the next step. If you want to further adjust the concentration, start the calculation directly from the first step.
[0124] Embodiment 3
[0125] The difference between this embodiment and the second embodiment is that it is not necessary to calibrate all liquid levels. The high-resolution camera 3 continuously takes pictures of the liquid level, and the computer 9 extracts the height value of the liquid level picture at a certain moment through the Canny edge detection algorithm, thereby realizing real-time dynamic monitoring of the liquid level. The specific concentration adjustment steps are as follows:
[0126] The first step is to keep the solution volume unchanged before and after concentration adjustment. First, add a certain amount of initial sample to sample pool 1; then record the initial liquid level height h at this time 0 :The high-resolution camera 3 takes a picture of the liquid level in the sample pool 1, and extracts the liquid level information in the picture according to the Canny edge detection algorithm, and sets the liquid level value at this time as the initial liquid level value, i.e., h 0 .
[0127] In the second step, the computer 9 calculates the liquid level according to the set parameters and the actual liquid level value h. 0 'Automatically calculate the amount of sample to be drawn out and the amount of sample to be added to adjust to the target concentration. The calculated amount of drawn out and added is all expressed in height, and the liquid level height h that the drawn sample needs to reach is obtained. 1 =h 0 ′-Δh, and the maximum liquid level difference before and after sampling h 0 -h 1 .
[0128] The third step is to turn on the peristaltic pump 6 to pump the sample into the waste liquid bottle 7 at the set sampling flow rate (preferably 60 μL / s) according to the calculated results. When the high-resolution camera 3 monitors that the liquid level in the sample pool 1 is higher than the calculated minimum liquid level h 1When the liquid level exceeds about 10% of the maximum liquid level difference, the peristaltic pump 6 draws samples at a low flow rate (preferably 30 μL / s) to give the high-resolution camera 3 and the computer 9 sufficient reaction time to improve accuracy. When the high-resolution camera 3 monitors that the liquid level in the sample pool 1 is equal to the minimum liquid level, the peristaltic pump 6 is turned off. When the liquid level is stable and the liquid level fluctuation is less than ±1%, the next step can be started.
[0129] Step 4: Select the injection liquid. If diluting, select the first syringe 41 containing pure solvent. If increasing the concentration, select the second syringe 42 containing concentrated solution. Adjust the height of the syringe, insert it into the injection hole 21, turn on the injection pump 4, and drip the sample into the sample pool 1 through the injection hole 21 at the set injection flow rate (preferably 60 μL / s). When the high-resolution camera 3 monitors that the liquid level in the sample pool 1 is higher than the highest liquid level (initial liquid level h 0 ) is about 10% lower than the maximum liquid level difference, the injection pump 4 injects the sample at a low flow rate (preferably 20 μL / s) to prevent the image from being misidentified due to the violent fluctuation of the liquid level caused by the addition of liquid. When the high-resolution camera 3 monitors that the liquid level in the sample pool 1 is equal to the maximum liquid level h 0 , turn off the syringe pump 6. Wait for about 30 seconds until the liquid level is stable and the liquid level fluctuation is less than ±1%, then adjust the syringe back to the original height and proceed to the next step. If you want to further adjust the concentration, return to the second step.
[0130] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. A fluorescence detection sample cell for intelligent online precise control of solution concentration, characterized in that: It comprises a base (10), a sample pool (1), a sealing cover (2) matched with the sample pool (1), a peristaltic pump (6), a high-resolution camera (3), a syringe pump (4), a waste liquid bottle (7), a mixing device (8) and a computer (9); The sample pool (1) and the high-resolution camera (3) are mounted on a base (10); the sealing cover (2) is connected to the sample pool (1); the sealing cover (2) is provided with a sample inlet (21), a sample outlet (22), a first vent (23) and a second vent (24); the sample outlet (22) is connected to one end of a peristaltic pump (6) via a sample outlet tube (5); the first vent (23) and the second vent (24) are respectively connected to a mixing device (8); the other end of the peristaltic pump (6) is connected to a waste liquid bottle (7); the injection pump (4) injects the required sample into the sample pool (1) via the sample inlet (21); the peristaltic pump (6), the high-resolution camera (3), the injection pump (4) and the mixing device (8) are all connected to a computer (9) via a signal cable (91); The injection pump (4) is provided with at least three syringes, which are suspended just above the injection hole (21) and are respectively filled with concentrated solution, solvent and probe molecule solution, and can switch positions by rotation; The high-resolution camera (3) is fixed at a position directly opposite to a transparent side surface of the sample pool (1) and is used to continuously photograph the liquid level of the solution in the sample pool (1).
2. The fluorescence detection sample cell according to claim 1, characterized in that: The sides and bottom of the sample pool (1) are made of transparent materials; the mixing device (8) is a bubbler.
3. The fluorescence detection sample cell according to claim 1, characterized in that: The bottom of the side of the sample pool (1) is connected to a transparent substrate (11), and the transparent substrate (11) is a glass slide or a quartz slide.
4. The fluorescence detection sample cell according to claim 1, characterized in that: The sample inlet (21) and the sample outlet (22) are arranged at two positions on the upper surface of the sealing cover (2) that are farthest apart in a straight line; the first vent hole (23) and the second vent hole (24) are arranged at two ends of a straight line that is orthogonal to the sample inlet (21) and the sample outlet (22).
5. A control method for intelligent online precise control of solution concentration based on the fluorescence detection sample cell according to claim 1, characterized in that: The following steps are involved: Step 1: Initialize the solution volume: The computer (9) controls the high-resolution camera (3) to collect a side image of the sample pool (1), processes the image, obtains the upper surface position of the transparent substrate (11) of the sample pool, and sets the position as zero liquid level height and zero volume; Step 2: Add the initial sample, and the computer (9) controls the high-resolution camera (3) to collect the side image of the sample pool (1), and processes the image to obtain the sample liquid level height value h0, then the initial volume is S·h0, S is the cross-sectional area of the sample pool (1); Step 3: Calculate the amount of sample required to adjust to the target concentration c1, and always keep the final sample volume equal to S·h0 after adjusting the concentration: The solvent volatilization will affect the concentration over a long period of time. As the test time increases, the liquid level value will decrease. Therefore, the real-time liquid level should be used before adjusting the concentration. The real-time liquid level obtained by image recognition processing is h0′, then the actual volume is S·h0′, and the actual concentration is c0′=c0h0 / h0′, where c0 is the initial sample concentration; the actual sample concentration c0′ is displayed in real time on the control panel; The volume of the sampled solution is calculated as S·Δh according to c1h0S = c0′S(h0′ - Δh) + c′S(Δh + h0 - h0′), where Δh is the liquid level difference caused by sampling, and c′ is the concentration of the standard concentrated solution. The calculation gives: Δh = h0′ - [(c′h0 - c1h0)h0′ / (c′h0′ - c0h0)] When c1 < c0, c′ = 0; when c1 > c0, c′ is the concentration of the standard concentrated solution; Step 4: Control the peristaltic pump (6) to take out a quantitative sample to be measured, so that the liquid level reaches h1 = h0′ - Δh, and the injection pump (4) adds a quantitative solvent or concentrated solution to reach h0; Step 5: Control the mixing device (8) to mix the solution evenly, and the system updates the initial concentration c0 = c1; Step 6: Use the fluorescence signal detection device to perform fluorescence detection on the sample. Combine the fluorescence intensity and distribution of the fluorescence probe to analyze the level of the probe concentration, and automatically select an appropriate fluorescence probe concentration range; automatically add the probe molecule solution through the injection pump (4) and syringe; Step 7: Mix evenly and perform other tests; Step 8: Further adjust the concentration, directly input the target concentration c1 to be adjusted, and return to Step 3.
6. The control method according to claim 5, characterized in that: The method for quantitatively controlling the solution in Step 4 through the computer (9) is as follows: Use the high-resolution camera (3) to continuously and real-time photograph the liquid level height in the sample cell (1), and use the random forest algorithm or image recognition algorithm to process and analyze the pictures to identify the volume information of the solution for realizing the quantification of the solution.
7. The control method according to claim 6, characterized in that: The conversion method from the image to the solution volume using the random forest algorithm is specifically as follows: Perform noise reduction processing on the image through a Gaussian convolution kernel, calculate the gradient amplitude of each pixel point in the image using the first-order Sobel operator, adopt the method of non-maximum suppression to eliminate non-edge points, and extract the local gradient maximum of the pixel points; adopt the double-threshold method to maintain the effective area of the image, and finally use the standard Contours function to realize the extraction of the maximum contour; then use the random forest algorithm in the artificial intelligence system to analyze the image.
8. The control method according to claim 6, characterized in that: The realization of the solution positioning through the image recognition algorithm mainly includes the following two steps: Step 1: First, before the experiment, calibrate the liquid level height in the sample cell (1):
1. Add liquid and continuously photograph the liquid level height with the high-resolution camera (3); 2. Perform the Canny edge detection algorithm on all liquid level height pictures, and extract and store the liquid level height values of each frame of the liquid level height pictures; 3. Perform an interpolation algorithm on these discrete images, that is, a method of simulating the surrounding pixel values according to the color parameters of the central pixel point and the color movement direction of the liquid level boundary pixel points; Step 2: Then conduct an experiment on the sample to be measured, and the quantitative method is as follows: The liquid level image of the sample at a certain moment is searched and compared with the images in the calibrated standard image library to find the most similar image and obtain its corresponding liquid level value: that is, in the process of adjusting the concentration, the image feature information is extracted by performing Canny edge detection on the image captured at a certain moment by the high-resolution camera (3), and then the feature is compared with the images in the image library. By comparing the contour information, the image with the highest similarity is found and its corresponding liquid level value is obtained, thereby realizing the positioning of the liquid level.
Citation Information
Patent Citations
Novel fluorescence sample cell used for measuring concentration auxiliary parameter fluorescence spectrum
CN102590091A
Automatic online micro-scale sample dilution and mixing device and mixing method
CN104062169A
Automatic online micro-scale sample dilution and mixing system and mixing method
CN104062170A
An online sample dilution and neutralization test device
CN104897820B
Inline dilution and autocalibration for ICP-ms speciation analysis
CN107045015A
