Liquid level detection device and method

By combining a liquid aspiration needle assembly, a logarithmic amplifier circuit, a filter circuit, a conversion circuit, and a processor, high precision and low false positives in liquid level detection are achieved, solving the problems of false positives and interference noise in liquid level detection.

CN115420352BActive Publication Date: 2025-12-23SHENZHEN COMEN MEDICAL INSTR
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211023748.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2025-12-23
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

Existing liquid level detection technologies are prone to misjudgment at low and high liquid volumes, and it is difficult to effectively filter out interference noise signals, resulting in low accuracy of liquid level detection.

Method used

The system employs a suction needle assembly, a logarithmic amplifier circuit, a filter circuit, a conversion circuit, and a processor connected in sequence. It processes pulse signals with high or low gain, sums discrete data in the processor to generate a trigger signal, and filters out interference noise signals.

Benefits of technology

It improves the accuracy of liquid level detection, effectively detects small amounts of liquid, and effectively filters out interference noise signals, reducing false judgments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115420352B_ABST
    Figure CN115420352B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a liquid level detection device and method, the device comprises: a liquid suction needle assembly for contacting the pulse signal generated by the liquid suction needle when the current detection liquid amount; when the pulse signal is greater than or equal to the minimum pulse signal, and the pulse signal is less than the saturation pulse signal, the logarithmic amplification circuit is used for high gain processing or low gain processing of the pulse signal according to the pulse signal and the target gain parameter; the filter circuit is used for rectification processing of the pulse signal after high gain processing or low gain processing to obtain an analog signal; the conversion circuit is used for conversion processing of the analog signal to obtain discrete data; the processor is used for summing the first data to the Nth data of the discrete data to obtain a first sum value, and outputting a trigger signal when the first sum value is greater than or equal to a preset threshold value, the trigger signal is used for controlling the liquid suction needle to stop moving. The above device can effectively filter out the interference noise signal, and there is no misjudgment, which improves the detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the medical field, in particular to a liquid level detection device and method. BACKGROUND

[0002] In the medical field, it is often necessary to use liquid level detection technology to reduce the pollution caused by excessive contact of the liquid suction needle with the liquid. The commonly used technology for liquid level detection is mainly to generate a change in the resistance or capacitance value of the liquid suction needle assembly before and after the liquid suction needle contacts the liquid surface, and to convert the change into an electrical signal for liquid level detection. The liquid in the reagent is usually various liquids with different liquid quantities, so when there is less liquid in the reagent, the change in the resistance or capacitance value of the liquid suction needle assembly is small, making the electrical signal obtained after conversion weak, and when there is more liquid in the reagent, the change in the resistance or capacitance value of the liquid suction needle assembly is large, making the electrical signal obtained after conversion strong. However, the converted electrical signal generally needs to be amplified, but the weak electrical signal is still weak after amplification, or the strong electrical signal is too strong after amplification, resulting in a weak electrical signal that does not reach the threshold value and cannot generate a trigger signal, leading to misjudgment, and the strong electrical signal amplification is too saturated, causing the interference noise signal to increase, leading to misjudgment. The generation of the trigger signal means that the liquid suction needle has contacted the liquid surface.

[0003] In the prior art, the following methods are generally used to obtain a trigger signal to control the liquid suction needle to stop. The first method: using an integral circuit to realize the amplification of the electrical signal. This method can realize proportional amplification and eliminate and compensate for the offset voltage of the amplification circuit, but it has misjudgment when the fixed amplification factor is compared with the threshold value to determine whether to generate a trigger signal for low liquid quantity and high liquid quantity of the measured liquid. The second method: comparing the amplitude of the integral voltage signal with the threshold value to determine whether to generate a trigger signal. Assuming that there is an interference noise signal with the same amplitude as the standard electrical signal, the noise signal is easily misjudged as a standard electrical signal, resulting in misjudgment. SUMMARY

[0004] Therefore, it is necessary to propose a liquid level detection method and device to solve the above problems, so that the gain-processed pulse signal does not appear too small or too large, and the interference noise signal can be effectively filtered out, without misjudgment, and the accuracy of the liquid level detection is improved.

[0005] To achieve the above purpose, the first aspect of the present application provides a liquid level detection device, which comprises: a liquid suction needle assembly, a logarithmic amplification circuit, a filter circuit, a conversion circuit and a processor connected in sequence.

[0006] The liquid suction needle assembly is configured to transmit a pulse signal generated when the liquid suction needle contacts a current detection liquid amount to the logarithmic amplification circuit;

[0007] When the pulse signal is greater than or equal to a minimum pulse signal and less than a saturation pulse signal, the logarithmic amplification circuit is configured to transmit the pulse signal to the filtering circuit after high gain processing or low gain processing of the pulse signal according to the pulse signal and a target gain parameter;

[0008] The filtering circuit is configured to rectify the pulse signal after the high gain processing or the low gain processing to obtain an analog signal, and transmit the analog signal to the conversion circuit;

[0009] The conversion circuit is configured to convert the analog signal to obtain discrete data, and transmit the discrete data to the processor;

[0010] The processor is configured to sum a first data to an Nth data of the discrete data to obtain a first sum value, and output a trigger signal when the first sum value is greater than or equal to a preset threshold value, the trigger signal being configured to control the liquid suction needle to stop moving.

[0011] Optionally, the target gain parameter is a target multiple of a difference between the saturation pulse signal and the minimum pulse signal.

[0012] Optionally, the liquid suction needle assembly is further configured to transmit a minimum pulse signal generated when the liquid suction needle contacts a minimum detection liquid amount to the logarithmic amplification circuit;

[0013] The logarithmic amplification circuit is configured to transmit the minimum pulse signal to the filtering circuit after high gain processing or low gain processing of the minimum pulse signal according to the minimum pulse signal and the target gain parameter;

[0014] The filtering circuit is further configured to rectify the minimum pulse signal after the high gain processing or the low gain processing to obtain a minimum analog signal, and transmit the minimum analog signal to the conversion circuit;

[0015] The conversion circuit is further configured to convert the minimum analog signal to obtain minimum discrete data, and transmit the minimum discrete data to the processor;

[0016] The processor is configured to sum a first data to an Nth data of the minimum discrete data to obtain the preset threshold value.

[0017] Optionally, the device further comprises a high-pass filtering circuit;

[0018] The high-pass filter circuit is electrically connected with the liquid suction needle assembly and the logarithmic amplification circuit respectively.

[0019] The liquid suction needle assembly is further configured to transmit the pulse signal generated when the liquid suction needle contacts the current detection liquid amount to the high-pass filter circuit.

[0020] The high-pass filter circuit is configured to transmit the pulse signal to the logarithmic amplification circuit when the frequency of the pulse signal is greater than or equal to a target cutoff frequency.

[0021] Optionally, the liquid suction needle assembly is further configured to transmit the minimum pulse signal generated when the liquid suction needle contacts the minimum detection liquid amount to the high-pass filter circuit.

[0022] The high-pass filter circuit is further configured to transmit the minimum pulse signal to the logarithmic amplification circuit when the frequency of the minimum pulse signal is greater than or equal to the target cutoff frequency.

[0023] Optionally, the device further comprises an identification circuit.

[0024] The identification circuit is electrically connected with the liquid suction needle assembly and the high-pass filter circuit respectively.

[0025] The liquid suction needle assembly is configured to transmit a change amount of resistance or capacitance generated when the liquid suction needle contacts the current detection liquid amount to the identification circuit.

[0026] The identification circuit is configured to convert the change amount into the pulse signal and transmit the pulse signal to the high-pass filter circuit.

[0027] Optionally, the liquid suction needle assembly is configured to transmit a minimum change amount of resistance or capacitance generated when the liquid suction needle contacts the minimum detection liquid amount to the identification circuit.

[0028] The identification circuit is configured to convert the minimum change amount into the minimum pulse signal and transmit the minimum pulse signal to the high-pass filter circuit.

[0029] Optionally, the processor is further configured to, when the first sum is less than the preset threshold, sum the 2nd data to the N+1th data of the discrete data to obtain a second sum, and when the second sum is greater than or equal to the preset threshold, output the trigger signal.

[0030] The processor is further configured to, when the second sum is less than the preset threshold, sum the 3rd data to the N+2th data of the discrete data to obtain a third sum, and so on, until the sum of the continuous N data is greater than or equal to the preset threshold, the trigger signal is output.

[0031] To achieve the above object, the second aspect of the present application provides a liquid level detection method applied to the processor of the first aspect, the method comprising:

[0032] summing the first data to the Nth data of the discrete data to obtain a first sum value;

[0033] if the first sum value is greater than or equal to a preset threshold value, outputting a trigger signal, the trigger signal being used to control the liquid suction needle to stop moving.

[0034] Optionally, the method further comprises:

[0035] if the first sum value is less than the preset threshold value, summing the second data to the N+1th data of the discrete data to obtain a second sum value;

[0036] if the second sum value is greater than or equal to the preset threshold value, outputting the trigger signal;

[0037] if the second sum value is less than the preset threshold value, summing the third data to the N+2th data of the discrete data to obtain a third sum value, and so on, until the sum value of the continuous N data is greater than or equal to the preset threshold value, the trigger signal is outputted.

[0038] By adopting the embodiment of the present application, the following beneficial effects are obtained: the liquid suction needle assembly, the logarithmic amplification circuit, the filter circuit, the conversion circuit and the processor are electrically connected in sequence; the liquid suction needle assembly is used to transmit the pulse signal generated when the liquid suction needle contacts the current detection liquid volume to the logarithmic amplification circuit; when the pulse signal is greater than or equal to the minimum pulse signal and less than the saturation pulse signal, the logarithmic amplification circuit is used to transmit the pulse signal to the filter circuit after high-gain processing or low-gain processing of the pulse signal according to the pulse signal and the target gain parameter; the filter circuit is used to obtain an analog signal by rectifying the pulse signal after the high-gain processing or the low-gain processing, and transmit the analog signal to the conversion circuit; the conversion circuit is used to obtain discrete data by conversion processing of the analog signal, and transmit the discrete data to the processor; the processor is used to sum the first data to the Nth data of the discrete data to obtain a first sum value, and output a trigger signal when the first sum value is greater than or equal to a preset threshold value, the trigger signal being used to control the liquid suction needle to stop moving. The above device adopts different gain processing according to the pulse signal and the target gain parameter, so that the pulse signal after the gain processing will not be too small or too large, i.e., the pulse signal after the gain processing meets the requirement of generating the trigger signal, and there is no misjudgment, and a small amount of liquid volume (the minimum liquid volume) can be detected, the precision of the liquid level detection is improved, and by comparing the first sum value of the N data in the discrete data with the preset threshold value in real time, the interference noise signal can be effectively filtered out, i.e., there is no misjudgment. BRIEF DESCRIPTION OF DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description only represent some of the embodiments of the present application, and other drawings can be obtained by those of ordinary skill in the art without any creative effort based on these drawings.

[0040] Wherein:

[0041] Figure 1 Fig. 1 is a structural schematic diagram of a liquid level detection device in an embodiment of the present application.

[0042] Figure 2 Fig. 2 is another structural schematic diagram of a liquid level detection device in an embodiment of the present application.

[0043] Figure 3 Fig. 3 is another structural schematic diagram of a liquid level detection device in an embodiment of the present application.

[0044] Figure 4 Fig. 4 is a structural schematic diagram of a processor connected with an upper computer in an embodiment of the present application.

[0045] Figure 5 Fig. 5 is a flow schematic diagram of a liquid level detection method in an embodiment of the present application.

[0046] Figure 6 Fig. 6 is an internal structural diagram of a computer device in an embodiment.

[0047] Explanation of reference signs:

[0048] 110-liquid suction needle assembly, 120-logarithmic amplification circuit, 130-filtering circuit, 140-conversion circuit, 150-processor, 210-high-pass filtering circuit, 310-identification circuit, 410-upper computer. DETAILED DESCRIPTION

[0049] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments only represent some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without any creative effort belong to the scope of protection of the present application.

[0050] Please refer to Figure 1 Fig. 1 is a structural schematic diagram of a liquid level detection device in an embodiment of the present application. The device comprises a liquid suction needle assembly 110, a logarithmic amplification circuit 120, a filtering circuit 130, a conversion circuit 140 and a processor 150 which are electrically connected in sequence.

[0051] In a possible implementation, the liquid suction needle assembly 110 is configured to transmit a pulse signal generated when the liquid suction needle contacts a current detection liquid amount to the logarithmic amplification circuit 120; when the pulse signal is greater than or equal to a minimum pulse signal and less than a saturation pulse signal, the logarithmic amplification circuit 120 is configured to transmit the pulse signal to the filtering circuit 130 after high-gain processing or low-gain processing of the pulse signal according to the pulse signal and a target gain parameter; the filtering circuit 130 is configured to obtain an analog signal by rectifying the pulse signal after the high-gain processing or the low-gain processing, and transmit the analog signal to the conversion circuit 140; the conversion circuit 140 is configured to obtain discrete data by converting the analog signal, and transmit the discrete data to the processor 150; and the processor 150 is configured to obtain a first sum value by summing a first data to an Nth data of the discrete data, and output a trigger signal when the first sum value is greater than or equal to a preset threshold value, the trigger signal being configured to control the liquid suction needle to stop moving.

[0052] It can be understood that, the pulse signal is processed by gain only when the pulse signal is greater than or equal to the minimum pulse signal and less than the saturation pulse signal, so that the gain processing can be avoided for some excessively small weak pulse signals and some excessively large saturation pulse signals, the liquid level detection can detect a small amount of liquid, and thus the precision of the liquid level is improved, and misjudgment is avoided.

[0053] N is an integer greater than 0.

[0054] It should be noted that, the current detection liquid amount refers to a liquid in a sample bottle, a reagent bottle or the like, which is detected by the liquid level detection, and the amount of the liquid is not limited; the minimum pulse signal refers to a pulse signal when the liquid suction contacts a minimum detection liquid amount, and the saturation pulse signal refers to a pulse signal when the liquid suction contacts a saturation detection liquid amount or a liquid amount greater than the saturation detection liquid amount, and it can be understood that the saturation pulse signal is a maximum pulse signal when the liquid suction contacts the detection liquid amount.

[0055] It should be further noted that, the minimum detection liquid amount refers to a liquid amount of a liquid in a sample bottle, a reagent bottle or the like, which can be detected by the liquid level detection, and the amount of the liquid can be adjusted according to the actual precision of the liquid level detection; and the saturation detection liquid amount refers to a liquid amount of a liquid, when the liquid suction contacts the liquid amount, a pulse signal output by the liquid level detection reaches a maximum, and the pulse signal does not increase when the liquid suction continues to move to the detection liquid amount.

[0056] In a possible implementation, after the conversion circuit 140 transmits the discrete data to the processor 150, the processor 150 is further configured to collect the discrete data at a fixed cycle frequency, and perform the summing and the like on the collected discrete data.

[0057] In the embodiment of the present application, by taking different gain processing according to the pulse signal and the target gain parameter, the gain-processed pulse signal will not be too small or too large, i.e., the gain-processed pulse signal meets the requirement of generating the trigger signal, and there is no misjudgment, and a small amount of liquid can be detected, thereby improving the accuracy of liquid level detection, and by comparing the first sum of the N data in the discrete data with the preset threshold, the interference noise signal can be effectively filtered out, i.e., there is no misjudgment.

[0058] It can be understood that, by taking high gain processing or low gain processing according to the pulse signal and the target gain parameter, the gain of the pulse signal after high gain processing or low gain processing is within a range, i.e., according to the pulse signal after high gain processing or low gain processing, the trigger signal can be generated when the first sum is greater than or equal to the preset threshold.

[0059] In a feasible implementation manner, the target gain parameter is a target multiple of the difference between the saturated pulse signal and the lowest pulse signal.

[0060] It should be noted that the gain parameter of high gain processing or low gain processing is the target gain parameter.

[0061] It should be further noted that the specific value of the target multiple can be determined by an operator according to actual gain requirements, which is not limited here.

[0062] In the embodiment of the present application, by setting the target multiple of the difference between the saturated pulse signal and the lowest pulse signal as the target gain parameter, the pulse signal after high gain processing or low gain processing will not be too small or too large, i.e., the gain-processed pulse signal meets the requirement of generating the trigger signal, and there is no misjudgment.

[0063] In a feasible implementation manner, the liquid suction needle assembly 110 is further configured to transmit the lowest pulse signal generated when the liquid suction needle contacts the lowest detection liquid amount to the logarithmic amplification circuit 120; the logarithmic amplification circuit 120 is configured to perform high gain processing or gain processing on the lowest pulse signal according to the lowest pulse signal and a target gain parameter, and transmit the high gain-processed or low gain-processed lowest pulse signal to the filtering circuit 130; the filtering circuit 130 is further configured to perform rectification processing on the high gain-processed or low gain-processed lowest pulse signal to obtain a lowest analog signal, and transmit the lowest analog signal to the conversion circuit 140; the conversion circuit 140 is further configured to perform conversion processing on the lowest analog signal to obtain lowest discrete data, and transmit the lowest discrete data to the processor 150; and the processor 150 is configured to sum the first data to the Nth data of the lowest discrete data to obtain a preset threshold.

[0064] The preset threshold is the sum of the first data to the Nth data of the lowest discrete data.

[0065] In a possible implementation, after the conversion circuit 140 transmits the lowest discrete data to the processor 150, the processor 150 is further configured to collect the lowest discrete data at a fixed cycle frequency, and perform the summing and other processing on the collected lowest discrete data.

[0066] In the embodiment, the gain processing of the lowest pulse signal is different according to the lowest pulse signal and the target gain parameter, so that the gain-processed lowest pulse signal will not be too small or too large, i.e., the gain-processed lowest pulse signal meets the requirement of generating the trigger signal and will not be misjudged, and the sum of the N data in the discrete data is taken as the preset threshold in real time, so that when the sum of the N data in the discrete data is compared with the preset threshold, the interference noise signal can be effectively filtered out, i.e., misjudgment will not occur.

[0067] Please refer to Figure 2 Fig. 2 is another structural schematic diagram of a liquid level detection device in the embodiment, and the device further includes a high-pass filter circuit 210.

[0068] The high-pass filter circuit 210 is electrically connected with the liquid suction needle assembly 110 and the logarithmic amplification circuit 120 respectively.

[0069] In a possible implementation, the liquid suction needle assembly 110 is further configured to transmit a pulse signal generated when the liquid suction needle contacts the current detection liquid amount to the high-pass filter circuit 210, and the high-pass filter circuit 210 is configured to transmit the pulse signal to the logarithmic amplification circuit 120 when the frequency of the pulse signal is greater than or equal to a target cutoff frequency.

[0070] It should be noted that the target cutoff frequency can be the frequency of the lowest pulse signal generated when the liquid suction needle contacts the lowest detection liquid amount, or the target cutoff frequency can be adjusted by an operator according to the requirement of liquid level detection accuracy, which is not limited herein.

[0071] In the embodiment, the high-pass filter circuit 210 is configured to transmit the pulse signal to the logarithmic amplification circuit 120 when the frequency of the pulse signal is greater than or equal to the target cutoff frequency, i.e., the pulse signal with the frequency less than the target cutoff frequency is removed, and it can be understood that the pulse signal that is too weak will not be processed by gain and other subsequent processes, and part of the weak interference signal can be effectively removed, and misjudgment will not occur.

[0072] Please continue to refer to Figure 2In a possible implementation, the liquid suction needle assembly 110 is further configured to transmit a minimum pulse signal generated when the liquid suction needle contacts a minimum detection liquid amount to the high-pass filter circuit 210; and the high-pass filter circuit 210 is further configured to transmit the minimum pulse signal to the logarithmic amplification circuit 120 when a frequency of the minimum pulse signal is greater than or equal to a target cutoff frequency.

[0073] In the embodiment, the minimum pulse signal with the frequency less than the target cutoff frequency is removed, and it can be understood that, by removing the minimum pulse signal with the frequency less than the target cutoff frequency, the excessively weak minimum pulse signal will not be processed by the gain and other processes, and part of the weak interference signal is effectively removed, and a false judgment is not generated.

[0074] Please refer to Figure 3 Fig. 3 is another structural schematic diagram of a liquid level detection device according to the embodiment, and the device further includes an identification circuit 310.

[0075] The identification circuit 310 is electrically connected to the liquid suction needle assembly 110 and the high-pass filter circuit 210 respectively.

[0076] In a possible implementation, the liquid suction needle assembly 110 is configured to transmit a change amount of a resistance or a capacitance value generated when the liquid suction needle contacts a current detection liquid amount to the identification circuit 310; and the identification circuit 310 is configured to convert the change amount into a pulse signal and transmit the pulse signal to the high-pass filter circuit 210.

[0077] It should be noted that the liquid suction needle itself has a variable resistance or capacitance (if the liquid suction needle itself does not have a variable resistance or capacitance, an operator can also install a variable resistance or capacitance in the liquid suction needle), and when the liquid suction needle contacts the current detection liquid amount, the resistance or capacitance value of the liquid suction needle will change, and it can be understood that, as long as the liquid suction needle contacts the detection liquid, the resistance or capacitance value of the liquid suction needle will change, and the change amount is related to the amount of the detection liquid, for example, the more the amount of the detection liquid, the higher the change amount, and the less the amount of the detection liquid, the lower the change amount.

[0078] In the embodiment, the change amount of the resistance or capacitance value generated when the liquid suction needle contacts the current detection liquid amount is transmitted to the identification circuit 310, and the identification circuit 310 converts the change amount into a pulse signal and transmits the pulse signal to the high-pass filter circuit 210, so that a real-time pulse signal can be obtained according to the real-time change amount, and it can be determined in time that the liquid suction needle needs to stop moving at which time.

[0079] Please continue to refer to Figure 3In a feasible implementation, the liquid suction needle assembly 110 is configured to deliver the minimum change in resistance or capacitance generated when the liquid suction needle contacts the minimum detection liquid amount to the identification circuit 310; and the identification circuit 310 is configured to convert the minimum change into a minimum pulse signal and transmit the minimum pulse signal to the high-pass filter circuit 210.

[0080] In the embodiments of the present application, by delivering the minimum change in resistance or capacitance generated when the liquid suction needle assembly 110 contacts the minimum detection liquid amount to the identification circuit 310, and converting the minimum change into a minimum pulse signal by the identification circuit 310 and transmitting the minimum pulse signal to the high-pass filter circuit 210, the real-time minimum pulse signal can be obtained according to the real-time minimum change, so that the sum value when the liquid suction needle needs to stop moving can be determined in time.

[0081] In a feasible implementation, the processor 150 is further configured to, when the first sum value is less than the preset threshold, sum the 2nd data to the N+1th data of the discrete data to obtain a second sum value, and output a trigger signal when the second sum value is greater than or equal to the preset threshold; and the processor 150 is further configured to, when the second sum value is less than the preset threshold, sum the 3rd data to the N+2th data of the discrete data to obtain a third sum value, and so on, until the sum value of the continuous N data is greater than or equal to the preset threshold, and output the trigger signal.

[0082] It should be noted that, if the third sum value of the 3rd data to the N+2th data of the discrete data is less than the preset threshold, then the 4th data to the N+3th data of the discrete data are summed to obtain a fourth sum value, if the fourth sum value of the 4th data to the N+3th data is less than the preset threshold, then the 5th data to the N+4th data of the discrete data are summed to obtain a fifth sum value, and so on, until the sum value of the continuous N data is greater than or equal to the preset threshold, and the trigger signal is outputted, the trigger signal being configured to control the liquid suction needle to stop moving.

[0083] In the embodiments of the present application, by comparing the first sum value of the 1st data to the Nth data of the discrete data with the preset threshold, and comparing the second sum value of the 2nd data to the N+1th data of the discrete data with the preset threshold when the first sum value is less than the preset threshold, and comparing the third sum value of the 3rd data to the N+2th data of the discrete data with the preset threshold when the second sum value is less than the preset threshold, and so on, the interference noise signal can be effectively filtered out, so that the liquid level detection will not be misjudged.

[0084] It can be understood that, due to the difference in pulse width between the interference noise signal and the pulse signal, the interference noise signal can be filtered out by using the difference in the summing manner, and through the comparison manner with the preset threshold value, the liquid suction needle can generate a trigger signal in time to control the movement of the liquid suction needle to stop when the liquid meeting the detection liquid amount is detected.

[0085] Referring to Figure 4 For a structure schematic diagram of the processor and the upper computer in the embodiment of the present application, the device in the above embodiment can further include an upper computer 410.

[0086] In a feasible implementation manner, the processor 150 is connected with the upper computer 410, and the processor 150 is configured to generate fault information and send the fault information to the upper computer 410 when the summing times of the discrete data reach a times threshold value.

[0087] The specific value of the times threshold value can be set by an operator according to actual needs. The processor 150 can also be configured to generate fault information and send the fault information to the upper computer 410 when the summing time of the discrete data reaches a time threshold value, and the specific value of the time threshold value can also be set by the operator according to actual needs. It can be understood that, by setting the times threshold value and / or the time threshold value, it can be prevented that the liquid suction needle does not move due to a fault, and the operator does not know and does not process.

[0088] In the embodiment of the present application, the processor 150 sends the fault information to the upper computer 410, which can prompt the operator that the liquid suction needle has a fault. It can be understood that, prompting the operator that the liquid suction needle has a fault can make the operator know the fault and then process the fault.

[0089] Referring to Figure 5 For a flow schematic diagram of a liquid level detection method in the embodiment of the present application, the method is applied to the processor in the above embodiment, and the method includes the following steps.

[0090] Step 510: summing the first data to the Nth data of the discrete data to obtain a first sum value.

[0091] Step 520: if the first sum value is greater than or equal to a preset threshold value, output a trigger signal, and the trigger signal is used to control the liquid suction needle to stop moving.

[0092] In a feasible implementation, if the first sum is less than the preset threshold, the second data to the N+1th data of the discrete data are summed to obtain a second sum; if the second sum is greater than or equal to the preset threshold, the trigger signal is output; if the second sum is less than the preset threshold, the third data to the N+2th data of the discrete data are summed to obtain a third sum, and so on, until the sum of the continuous N data is greater than or equal to the preset threshold, and the trigger signal is output.

[0093] In another feasible implementation, a liquid level detection method further includes other functional descriptions of the processor of the above-mentioned liquid level detection device.

[0094] In the embodiments of the present application, a liquid level detection method is applied to the processor of the above-mentioned liquid level detection device, that is, the steps in the method correspond to the functional descriptions of the processor in the above-mentioned device one by one, and specifically, the related content of the processor of the above-mentioned liquid level detection device can be referred to.

[0095] It can be understood that the specific steps and beneficial effects of the liquid level detection method are described in detail in the above-mentioned embodiments of the processor of the liquid level detection device, and the content in the above-mentioned embodiments of the processor of the liquid level detection device can be referred to, which will not be repeated here.

[0096] In the embodiments of the present application, a computer readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the liquid level detection method in the above-mentioned method embodiments.

[0097] In one embodiment, a computer device is provided, which includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor executes the liquid level detection method in the above-mentioned method embodiments.

[0098] Figure 6 The internal structure diagram of the computer device in one embodiment is shown. The computer device can be a terminal, a server, or a gateway. As shown in the figure, the computer device includes a processor, a memory, and a network interface connected through a system bus. Figure 6

[0099] The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and can also store a computer program. When the computer program is executed by the processor, the processor can implement each step in the above-mentioned method embodiments. The internal memory can also store a computer program. When the computer program is executed by the processor, the processor can execute each step in the above-mentioned method embodiments. Those skilled in the art can understand that the computer program can be stored in the non-volatile storage medium or the internal memory, or both. Figure 6 ​The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0100] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer readable storage medium, and when the program is executed, it can include the processes of the above-mentioned embodiments of the method.

[0101] Any reference to memory, storage, databases, or other media in this application refers to both non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0102] Each technical feature of the above embodiments can be combined arbitrarily. In order to make the description simple, not all possible combinations of each technical feature in the above embodiments are described, but as long as the combination of these technical features does not exist, it should be considered as the scope of the present application.

[0103] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be noted that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the scope of protection of the patent of the present application should be subject to the appended claims.

Claims

1. A liquid level detecting device characterized by comprising: The device comprises a liquid suction needle assembly, a logarithmic amplification circuit, a filter circuit, a conversion circuit and a processor connected in sequence. The liquid suction needle assembly is used to transmit a pulse signal generated when the liquid suction needle contacts a current detection liquid amount to the logarithmic amplification circuit. When the pulse signal is greater than or equal to a minimum pulse signal and less than a saturation pulse signal, the logarithmic amplification circuit is used to transmit the pulse signal to the filter circuit after high-gain processing or low-gain processing of the pulse signal according to the pulse signal and a target gain parameter. The filter circuit is used to obtain an analog signal by rectifying the pulse signal after high-gain processing or low-gain processing, and transmit the analog signal to the conversion circuit. The conversion circuit is used to obtain discrete data by converting the analog signal, and transmit the discrete data to the processor. The processor is used to obtain a first sum value by summing the first data to the Nth data of the discrete data, and output a trigger signal when the first sum value is greater than or equal to a preset threshold value, the trigger signal being used to control the liquid suction needle to stop moving. The processor is also used to obtain a second sum value by summing the second data to the N+1th data of the discrete data when the first sum value is less than the preset threshold value, and output the trigger signal when the second sum value is greater than or equal to the preset threshold value. The processor is also used to obtain a third sum value by summing the third data to the N+2th data of the discrete data when the second sum value is less than the preset threshold value, and so on, until the sum value of the continuous N data is greater than or equal to the preset threshold value, and the trigger signal is output. N is an integer greater than 0.

2. The apparatus of claim 1, wherein, The target gain parameter is a target multiple of the difference between the saturation pulse signal and the minimum pulse signal.

3. The apparatus of claim 1, wherein, The liquid suction needle assembly is also used to transmit a minimum pulse signal generated when the liquid suction needle contacts a minimum detection liquid amount to the logarithmic amplification circuit. The logarithmic amplification circuit is used to transmit the minimum pulse signal to the filter circuit after high-gain processing or low-gain processing of the minimum pulse signal according to the minimum pulse signal and the target gain parameter. The filter circuit is also used to obtain a minimum analog signal by rectifying the minimum pulse signal after high-gain processing or low-gain processing, and transmit the minimum analog signal to the conversion circuit. The conversion circuit is also used to obtain minimum discrete data by converting the minimum analog signal, and transmit the minimum discrete data to the processor. The processor is used to obtain the preset threshold value by summing the first data to the Nth data of the minimum discrete data.

4. The apparatus of claim 3, wherein, The device further comprises a high-pass filter circuit. The high-pass filter circuit is electrically connected with the liquid suction needle assembly and the logarithmic amplification circuit. The liquid suction needle assembly is also used to transmit the pulse signal generated when the liquid suction needle contacts the current detection liquid amount to the high-pass filter circuit. The high-pass filter circuit is used to transmit the pulse signal to the logarithmic amplification circuit when the frequency of the pulse signal is greater than or equal to a target cutoff frequency.

5. The apparatus of claim 4, wherein, The liquid suction needle assembly is also configured to transmit the minimum pulse signal generated when the liquid suction needle contacts the minimum detection liquid amount to the high-pass filter circuit; The high-pass filter circuit is also configured to transmit the minimum pulse signal to the logarithmic amplification circuit when the frequency of the minimum pulse signal is greater than or equal to the target cutoff frequency.

6. The apparatus of claim 5, wherein, The device further comprises an identification circuit; The identification circuit is electrically connected to the liquid suction needle assembly and the high-pass filter circuit respectively; The liquid suction needle assembly is configured to transmit a change amount of resistance or capacitance generated when the liquid suction needle contacts the current detection liquid amount to the identification circuit; The identification circuit is configured to convert the change amount into the pulse signal and transmit the pulse signal to the high-pass filter circuit.

7. The apparatus of claim 6, wherein, The liquid suction needle assembly is configured to transmit a minimum change amount of resistance or capacitance generated when the liquid suction needle contacts the minimum detection liquid amount to the identification circuit; The identification circuit is configured to convert the minimum change amount into the minimum pulse signal and transmit the minimum pulse signal to the high-pass filter circuit.

8. A liquid level detection method, characterized by, The method is applied to the liquid level detection device according to any one of claims 1 to 7, and the method comprises: Summing the first data to the Nth data of the discrete data to obtain a first sum value; If the first sum value is greater than or equal to a preset threshold value, output a trigger signal, and the trigger signal is used to control the liquid suction needle to stop moving; If the first sum value is less than the preset threshold value, sum the second data to the N+1th data of the discrete data to obtain a second sum value; If the second sum value is greater than or equal to the preset threshold value, output the trigger signal; If the second sum value is less than the preset threshold value, sum the third data to the N+2th data of the discrete data to obtain a third sum value, and so on, until the sum value of the continuous N data is greater than or equal to the preset threshold value, and the trigger signal is outputted; Wherein, N is an integer greater than 0.

Citation Information

Patent Citations

  • Detecting probe liquid level detector and method

    CN101135584A

  • Antistatic liquid level detection system and detection method

    CN114295179A

  • Apparatus and method for detecting liquid level with a probe

    US20080053216A1