A method, system and related apparatus for measuring liquid level and liquid film thickness

By measuring liquid level and film thickness using laser multi-angle incident light, the problem of inaccurate liquid absorption caused by misjudgment of liquid film is solved, realizing rapid and accurate measurement of liquid level and film thickness, which is suitable for various transparent reagent bottles.

CN122042010BActive Publication Date: 2026-06-26SICHUAN LAI BOYI AUTOMATION TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SICHUAN LAI BOYI AUTOMATION TECH CO LTD
Filing Date
2026-04-20
Publication Date
2026-06-26

Smart Images

  • Figure CN122042010B_ABST
    Figure CN122042010B_ABST
Patent Text Reader

Abstract

The application relates to the field of optical measurement, and discloses a method, a system and related equipment for measuring liquid surface height and liquid film thickness. The method comprises the following steps: after a laser emitter emits at least two laser beams with different incident angles to a liquid surface in a reagent bottle, the incident angle of each laser beam is acquired; based on the incident angle, the internal refraction angle of each laser beam after being irradiated to a liquid film is determined; the lateral offset of each laser beam is acquired; wherein the lateral offset is the offset between the laser emission position and the position of a preset observation point after the laser is refracted by the liquid in the reagent bottle; and based on the lateral offset and the internal refraction angle, the liquid surface height and the liquid film thickness are calculated. Through multi-angle laser incidence and refraction changes among air, liquid film and liquid, the liquid surface height and the liquid film thickness are calculated, and the technical effects of rapidness, accuracy, non-contact and real-time measurement are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical measurement, and in particular to a method, system, and related equipment for measuring liquid level and liquid film thickness. Background Technology

[0002] In automated operation scenarios such as chemical analysis, automated solution preparation, and biomedical testing, accurately measuring the liquid level in reagent bottles is a key step to ensure the accuracy of subsequent sample addition, pipetting, and quantitative reactions.

[0003] Current common liquid level detection methods include capacitive, ultrasonic, and mechanical probe detection, but these technologies all have significant limitations in the presence of a liquid film:

[0004] Capacitive liquid level measurement: The capacitance signal is greatly affected by the dielectric constant of the bottle material, the type of liquid and the ambient humidity. When there is a liquid film on the liquid surface, the capacitance probe usually misjudges the position of the liquid film as the actual liquid level, resulting in premature liquid level determination.

[0005] Ultrasonic liquid level measurement: Ultrasonic waves are easily scattered and reflected multiple times in small reagent bottles and narrow-mouthed containers, and the liquid film will form an irregular interface, causing the ultrasonic echo to appear prematurely, thus producing a false liquid level position.

[0006] Mechanical probe measurement: Mechanical contact not only poses a risk of cross-contamination, but also triggers a signal when the probe comes into contact with the liquid film, making it impossible to distinguish between the liquid film and the actual liquid bulk.

[0007] In summary, in practical use, a liquid film often forms on the surface of the liquid in the reagent bottle, such as a raised meniscus caused by surface tension, a thin film, or an uneven local liquid film structure. All of the above technologies misjudge the liquid film as the actual liquid interface, resulting in inaccurate depth of the automated pipetting device when aspirating liquid, leading to problems such as insufficient liquid aspiration, failure to aspirate liquid, or introduction of air. Summary of the Invention

[0008] To overcome the problem of misjudging the liquid film as the actual liquid interface, which leads to inaccurate depth of automated liquid pipetting devices during liquid aspiration, resulting in insufficient liquid aspiration, failure to aspirate liquid, or introduction of air, this invention provides a method, system, and related equipment for measuring liquid level height and liquid film thickness.

[0009] In a first aspect, to solve the above-mentioned technical problems, the present invention provides a method for measuring liquid level height and liquid film thickness, comprising:

[0010] After the laser emitter emits at least two laser beams with different incident angles toward the liquid surface in the reagent bottle, the incident angle of each laser beam is obtained.

[0011] Based on the incident angle, determine the internal refraction angle of each laser beam after it irradiates the liquid film;

[0012] Obtain the lateral offset of each laser beam; where the lateral offset is the offset between the laser emission position and the position of the laser beam after refraction by the liquid in the reagent bottle at the preset observation point;

[0013] Calculate the liquid level height and liquid film thickness based on each lateral offset and internal refraction angle;

[0014] The preset observation point is the location of the laser receiver, the laser emitter is located above the reagent bottle, and the reagent bottle is placed on the laser receiver.

[0015] In a second aspect, the present invention provides a system for measuring liquid level height and liquid film thickness, comprising:

[0016] The incident angle acquisition module is used to acquire the incident angle of each laser beam after the laser emitter emits at least two laser beams with different incident angles to the liquid surface in the reagent bottle.

[0017] The internal refraction angle acquisition module is used to determine the internal refraction angle of each laser beam after it irradiates the liquid film based on the incident angle.

[0018] The lateral offset acquisition module is used to acquire the lateral offset of each laser beam; wherein, the lateral offset is the offset between the laser emission position and the position of the laser after refraction by the liquid in the reagent bottle at the preset observation point;

[0019] The calculation module is used to calculate the liquid level height and liquid film thickness based on each lateral offset and internal refraction angle.

[0020] The preset observation point is the location of the laser receiver, the laser emitter is located above the reagent bottle, and the reagent bottle is placed on the laser receiver.

[0021] Thirdly, the present invention also provides a system for measuring liquid level height and liquid film thickness, applied to a method for measuring liquid level height and liquid film thickness as described above, comprising: a laser emitter, a laser receiver, a laser detection module and a controller, wherein the controller is connected to the laser emitter, the laser receiver and the laser detection module respectively;

[0022] The laser emitter is located above the reagent bottle, the reagent bottle is placed on the laser receiver, and the laser detection module is placed below the reagent bottle.

[0023] A laser emitter used to emit at least two laser beams with different incident angles toward the liquid surface inside a reagent bottle;

[0024] A laser receiver, used to receive laser light passing through the reagent bottle;

[0025] The laser detection module is used to measure the lateral offset corresponding to the laser.

[0026] The controller is used to perform a method for measuring liquid level and liquid film thickness as described above.

[0027] Fourthly, the present invention provides a computing device, including a memory, a processor, and a program stored in the memory and running on the processor, wherein the processor executes the program to implement the steps of the method for measuring liquid level height and liquid film thickness as described above.

[0028] Fifthly, the present invention provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to perform the steps of the method for measuring liquid level height and liquid film thickness as described above.

[0029] The beneficial effects of this invention are: obtaining the internal refraction angle and lateral offset of each laser beam after irradiating the liquid film, and then calculating the liquid level height and liquid film thickness based on each lateral offset and internal refraction angle. This application achieves the calculation of liquid level height and liquid film thickness by using laser incident at multiple angles and the refractive changes between air, liquid film, and liquid, achieving the technical effects of fast, accurate, non-contact, and real-time measurement. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0031] Figure 1 This is a flowchart illustrating a method for measuring liquid level and liquid film thickness according to an embodiment of the present invention.

[0032] Figure 2 This is a schematic diagram illustrating the refraction of laser light through three media: air, liquid film, and liquid, according to an embodiment of the present invention.

[0033] Figure 3 This is another refraction diagram of laser light passing through three media: air, liquid film, and liquid, according to an embodiment of the present invention;

[0034] Figure 4 This is a schematic diagram of a system for measuring liquid level and liquid film thickness according to an embodiment of the present invention;

[0035] Figure 5 This is a schematic diagram of the structure of a computing device according to an embodiment of the present disclosure. Detailed Implementation

[0036] The following embodiments are further explanations and supplements to the present invention and do not constitute any limitation on the present invention.

[0037] The following describes, with reference to the accompanying drawings, a method, system, and related equipment for measuring liquid level height and liquid film thickness according to an embodiment of the present invention.

[0038] like Figure 1 As shown, this embodiment of the invention provides a method for measuring liquid level height and liquid film thickness, including:

[0039] S1. After the laser emitter emits at least two laser beams with different incident angles toward the liquid surface in the reagent bottle, the incident angle of each laser beam is obtained.

[0040] S2. Based on the incident angle, determine the internal refraction angle of each laser beam after it irradiates the liquid film.

[0041] S3. Obtain the lateral offset of each laser beam; where the lateral offset is the offset between the laser emission position and the position of the preset observation point after the laser is refracted by the liquid in the reagent bottle.

[0042] S4. Calculate the liquid level height and liquid film thickness based on each lateral offset and internal refraction angle.

[0043] In this embodiment, the internal refraction angle and lateral offset of each laser beam after irradiating the liquid film are obtained. Based on each lateral offset and internal refraction angle, the liquid level height and liquid film thickness are calculated. This application achieves the calculation of liquid level height and liquid film thickness by using laser incident at multiple angles and the refractive changes between air, liquid film, and liquid, achieving the technical effect of fast, accurate, non-contact, and real-time measurement.

[0044] In this embodiment, the optical path is as follows: Figure 2 As shown, the light source (laser emitter) is directed at the liquid surface inside the reagent bottle at an incident angle. When a laser is emitted, it first undergoes refraction through a liquid film, forming an internal refraction angle corresponding to the liquid film. The laser then passes through the liquid film and the air between the liquids before entering the liquid, forming an internal refraction angle corresponding to the liquid. Finally, the laser light passes through the bottom of the reagent bottle and is received by the laser receiver.

[0045] Optionally, based on the incident angle, the internal refraction angle of each laser beam after irradiating the liquid film is determined, including:

[0046] Obtain the refractive index of air and the refractive index of the liquid film;

[0047] Calculate the internal refraction angle based on the refractive index of air, the refractive index of the liquid film, and the incident angle.

[0048] In this embodiment, the liquid level and liquid film thickness are measured by optical path. It can detect extremely thin liquid films (tens of micrometers to hundreds of micrometers) and is not affected by bottle material. It does not come into contact with the liquid, avoids contamination, and is suitable for various transparent reagent bottles, glass bottles, and plastic bottles.

[0049] Alternatively, based on the refractive index of air, the refractive index of the liquid film, and the angle of incidence, the formula for calculating the internal angle of refraction is:

[0050] ;

[0051] in, Indicates the first The internal refraction angle corresponding to the laser beam, Indicates the refractive index of air. Represents the refractive index of the liquid film. Indicates the first The incident angle corresponding to the laser beam.

[0052] Optionally, based on each lateral offset and internal refraction angle, the liquid level height and liquid film thickness are calculated, including:

[0053] Based on each lateral offset and internal refraction angle, the solution equations between the lateral offset, liquid level height and liquid film thickness corresponding to each laser beam are established.

[0054] Solve the equations simultaneously to determine the liquid level and the thickness of the liquid film.

[0055] In this embodiment, the equations for solving the lateral offset, liquid level height, and liquid film thickness corresponding to each laser beam are established. This can eliminate the interference of bottle material and is applicable to various transparent reagent bottles, glass bottles, plastic bottles, etc. The solution obtained can reach sub-millimeter level accuracy.

[0056] Alternatively, the formula for solving the equation is as follows:

[0057] ;

[0058] in, For the first Lateral offset corresponding to the laser beam Indicates the first The incident angle corresponding to the laser beam. Indicates the first The internal refraction angle corresponding to the laser beam, Indicates the liquid level height. Indicates the thickness of the liquid film. This indicates a known term, and the value of the known term is determined by the angle of incidence.

[0059] The derivation process for solving the equation in this embodiment is as follows:

[0060] like Figure 3 As shown, first define the parameters. This indicates the height of the laser emitter (light source) from the bottom of the reagent bottle (this height can be measured in advance using a measuring tool such as a height measuring instrument or a laser rangefinder). Indicates the thickness of the liquid film. Indicates the height of the air between the liquid film and the liquid. Indicates the liquid level height. Indicates the incident angle of the laser. This represents the internal refraction angle corresponding to the laser beam entering the liquid film. This represents the internal refraction angle of the laser beam after it enters the liquid. This indicates the lateral offset, including (Air section) (Liquid film segment) (Air section) (Liquid segment) There are four offset segments in total.

[0061] According to such Figure 3 The optical path shown can be solved to obtain four offset segments, and the solution process is as follows:

[0062] ;

[0063] It should be noted that, because the laser receiver is covered with glass, there is still a distance between the laser beam reaching the glass and the receiving point. Therefore, this distance can be added to In the middle, we obtained ,make for ,get .

[0064] Adding the four displacements together, we get:

[0065] ;

[0066] Substituting the formulas for calculating the four offsets, we get:

[0067] ;

[0068] Organizing and including From the two items, we get:

[0069] ;

[0070] Finally, we obtain the simplified form:

[0071] ;

[0072] Expand the total displacement equation and then... and The terms are explicitly separated to obtain:

[0073] ;

[0074] Expanding the above formula, we get:

[0075] ;

[0076] Define known terms (the first) (beam laser) is: The known value indicates that this value is known each time the incident light is determined, and this known value changes with the incident angle.

[0077] Then the first The formula for solving the equation corresponding to a laser beam is:

[0078] .

[0079] make

[0080]

[0081] Optionally, the various equations can be solved simultaneously to determine the liquid level and liquid film thickness, including:

[0082] If there are two laser beams, the equations to be solved simultaneously will determine the liquid level and the thickness of the liquid film.

[0083] If there are more than two laser beams, the least squares method is used to determine the liquid level and the thickness of the liquid film.

[0084] In this embodiment, if there are two laser beams, the solution equations corresponding to the two laser beams can be obtained as follows:

[0085]

[0086]

[0087] Solve the two equations simultaneously, let The linear system is obtained as follows: .

[0088] The liquid level can be obtained by solving the linear system. and liquid film thickness .

[0089] If there are more than two laser beams, the solution process is as follows:

[0090] Using the formula: ;

[0091] make , , ;

[0092] get Introducing into the formula This represents the observation noise / error caused by multiple laser beams, i.e.

[0093] Bundle When 1, ..., n are stacked into a rectangle, we get:

[0094] ;

[0095] in, .

[0096] The objective of solving this problem is to minimize the sum of squared residuals.

[0097] ;

[0098] Closed-form solution (when) When reversible:

[0099] ;

[0100] Estimation error covariance (assuming noise homoscedasticity) And independent):

[0101] .

[0102] Finally, we can obtain the solution. , .

[0103] The accuracy of this method is illustrated by an experiment, as follows:

[0104] 1. Define parameters

[0105] =200.0mm, =50.0mm, =1.00, =1.45, (Refractive index of the liquid) = 1.33, incident angle of the first laser beam =10°, the incident angle of the second laser beam =25°, the lateral offset corresponding to an incident angle of 10° is 20.6795mm, the lateral offset corresponding to an incident angle of 25° is 54.0286mm, the actual liquid level height is 120.0mm, and the liquid film thickness is 0.2mm.

[0106] The refractive index of the liquid film may be the same as or different from that of the liquid, and a refractometer is required for measurement. The specific reasons are as follows:

[0107] Under normal circumstances, the refractive index of a pure liquid film of the same substance and a large volume of liquid (bulk liquid) are the same on a macroscopic scale because they are composed of the same molecules.

[0108] However, when we delve into the microscopic world or under specific conditions, subtle or even significant differences can emerge. This primarily depends on thickness, surface effects, and compositional variations.

[0109] 1. Macro level: Basically consistent

[0110] For ordinary, relatively thick liquid films (such as the film of a soap bubble), the refractive index is almost exactly the same as that of the same liquid.

[0111] Reason: The refractive index is mainly determined by the molecular polarizability of a substance. As long as the chemical composition remains unchanged, the fundamental properties of the interaction between light and matter remain unchanged.

[0112] 2. Micro / nano level: Differences emerge

[0113] When the liquid film becomes very thin (reaching the micrometer or even nanometer level), the situation changes.

[0114] Enhanced surface effect: When the liquid film is only a few molecular layers thick, the force field experienced by the surface molecules is different from that inside, which may cause changes in the molecular arrangement density. The change in density will slightly affect the refractive index.

[0115] Van der Waals forces: According to relevant fluid dynamics studies, when ultrathin films (thickness less than 100 nm) flow, intermolecular forces such as van der Waals forces can significantly affect the stability of the film. This change in the microenvironment may cause its physical properties (including optical properties) to deviate from those of the bulk liquid.

[0116] 3. Composition and structural factors: the largest variables

[0117] Solute distribution (Marangoni effect): If a liquid contains multiple components (such as a water-ethanol mixture), during the evaporation process of forming a liquid film, different components will accumulate on the surface of the liquid film due to temperature or concentration gradients. For example, more volatile components may have a higher concentration at the surface, causing the refractive index of the liquid film surface to momentarily decrease compared to the bulk liquid.

[0118] Supported liquid films: In industrial separation technologies (such as supported liquid films), the liquid film may be adsorbed onto porous materials or contain a support (such as N503). In this case, the refractive index of the "liquid film" may actually be a composite refractive index of the liquid and the support or substrate, which is completely different from that of a pure liquid.

[0119] Calculate the angle of refraction in each medium.

[0120] (1) The internal refraction angle corresponding to the liquid film

[0121] ;

[0122] get:

[0123] =6.8781°.

[0124] =16.9454°.

[0125] (2) The angle of refraction corresponding to the liquid

[0126]

[0127] get:

[0128] =7.5021°.

[0129] =18.5274°.

[0130] Substitute all parameters into the formula Solving for H, we get H = 120.000000 mm and d = 0.200000 mm.

[0131] Therefore, it can be seen that the liquid level height and liquid film thickness obtained by this method are completely consistent with the true values.

[0132] like Figure 4 As shown, the present invention provides a system for measuring liquid level height and liquid film thickness, comprising:

[0133] The incident angle acquisition module is used to acquire the incident angle of each laser beam after the laser emitter emits at least two laser beams with different incident angles to the liquid surface in the reagent bottle.

[0134] The internal refraction angle acquisition module is used to determine the internal refraction angle of each laser beam after it irradiates the liquid film based on the incident angle.

[0135] The lateral offset acquisition module is used to acquire the lateral offset of each laser beam; wherein, the lateral offset is the offset between the laser emission position and the position of the laser after refraction by the liquid in the reagent bottle at the preset observation point;

[0136] The calculation module is used to calculate the liquid level height and liquid film thickness based on each lateral offset and internal refraction angle.

[0137] The preset observation point is the location of the laser receiver, the laser emitter is located above the reagent bottle, and the reagent bottle is placed on the laser receiver.

[0138] Optionally, the internal refraction angle acquisition module is specifically used for:

[0139] Obtain the refractive index of air and the refractive index of the liquid film;

[0140] Calculate the internal refraction angle based on the refractive index of air, the refractive index of the liquid film, and the incident angle.

[0141] Optionally, the internal refraction angle acquisition module is specifically used for:

[0142] Based on the refractive index of air, the refractive index of the liquid film, and the angle of incidence, the formula for calculating the internal angle of refraction is:

[0143] ;

[0144] in, Indicates the first The internal refraction angle corresponding to the laser beam, Indicates the refractive index of air. Represents the refractive index of the liquid film. Indicates the first The incident angle corresponding to the laser beam.

[0145] Optionally, the calculation module is specifically used for:

[0146] Based on each lateral offset and internal refraction angle, the solution equations between the lateral offset, liquid level height and liquid film thickness corresponding to each laser beam are established.

[0147] Solve the equations simultaneously to determine the liquid level and the thickness of the liquid film.

[0148] Optionally, the calculation module is specifically used for:

[0149] The formula for solving the equation is as follows:

[0150] ;

[0151] in, For the first Lateral offset corresponding to the laser beam Indicates the first The incident angle corresponding to the laser beam. Indicates the first The internal refraction angle corresponding to the laser beam, Indicates the liquid level height. Indicates the thickness of the liquid film. This indicates a known term, and the value of the known term is determined by the angle of incidence.

[0152] Optionally, the calculation module is specifically used for:

[0153] If there are two laser beams, the equations should be solved simultaneously to determine the liquid level and the thickness of the liquid film.

[0154] If there are more than two laser beams, the least squares method is used to determine the liquid level and the thickness of the liquid film.

[0155] This invention provides a system for measuring liquid level and liquid film thickness, applied to a method for measuring liquid level and liquid film thickness as described above, comprising: a laser emitter, a laser receiver, a laser detection module, and a controller, wherein the controller is connected to the laser emitter, the laser receiver, and the laser detection module respectively;

[0156] The laser emitter is located above the reagent bottle, the reagent bottle is placed on the laser receiver, and the laser detection module is placed below the reagent bottle.

[0157] A laser emitter used to emit at least two laser beams with different incident angles toward the liquid surface inside a reagent bottle;

[0158] A laser receiver, used to receive laser light passing through the reagent bottle;

[0159] The laser detection module is used to measure the lateral offset corresponding to the laser.

[0160] The controller is used to perform a method for measuring liquid level and liquid film thickness as described above.

[0161] The computing device of this disclosure includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the above-described method for measuring liquid level height and liquid film thickness. That is, the computing device of this disclosure may include, but is not limited to: a processor and a memory; the memory is used to store the computer program; the processor is used to execute the method for measuring liquid level height and liquid film thickness shown in any embodiment of this disclosure by calling the computer program.

[0162] In one alternative embodiment, a computing device is provided, such as Figure 5 As shown, Figure 5The computing device 4000 shown includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the computing device 4000 may further include a transceiver 4004, which can be used for data interaction between the computing device and other computing devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of this computing device 4000 does not constitute a limitation on the embodiments of this disclosure.

[0163] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0164] Bus 4002 may include a path for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus 4002 is represented by only one thick line, but this does not mean that there is only one bus or a bus of this type.

[0165] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0166] The memory 4003 stores application code (computer program) that executes the present invention, and its execution is controlled by the processor 4001. The processor 4001 executes the application code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.

[0167] The computing device can also be a terminal device, which can be any device that can install applications, including at least one of smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, smart TVs, and smart in-vehicle devices.

[0168] It should be noted that, Figure 5 The computing device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0169] The computer-readable storage medium of this disclosure stores a computer program, which, when executed by a processor, implements the above-described method for measuring liquid level height and liquid film thickness.

[0170] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device, etc.

[0171] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computing device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computing device to perform the aforementioned method of measuring liquid level height and liquid film thickness.

[0172] Computer program code for performing the operations of this disclosure can be written in a variety of programming languages ​​or combinations thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0173] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0174] The computer-readable storage medium provided in this disclosure can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EEPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0175] The computer-readable storage medium described above carries one or more programs, which, when executed by the computing device, cause the computing device to perform the method shown in the above embodiments.

[0176] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0177] It should be noted that the terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and represent a limitation on a specific order or sequence. Where appropriate, the order of use for similar objects can be interchanged so that the embodiments of this application described herein can be implemented in an order other than that shown or described.

[0178] Those skilled in the art will recognize that this disclosure can be implemented as a system, method, or computer program product. Therefore, this disclosure can be implemented in the following forms: it can be entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, this disclosure can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.

[0179] Although embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present disclosure.

Claims

1. A method for measuring liquid level height and liquid film thickness, characterized in that, include: After the laser emitter emits at least two laser beams with different incident angles toward the liquid surface in the reagent bottle, the incident angle of each laser beam is obtained. Based on the incident angle, determine the internal refraction angle of the liquid film after each laser beam irradiates the liquid film; Obtain the lateral offset of each laser beam; wherein, the lateral offset is the offset between the laser emission position and the position of the laser beam at the preset observation point after refraction by the liquid in the reagent bottle; Based on each of the lateral offsets and the internal refraction angle of the liquid film, a solution equation is established between the lateral offset, liquid surface height, and liquid film thickness corresponding to each laser beam. Solve the equations simultaneously to determine the liquid level and film thickness. If there are two laser beams, solve the equations simultaneously. If there are more than two laser beams, use the least squares method. The preset observation point is the location of the laser receiver, the laser emitter is located above the reagent bottle, and the reagent bottle is placed on the laser receiver.

2. The method according to claim 1, characterized in that, Determining the internal refraction angle of each laser beam after it strikes the liquid film based on the incident angle includes: Obtain the refractive index of air and the refractive index of the liquid film; The refractive angle inside the liquid film is calculated based on the refractive index of air, the refractive index of the liquid film, and the incident angle.

3. The method according to claim 2, characterized in that, Based on the refractive index of air, the refractive index of the liquid film, and the angle of incidence, the formula for calculating the angle of refraction within the liquid film is as follows: ; in, Indicates the first The internal refraction angle of the liquid film corresponding to the laser beam. Indicates the refractive index of air. Represents the refractive index of the liquid film. Indicates the first The incident angle corresponding to the laser beam.

4. The method according to claim 1, characterized in that, The formula for solving the equation is as follows: ; in, For the first Lateral offset corresponding to the laser beam Indicates the first The incident angle corresponding to the laser beam. Indicates the first The refraction angle within the liquid film corresponding to the laser beam. Indicates the liquid level height. Indicates the thickness of the liquid film. , This indicates the height of the laser emitter from the bottom of the reagent bottle. This indicates the height from the liquid surface to the receiving point of the laser receiver. This indicates the internal refraction angle of the liquid after the laser enters it.

5. A system for measuring liquid level height and liquid film thickness, characterized in that, include: The incident angle acquisition module is used to acquire the incident angle of each laser beam after the laser emitter emits at least two laser beams with different incident angles to the liquid surface in the reagent bottle. The internal refraction angle acquisition module is used to determine the internal refraction angle of the liquid film after each laser beam irradiates the liquid film based on the incident angle; The lateral offset acquisition module is used to acquire the lateral offset of each laser beam; wherein, the lateral offset is the offset between the laser emission position and the position of the laser beam after refraction by the liquid in the reagent bottle at a preset observation point; The calculation module is used to establish a solution equation for the lateral offset, liquid level height, and liquid film thickness corresponding to each laser beam based on each of the lateral offsets and the refraction angle inside the liquid film, and solve the solution equations simultaneously to determine the liquid level height and liquid film thickness; wherein, if there are two laser beams, the solution equations are solved simultaneously; if there are more than two laser beams, the least squares method is used to solve the problem. The preset observation point is the location of the laser receiver, the laser emitter is located above the reagent bottle, and the reagent bottle is placed on the laser receiver.

6. A system for measuring liquid level height and liquid film thickness, applied to a method for measuring liquid level height and liquid film thickness as described in claim 1, characterized in that, It includes: a laser emitter, a laser receiver, a laser detection module, and a controller, wherein the controller is connected to the laser emitter, the laser receiver, and the laser detection module respectively; The laser emitter is located above the reagent bottle, the reagent bottle is placed on the laser receiver, and the laser detection module is placed below the reagent bottle. The laser emitter is used to emit at least two laser beams with different incident angles toward the liquid surface inside the reagent bottle; The laser receiver is used to receive laser light passing through the reagent bottle; The laser detection module is used to measure the lateral offset corresponding to the laser. The controller is specifically used for: After the laser emitter emits at least two laser beams with different incident angles toward the liquid surface in the reagent bottle, the incident angle of each laser beam is obtained. Based on the incident angle, determine the internal refraction angle of the liquid film after each laser beam irradiates the liquid film; Obtain the lateral offset of each laser beam; wherein, the lateral offset is the offset between the laser emission position and the position of the laser beam at the preset observation point after refraction by the liquid in the reagent bottle; Based on the lateral offsets and the refraction angle within the liquid film, equations are established to solve for the lateral offset, liquid level height, and liquid film thickness corresponding to each laser beam. These equations are then solved simultaneously to determine the liquid level height and liquid film thickness. If there are two laser beams, the equations are solved simultaneously. If there are more than two laser beams, the least squares method is used to solve the equations.

7. A computing device, comprising a memory, a processor, and a program stored in the memory and running on the processor, characterized in that, When the processor executes the program, it implements the steps of a method for measuring liquid level height and liquid film thickness as described in any one of claims 1-4.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the steps of a method for measuring liquid level height and liquid film thickness as described in any one of claims 1-4.