Liquid level detection method and device, analyzer, storage medium and program product

The bubbles on the liquid surface are detected and position compensation is performed through the capacitance characteristic change information, which solves the problem of bubble interference in liquid level detection and ensures the accuracy and reliability of the sampling process.

CN120847429AActive Publication Date: 2025-10-28SHENZHEN LIFOTRONIC TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511034511.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-25
Publication Date
2025-10-28
Estimated Expiration
2045-07-25

AI Technical Summary

Technical Problem

In the existing liquid level detection method, bubble interference during the sampling process leads to inaccurate sampling, which affects the accuracy and reliability of the detection results.

Method used

By obtaining the capacitance characteristic change information of the probe from above the liquid surface to stably below the liquid surface, the first capacitance characteristic information of the probe touching the liquid surface and the second capacitance characteristic information of the probe stably below the liquid surface are determined. The theoretical liquid surface position information and the theoretical position information below the liquid surface are used to detect bubbles, and position compensation is performed to obtain the actual liquid surface position.

Benefits of technology

Without adding additional equipment, bubbles can be accurately detected and their interference can be eliminated, ensuring the accuracy and reliability of the sampling process and avoiding the waste of precious samples and interference with detection signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120847429A_ABST
    Figure CN120847429A_ABST
Patent Text Reader

Abstract

The invention relates to a liquid level detection method and device, an analyzer, a storage medium and a program product. The method comprises the following steps: acquiring multiple pieces of capacitance characteristic change information of a probe in a time period from a position above a liquid level to a position below the liquid level; from the multiple pieces of capacitance characteristic change information, first capacitance characteristic information representing that the probe makes contact with the liquid level and second capacitance characteristic information representing that the probe is stably located below the liquid level are determined; theoretical liquid level position information corresponding to the first capacitance characteristic information and theoretical liquid level lower position information corresponding to the second capacitance characteristic information are obtained; according to the theoretical liquid level position information and the theoretical liquid level lower position information, whether the probe makes contact with bubbles on the liquid level or not is detected; if the probe is in contact with the bubbles, position compensation is conducted on the theoretical liquid level position information, and actual liquid level position information of the liquid level is obtained. By adopting the method, the liquid level can be accurately detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of sampling and detection technology, and in particular to a liquid level detection method, apparatus, analyzer, storage medium, and program product. Background Art

[0002] During the sample aspiration process of the analyzer, unavoidable external factors such as shaking and vibration during transportation and placement can easily cause air bubbles to form on the liquid surface. These air bubbles can lead to serious sample aspiration inaccuracies in the precise detection system of the chemiluminescence immunoassay analyzer. This not only wastes valuable samples but also directly interferes with the strength and stability of the detection signal, severely affecting the accuracy and reliability of the sample aspiration detection results. Therefore, it is necessary to monitor the liquid surface to determine whether air bubbles have formed.

[0003] Currently, the method for determining whether bubbles have formed above the liquid surface is generally to add a pressure sensor to the sampling device and measure the pressure changes during the sampling process. The principle is that when liquid is drawn in, the pressure change in the pipeline conforms to the liquid flow characteristics. When bubbles are drawn in, the pressure will fluctuate abnormally. At the same time, the insufficient sample volume caused by bubbles will also be reflected in the sampling pressure. Therefore, based on the above characteristics, pressure sensors are commonly used to detect the accuracy of the sample volume and determine whether bubbles have formed on the liquid surface.

[0004] However, current methods for detecting liquid levels are not accurate enough. Summary of the Invention

[0005] Therefore, it is necessary to provide an accurate liquid level detection method, device, analyzer, computer-readable storage medium, and computer program product to address the aforementioned technical problems.

[0006] Firstly, this application provides a liquid level detection method, including:

[0007] Acquire information on the changes in multiple capacitance characteristics of the probe during the time period from above the liquid surface to when it is stably below the liquid surface;

[0008] From multiple capacitance feature changes, determine the first capacitance feature information that characterizes the probe contacting the liquid surface, and the second capacitance feature information that characterizes the probe being stably below the liquid surface;

[0009] Obtain the theoretical liquid surface position information corresponding to the first capacitance feature information, and the position information below the theoretical liquid surface corresponding to the second capacitance feature information;

[0010] Based on the theoretical liquid level position information and the position information below the theoretical liquid level, detect whether the probe comes into contact with the air bubble on the liquid surface;

[0011] If the probe comes into contact with the bubble, the theoretical liquid level position information is compensated to obtain the actual liquid level position information.

[0012] In one embodiment, the multiple capacitance feature change information includes capacitance change rate information corresponding to each of multiple time steps from when the probe moves from above the liquid surface to when it is stably below the liquid surface; from the multiple capacitance feature change information, determining first capacitance feature information characterizing the probe contacting the liquid surface, and second capacitance feature information characterizing the probe being stably below the liquid surface, includes:

[0013] From the capacitance change rate information corresponding to multiple time steps, the earliest first capacitance change rate information that is greater than the preset first capacitance change rate threshold is determined. The first capacitance change rate information represents the capacitance change rate information when the probe contacts the liquid surface.

[0014] From the capacitance change rate information corresponding to each of the multiple time steps, filter the capacitance change rate information of multiple target time steps after the time step corresponding to the first capacitance change rate information.

[0015] From the capacitance change rate information of multiple target time steps, the earliest second capacitance change rate information less than the preset second capacitance change rate threshold is determined. The second capacitance change rate information represents the capacitance change rate information when the probe is stably below the liquid surface.

[0016] In one embodiment, the multiple capacitance feature change information includes capacitance change rate information corresponding to each of multiple time steps from when the probe is above the liquid surface to when it is stably below the liquid surface; obtaining the multiple capacitance feature change information corresponding to the time period from when the probe is above the liquid surface to when it is stably below the liquid surface includes:

[0017] Acquire capacitance information for each of the multiple time steps from when the probe is above the liquid surface to when it is stably below the liquid surface;

[0018] Differential processing is performed on the capacitance information corresponding to each of the multiple time steps to obtain the capacitance change rate information corresponding to each of the multiple time steps.

[0019] In one embodiment, based on the theoretical liquid level position information and the position information below the theoretical liquid level, detecting whether the probe contacts the bubble at the liquid surface includes:

[0020] The interference coefficient of the probe is determined based on the theoretical liquid level position information and the position information below the theoretical liquid level.

[0021] When the interference coefficient is less than or equal to the preset interference coefficient threshold, the probe is detected not to be in contact with the bubble on the liquid surface.

[0022] When the interference coefficient is greater than the preset interference coefficient threshold, the probe is detected to be in contact with the bubble on the liquid surface.

[0023] In one embodiment, the interference coefficient of the probe is detected based on the theoretical liquid level position information and the position information below the theoretical liquid level, including:

[0024] The difference in probe position is determined based on the theoretical liquid level position information and the position information below the theoretical liquid level.

[0025] The interference coefficient of the probe is determined based on the motion position difference information and the preset motion standard position difference information.

[0026] In one embodiment, position compensation is performed on the theoretical liquid level position information to obtain the actual liquid level position information, including:

[0027] Based on the motion position difference information and the preset motion standard position difference information, determine the position compensation information of the theoretical liquid surface position information;

[0028] Based on the position compensation information, the theoretical liquid level position information is compensated to obtain the actual liquid level position information.

[0029] Secondly, this application also provides a liquid level detection device, comprising:

[0030] The feature acquisition module is used to acquire information on the changes in multiple capacitance features during the time period from when the probe is above the liquid surface to when it is stably below the liquid surface.

[0031] The feature comparison module is used to determine, from multiple capacitance feature change information, the first capacitance feature information that characterizes the probe contacting the liquid surface, and the second capacitance feature information that characterizes the probe being stably below the liquid surface;

[0032] The position detection module is used to obtain the theoretical liquid surface position information corresponding to the first capacitance feature information, and the position information below the theoretical liquid surface corresponding to the second capacitance feature information.

[0033] The bubble detection module is used to detect whether the probe comes into contact with a bubble on the liquid surface, based on the theoretical liquid surface position information and the position information below the theoretical liquid surface.

[0034] The position compensation module is used to compensate the theoretical liquid surface position information to obtain the actual liquid surface position information if the probe comes into contact with the bubble.

[0035] Thirdly, this application also provides an analyzer, which includes:

[0036] A probe is used to move from above the liquid surface to below the liquid surface to collect samples from the liquid.

[0037] The driving component is used to drive the probe movement;

[0038] The information acquisition and analysis component is used to acquire multiple capacitance feature changes during the time period from when the probe moves from above the liquid surface to when it is stably below the liquid surface; from the multiple capacitance feature changes, it determines the first capacitance feature information representing the probe contacting the liquid surface, and the second capacitance feature information representing the probe being stably below the liquid surface; it acquires the theoretical liquid surface position information corresponding to the first capacitance feature information, and the theoretical position information below the liquid surface corresponding to the second capacitance feature information; based on the theoretical liquid surface position information and the theoretical position information below the liquid surface, it detects whether the probe contacts an air bubble on the liquid surface; if the probe contacts an air bubble, it performs position compensation on the theoretical liquid surface position information to obtain the actual liquid surface position information;

[0039] The information acquisition and analysis component is also used to send the actual liquid level position information to the drive component. The drive component drives the probe to move to the corresponding liquid level position to collect the sample based on the actual liquid level position information.

[0040] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0041] Acquire information on the changes in multiple capacitance characteristics of the probe during the time period from above the liquid surface to when it is stably below the liquid surface;

[0042] From multiple capacitance feature changes, determine the first capacitance feature information that characterizes the probe contacting the liquid surface, and the second capacitance feature information that characterizes the probe being stably below the liquid surface;

[0043] Obtain the theoretical liquid surface position information corresponding to the first capacitance feature information, and the position information below the theoretical liquid surface corresponding to the second capacitance feature information;

[0044] Based on the theoretical liquid level position information and the position information below the theoretical liquid level, detect whether the probe comes into contact with the air bubble on the liquid surface;

[0045] If the probe comes into contact with the bubble, the theoretical liquid level position information is compensated to obtain the actual liquid level position information.

[0046] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:

[0047] Acquire information on the changes in multiple capacitance characteristics of the probe during the time period from above the liquid surface to when it is stably below the liquid surface;

[0048] From multiple capacitance feature changes, determine the first capacitance feature information that characterizes the probe contacting the liquid surface, and the second capacitance feature information that characterizes the probe being stably below the liquid surface;

[0049] Obtain the theoretical liquid surface position information corresponding to the first capacitance feature information, and the position information below the theoretical liquid surface corresponding to the second capacitance feature information;

[0050] Based on the theoretical liquid level position information and the position information below the theoretical liquid level, detect whether the probe comes into contact with the air bubble on the liquid surface;

[0051] If the probe comes into contact with the bubble, the theoretical liquid level position information is compensated to obtain the actual liquid level position information.

[0052] The aforementioned liquid level detection method, apparatus, analyzer, computer-readable storage medium, and computer program product analyze the capacitance characteristic changes of the probe during a single liquid aspiration by using multiple capacitance characteristic changes during the time period from above the liquid surface to when the probe is stably below the liquid surface. This analysis determines the first capacitance characteristic information representing the probe contacting the liquid surface and the second capacitance characteristic information representing the probe being stably below the liquid surface. Based on the theoretical liquid surface position information corresponding to the first capacitance characteristic information and the theoretical position information below the liquid surface corresponding to the second capacitance characteristic information, the method accurately detects whether the probe has contacted an air bubble on the liquid surface. After determining that the probe has contacted an air bubble, position compensation is performed on the theoretical liquid surface position information to obtain the actual liquid surface position information. In this process, compared to adding additional equipment that would affect the liquid level detection process, this application can accurately determine whether the probe has contacted an air bubble on the liquid surface through specific capacitance characteristic information recognition and algorithm logic processing without adding additional equipment. When the probe contacts an air bubble, position compensation is used to eliminate air bubble interference and accurately obtain the actual liquid surface position information, thereby achieving accurate liquid sampling. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0054] Figure 1 This is a diagram illustrating the application environment of the liquid level detection method in one embodiment;

[0055] Figure 2 This is a flowchart illustrating a liquid level detection method in one embodiment;

[0056] Figure 3 This is a flowchart illustrating the liquid level detection method in another embodiment;

[0057] Figure 4This is a flowchart illustrating a liquid level detection method during sample aspiration using a chemiluminescence immunoassay analyzer in a specific application embodiment.

[0058] Figure 5 This is a schematic diagram of normal and abnormal capacitance signal curves in a specific application embodiment.

[0059] Figure 6 This is a schematic diagram of the capacitance change rate curve in a specific application embodiment;

[0060] Figure 7 This is a structural block diagram of a liquid level detection device in one embodiment;

[0061] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0062] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application.

[0063] The liquid level detection method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the information acquisition and analysis component 102 is connected to the probe 104, and the drive component 106 is connected to the probe 104, used to drive the probe 104 to move. Additionally, there is a liquid placement component 108 containing liquid, which can be a test tube or a graduated cylinder, etc.

[0064] The driving component 106 extends the probe 104 from above the liquid surface inside the liquid placement component 108 until it is stably below the liquid surface. Simultaneously, the information acquisition and analysis component 102 is activated to acquire multiple capacitance feature changes during the time period from above the liquid surface to stably below the liquid surface. From these multiple capacitance feature changes, the first capacitance feature information representing the probe 104 contacting the liquid surface and the second capacitance feature information representing the probe 104 stably below the liquid surface are determined. The theoretical liquid surface position information corresponding to the first capacitance feature information and the theoretical position information below the liquid surface corresponding to the second capacitance feature information are detected. Based on the theoretical liquid surface position information and the theoretical position information below the liquid surface, it is detected whether the probe 104 contacts an air bubble on the liquid surface. If the probe 104 contacts an air bubble, position compensation is performed on the theoretical liquid surface position information to obtain the actual liquid surface position information.

[0065] Furthermore, the actual liquid level position information can also be directly sent to the controller of the drive component 106. Based on the actual liquid level position information, the controller of the drive component 106 controls the drive component 106 to use the probe 104 to sample the liquid inside the liquid placement component 108.

[0066] In an exemplary embodiment, Figure 2 As shown, a liquid level detection method is provided, which can be applied to... Figure 1 The information collection and analysis component 102 in the example will be used for illustration. Among them:

[0067] S100: Acquire information on multiple capacitance feature changes during the time period from when the probe is above the liquid surface to when it is stably below the liquid surface.

[0068] The probe refers to the sampling needle of the device, which mainly consists of an inner needle and an outer needle. The inner and outer needles form a capacitive sensor for detecting the liquid level. When the inner needle contacts the liquid surface, the capacitance characteristic between the inner and outer needles changes. This change in capacitance characteristic is used to determine whether the sampling needle has entered the liquid. It should be noted that a probe stably positioned below the liquid surface means that the entire capacitive sensor formed between the inner and outer needles is immersed below the liquid surface.

[0069] Capacitance characteristic change information refers to the signal or data generated when the inherent capacitance characteristics (such as capacitance value, capacitance variation with frequency / time) of a capacitor or system with capacitance characteristics (such as sensors, circuit elements, etc.) change under varying external conditions (such as physical quantities, chemical quantities, environmental parameters, etc.). In this application, capacitance characteristic change information refers to the information generated when the capacitance characteristics of a probe change under changing external environmental conditions.

[0070] Specifically, during the liquid sampling process using a probe, the operator or robotic arm inserts the probe from above the liquid surface inside the liquid placement assembly until it is stably positioned below the liquid surface. When the probe contacts the liquid surface during its downward movement, its capacitance changes drastically, causing a change in its impedance. This impedance change is further processed by the information acquisition and analysis component, resulting in a corresponding change in signal amplitude. If there are air bubbles on the liquid surface, the signal response of the probe through the air-bubble-liquid process differs significantly from the signal response through the air-liquid process. Based on this difference, bubble interference can be eliminated, and the actual liquid surface position can be accurately detected. Therefore, the information acquisition and analysis component can be activated to acquire multiple capacitance characteristic changes during the time it takes for the probe to move from above the liquid surface to a stable position below the liquid surface, in order to subsequently detect the actual liquid surface position.

[0071] In one embodiment, after acquiring the capacitance characteristic change information, it is necessary to preprocess the capacitance characteristic change information, such as filtering, to eliminate signal interference during the acquisition process.

[0072] S200: From multiple capacitance characteristic change information, determine the first capacitance characteristic information that characterizes the probe contacting the liquid surface, and the second capacitance characteristic information that characterizes the probe being stably below the liquid surface.

[0073] Specifically, the capacitance characteristic change information is the capacitance characteristic change information within a time period. Therefore, there is more than one capacitance characteristic change information. At this time, multiple capacitance characteristic change values ​​can be analyzed to determine the first capacitance characteristic information when the probe touches the liquid surface after it starts to penetrate, and the second capacitance characteristic information when the probe is stably below the liquid surface after touching the liquid surface. In practical applications, the probe being stably below the liquid surface means that the entire probe is immersed below the liquid surface.

[0074] S300, obtain the theoretical liquid surface position information corresponding to the first capacitor feature information, and the position information below the theoretical liquid surface corresponding to the second capacitor feature information.

[0075] Specifically, while acquiring multiple capacitance feature changes during the time it takes for the probe to move from above the liquid surface to a stable position below the liquid surface, the theoretical position information of the probe corresponding to each capacitance feature change can also be detected. At this point, a mapping relationship is obtained by associating the multiple capacitance feature changes with their corresponding theoretical probe positions. When subsequently determining the first capacitance feature indicating the probe's contact with the liquid surface and the second capacitance feature indicating the probe's stable position below the liquid surface from the multiple capacitance feature changes, the theoretical liquid surface position information corresponding to the first capacitance feature information and the theoretical position below the liquid surface position information corresponding to the second capacitance feature information can be queried based on this mapping relationship.

[0076] S400 detects whether the probe comes into contact with the air bubble on the liquid surface based on the theoretical liquid level position information and the position information below the theoretical liquid level.

[0077] Specifically, as mentioned above, if there are bubbles on the liquid surface, the signal response of the probe through the air-bubble-liquid process is significantly different from that through the air-liquid process. Furthermore, since the theoretical liquid surface position information is the first capacitance characteristic information representing the probe contacting the liquid surface, and the theoretical liquid surface below position information is the second characteristic information representing the probe being stably below the liquid surface, by analyzing the theoretical liquid surface position information and the theoretical liquid surface below position information, it can be determined whether the probe has contacted the bubble on the liquid surface based on the analysis results.

[0078] S500: If the probe comes into contact with a bubble, position compensation is performed on the theoretical liquid level position information to obtain the actual liquid level position information.

[0079] Specifically, when the probe does not contact the air bubble on the liquid surface, the theoretical liquid surface position information corresponding to the first capacitance feature information can be directly used as the actual liquid surface position information. When the probe contacts the air bubble on the liquid surface, the theoretical liquid surface position information corresponding to the first capacitance feature information is not the actual liquid surface position information. Position compensation is required to obtain the actual liquid surface position information. Only then can the air bubble interference be eliminated and the liquid sample accurately aspirated, thereby effectively improving the anti-interference ability of the sampling process.

[0080] In the aforementioned liquid level detection method, the capacitance characteristic change information of the probe during the time it takes to move from above the liquid surface to a stable position below the liquid surface can be analyzed to determine the first capacitance characteristic information representing the probe contacting the liquid surface and the second capacitance characteristic information representing the probe being stable below the liquid surface. Based on the theoretical liquid surface position information corresponding to the first capacitance characteristic information and the theoretical position below the liquid surface corresponding to the second capacitance characteristic information, it is possible to accurately detect whether the probe has contacted an air bubble on the liquid surface. After determining that the probe has contacted an air bubble, position compensation is performed on the theoretical liquid surface position information to obtain the actual liquid surface position information. In this process, compared to adding additional equipment that would affect the liquid level detection process, this application, without adding additional equipment, can accurately determine whether the probe has contacted an air bubble on the liquid surface through specific capacitance characteristic information recognition and algorithmic logic processing. When the probe contacts an air bubble, position compensation is used to eliminate air bubble interference and accurately obtain the actual liquid surface position information, thereby achieving accurate liquid sampling.

[0081] In an exemplary embodiment, Figure 3 As shown, multiple capacitance feature change information includes capacitance change rate information for each of the multiple time steps from when the probe moves from above the liquid surface to when it is stably below the liquid surface; S200 includes:

[0082] S220, from the capacitance change rate information corresponding to each of the multiple time steps, determine the earliest first capacitance change rate information that is greater than the preset first capacitance change rate threshold. The first capacitance change rate information represents the capacitance change rate information when the probe contacts the liquid surface.

[0083] S240: From the capacitance change rate information corresponding to each of the multiple time steps, filter the capacitance change rate information of multiple target time steps after the time step corresponding to the first capacitance change rate information.

[0084] S260, from the capacitance change rate information of multiple target time steps, determine the second capacitance change rate information that is earliest less than the preset second capacitance change rate threshold. The second capacitance change rate information represents the capacitance change rate information when the probe is stably below the liquid surface.

[0085] Among them, the capacitance change rate information refers to how quickly the capacitance of the probe changes over time and related characteristic information.

[0086] Specifically, the capacitance characteristic change information in this application is actually the capacitance change rate information. Therefore, multiple capacitance characteristic change information are the capacitance change rate information corresponding to each of the multiple time steps from above the liquid surface to when the probe is stably below the liquid surface. By establishing a relationship between the capacitance change rate information corresponding to each of the multiple time steps according to time, a capacitance change rate curve can be obtained.

[0087] Generally, the rate of capacitance change is relatively small before the probe touches the liquid surface. After the probe touches the surface, the rate of capacitance change increases rapidly, then decreases as the probe moves below the surface until it stabilizes below the surface, at which point the rate of capacitance change is relatively small. Therefore, the capacitance rate of change curve exhibits a pattern of initial stability followed by a rapid increase, a rapid decrease, and then stabilization.

[0088] At this point, based on the capacitance change rate curve and statistical experience from a large amount of historical experimental data, a preset first capacitance change rate threshold and a preset second capacitance change rate threshold are set.

[0089] From the capacitance change rate curve, the first capacitance change rate information that is greater than the preset first capacitance change rate threshold is selected, and the time step corresponding to the first capacitance change rate information is determined as the time step when the probe contacts the liquid surface.

[0090] From the capacitance change rate curve, determine the second capacitance change rate information that is first less than a preset second capacitance change rate threshold after the probe contacts the liquid surface, and determine the time step corresponding to the first capacitance change rate information as the time step in which the probe is stably below the liquid surface. More specifically, it is necessary to filter the capacitance change rate information of multiple target time steps after the time step corresponding to the first capacitance change rate information from the capacitance change rate curve to construct a target capacitance change rate curve; and from the capacitance change rate curve, determine the second capacitance change rate information that is earliest less than the preset second capacitance change rate threshold.

[0091] In the above embodiments, by determining the earliest first capacitance change rate information that is greater than a preset first capacitance change rate threshold from the capacitance change rate information corresponding to each of multiple time steps, the capacitance change rate information when the probe contacts the liquid surface can be accurately determined; by determining the earliest second capacitance change rate information that is less than a preset second capacitance change rate threshold from the capacitance change rate information of multiple target time steps after the time step corresponding to the first capacitance change rate information, the capacitance change rate information when the probe is stably below the liquid surface can be accurately determined.

[0092] In an exemplary embodiment, the multiple capacitance feature change information includes capacitance change rate information corresponding to each of multiple time steps from when the probe is above the liquid surface to when it is stably below the liquid surface; obtaining the multiple capacitance feature change information corresponding to the time period from when the probe is above the liquid surface to when it is stably below the liquid surface includes:

[0093] Acquire capacitance information for each of the multiple time steps as the probe moves from above the liquid surface to a stable position below the liquid surface; perform differential processing on the capacitance information for each of the multiple time steps to obtain capacitance change rate information for each of the multiple time steps.

[0094] Specifically, the capacitance change rate information characterizes how fast the capacitance information changes over time. Therefore, the capacitance information corresponding to each of the multiple time steps from above the liquid surface to when the probe is stably below the liquid surface can be obtained. Based on the capacitance information corresponding to each of the multiple time steps, the rate of change of the capacitance information corresponding to each of the multiple time steps over time can be detected, that is, the capacitance change rate information corresponding to each of the multiple time steps can be detected.

[0095] To detect the rate of change of capacitance at each of the multiple time steps, it is necessary to perform differential processing on the capacitance information at each of the multiple time steps in order to obtain the rate of change of capacitance at each of the multiple time steps.

[0096] In one embodiment, differential processing is performed on the capacitance information corresponding to each of multiple time steps to obtain capacitance change rate information corresponding to each of multiple time steps. This includes: performing differential processing on the capacitance information corresponding to each of multiple time steps to obtain initial capacitance change rate information corresponding to each of multiple time steps; and filtering the initial capacitance change rate information corresponding to each of multiple time steps to smooth the capacitance change rate curve formed by the initial capacitance change rate information corresponding to each of multiple time steps, so as to obtain more accurate capacitance change rate information corresponding to each of multiple time steps.

[0097] In one embodiment, the capacitance information corresponding to each of the multiple time steps can also be represented by the capacitance signal curve. After obtaining the capacitance signal curve, it is necessary to filter the capacitance signal curve to eliminate signal interference during the capacitance acquisition process.

[0098] In the above embodiments, by acquiring the capacitance information corresponding to each of the multiple time steps from above the liquid surface to when the probe is stably below the liquid surface, the rate of change of the capacitance information corresponding to each of the multiple time steps with time can be accurately detected, so as to obtain the capacitance change rate information corresponding to each of the multiple time steps.

[0099] In an exemplary embodiment, detecting whether the probe contacts the bubble at the liquid surface based on the theoretical liquid level position information and the position information below the theoretical liquid level includes:

[0100] Based on the theoretical liquid level position information and the position information below the theoretical liquid level, the interference coefficient of the probe is determined; when the interference coefficient is less than or equal to the preset interference coefficient threshold, it is detected that the probe does not contact the bubble above the liquid level; when the interference coefficient is greater than the preset interference coefficient threshold, it is detected that the probe contacts the bubble on the liquid level.

[0101] Specifically, an interference coefficient is defined to determine whether the liquid surface is affected by air bubbles. The interference coefficient can be obtained by analyzing both the theoretical liquid surface position information and the position information below the theoretical liquid surface. Furthermore, based on statistical analysis of a large amount of experimental data—that is, based on the actual liquid surface position information and the actual position information below the actual liquid surface from multiple experiments—a preset interference coefficient threshold is determined. For example, the preset interference coefficient threshold can be determined based on the average of the actual liquid surface position information and the average of the actual position information below the actual liquid surface from multiple experiments. In practical applications, abnormal liquid surface position information and abnormal actual liquid surface position information from multiple experiments can also be filtered before determining the preset interference coefficient threshold.

[0102] By comparing the interference coefficient with the preset interference coefficient threshold, when the interference coefficient is less than or equal to the preset interference coefficient threshold, it is considered that the probe has not contacted the bubble above the liquid surface. In this case, the theoretical liquid surface position information can be directly used as the actual liquid surface position information. When the interference coefficient is greater than the preset interference coefficient threshold, it is considered that the probe has contacted the bubble on the liquid surface. In this case, position compensation is required for the theoretical liquid surface position information to obtain the actual liquid surface position information.

[0103] In the above embodiments, based on the theoretical liquid level position information and the position information below the theoretical liquid level, the interference coefficient of the probe can be accurately determined, and the interference coefficient can be compared with the preset interference coefficient threshold to accurately determine whether the probe comes into contact with the bubble on the liquid surface.

[0104] In an exemplary embodiment, the interference coefficient of the probe is determined based on the theoretical liquid level position information and the position information below the theoretical liquid level, including:

[0105] Based on the theoretical liquid level position information and the position information below the theoretical liquid level, the motion position difference information of the probe is determined; based on the motion position difference information and the preset motion standard position difference information, the interference coefficient of the probe is determined.

[0106] The preset motion standard position difference information is the liquid surface position difference information between the liquid surface position information when the probe contacts the liquid surface and the liquid surface position information when the probe is stably below the liquid surface during the time period from above the liquid surface to when it is stably below the liquid surface, assuming no bubbles on the liquid surface.

[0107] Specifically, firstly, based on the theoretical liquid level position information and the position information below the theoretical liquid level, the difference between the probe's position from contacting the liquid surface to its stable position below the liquid surface is obtained, i.e., the probe's position difference information. Its expression can be as follows:

[0108] LD_diff = LD_P1 - LD_P2

[0109] Wherein, LD_diff is the probe's position difference information, LD_P1 is the probe's theoretical liquid surface position information, and LD_P2 is the probe's position below the theoretical liquid surface.

[0110] Meanwhile, a standard position difference information for probe motion is defined for comparison with the probe motion position difference information. Since the probe motion position difference information is related to the liquid composition, the standard position difference information for probe motion, LD_diff_Org, is set as a configurable parameter. In actual operation, LD_diff_Org can be set independently according to the liquid characteristics to be detected. The setting process is obtained by statistical analysis of the liquid surface detection data of the liquid to be detected.

[0111] Then, based on the relationship between the motion position difference information and the preset motion standard position difference information, the interference coefficient of the probe is determined. The relationship between the motion position difference information and the preset motion standard position difference information can be the difference between the motion position difference information and the preset motion standard position difference information, the ratio between the motion position difference information and the preset motion standard position difference information, etc., and is not limited here.

[0112] Taking the relationship between the motion position difference information and the preset motion standard position difference information as the ratio between the motion position difference information and the preset motion standard position difference information as an example, the expression for the probe's interference coefficient k is:

[0113] k = LD_diff / LD_diff_Org

[0114] Wherein, LD_diff is the probe's motion position difference information, and LD_diff_Org is the probe's preset motion standard position difference information.

[0115] In the above embodiments, based on the theoretical liquid level position information and the position information below the theoretical liquid level, the movement position difference information of the probe is detected. The movement position difference information of the probe can be compared with the preset standard movement position difference information to accurately determine whether the probe is interfered with by the bubble.

[0116] In an exemplary embodiment, position compensation is performed on the theoretical liquid level position information to obtain the actual liquid level position information, including:

[0117] Based on the motion position difference information and the preset motion standard position difference information, the position compensation information of the theoretical liquid surface position information is determined; based on the position compensation information, the theoretical liquid surface position information is compensated to obtain the actual liquid surface position information.

[0118] Specifically, when the probe encounters an air bubble on the liquid surface, the theoretical liquid level position cannot be directly used as the actual liquid level position. If the theoretical liquid level position is directly used as the actual liquid level position, the air bubble will interfere with the sampling process, leading to inaccurate sampling. This not only wastes valuable samples but also directly interferes with the intensity and stability of the detection signal, severely affecting the accuracy and reliability of the test results. This could potentially lead to misdiagnosis in clinical practice and delay the patient's treatment. Therefore, position compensation is necessary for the theoretical liquid level position information.

[0119] More specifically, based on the probe's capacitance characteristics, when the probe contacts the bubble at the liquid surface, the difference in the theoretical liquid surface position information is relatively small, but the difference in the position information below the theoretical liquid surface is relatively large. Therefore, based on this characteristic, the position compensation information of the theoretical liquid surface position information can be detected by comparing the motion position difference information with the preset motion standard position difference information. Furthermore, detecting the position compensation information of the theoretical liquid surface position information by comparing the motion position difference information with the preset motion standard position difference information is actually detecting the difference between the motion position difference information and the preset motion standard position difference information, and determining the difference between the motion position difference information and the preset motion standard position difference information as the position compensation information of the theoretical liquid surface position information.

[0120] The expression for the position compensation information of the theoretical liquid level position information is:

[0121] LD_diff_Add=LD_diff-LD_diff_Org

[0122] Among them, LD_diff_Add is the position compensation information of the theoretical liquid level position information, LD_diff is the probe's motion position difference information, and LD_diff_Org is the probe's preset motion standard position difference information.

[0123] The position compensation information can be considered as the position difference between the theoretical and actual liquid surface detection process caused by bubble interference. Therefore, the theoretical liquid surface position information can be compensated based on the position compensation information. In other words, the actual liquid surface position information can be determined based on the theoretical liquid surface position information and the position compensation information.

[0124] Specifically, determining the actual liquid level position based on the theoretical liquid level position information and the position compensation information means obtaining the actual liquid level position information based on the sum of the theoretical liquid level position information and the position compensation information.

[0125] The expression for the actual liquid level position information LD_P0 is:

[0126] LD_P0 = LD_P1 + LD_diff_Add

[0127] Among them, LD_diff_Add is the position compensation information of the theoretical liquid level position information, and LD_P1 is the theoretical liquid level position information of the probe.

[0128] Once the actual liquid surface position information LD_P0 is obtained, it can be sent to a device with a sampling function. This allows the device to control the probe's insertion position based on the actual liquid surface position information LD_P0, so that the probe can sample at the actual liquid surface position, avoiding the influence of bubble layer on the test results.

[0129] In the above embodiments, by comparing the motion position difference information with the preset motion standard position difference information, the position compensation information of the theoretical liquid surface position information can be accurately obtained. Then, based on the position compensation information, the theoretical liquid surface position information is accurately compensated to obtain the actual liquid surface position information.

[0130] like Figure 4 As shown, the following detailed application example describes the liquid level detection method during the sample aspiration process based on a chemiluminescence immunoassay analyzer. The chemiluminescence immunoassay analyzer is used to control the movement of the probe, specifically including:

[0131] 1. Raw signal acquisition:

[0132] The entire capacitance signal curve of the liquid level detection module is collected during the liquid aspiration process. The liquid aspiration process is defined by the control flow of the chemiluminescence immunoassay analyzer, specifically from the probe insertion to insertion. During this process, the analyzer completes one sample aspiration to obtain the capacitance signal curve S1 during the time the probe moves from above the liquid surface to a stable position below the liquid surface. Generally, a schematic diagram of a normal capacitance signal curve and an abnormal capacitance signal curve is shown below. Figure 5 As shown, the abnormal capacitance signal curve refers to the capacitance signal curve during the sampling process when the probe contacts the bubble on the liquid surface.

[0133] 2. Signal preprocessing and rate curve calculation:

[0134] The collected capacitance signal curve S1 is filtered to eliminate signal interference.

[0135] Then, the difference curve after filtering the capacitance curve S1 is calculated, and the resulting difference curve is filtered to obtain the capacitance change rate curve S2. The capacitance change rate curve S2 is as follows: Figure 6 As shown.

[0136] 3. Feature extraction and calculation:

[0137] Based on the capacitance change rate curve S2 and statistical experience from a large amount of experimental data, a preset first capacitance change rate threshold, which is the first trigger threshold LD_Th1 for liquid level detection, and a preset second capacitance change rate threshold, which is the second trigger threshold LD_Th2 for liquid level detection, are set, as follows: Figure 6 The characteristic curve of the velocity curve is shown in the diagram. The feature extraction process is as follows:

[0138] ① Calculate the theoretical liquid surface position information LD_P1 of the probe contacting the liquid surface:

[0139] During the process of the probe starting to probe the liquid surface, when the capacitance change rate value first exceeds the first trigger threshold LD_Th1 for liquid surface detection, it is determined that the probe has contacted the liquid surface position LD_P1.

[0140] ②Calculate the theoretical position information LD_P2 below the liquid surface when the probe is stably below the liquid surface:

[0141] Starting from the position where the probe contacts the liquid surface, when the rate of change of capacitance is first less than the second trigger threshold LD_Th2 for liquid surface detection, it is determined that the probe has stably moved to the position LD_P2 below the theoretical liquid surface.

[0142] ③ Calculate the probe movement position difference LD_diff:

[0143] The difference between the probe's initial contact position with the liquid surface and its stable entry position into the liquid surface is defined as the probe's motion position difference information LD_diff, and is calculated as follows:

[0144] LD_diff = LD_P1 - LD_P2

[0145] ④ Define the standard position difference information of the probe motion LD_diff_Org:

[0146] The motion standard position difference information LD_diff_Org can be set independently to detect the liquid properties as needed.

[0147] ⑤ Determine if the liquid surface is disturbed by air bubbles:

[0148] Define an interference coefficient k, which is used to determine whether the liquid surface is disturbed by air bubbles. Its value is the ratio of the standard position difference information of the probe's motion LD_diff to the standard position difference information of the probe's motion LD_diff_Org, as follows:

[0149] k = LD_diff / LD_diff_Org

[0150] When k > the interference coefficient threshold Th_k, it is determined that the liquid surface is disturbed by bubbles, and then step ⑥ compensation parameter calculation is performed. The interference coefficient threshold Th_k is obtained based on the statistical analysis of experimental data.

[0151] When k ≤ the interference coefficient threshold Th_k, it is determined to be a normal liquid surface, and step ⑥ is skipped to directly calculate the liquid surface position.

[0152] ⑥ Calculate the liquid level position compensation parameters:

[0153] When there are bubbles on the liquid surface, the difference in parameter LD_P1 is small when the probe contacts the liquid and the bubbles; however, the difference in parameter LD_P2 is huge. Figure 6 The characteristic of the velocity curve is shown in the diagram. Based on this characteristic, the position compensation information LD_diff_Add for the theoretical liquid level position is calculated as follows:

[0154] LD_diff_Add=LD_diff-LD_diff_Org

[0155] ⑦ Calculate the actual liquid level position information LD_P0:

[0156] Based on the position compensation information LD_diff_Add of the theoretical liquid level position information, the actual liquid level position information LD_P0 is calculated, and the LD_P0 value is returned to the analyzer software to control the probe's position. The specific calculation is as follows:

[0157]

[0158] After obtaining the actual liquid surface position information LD_P0, the analyzer will control the probe to aspirate the sample near the actual liquid surface position, thereby avoiding the influence of aspirating bubble layers on the test results.

[0159] Based on the above steps, this application, without adding additional sensors, effectively avoids the serious sample inaccuracy problem caused by air bubbles in the precise detection system of a chemiluminescence immunoassay analyzer by utilizing an existing liquid level detection module and specific feature recognition and algorithmic logic processing. This solution effectively avoids inaccurate clinical results from the instrument, controls costs without adding extra hardware, and effectively solves the problem of reduced analyzer efficiency caused by alarms in some traditional alarm schemes that prevent the liquid level detection process from continuing, while also avoiding the waste of valuable samples.

[0160] It should be understood that although the steps in the flowcharts of the above embodiments 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 above embodiments 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.

[0161] Based on the same inventive concept, this application also provides a liquid level detection device for implementing the liquid level detection method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the liquid level detection device provided below can be found in the limitations of the liquid level detection method described above, and will not be repeated here.

[0162] In an exemplary embodiment, Figure 7 As shown, a liquid level detection device is provided, comprising: a feature acquisition module 100, a feature comparison module 200, a position detection module 300, a bubble detection module 400, and a position compensation module 500, wherein:

[0163] The feature acquisition module 100 is used to acquire multiple capacitance feature changes during the time period from when the probe is above the liquid surface to when it is stably below the liquid surface.

[0164] The feature comparison module 200 is used to determine, from multiple capacitance feature change information, the first capacitance feature information characterizing the probe contacting the liquid surface, and the second capacitance feature information characterizing the probe being stably below the liquid surface;

[0165] The position detection module 300 is used to acquire the theoretical liquid surface position information corresponding to the first capacitance feature information, and the position information below the theoretical liquid surface corresponding to the second capacitance feature information.

[0166] The bubble detection module 400 is used to detect whether the probe comes into contact with a bubble on the liquid surface based on the theoretical liquid surface position information and the position information below the theoretical liquid surface.

[0167] The position compensation module 500 is used to compensate the theoretical liquid surface position information to obtain the actual liquid surface position information if the probe comes into contact with the bubble.

[0168] In one embodiment, the multiple capacitance feature change information includes capacitance change rate information corresponding to each of multiple time steps from when the probe moves from above the liquid surface to when it is stably below the liquid surface; the feature comparison module 200 is further configured to determine, from the capacitance change rate information corresponding to each of the multiple time steps, the earliest first capacitance change rate information that is greater than a preset first capacitance change rate threshold, wherein the first capacitance change rate information characterizes the capacitance change rate information when the probe contacts the liquid surface; from the capacitance change rate information corresponding to each of the multiple time steps, filter the capacitance change rate information of multiple target time steps after the time step corresponding to the first capacitance change rate information; from the capacitance change rate information of the multiple target time steps, determine the earliest second capacitance change rate information that is less than a preset second capacitance change rate threshold, wherein the second capacitance change rate information characterizes the capacitance change rate information when the probe is stably below the liquid surface.

[0169] In one embodiment, the multiple capacitance feature change information includes capacitance change rate information corresponding to each of the multiple time steps from above the liquid surface to when the probe is stably below the liquid surface; the feature comparison module 200 is also used to obtain the capacitance information corresponding to each of the multiple time steps from above the liquid surface to when the probe is stably below the liquid surface; and to perform differential processing on the capacitance information corresponding to each of the multiple time steps to obtain the capacitance change rate information corresponding to each of the multiple time steps.

[0170] In one embodiment, the bubble detection module 400 is further configured to determine the interference coefficient of the probe based on the theoretical liquid level position information and the position information below the theoretical liquid level; when the interference coefficient is less than or equal to a preset interference coefficient threshold, it is detected that the probe has not contacted the bubble on the liquid surface; when the interference coefficient is greater than the preset interference coefficient threshold, it is detected that the probe has contacted the bubble on the liquid surface.

[0171] In one embodiment, the bubble detection module 400 is further configured to determine the probe's motion position difference information based on the theoretical liquid level position information and the position information below the theoretical liquid level; and to determine the probe's interference coefficient based on the motion position difference information and the preset motion standard position difference information.

[0172] In one embodiment, the position compensation module 500 is further configured to determine position compensation information for the theoretical liquid surface position information based on the motion position difference information and the preset motion standard position difference information; and to perform position compensation on the theoretical liquid surface position information based on the position compensation information to obtain the actual liquid surface position information.

[0173] Each module in the aforementioned liquid level detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0174] In one exemplary embodiment, this application also provides an analyzer, the analyzer comprising:

[0175] A probe is used to move from above the liquid surface to below the liquid surface to collect samples from the liquid.

[0176] The driving component is used to drive the probe movement;

[0177] The information acquisition and analysis component is used to acquire multiple capacitance feature changes during the time it takes for the probe to move from above the liquid surface to a stable position below the liquid surface. From these multiple capacitance feature changes, it determines the first capacitance feature indicating that the probe is in contact with the liquid surface, and the second capacitance feature indicating that the probe is stable below the liquid surface. It acquires the theoretical liquid surface position information corresponding to the first capacitance feature information, and the theoretical position information below the liquid surface corresponding to the second capacitance feature information. Based on the theoretical liquid surface position information and the theoretical position information below the liquid surface, it detects whether the probe is in contact with an air bubble on the liquid surface. If the probe is in contact with an air bubble, it performs position compensation on the theoretical liquid surface position information to obtain the actual liquid surface position information.

[0178] The information acquisition and analysis component is also used to send the actual liquid level position information to the drive component. The drive component drives the probe to move to the corresponding liquid level position to collect the sample based on the actual liquid level position information.

[0179] Specifically, the analyzer includes a probe, an information acquisition and analysis component, and a driving component. The probe is used to move from above the liquid surface to below the liquid surface to collect a sample. The driving component drives the probe's movement; for example, it can drive the probe to move from above the liquid surface to below the liquid surface to collect a sample. Additionally, the driving component can also drive the probe upwards, i.e., remove the probe from the liquid, ending the sampling process. The probe includes an inner needle and an outer needle, forming a capacitive sensor between them. During the probe's movement from above the liquid surface to below the liquid surface, the capacitive sensor also moves from above the liquid surface to below the liquid surface. At this time, the capacitive sensor can detect multiple changes in capacitance characteristics during the time it takes for the probe to move from above the liquid surface to a stable position below the liquid surface. In practical applications, the probe being stably below the liquid surface means that the entire capacitive sensor is immersed below the liquid surface.

[0180] Furthermore, the analyzer is equipped with an information acquisition and analysis component. This component can acquire multiple capacitance feature changes detected by the capacitive sensor. From these multiple capacitance feature changes, it determines the first capacitance feature information indicating that the probe is in contact with the liquid surface, and the second capacitance feature information indicating that the probe is stably below the liquid surface. It obtains the theoretical liquid surface position information corresponding to the first capacitance feature information, and the position information below the theoretical liquid surface corresponding to the second capacitance feature information. Based on the theoretical liquid surface position information and the position information below the theoretical liquid surface, it detects whether the probe is in contact with an air bubble on the liquid surface. If the probe is in contact with an air bubble, it performs position compensation on the theoretical liquid surface position information to obtain the actual liquid surface position information. The specific steps have been described in the above embodiments and will not be repeated here.

[0181] Furthermore, the information acquisition and analysis component sends the actual liquid surface position information to the drive component. Since the drive component is used to control the probe to aspirate the liquid, even if there are air bubbles on the liquid surface, the drive component can drive the probe to the corresponding liquid surface position to aspirate the liquid based on the actual liquid surface position information. This ensures that the probe will not come into contact with air bubbles when aspirating the liquid, thereby making the aspiration process accurate and improving the accuracy and reliability of the analyzer's detection results.

[0182] Furthermore, the analyzer in this application is not unique, and includes, but is not limited to, chemiluminescence immunoassay analyzers, biochemical analyzers, electrochemiluminescence analyzers, glycated hemoglobin analyzers, and blood analyzers. For different analyzers, the same driving components, probes, and information acquisition and analysis components can be set to determine whether the probe has come into contact with air bubbles on the liquid surface. When it is detected that the probe has come into contact with air bubbles, the information acquisition and analysis components perform position compensation on the theoretical liquid surface position information to obtain the actual liquid surface position information. The driving components then re-drive the probe to perform sample aspiration at the corresponding liquid surface position based on the actual liquid surface position information.

[0183] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a liquid level detection method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0184] Those skilled in the art will understand that Figure 8 The structure shown is a block diagram of a partial structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0185] In one embodiment, a computer 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.

[0186] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0187] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0188] 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. When executed, the computer program 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 memory 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, artificial intelligence (AI) processors, etc., and are not limited to these.

[0189] 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 application.

[0190] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for detecting liquid level, characterized in that, The method includes: Acquire information on the changes in multiple capacitance characteristics of the probe during the time period from above the liquid surface to when it is stably below the liquid surface; From the multiple capacitance feature change information, determine the first capacitance feature information that characterizes the probe contacting the liquid surface, and the second capacitance feature information that characterizes the probe being stably below the liquid surface; Obtain the theoretical liquid surface position information corresponding to the first capacitance feature information, and the position information below the theoretical liquid surface corresponding to the second capacitance feature information; Based on the theoretical liquid level position information and the position information below the theoretical liquid level, detect whether the probe comes into contact with the air bubble on the liquid surface; If the probe comes into contact with the bubble, position compensation is performed on the theoretical liquid level position information to obtain the actual liquid level position information.

2. The method according to claim 1, characterized in that, The plurality of capacitance feature change information includes capacitance change rate information for each of the multiple time steps from when the probe is above the liquid surface to when it is stably below the liquid surface; determining, from the plurality of capacitance feature change information, the first capacitance feature information characterizing the probe contacting the liquid surface, and the second capacitance feature information characterizing the probe being stably below the liquid surface, includes: From the capacitance change rate information corresponding to each of the multiple time steps, the earliest first capacitance change rate information that is greater than the preset first capacitance change rate threshold is determined. The first capacitance change rate information represents the capacitance change rate information when the probe contacts the liquid surface. From the capacitance change rate information corresponding to each of the multiple time steps, filter the capacitance change rate information of multiple target time steps after the time step corresponding to the first capacitance change rate information. From the capacitance change rate information of the multiple target time steps, the earliest second capacitance change rate information less than the preset second capacitance change rate threshold is determined. The second capacitance change rate information represents the capacitance change rate information when the probe is stably below the liquid surface.

3. The method according to claim 1, characterized in that, The multiple capacitance feature change information includes capacitance change rate information for each of the multiple time steps from when the probe is above the liquid surface to when it is stably below the liquid surface. The acquisition of multiple capacitance feature changes during the time period from when the probe is above the liquid surface to when it is stably below the liquid surface includes: Acquire capacitance information for each of the multiple time steps from when the probe is above the liquid surface to when it is stably below the liquid surface; Differential processing is performed on the capacitance information corresponding to each of the multiple time steps to obtain the capacitance change rate information corresponding to each of the multiple time steps.

4. The method according to claim 1, characterized in that, The step of detecting whether the probe contacts the air bubble on the liquid surface based on the theoretical liquid level position information and the position information below the theoretical liquid level includes: The interference coefficient of the probe is determined based on the theoretical liquid level position information and the position information below the theoretical liquid level. When the interference coefficient is less than or equal to a preset interference coefficient threshold, it is detected that the probe does not contact the air bubble on the liquid surface; When the interference coefficient is greater than the preset interference coefficient threshold, the probe is detected to be in contact with a bubble on the liquid surface.

5. The method according to claim 4, characterized in that, The step of determining the interference coefficient of the probe based on the theoretical liquid level position information and the position information below the theoretical liquid level includes: The movement position difference information of the probe is determined based on the theoretical liquid level position information and the position information below the theoretical liquid level. The interference coefficient of the probe is determined based on the motion position difference information and the preset motion standard position difference information.

6. The method according to claim 5, characterized in that, The step of performing position compensation on the theoretical liquid level position information to obtain the actual liquid level position information includes: Based on the motion position difference information and the preset motion standard position difference information, determine the position compensation information of the theoretical liquid surface position information; Based on the position compensation information, position compensation is performed on the theoretical liquid level position information to obtain the actual liquid level position information.

7. A liquid level detection device, characterized in that, The device includes: The feature acquisition module is used to acquire information on the changes in multiple capacitance features during the time period from when the probe is above the liquid surface to when it is stably below the liquid surface. The feature comparison module is used to determine, from the plurality of capacitance feature change information, a first capacitance feature information characterizing the probe contacting the liquid surface, and a second capacitance feature information characterizing the probe being stably below the liquid surface; The position detection module is used to obtain the theoretical liquid surface position information corresponding to the first capacitor feature information, and the position information below the theoretical liquid surface corresponding to the second capacitor feature information. The bubble detection module is used to detect whether the probe comes into contact with a bubble on the liquid surface based on the theoretical liquid surface position information and the position information below the theoretical liquid surface. The position compensation module is used to compensate the theoretical liquid surface position information to obtain the actual liquid surface position information if the probe comes into contact with the bubble.

8. An analyzer, characterized in that, The analyzer includes: A probe is used to move from above the liquid surface to below the liquid surface to collect samples from the liquid. A driving component for driving the probe to move; An information acquisition and analysis component is used to acquire multiple capacitance feature changes during the time period from when the probe moves from above the liquid surface to when it is stably below the liquid surface; from the multiple capacitance feature changes, it determines a first capacitance feature indicating that the probe is in contact with the liquid surface, and a second capacitance feature indicating that the probe is stably below the liquid surface; it acquires the theoretical liquid surface position information corresponding to the first capacitance feature information, and the theoretical position information below the liquid surface corresponding to the second capacitance feature information; based on the theoretical liquid surface position information and the theoretical position information below the liquid surface, it detects whether the probe is in contact with an air bubble on the liquid surface; if the probe is in contact with an air bubble, it performs position compensation on the theoretical liquid surface position information to obtain the actual liquid surface position information. The information acquisition and analysis component is also used to send the actual liquid surface position information to the driving component, and the driving component drives the probe to move to the corresponding liquid surface position to perform sampling according to the actual liquid surface position information.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • System and method for detecting water shortage of atomizer and atomizer

    CN110243433A

  • Multi-channel capacitance detection method and system, storage medium and equipment

    CN112798076A

  • Liquid level detection method and device based on capacitance detection

    CN113324619A

  • Bubble detection method based on capacitance liquid level detection sensor

    CN115931986A

  • Liquid level detection method with multiple sampling needles

    CN119880093A