Sample pre-treatment method, spectroscopic detection device and storage medium
Patent Information
- Application Number
- CN202211123332.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-15
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2042-09-15
AI Technical Summary
[0004]基于此,针对传统的光谱检测设备在清洗完毕后,管路中残留的清洗剂会稀释待测样品,从而影响后续对待测样品的检测精度的问题,提出了一种取样前处理方法、光谱检测设备及存储介质,在使用时,可以降低清洗剂稀释待测样品的风险,从而提升后续对待测样品的检测精度
[0037]上述取样前处理方法、光谱检测设备及存储介质在使用时,控制取样管伸入盛装有待测样品的容纳件内,控制取样管吸取待测样品至取样管和光谱检测模块之间形成的通路内;驱使取样管移出容纳件,控制取样管吸取空气至通路内;重复依次驱使取样管伸入容纳件内并吸取待测样品和移出容纳件并吸取空气的步骤,以使空气和待测样品交替布设在通路内,对通路进行润洗,此时,可以去除通路内的清洗剂,当后续再次吸取待测样品时,则可以降低清洗剂对待测样品稀释的风险,从而提升对待测样品检测的精度,提升检测结果的准确性;此外,通过空气和待测样品交替布设在通路以进行润洗的方式,在有效润洗的同时可减少待测样品的润洗用量。
Smart Images

Figure CN115452734B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of spectral detection equipment technology, and in particular to a sampling pretreatment method, spectral detection equipment, and storage medium. Background Technology
[0002] Non-destructive analytical techniques such as hyperspectral, Raman, and near-infrared spectroscopy are new analytical techniques that have been developed both domestically and internationally in recent decades. For most types of samples, no pretreatment is required for direct measurement. Non-destructive spectroscopic analysis techniques are gradually becoming an indispensable analytical tool in industries such as agriculture, food, and mining.
[0003] Spectroscopic detection equipment typically needs to detect different types of samples. After the previous sample is detected, the internal tubing of the spectroscopic detection device needs to be cleaned before the next sample can be detected in order to improve detection accuracy. However, after cleaning, traditional automated liquid spectroscopic detection equipment will have cleaning agent residue in the tubing. The residual cleaning agent will dilute the sample to be tested, thus affecting the detection accuracy of subsequent samples. Summary of the Invention
[0004] Based on this, to address the problem that residual cleaning agent in the pipeline of traditional spectroscopic detection equipment can dilute the sample after cleaning, thus affecting the subsequent detection accuracy of the sample, a pre-sampling treatment method, spectroscopic detection equipment, and storage medium are proposed. When in use, the risk of the cleaning agent diluting the sample can be reduced, thereby improving the subsequent detection accuracy of the sample.
[0005] The specific technical solution is as follows:
[0006] On the one hand, this application relates to a pre-sampling processing method, including the following steps:
[0007] The sampling tube is controlled to extend into the container holding the sample to be tested, and the sampling tube is controlled to draw the sample to be tested into the passage formed between the sampling tube and the spectral detection module;
[0008] Drive the sampling tube out of the receiving member and control the sampling tube to draw air into the passage;
[0009] Repeat the steps of sequentially driving the sampling tube into the container to draw up the sample to be tested and removing it from the container to draw up air, so that the air and the sample to be tested are alternately distributed in the passage to rinse the passage.
[0010] The technical solution will be further explained below:
[0011] In one embodiment, prior to the first step of controlling the sampling tube to extend into the container holding the sample to be tested, and controlling the sampling tube to draw the sample to be tested into the path formed between the sampling tube and the spectral detection module, the method further includes:
[0012] The sampling tube is controlled to extend into the cleaning tank containing cleaning agent, and the sampling tube is controlled to draw the cleaning agent into the passage formed between the sampling tube and the spectral detection module to clean the passage.
[0013] In one embodiment, prior to the steps of controlling the sampling tube to extend into a cleaning tank containing cleaning agent and controlling the sampling tube to draw cleaning agent into the passage formed between the sampling tube and the spectral detection module to clean the passage, the method further includes:
[0014] Obtain the first sample information of the previous tested sample;
[0015] A cleaning plan is determined based on the first sample information, and the cleaning plan is executed; wherein the cleaning plan includes one or a combination of the type of cleaning agent, the air flow rate pumped into the cleaning tank, the cleaning time, and the cleaning agent flow rate.
[0016] In one embodiment, after controlling the sampling tube to extend into a cleaning tank containing cleaning agent, and controlling the sampling tube to draw the cleaning agent into the passage formed between the sampling tube and the spectral detection module to clean the passage, the method further includes:
[0017] The sampling tube is controlled to extend into the verification device containing the test liquid, and the sampling tube is controlled to draw the test liquid so that the test liquid fills the passage;
[0018] Obtain the characterization parameters corresponding to the test solution within the pathway; wherein, the characterization parameters include one or a combination of conductivity and spectral parameters;
[0019] Detect whether the characterization parameters meet the preset standards;
[0020] When the characterization parameters are detected to meet the preset standards, the cleaning of the pathway is determined to be complete.
[0021] In one embodiment, the test solution is selected from one or a combination of primary water, secondary water and tertiary water.
[0022] In one embodiment, the cleaning agent is a gas-liquid mixture.
[0023] In one embodiment, prior to the steps of controlling the sampling tube to extend into the container holding the sample to be tested and controlling the sampling tube to draw the sample to be tested into the passage formed between the sampling tube and the spectral detection module, the method further includes:
[0024] Scan the barcode information on the container;
[0025] The second sample information of the sample to be tested is obtained through the barcode information;
[0026] A rinsing plan is determined based on the second sample information and the rinsing plan is executed; wherein the rinsing plan includes one or a combination of the single aspiration volume of the sample to be tested, the single aspiration volume of air, the number of repeated aspirations, and the rinsing duration.
[0027] In one embodiment, after repeatedly driving the sampling tube into the container to aspirate the sample and removing it from the container to aspirate air, thereby alternating the air and the sample in the passage and rinsing the passage, the method further includes:
[0028] After a preset rinsing time, the spectrum of the sample to be tested is obtained through the spectral detection module, and the spectral parameters of the sample to be tested are calculated based on the spectrum.
[0029] The spectral parameters of the sample to be tested are compared and analyzed with preset spectral parameters to obtain the analysis results;
[0030] Based on the analysis results, determine whether the rinsing of the pathway is complete.
[0031] In one embodiment, after rinsing for a preset time, the step of obtaining the spectral parameters of the sample to be tested through the spectral detection module includes:
[0032] After rinsing for a preset time, the temperature of the sample to be tested is obtained;
[0033] The temperature of the sample to be tested is adjusted according to the obtained temperature so that the adjusted temperature meets the preset temperature range.
[0034] The sampling tube is controlled to deliver the temperature-adjusted sample to the spectral detection module, and the spectral parameters of the sample are obtained through the spectral detection module.
[0035] On the other hand, this application also relates to a spectral detection device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the sampling preprocessing method as described in any of the foregoing embodiments.
[0036] On the other hand, this application also relates to a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the sampling preprocessing method as described in any of the foregoing embodiments.
[0037] When using the above-mentioned pre-sampling treatment method, spectroscopic detection equipment, and storage medium, the sampling tube is controlled to extend into the container holding the sample to be tested, and the sampling tube is controlled to draw the sample to be tested into the passage formed between the sampling tube and the spectroscopic detection module; the sampling tube is then driven out of the container, and air is drawn into the passage; the steps of driving the sampling tube to extend into the container and draw the sample to be tested and removing the container and drawing air are repeated in sequence, so that air and the sample to be tested are alternately distributed in the passage to rinse the passage. At this time, the cleaning agent in the passage can be removed. When the sample to be tested is drawn again in a subsequent step, the risk of dilution of the sample to be tested by the cleaning agent can be reduced, thereby improving the accuracy of the detection of the sample to be tested and improving the accuracy of the detection results; in addition, by alternating the distribution of air and the sample to be tested in the passage for rinsing, the amount of sample to be tested can be reduced while effectively rinsing. Attached Figure Description
[0038] The accompanying drawings, which constitute a part of this application, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and the description thereof are used to explain and illustrate the invention, and do not constitute an improper limitation of the invention.
[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Furthermore, the accompanying drawings are not drawn to a 1:1 scale, and the relative dimensions of the various components are shown in the drawings only as examples and not necessarily to actual scale.
[0041] Figure 1 This is a schematic diagram of the structure of a spectral detection device from one perspective.
[0042] Figure 2 This is a schematic diagram of the spectral detection device from another perspective.
[0043] Figure 3 This is a flowchart illustrating a pre-sampling processing method in one embodiment;
[0044] Figure 4 This is a flowchart illustrating the pre-sampling processing method in another embodiment;
[0045] Figure 5This is a flowchart illustrating the pre-sampling processing method in another embodiment;
[0046] Figure 6 This is a flowchart illustrating the pre-sampling processing method in another embodiment;
[0047] Figure 7 This is a flowchart illustrating the pre-sampling processing method in another embodiment.
[0048] Explanation of reference numerals in the attached figures:
[0049] 10. Spectroscopic detection equipment; 100. Cleaning tank; 200. Container; 300. Sampling mechanism; 310. Sampling tube; 320. Lifting mechanism; 330. Rotating mechanism; 400. Pump device; 500. Inspection tank; 600. Temperature sensor. Detailed Implementation
[0050] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Many specific details are set forth in the following description to provide a thorough understanding of the present invention. However, the present invention can be practiced in many other ways different from those described herein, and those skilled in the art can make similar modifications without departing from the spirit of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0051] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0052] The non-destructive analysis technology used in spectroscopic detection equipment is a new analytical technology that has been developed both domestically and internationally in recent decades. For most types of samples, no pretreatment is required before direct measurement. Non-destructive spectroscopic analysis technology is gradually becoming an indispensable analytical tool in industries such as agriculture, food, and mining.
[0053] Spectroscopic detection equipment typically needs to test different types of samples, such as light soy sauce, dark soy sauce, or oyster sauce. After one sample is tested, the internal tubing of the spectroscopic detection equipment needs to be cleaned before testing the next sample to improve detection accuracy. After cleaning, the cleaning agent remaining in the tubing can dilute the subsequently input sample, affecting the detection accuracy. Therefore, it is necessary to remove the cleaning agent from the tubing before testing the sample to reduce the risk of dilution.
[0054] Figure 1 This is a schematic diagram of the structure of the spectral detection device 10 from one viewpoint; Figure 2 This is a schematic diagram of the structure of the spectral detection device 10 from another perspective.
[0055] Please refer to Figure 1 and Figure 2 In one embodiment, the spectral detection device 10 includes a host computer (not shown), a cleaning tank 100, a container 200, and a sampling mechanism 300. The host computer is used to send control commands to control the relevant structures to perform corresponding operations. The cleaning tank 100 is used to hold cleaning agent, and the container 200 is used to hold the sample to be tested. The sampling mechanism 300 includes a rotating mechanism 330, a lifting mechanism 320, and a sampling tube 310. The rotating mechanism 330 is connected to the lifting mechanism 320, and the sampling tube 310 is connected to the lifting mechanism 320.
[0056] The rotating mechanism 330 drives the lifting mechanism 320 to rotate the sampling tube 310 between the cleaning tank 100 and the container 200. The lifting mechanism 320 also drives the sampling tube 310 to move closer to or further away from the cleaning tank 100. sampling 310 tube Approach or move away from the container 200.
[0057] When it is necessary to rinse the sampling tube 310 or take a sample, the host computer only needs to send the first drive command to the rotating mechanism, which will drive the lifting mechanism 320 to rotate the sampling tube 310 to the receiving part 200 via the rotating mechanism 330. Then, the lifting mechanism 320 will drive... Sampling tube 310 Approach or move away from the container 200 to rinse the sampling tube 310 or take a sample.
[0058] When it is necessary to clean the sampling tube 310, the host computer only needs to send the second drive command to the rotating mechanism, which will drive the lifting mechanism 320 through the rotating mechanism 330 to rotate the sampling tube 310 to the cleaning tank 100. Then, the lifting mechanism 320 will drive the sampling tube 310 to move closer to or further away from the cleaning tank 100 to clean the sampling tube 310.
[0059] The type of cleaning agent can be configured as needed. For example, in some embodiments, the cleaning agent can be a gas-liquid mixture, wherein the gas-liquid mixture is formed by simultaneously filling the cleaning tank 100 with air and cleaning liquid, thereby forming a cleaning agent with bubbles in the cleaning tank 100. At this time, the cleaning agent is a gas-liquid mixture.
[0060] Alternatively, in other embodiments, the cleaning agent can be a liquid cleaning agent, that is, a cleaning agent in a liquid physical state. For example, the cleaning agent can be selected from one or a combination of primary water, secondary water and tertiary water, or a mixture of cleaning agent and water.
[0061] Please refer to Figure 1 In some embodiments, the spectral detection device 10 further includes a sample pumping device 400, the inlet of which is connected to the sample outlet of the sampling tube 310, and the outlet of which is connected to the sample inlet of the spectral detection module or to the outside.
[0062] When cleaning the sampling tube 310, the sampling tube 310 can also be controlled by the pump device 400 to draw the cleaning agent and draw the cleaning agent into the passage formed between the sampling tube 310 and the spectral detection module to clean the passage.
[0063] After cleaning the pathway, it is necessary to confirm whether the interior of the pathway formed between the sampling tube 310 and the spectral detection module is clean.
[0064] For example, please refer to Figure 1 and Figure 2 In some embodiments, the spectral detection device 10 further includes a verification device for holding the test liquid. When verification is required, the test liquid is drawn by driving the sampling tube 310 into the verification device. The verification device may include a separately provided test tank 500 for holding the test liquid. When verification is required, the test liquid is drawn by driving the sampling tube 310 into the test tank 500.
[0065] In some other embodiments, the verification device includes an inspection tank 500 and a cleaning tank 100. The inspection tank 500 is used to hold the inspection liquid and is connected to the cleaning tank 100 to supply the inspection liquid to the cleaning tank 100. When verification is required, the inspection liquid is supplied to the cleaning tank 100 through the inspection tank 500, and the inspection liquid is drawn into the cleaning tank 100 by driving the sampling tube 310 to extend into the cleaning tank 100.
[0066] After the sampling tube 310 and the passage are cleaned, the cleaning agent in the cleaning tank 100 is discharged, and the test liquid is supplied to the cleaning tank 100 through the verification device. The sampling tube 310 is driven by the pump device 400 to draw the test liquid into the passage. Then, the characterization parameters of the test liquid are detected by the verification device to determine whether the characterization parameters meet the preset standard. When the characterization parameters meet the preset standard, it is considered that the passage has been cleaned.
[0067] Optionally, the test solution can be one or a combination of Class I, Class II, and Class III water.
[0068] Characterization parameters represent the inherent physical properties of the test solution. These parameters change when impurities are introduced. The method of obtaining these parameters varies depending on the specific parameter. For example, when the characteristic parameter is conductivity, it can be measured by inserting a conductivity probe into the pathway, or a conductivity probe can be pre-installed within the pathway for direct measurement during detection. When the characteristic parameter is a spectral parameter, the test solution can be delivered to a spectral detection module for analysis.
[0069] When the spectrum of the sample to be tested is to be detected by the spectral detection module, the passage formed between the sampling tube 310 and the spectral detection module must first be cleaned. At this time, the cleaning agent in the cleaning tank 100 can be delivered to the passage by the pump device 400 for cleaning, and the cleaning is judged by delivering the test liquid into the passage. The cleaning agent and / or test liquid remaining in the passage will dilute the sample to be tested that is subsequently input into the passage, thereby reducing the reliability and accuracy of the detection of the sample to be tested. Therefore, the passage needs to be rinsed before the sample to be tested is detected.
[0070] During the specific rinsing process, the sampling tube is inserted into the container holding the sample to be tested. The sampling tube draws the sample into the passage formed between the sampling tube and the spectral detection module. Then, the sampling tube is moved out of the container, and air is drawn into the passage. This process of inserting the sampling tube into the container and drawing the sample, and then removing it from the container and drawing air, is repeated to alternately place air and the sample in the passage, thus rinsing the passage. After rinsing, the sample is then delivered into the passage for detection by the spectral detection module. This reduces the risk of dilution of the sample by the cleaning agent and / or test solution, thereby improving the accuracy of the sample detection and the accuracy of the test results. In addition, by alternately placing air and the sample in the passage for rinsing, the amount of sample used for rinsing can be reduced while effectively rinsing.
[0071] Please refer to Figure 1 In some embodiments, the spectral detection device 10 includes a barcode scanning module (not shown), which is fixed to the sampling mechanism 300. The barcode scanning module is used to scan a barcode to obtain information about the sample to be tested within the container 200. Thus, after obtaining the information about the sample to be tested, a corresponding cleaning and rinsing plan can be obtained, and the corresponding spectral detection model can be retrieved based on the obtained information about the sample to be tested.
[0072] Specifically, during cleaning, a cleaning plan can be determined based on the sample information of the previous test sample (denoted as the first sample information). The first sample information includes one or more of the following: sample type and sample viscosity. The cleaning plan includes one or a combination of the type of cleaning agent, the air flow rate pumped into the cleaning tank, the cleaning duration, and the cleaning agent flow rate. By determining a suitable cleaning plan based on the sample information of the previous test sample, compared to the prior art where all samples are cleaned using a single, fixed cleaning plan, this invention allows for customized cleaning based on the specific sample, improving cleaning efficiency while ensuring cleaning effectiveness.
[0073] During rinsing, the barcode information on the container 200 can be scanned to obtain the sample information of the sample to be tested (denoted as the second sample information). Then, a rinsing plan is determined based on the second sample information. The rinsing plan includes one or a combination of the single sample intake volume, the single air intake volume, the number of repeated intakes, and the rinsing duration. This method can improve rinsing efficiency while ensuring rinsing effectiveness.
[0074] Optionally, the barcode can be a one-dimensional barcode or a two-dimensional barcode.
[0075] Please refer to Figure 1 and Figure 2 In some embodiments, the spectral detection device 10 further includes a temperature sensor 600, which is used to detect the temperature of the sample to be tested in the test container 200.
[0076] Before using the spectroscopic detection device 10, when the temperature of the sample to be tested deviates significantly from the set temperature of the sample when the model was established, in order to reduce the interference of temperature fluctuations and thus improve the reliability of the spectroscopic detection results, it is generally necessary to heat the sample to be tested entering the flow cell. The temperature of the sample to be tested in the container 200 is detected by the temperature sensor 600, which can provide a reference for the heating temperature of the sample to be tested in the flow cell.
[0077] In some embodiments, before adjusting the temperature of the sample to be tested, the barcode on the surface of the container 200 holding the sample can be scanned by a barcode scanning module to obtain the material information of the sample. This information, combined with the temperature information detected by the temperature sensor 600, determines the heating temperature to be determined at the flow cell. Thus, for materials with significantly different specific heat capacities, such as oyster sauce, dark soy sauce, and vinegar, at the same initial temperature, obtaining the material information through barcodes and combining it with the temperature data detected by the temperature sensor 600 to determine the heating parameters at the flow cell is more reasonable.
[0078] Please refer to Figure 3 One embodiment also relates to a sampling pretreatment method for a spectral detection device, comprising the following steps:
[0079] S100: Controls the sampling tube to extend into the container holding the sample to be tested, and controls the sampling tube to draw the sample to be tested into the passage formed between the sampling tube and the spectral detection module.
[0080] Specifically, the sampling tube 310 can be driven to extend into the container 200 containing the sample to be tested by the lifting mechanism 320 in the aforementioned embodiment, and the sampling tube 310 can be controlled by the pumping device 400 to draw the sample to be tested into the passage formed between the sampling tube 310 and the spectral detection module.
[0081] S200: Drives the sampling tube out of the container and controls the sampling tube to draw air into the passage.
[0082] Specifically, after the sampling tube 310 has finished taking in the sample to be tested, the sampling tube 310 can be moved out of the receiving container 200 by the lifting mechanism 320, and the sampling tube 310 can be controlled by the pumping device 400 to draw air into the passage formed between the sampling tube 310 and the spectral detection module.
[0083] S300: Repeat the steps of sequentially driving the sampling tube into the container to draw up the sample to be tested and removing it from the container to draw up air, so that air and the sample to be tested are alternately distributed in the passage to rinse the passage.
[0084] Repeat steps S100 and S200 above to alternately place air and the sample to be tested in the passage to rinse the passage.
[0085] The number of times the sample and air are repeatedly aspirated can be set as needed, for example, based on parameters such as the length of the passage. Air is presented in the form of air segments within the passage, while the sample is presented in the form of sample segments, with the sample and air alternately arranged within the passage.
[0086] When using the above-mentioned pre-sampling treatment method, the sampling tube is inserted into the container holding the sample to be tested, and the sampling tube is drawn into the passage formed between the sampling tube and the spectral detection module. The sampling tube is then moved out of the container, and air is drawn into the passage. The steps of inserting the sampling tube into the container and drawing in the sample to be tested, and removing the sample tube from the container and drawing in air are repeated sequentially, so that air and the sample to be tested are alternately distributed in the passage to rinse the passage. At this time, the cleaning agent in the passage can be removed. When the sample to be tested is drawn again in a subsequent step, the risk of dilution of the sample to be tested by the cleaning agent can be reduced, thereby improving the accuracy of the detection of the sample to be tested and improving the accuracy of the detection results. In addition, by alternating the distribution of air and the sample to be tested in the passage for rinsing, the amount of sample to be tested can be reduced while effectively rinsing.
[0087] Please refer to Figure 4In some embodiments, before performing step S100 for the first time, the following steps are also included:
[0088] T100: Controls the sampling tube to extend into the cleaning tank containing cleaning agent, and controls the sampling tube to draw the cleaning agent into the passage formed between the sampling tube and the spectral detection module to clean the passage.
[0089] The purpose of cleaning the pathway before rinsing is to avoid any test sample residue remaining in the pathway from the previous test, which could affect subsequent tests.
[0090] Similarly, the sampling tube 310 can be driven into the cleaning tank 100 by the lifting mechanism 320, and the sampling device 400 controls the sampling tube 310 to draw cleaning agent into the passage formed between the sampling tube 310 and the spectral detection module. In addition, when the sampling tube 310 is inserted into the cleaning tank 100, the outer wall of the sampling tube 310 can also be cleaned.
[0091] For example, in some embodiments, the cleaning agent can be a gas-liquid mixture, wherein the gas-liquid mixture is formed by simultaneously filling the cleaning tank 100 with air and cleaning liquid, thereby forming a cleaning agent containing bubbles in the cleaning tank 100. In this case, the cleaning agent is a gas-liquid mixture. Cleaning with a gas-liquid mixture can improve the cleanliness of the outer wall and passage of the sampling tube 310.
[0092] Alternatively, in other embodiments, the cleaning agent may be a liquid cleaning agent, that is, a cleaning agent that is physically liquid. For example, the cleaning agent may be selected from one or a combination of primary water, secondary water and tertiary water, or a mixture of cleaning agent and water.
[0093] Please refer to Figure 4 In some embodiments, the following steps are included before step T100:
[0094] M100: Obtain the first sample information of the previous test sample.
[0095] M200: Determine a cleaning plan based on the information of the first sample and execute the cleaning plan; wherein the cleaning plan includes one or a combination of the type of cleaning agent, the air flow rate pumped into the cleaning tank, the cleaning time, and the cleaning agent flow rate.
[0096] The first sample information of the previous sample can be stored in the spectral detection device 10. When the cleaning mode is triggered, the first sample information can be retrieved. The cleaning plan is determined based on the first sample information and the cleaning plan is executed. This can achieve targeted cleaning of the passage and the outer wall of the sampling tube 310, ensuring the cleaning effect, and can also eliminate the step of finding a new cleaning plan, making the cleaning more convenient.
[0097] The first sample information is the information of the previous sample before the spectral detection equipment was cleaned. The first sample information may include one or more of the following: sample type (e.g., oyster sauce, light soy sauce, or soy sauce) and sample viscosity.
[0098] Please refer to Figure 5 In some embodiments, after step T100 and before step S100, the following steps are further included:
[0099] L100: Controls the sampling tube to extend into the verification device containing the test solution, and controls the sampling tube to draw up the test solution so that the test solution fills the passage.
[0100] The test solution is selected from one or a combination of Class I, Class II, and Class III water. The sampling tube 310 is rotated to the verification device by the rotating mechanism 330, and the sampling tube 310 is driven into the verification device by the lifting mechanism 320 to draw the test solution. The sampling device 400 controls the sampling tube 310 to draw the test solution into the passage.
[0101] L200: Obtain the characterization parameters corresponding to the test solution within the pathway; wherein, the characterization parameters include one or a combination of conductivity and spectral parameters.
[0102] Characterization parameters represent the inherent physical properties of the test solution. These parameters change when impurities are introduced. The method of obtaining these parameters varies depending on the specific parameter. For example, when the characteristic parameter is conductivity, it can be measured by inserting a conductivity probe into the pathway, or a conductivity probe can be pre-installed within the pathway for direct measurement during detection. When the characteristic parameter is a spectral parameter, the test solution can be delivered to a spectral detection module for analysis.
[0103] L300: Detects whether the characterization parameters meet the preset standards;
[0104] L400: When the characterization parameters are detected to meet the preset standards, the cleaning of the pathway is determined to be complete.
[0105] The following example, using conductivity and spectral parameters as characterization parameters, illustrates how to determine if the cleaning of the pathway is complete.
[0106] For example, in one embodiment, during verification, the conductivity of the test fluid is detected. When the conductivity of the test fluid meets a preset value, the passage is confirmed to be clean. The preset value is the conductivity measured in advance when there are no other residues, i.e., only the test fluid in the pipeline.
[0107] For example, in another embodiment, during verification, the spectrum of the test solution is acquired through a spectral detection module, and the corresponding spectral parameters of the test solution are calculated based on the spectrum. Then, the spectral parameters of the test solution are compared and analyzed with preset standard spectral parameters to obtain the analysis results. The results are then checked to see if they meet preset conditions to confirm whether the pathway is clean. The preset standard spectral parameters are the spectral parameters corresponding to the spectrum detected when there are no other residues affecting the flow, i.e., only the test solution is present in the tubing. During the comparative analysis, the similarity between the two can be calculated, specifically using projection correlation distance, Mahalanobis distance, etc. When the calculated distance is within a preset range, the pathway is confirmed to be clean. Of course, the similarity can also be determined in other ways, such as using a quantitative model to determine similarity from different dimensions (e.g., whether the salt concentration is similar).
[0108] For example, in another embodiment, during the verification, the conductivity of the test solution is detected. When the conductivity of the test solution meets the preset value, the spectrum of the test solution is obtained through the spectral detection module. The spectral parameters of the test solution are calculated based on the spectrum of the test solution. Then, the spectral parameters of the test solution are compared and analyzed with the preset standard spectral parameters to obtain the analysis results. When the analysis results meet the preset conditions, it is confirmed that the passage is clean. In this way, the double verification plays a role in preventing mistakes.
[0109] In some embodiments, prior to step S100, the following steps are also included:
[0110] Scan the barcode information on the container.
[0111] Obtain the second sample information of the sample to be tested by using barcode information;
[0112] The rinsing plan is determined based on the information of the second sample and is executed; wherein the rinsing plan includes one or a combination of the single aspiration volume of the sample to be tested, the single aspiration volume of air, the number of repeated aspirations, and the rinsing duration.
[0113] The second sample information may include one or more of the following: sample type (e.g., oyster sauce, light soy sauce, or soy sauce) and sample viscosity.
[0114] Specifically, the barcode affixed to the outer wall of the housing 200 can be scanned using a barcode scanning module. The barcode can be a one-dimensional barcode or a two-dimensional barcode.
[0115] Depending on the sample to be tested, the spectral detection device 10 will store different rinsing schemes. After obtaining the second sample information of the sample to be tested through the barcode information, the corresponding rinsing scheme can be retrieved. At this time, the efficiency of the rinsing process can be improved while ensuring the rinsing effect, and the repeated debugging of the rinsing scheme can be avoided.
[0116] Please refer to Figure 6 In some embodiments, after step S300, the method further includes:
[0117] S400: After rinsing for a preset time, the spectrum of the sample to be tested is obtained through the spectral detection module, and the spectral parameters of the sample to be tested are calculated based on the spectrum.
[0118] S500: Compare and analyze the spectral parameters of the sample to be tested with the preset spectral parameters to obtain the analysis results.
[0119] S600: Determine whether the rinsing of the pathway is complete based on the analysis results.
[0120] Specifically, to determine whether rinsing is complete, after a preset rinsing time, the spectrum of the sample to be tested can be acquired through a spectral detection module. The corresponding spectral parameters of the sample are then calculated based on this spectrum. The spectral parameters of the sample to be tested are then compared with the preset spectral parameters to obtain the analysis results. These results are used to confirm whether the pathway has been thoroughly rinsed. The preset spectral parameters are reference parameters, specifically the spectral parameters corresponding to the spectra of various types of samples (such as oyster sauce, soy sauce, vinegar, etc.) measured in advance and stored in the spectral detection device. There may be one or more preset spectral parameters. During comparative analysis, the similarity between the spectral parameters of the sample to be tested and each preset spectral parameter can be calculated. This can be characterized using projection correlation distance, Mahalanobis distance, etc. When the similarity between the analysis result and any preset spectral parameter is within a preset range, rinsing is considered complete. Alternatively, other methods can be used to determine the similarity, such as using a quantitative model to determine similarity from different dimensions (e.g., whether salt concentration is similar), thereby determining whether rinsing is complete.
[0121] After rinsing is completed, the spectral parameters in the measurement path are used to determine whether rinsing is complete, thereby improving the reliability of subsequent measurements of the sample to be tested.
[0122] Please refer to Figure 7 In some embodiments, step S400 includes:
[0123] S410: After a preset rinsing time, obtain the temperature of the sample to be tested.
[0124] Specifically, the temperature of the sample to be tested can be detected by the temperature sensor 600 in the aforementioned embodiment. The purpose of acquiring the temperature of the sample after a preset rinsing time is to ensure that the cleaning agent and other contaminants in the pathway are completely removed before implementing subsequent temperature adjustment steps, thus ensuring the reliability of subsequent spectral detection of the sample. The preset rinsing time can be set as needed, and will not be elaborated here.
[0125] S420: Adjust the temperature of the sample to be tested based on the obtained temperature so that the adjusted temperature meets the preset temperature range.
[0126] Spectroscopic detection equipment 10 In use forward When the initial temperature of the sample deviates significantly from the set temperature of the sample when the model was established, in order to reduce the interference of temperature fluctuations and thus improve the reliability of the spectral detection results, it is necessary to heat or cool the sample entering the flow cell. For example, the sample can be heated by a heating element or cooled by a cooling element when it enters the flow cell. The heating element can be a PTC (Positive Temperature Coefficient) heating element, and the cooling element can be a TEC (Thermo Electric Cooler) cooling element.
[0127] S430: Controls the sampling tube to deliver the temperature-adjusted sample to the spectral detection module, and obtains the spectral parameters of the sample through the spectral detection module.
[0128] By detecting the spectral parameters of the sample to be tested, it can be determined whether the internal rinsing of the pathway is clean, thereby ensuring the reliability of subsequent testing of the sample.
[0129] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0130] In one embodiment, a spectral detection device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0131] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the embodiments of the above-described pre-sampling methods.
[0132] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0133] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0134] The above embodiments merely illustrate several implementation methods of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A sample pre-treatment method, characterized by, Includes the following steps: Scan the barcode information on the container; The second sample information of the sample to be tested is obtained through the barcode information; A rinsing plan is determined based on the second sample information and the rinsing plan is executed; wherein, the rinsing plan includes one or a combination of the single aspiration volume of the sample to be tested, the single aspiration volume of air, the number of repeated aspirations, and the rinsing duration; The sampling tube is controlled to extend into the container holding the sample to be tested, and the sampling tube is controlled to draw the sample to be tested into the passage formed between the sampling tube and the spectral detection module; Drive the sampling tube out of the receiving member and control the sampling tube to draw air into the passage; The steps of repeatedly driving the sampling tube into the container to draw up the sample to be tested and removing it from the container to draw up air are repeated, so that the air and the sample to be tested are alternately arranged in the passage to rinse the passage; wherein the air is presented in the passage in the form of an air segment, and the sample to be tested is presented in the form of a sample segment. After rinsing for a preset time, the temperature of the sample to be tested is obtained; The temperature of the sample to be tested is adjusted according to the obtained temperature so that the adjusted temperature meets the preset temperature range; the temperature adjustment includes heating the sample to be tested by heating element or cooling the sample to be tested by cooling element. The sampling tube is controlled to deliver the temperature-adjusted sample to the spectral detection module, the spectral detection module acquires the spectrum of the sample, and the spectral parameters of the sample are calculated based on the spectrum. The spectral parameters of the sample to be tested are compared and analyzed with the preset spectral parameters to obtain the analysis results; Based on the analysis results, determine whether the rinsing of the pathway is complete.
2. The sample pre-treatment method according to claim 1, characterized in that, Before the first step of controlling the sampling tube to extend into the container holding the sample to be tested, and controlling the sampling tube to draw the sample to be tested into the path formed between the sampling tube and the spectral detection module, the method further includes: The sampling tube is controlled to extend into the cleaning tank containing cleaning agent, and the sampling tube is controlled to draw the cleaning agent into the passage formed between the sampling tube and the spectral detection module to clean the passage.
3. The sample preparation method of claim 2, wherein Before the steps of controlling the sampling tube to extend into the cleaning tank containing the cleaning agent and controlling the sampling tube to draw the cleaning agent into the passage formed between the sampling tube and the spectral detection module to clean the passage, the method further includes: Obtain the first sample information of the previous tested sample; A cleaning plan is determined based on the first sample information, and the cleaning plan is executed; wherein the cleaning plan includes one or a combination of the type of cleaning agent, the air flow rate pumped into the cleaning tank, the cleaning time, and the cleaning agent flow rate.
4. The sample preparation method of claim 2, wherein After the steps of controlling the sampling tube to extend into the cleaning tank containing cleaning agent, and controlling the sampling tube to draw the cleaning agent into the passage formed between the sampling tube and the spectral detection module to clean the passage, the method further includes: The sampling tube is controlled to extend into the verification device containing the test liquid, and the sampling tube is controlled to draw the test liquid so that the test liquid fills the passage; Obtain the characterization parameters corresponding to the test solution within the pathway; wherein, the characterization parameters include one or a combination of conductivity and spectral parameters; Detect whether the characterization parameters meet the preset standards; When the characterization parameters are detected to meet the preset standards, the cleaning of the pathway is determined to be complete.
5. The sample pre-treatment method according to claim 4, characterized in that, The test solution is selected from one or a combination of Grade I, Grade II, and Grade III water.
6. The sample preparation method according to any one of claims 2 to 5, characterized in that, The cleaning agent is a gas-liquid mixture.
7. The sample pretreatment method according to claim 1, wherein The heating element is a thermistor.
8. The sample pretreatment method according to claim 1, wherein The cooling element is a semiconductor refrigerator.
9. A spectroscopic detection device, characterized by The spectral detection device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the sampling preprocessing method as described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the sampling preprocessing method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Blood coagulation analysis device and method of cleaning dispensation nozzle
CN112798801A
Continuous near infrared detection flow cell with changeable optical path
CN201622236U
Infrared spectrum breast milk composition analyzer
CN205844175U
Reagent mixing apparatus
JP1999223596A
Analyzer and analysis method
JP2008216067A