Method and device for measuring the level of a stirred tank and stirred system
By installing an ultrasonic sensor on the top of the mixing tank to emit and receive ultrasonic beams, and identifying and eliminating false echoes, the problem of inaccurate liquid level measurement in the mixing tank is solved, enabling accurate measurement of liquid level height and improving production efficiency.
Patent Information
- Application Number
- CN202211641434.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-20
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2042-12-20
AI Technical Summary
The existing mixing tank liquid level measurement is inaccurate, resulting in low production efficiency and safety risks.
An ultrasonic sensor is used to measure the liquid level at the top of the mixing tank. By transmitting and receiving ultrasonic beams, false echoes are identified and eliminated. The current liquid level is calculated using the reception and transmission times of the target echo.
It achieves accurate measurement of the liquid level in the mixing tank, avoids the influence of false echoes, ensures the accuracy of the liquid level height, and improves production efficiency through anti-overflow alarm and idling alarm.
Smart Images

Figure CN116164812B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of liquid level detection in stirred tanks, and more specifically, to a method, apparatus, computer-readable storage medium, and stirring system for measuring the liquid level in a stirred tank. Background Technology
[0002] The basic process of pulp molding is pulping, molding, drying and shaping. In the pulping stage, the pulp is pumped to a mixing tank and mixed with an appropriate amount of water for later use. In order to prevent overflow or pump idling when the liquid level is low, it is often necessary to climb ladders to manually check the liquid level of water or pulp, which results in a certain degree of waste of manpower and certain safety risks.
[0003] Currently, there is a method to solve this problem by installing ball valves. However, ball valves only control the on / off switch and cannot continuously monitor the liquid level of the slurry in the mixing tank. If the slurry is insufficient during production, it cannot be replenished in time, which slows down production efficiency.
[0004] The information disclosed above in the background section is only intended to enhance the understanding of the background art of the art described herein. Therefore, the background art may contain certain information that does not constitute prior art known to those skilled in the art in this country. Summary of the Invention
[0005] The main objective of this application is to provide a method, apparatus, computer-readable storage medium, and stirring system for measuring the liquid level in a stirred tank, so as to solve the problem of inaccurate liquid level measurement in the prior art.
[0006] According to one aspect of the present invention, a method for measuring the liquid level in a stirred tank is provided, wherein an ultrasonic sensor is disposed at the top of the stirred tank such that the liquid level in the stirred tank is always lower than the location of the ultrasonic sensor. The method includes: controlling the ultrasonic sensor to emit an ultrasonic beam along a predetermined direction, the predetermined direction being the direction perpendicular to the liquid level in the stirred tank; controlling the ultrasonic sensor to receive echoes from the ultrasonic beam to obtain multiple echoes; matching each echo with pre-stored false echoes, and determining the echoes that fail to match as target echoes, the pre-stored false echoes being echoes that cause inaccurate liquid level height detection at multiple liquid levels; and determining the current liquid level height based on the reception time of the target echo and the emission time of the ultrasonic beam.
[0007] Optionally, before matching each of the echoes with the pre-stored false echoes and determining the echoes failing in the matching as the target echoes, the method further comprises: a setting step of setting a plurality of predetermined liquid levels; a control step of, in a case where the liquid level of the stirring tank is a target predetermined liquid level, controlling the ultrasonic sensor to emit the ultrasonic wave beam along the predetermined direction and receive echoes of the ultrasonic wave beam, to obtain a plurality of alternative echoes, the target predetermined liquid level being any one of the predetermined liquid levels; a first determination step of determining a plurality of measured liquid levels according to the receiving time of each of the alternative echoes and the emission time of the ultrasonic wave beam, the measured liquid level corresponding to the alternative echo in one-to-one manner; a second determination step of determining a measured liquid level with a difference from the target predetermined liquid level greater than a predetermined threshold as an erroneous measured liquid level, and determining the alternative echo corresponding to the erroneous measured liquid level as the pre-stored false echo; and repeating the setting step, the control step, the first determination step and the second determination step at least once in sequence until all of the predetermined liquid levels are measured.
[0008] Optionally, the plurality of predetermined liquid levels are arranged from small to large, a height difference between any two adjacent predetermined liquid levels is less than a predetermined height, and the predetermined liquid levels include a minimum liquid level and a maximum liquid level, the minimum liquid level being 0, and the maximum liquid level being a liquid level corresponding to a capacity of the stirring tank.
[0009] Optionally, a current liquid level is determined according to the receiving time of the target echo and the emission time of the ultrasonic wave beam, and the method comprises: calculating a time difference between the receiving time of the target echo and the emission time of the ultrasonic wave beam to obtain a propagation time; calculating a liquid surface distance according to the propagation time and a propagation speed of the ultrasonic wave beam, the liquid surface distance being a vertical distance between a liquid surface of the stirring tank and the ultrasonic sensor; and calculating a difference between a predetermined height and the liquid surface distance to obtain the current liquid level, the predetermined height being a vertical distance between the ultrasonic sensor and a bottom of the stirring tank.
[0010] Optionally, after the current liquid level is determined according to the receiving time of the target echo and the emission time of the ultrasonic wave beam, the method comprises: sending the current liquid level to a monitoring terminal, the monitoring terminal being in communication connection with the ultrasonic sensor.
[0011] Optionally, after sending the current liquid level to the monitoring terminal, the method further comprises: in the case that the current liquid level is greater than a first predetermined height, issuing an anti-overflow alarm, the anti-overflow alarm being used to prompt to lower the liquid level to prevent overflow; in the case that the current liquid level is less than a second predetermined height, issuing an idling alarm, the idling alarm being used to prompt to raise the liquid level to prevent idling.
[0012] Optionally, the ultrasonic wave beam is a periodically repeated ultrasonic pulse.
[0013] According to another aspect of embodiments of the present application, there is also provided a liquid level measuring device for a stirred tank, an ultrasonic sensor being arranged at a top of the stirred tank such that a liquid surface of the stirred tank is always lower than a position where the ultrasonic sensor is arranged, the device comprising: a first control unit configured to control the ultrasonic sensor to emit an ultrasonic wave beam in a predetermined direction, the predetermined direction being a vertical direction of the liquid surface of the stirred tank; a second control unit configured to control the ultrasonic sensor to receive echoes of the ultrasonic wave beam to obtain a plurality of echoes; a first determination unit configured to match the echoes with pre-stored false echoes, and determine echoes that fail to match as target echoes, the pre-stored false echoes being echoes that cause inaccurate detection of the liquid level at a plurality of liquid levels; and a second determination unit configured to determine a current liquid level according to a receiving time of the target echoes and an emitting time of the ultrasonic wave beam.
[0014] According to another aspect of embodiments of the present application, there is also provided a computer readable storage medium, the computer readable storage medium comprising a stored program, wherein the program, when executed by a processor, causes the processor to perform any of the methods.
[0015] According to another aspect of embodiments of the present application, there is also provided a stirred system, comprising: a stirred tank, an ultrasonic sensor, one or more processors, a memory, and one or more programs, wherein the ultrasonic sensor is arranged at a top of the stirred tank such that a liquid surface of the stirred tank cannot submerge the ultrasonic sensor, the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise instructions for performing any of the methods for measuring a liquid level of a stirred tank.
[0016] In the liquid level measurement method of the stirring tank, first, the ultrasonic sensor is controlled to emit an ultrasonic wave beam in a predetermined direction, the predetermined direction being the vertical direction of the liquid level of the stirring tank; then, the ultrasonic sensor is controlled to receive echoes of the ultrasonic wave beam to obtain a plurality of echoes; then, each of the echoes is matched with a pre-stored false echo, and an echo that fails to match is determined as a target echo, the pre-stored false echo being an echo that leads to inaccurate detection of the liquid level height at a plurality of liquid levels; finally, the current liquid level height is determined according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam. Since the ultrasonic sensor receives a plurality of echoes with different receiving times when the stirring tank is stirring, the liquid level measurement is inaccurate. The method takes the echo that leads to inaccurate detection of the liquid level height at a plurality of liquid levels as the pre-stored false echo to screen the currently measured echo, that is, the echo that successfully matches the pre-stored false echo is removed, and the remaining echo is determined as the target echo. The current liquid level height can be determined according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam, the influence of the false echo is avoided, the accuracy of the current liquid level height is ensured, and the problem of inaccurate liquid level measurement of the stirring tank in the prior art is solved. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings, which form a part of the present description, are included to provide a further understanding of the application and are incorporated in and constitute a part of this application. The embodiments of the present application, and of its description, illustrate and explain the present application, and do not limit the present application in any manner. In the drawings:
[0018] Figure 1 A flow chart of a liquid level measurement method of a stirring tank according to an embodiment of the present application is shown;
[0019] Figure 2 A schematic diagram of a liquid level measurement device of a stirring tank according to an embodiment of the present application is shown;
[0020] Figure 3 A schematic diagram of a stirring system according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0021] It should be noted that the following detailed description is illustrative only and is not intended to limit the present application in any way. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0022] It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments in accordance with the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups thereof.
[0023] It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements can also be present. In addition, it will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element, or electrically connected to the other element via a third element.
[0024] As mentioned in the background, the ball valve control switch in the prior art makes the liquid level measurement of the stirring tank inaccurate. To solve the above problem, in a typical embodiment of the present application, a liquid level measurement method and device for a stirring tank, a computer readable storage medium and a stirring system are provided.
[0025] According to an embodiment of the present application, a liquid level measurement method for a stirring tank is provided. An ultrasonic sensor is arranged at the top of the stirring tank, so that the liquid surface position of the stirring tank is always lower than the position of the ultrasonic sensor.
[0026] Figure 1 is a flowchart of the liquid level measurement method for a stirring tank according to an embodiment of the present application. As shown in Figure 1 , the method comprises the following steps:
[0027] Step S101, control the ultrasonic sensor to emit an ultrasonic wave beam in a predetermined direction, the predetermined direction being the vertical direction of the liquid surface of the stirring tank;
[0028] It should be noted that the ultrasonic wave beam is a periodically repeated ultrasonic pulse, so as to continuously measure the liquid level height and monitor the liquid level height in real time. The ultrasonic wave beam is emitted in the predetermined direction to measure the vertical distance between the ultrasonic sensor and the liquid surface, and the liquid level height can be determined according to the height of the ultrasonic sensor.
[0029] Step S102, control the ultrasonic sensor to receive the echo of the ultrasonic wave beam to obtain a plurality of echoes;
[0030] It should be noted that the transducer (probe) of the ultrasonic liquid level sensor emits high-frequency ultrasonic pulses, when encountering the surface of the measured liquid level, the sound wave is reflected back, part of the reflected echo is received by the transducer (probe) and converted into an electric signal, in addition, when installing the ultrasonic liquid level sensor, attention should be paid to the fact that the ultrasonic beam cannot intersect the feed flow, and the upper part of the feed flow should be avoided to ensure that the measured data is the slurry liquid surface rather than the feed flow, and at the same time, prevent the highest liquid level from entering the monitoring blind area of the liquid level sensor. The ultrasonic beam and transducer of the liquid level sensor should also be perpendicular to the slurry liquid surface and maintain a certain distance from the stirring tank wall, and the height should be ensured within the range of the measuring range, and the emission angle of the probe should not exceed the boundary of the reference surface.
[0031] Step S103, match each of the above echoes with the pre-stored false echoes, and determine the echoes that fail to match as target echoes, the pre-stored false echoes being echoes that lead to inaccurate detection of the liquid level height under multiple liquid levels;
[0032] In order to facilitate the identification of false echoes, in an optional embodiment, before the step S103, the method further comprises:
[0033] Step S201, a setting step is performed to set multiple predetermined liquid level heights;
[0034] Step S202, a control step is performed to control the ultrasonic sensor to emit the ultrasonic beam in the predetermined direction and receive the echoes of the ultrasonic beam when the liquid level height of the stirring tank is a target predetermined liquid level height, to obtain multiple alternative echoes, the target predetermined liquid level height being any one of the predetermined liquid level heights;
[0035] Step S203, a first determination step is performed to determine multiple measured liquid level heights according to the receiving time of each of the alternative echoes and the emission time of the ultrasonic beam, the measured liquid level heights corresponding to the alternative echoes one by one;
[0036] Step S204, a second determination step is performed to determine the measured liquid level heights that have a difference from the target predetermined liquid level height greater than a predetermined threshold as erroneous measured liquid level heights, and determine the alternative echoes corresponding to the erroneous measured liquid level heights as the pre-stored false echoes;
[0037] Step S205, the setting step, the control step, the first determination step and the second determination step are repeated in sequence at least once until all of the predetermined liquid level heights are measured.
[0038] In the above embodiment, by performing liquid level measurement at a plurality of predetermined liquid level heights, false echoes at the plurality of predetermined liquid level heights, i.e. echoes that cause inaccurate liquid level detection, are determined, a database of false echoes is established, and in subsequent liquid level measurement, echoes are matched with false echoes in the database to identify false echoes.
[0039] To further ensure the accuracy of liquid level detection, in an optional embodiment, the plurality of predetermined liquid level heights are arranged from small to large, the height difference between any two adjacent predetermined liquid levels is less than a predetermined height, and the predetermined liquid level heights include a minimum liquid level height and a maximum liquid level height, the minimum liquid level height is 0, and the maximum liquid level height is the liquid level height corresponding to the capacity of the mixing tank.
[0040] In the above embodiment, taking the predetermined height of 6mm and the maximum height of 1000mm as an example, the plurality of predetermined liquid level heights arranged from small to large are 0mm, 5mm, 10mm, 15mm,..., 1000mm, so that the predetermined height is uniformly sampled at the minimum liquid level height and the maximum liquid level height, and the minimum difference between any one height and the predetermined height is less than 6mm, which improves the richness of the database data and further improves the accuracy of false echo matching to exclude the influence of false echoes and further ensure the accuracy of liquid level detection.
[0041] Step S104, determining the current liquid level according to the receiving time of the target echo and the transmission time of the ultrasonic beam.
[0042] To obtain the liquid level measurement result in real time, in an optional embodiment, the step S104 includes:
[0043] Step S1041, calculating the time difference between the receiving time of the target echo and the transmission time of the ultrasonic beam to obtain the propagation time;
[0044] Step S1042, calculating the liquid surface distance according to the propagation time and the propagation speed of the ultrasonic beam, the liquid surface distance being the vertical distance between the liquid surface of the mixing tank and the ultrasonic sensor;
[0045] Step S1043, calculating the difference between the predetermined height and the liquid surface distance to obtain the current liquid level, the predetermined height being the vertical distance between the ultrasonic sensor and the bottom of the mixing tank.
[0046] In the above embodiment, the ultrasonic liquid level sensor calculates the liquid surface height by using the time difference between the emission and reception of sound waves and the propagation speed of sound waves, which is simple and convenient for obtaining the liquid level measurement result in real time.
[0047] In order to realize continuous monitoring of the liquid level height of the stirring tank, after the step S104, the method further comprises:
[0048] In step S301, the current liquid level height is sent to a monitoring terminal, and the monitoring terminal is in communication connection with the ultrasonic sensor.
[0049] In the embodiment, the current liquid level height is sent to the monitoring terminal through the EtherCat field bus, and continuous monitoring of the liquid level height of the stirring tank is realized.
[0050] In order to realize the anti-overflow alarm and the idle protection of the stirring tank, in an optional embodiment, after the step S301, the method further comprises:
[0051] In step S302, if the current liquid level height is greater than a first predetermined height, an anti-overflow alarm is issued, and the anti-overflow alarm is used to prompt to lower the liquid level to prevent overflow;
[0052] In step S303, if the current liquid level height is less than a second predetermined height, an idle alarm is issued, and the idle alarm is used to prompt to raise the liquid level to prevent idle.
[0053] In the embodiment, the first predetermined height is the warning line of liquid level overflow, and the second predetermined height is the warning line of idle. The anti-overflow alarm and the idle alarm are realized by the liquid level exceeding the warning line, the problem of non-transparent slurry liquid level of the stirring tank is solved, and the production efficiency and the production process are improved.
[0054] In the liquid level measurement method of the stirring tank, first, the ultrasonic sensor is controlled to emit an ultrasonic wave beam along a predetermined direction, and the predetermined direction is the vertical direction of the liquid surface of the stirring tank; then, the ultrasonic sensor is controlled to receive the echo of the ultrasonic wave beam to obtain a plurality of echoes; then, each echo is matched with a pre-stored false echo, and the echo that fails to match is determined as a target echo, and the pre-stored false echo is a plurality of echoes that cause inaccurate liquid level height detection at different liquid levels; finally, the current liquid level height is determined according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam. Because the ultrasonic sensor receives a plurality of echoes with different receiving times when the stirring tank is stirred, the liquid level measurement is inaccurate. In this method, the echoes that cause inaccurate liquid level height detection at different liquid levels are pre-stored as false echoes to screen the currently measured echoes, that is, the echoes that successfully match the pre-stored false echoes are removed, and the remaining echoes are determined as target echoes. According to the receiving time of the target echo and the emitting time of the ultrasonic wave beam, the current liquid level height can be determined, the influence of false echoes is avoided, the accuracy of the current liquid level height is ensured, and the problem of inaccurate liquid level measurement of the stirring tank in the prior art is solved.
[0055] It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that shown.
[0056] The embodiment of the present application also provides a liquid level measuring device of a stirring tank. It should be noted that the liquid level measuring device of the stirring tank provided by the embodiment of the present application can be used to execute the liquid level measuring method for the stirring tank provided by the embodiment of the present application. The liquid level measuring device provided by the embodiment of the present application is introduced as follows.
[0057] Figure 2 is a schematic diagram of the liquid level measuring device of the stirring tank according to the embodiment of the present application. As shown in the figure, the device comprises: Figure 2
[0058] a first control unit 10, configured to control the ultrasonic sensor to emit an ultrasonic wave beam along a predetermined direction, the predetermined direction being a vertical direction of the liquid surface of the stirring tank;
[0059] It should be noted that the ultrasonic wave beam is a periodically repeated ultrasonic pulse, so as to continuously measure the liquid level height, to monitor the liquid level height in real time, and to emit the ultrasonic wave beam along the predetermined direction to measure the vertical distance between the ultrasonic sensor and the liquid surface, so as to determine the liquid level height according to the height of the ultrasonic sensor.
[0060] a second control unit 20, configured to control the ultrasonic sensor to receive echoes of the ultrasonic wave beam, to obtain a plurality of echoes;
[0061] It should be noted that the transducer (probe) of the ultrasonic liquid level sensor emits a high-frequency ultrasonic pulse, when encountering the surface of the measured liquid level, the sound wave is reflected back, part of the reflected echo is received by the transducer (probe) and converted into an electric signal, in addition, when installing the ultrasonic liquid level sensor, it should be noted that the ultrasonic wave beam cannot intersect with the feeding flow, and should avoid the upper part of the feeding flow, so as to ensure that the measured data is the liquid surface of the slurry and not the feeding flow, and to prevent the highest liquid level from entering the monitoring blind area of the liquid level sensor. The ultrasonic wave beam and the transducer of the liquid level sensor should also be perpendicular to the liquid surface of the slurry, and should be kept a certain distance from the wall of the stirring tank, and the height should be ensured within the range of the measuring range, and the emission angle of the probe cannot exceed the boundary of the reference surface.
[0062] a first determination unit 30, configured to match the echoes with pre-stored false echoes, and to determine echoes failing in the matching as target echoes, the pre-stored false echoes being a plurality of echoes leading to inaccurate detection of the liquid level height under different liquid levels;
[0063] In order to facilitate the identification of false echoes, in an optional implementation manner, the device further comprises:
[0064] a setting unit configured to perform a setting step of setting a plurality of predetermined liquid levels before matching the echo with the pre-stored false echo and determining the echo failing in the matching as a target echo;
[0065] a third control unit configured to perform a control step of controlling the ultrasonic sensor to emit the ultrasonic wave beam in the predetermined direction and receive an echo of the ultrasonic wave beam to obtain a plurality of candidate echoes when the liquid level of the stirring tank is a target predetermined liquid level, the target predetermined liquid level being any one of the predetermined liquid levels;
[0066] a third determination unit configured to perform a first determination step of determining a plurality of measured liquid levels according to the receiving time of each of the candidate echoes and the emission time of the ultrasonic wave beam, the measured liquid level corresponding to the candidate echo one by one;
[0067] a fourth determination unit configured to perform a second determination step of determining a false measured liquid level as a measured liquid level having a difference from the target predetermined liquid level greater than a predetermined threshold value and determining a candidate echo corresponding to the false measured liquid level as the pre-stored false echo;
[0068] a repeating unit configured to repeat the setting step, the control step, the first determination step and the second determination step at least once in turn until all the predetermined liquid levels are measured.
[0069] In the embodiment, by performing liquid level measurement at a plurality of predetermined liquid levels, false echoes at the plurality of predetermined liquid levels, i.e. echoes with inaccurate liquid level detection, are determined, a database of false echoes is established, and in subsequent liquid level measurement, echoes are matched with false echoes in the database to realize identification of false echoes.
[0070] In order to further ensure the accuracy of liquid level detection, in an optional embodiment, the plurality of predetermined liquid levels are arranged from small to large, the height difference between any two adjacent predetermined liquid levels is less than a predetermined height, and the predetermined liquid levels include a minimum liquid level and a maximum liquid level, the minimum liquid level is 0, and the maximum liquid level is a liquid level corresponding to the capacity of the stirring tank.
[0071] In the above embodiment, the predetermined liquid level height is 6mm, and the maximum height is 1000mm. The predetermined liquid level height is arranged from small to large as 0mm, 5mm, 10mm, 15mm, …, 1000mm. The predetermined height is evenly sampled at the minimum liquid level height and the maximum liquid level height. The minimum difference between any height and the predetermined height is less than 6mm. The richness of the database data is improved, and the accuracy of the false echo matching is further improved to exclude the influence of the false echo and further ensure the accuracy of the liquid level height detection.
[0072] The second determination unit 40 is configured to determine the current liquid level height according to the receiving time of the target echo and the transmitting time of the ultrasonic wave beam.
[0073] In order to obtain the liquid level measurement result in real time, in an optional embodiment, the second determination unit comprises:
[0074] The first calculation module is configured to perform a first calculation step, and is configured to calculate the time difference between the receiving time of the target echo and the transmitting time of the ultrasonic wave beam to obtain the propagation time.
[0075] The second calculation module is configured to perform a second calculation step, and is configured to calculate the liquid surface distance according to the propagation time and the propagation speed of the ultrasonic wave beam. The liquid surface distance is the vertical distance between the liquid surface of the stirred tank and the ultrasonic sensor.
[0076] The third calculation module is configured to perform a third calculation step, and is configured to calculate the difference between the predetermined height and the liquid surface distance to obtain the current liquid level height. The predetermined height is the vertical distance between the ultrasonic sensor and the bottom of the stirred tank.
[0077] In the above embodiment, the ultrasonic liquid level sensor calculates the liquid surface height by using the time difference between the sound wave transmitting and receiving and the sound wave propagation speed. The calculation is simple, and the liquid level measurement result can be obtained in real time.
[0078] In order to realize the continuous monitoring of the liquid level height of the stirred tank, the device further comprises:
[0079] The first sending unit is configured to send the current liquid level height to a monitoring terminal after determining the current liquid level height according to the receiving time of the target echo and the transmitting time of the ultrasonic wave beam. The monitoring terminal is in communication connection with the ultrasonic sensor.
[0080] In the above embodiment, the current liquid level height is sent to the monitoring terminal through the EtherCat field bus, and the continuous monitoring of the liquid level height of the stirred tank is realized.
[0081] In order to realize the anti-overflow alarm and the idle protection of the stirring tank, in an optional implementation manner, the device further comprises:
[0082] The second sending unit is configured to, after sending the current liquid level to the monitoring terminal, send an anti-overflow alarm if the current liquid level is greater than the first predetermined height, wherein the anti-overflow alarm is used to prompt to lower the liquid level to prevent overflow;
[0083] The third sending unit is configured to, if the current liquid level is less than the second predetermined height, send an idle alarm, wherein the idle alarm is used to prompt to raise the liquid level to prevent idle.
[0084] In the implementation manner, the first predetermined height is the warning line of liquid overflow, and the second predetermined height is the warning line of idle. The anti-overflow alarm and the idle alarm are realized by the liquid level exceeding the warning line, the problem of non-transparent slurry liquid level of the stirring tank is solved, and the production efficiency is improved to ensure the production process.
[0085] In the stirring tank liquid level measurement device, the first control unit controls the ultrasonic sensor to emit an ultrasonic wave beam in a predetermined direction, and the predetermined direction is the vertical direction of the liquid surface of the stirring tank; the second control unit controls the ultrasonic sensor to receive the echo of the ultrasonic wave beam to obtain a plurality of echoes; the first determination unit matches the echoes with pre-stored false echoes, and determines the echoes that fail to match as target echoes, wherein the pre-stored false echoes are echoes that cause inaccurate detection of the liquid level height at a plurality of liquid levels; and the second determination unit determines the current liquid level according to the receiving time of the target echoes and the emission time of the ultrasonic wave beam. Since the ultrasonic sensor receives a plurality of echoes with different receiving times during stirring of the stirring tank, the liquid level measurement is inaccurate. In this method, a plurality of echoes that cause inaccurate detection of the liquid level height at a plurality of liquid levels are used as pre-stored false echoes to screen the currently measured echoes, that is, the echoes that successfully match the pre-stored false echoes are removed, and the remaining echoes are determined as target echoes. The current liquid level can be determined according to the receiving time of the target echoes and the emission time of the ultrasonic wave beam, the influence of false echoes is avoided, the accuracy of the current liquid level is ensured, and the problem of inaccurate liquid level measurement of the stirring tank in the prior art is solved.
[0086] The embodiments of the present application also provide a stirring system, which comprises a stirring tank, an ultrasonic sensor, one or more processors, a memory, and one or more programs, wherein the ultrasonic sensor is arranged at the top of the stirring tank so that the liquid surface of the stirring tank cannot submerge the ultrasonic sensor, the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise a program for executing any one of the stirring tank liquid level measurement methods.
[0087] In the stirring system, the ultrasonic sensor receives echoes with different receiving times during stirring of the stirring tank, which leads to inaccurate liquid level measurement. The method regards echoes with inaccurate liquid level height as pre-stored false echoes, filters the echoes according to the pre-stored false echoes, removes echoes matched with the pre-stored false echoes, and determines target echoes. The current liquid level height can be determined according to the receiving time of the target echoes and the emitting time of the ultrasonic wave beam, the influence of false echoes is avoided, the accuracy of the current liquid level height is ensured, and the problem of inaccurate liquid level measurement of the stirring tank in the prior art is solved.
[0088] In a specific embodiment, the stirring tank is a stirring tank of a pulp equipment. Figure 3 As shown, the system receives data from the ultrasonic liquid level sensor through the EtherCat field bus, the pulp equipment PLC slave station, direct analog input control, analog output feedback, and terminal display of the real-time liquid level in the stirring tank. The feedback pulp residual amount and pulp supply state are normal or not, the system overflow alarm and pump idle protection are realized, the problem of non-transparent pulp liquid level in the stirring tank is solved, and the field production efficiency is improved to ensure the production process.
[0089] The liquid level measurement device of the stirring tank includes a processor and a memory. The first control unit, the second control unit, the first determination unit, the second control unit, etc. are stored in the memory as program units. The processor executes the program units stored in the memory to realize the corresponding functions.
[0090] The processor includes a core, which retrieves the corresponding program units from the memory. The core can be set to one or more, and the liquid level height in the stirring tank is measured by adjusting the core parameters.
[0091] The memory can include non-permanent memory in a computer readable medium, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash memory (flash RAM). The memory includes at least one memory chip.
[0092] The embodiment of the present application provides a computer readable storage medium, which stores a program. The program is executed by a processor to realize the liquid level measurement method of the stirring tank.
[0093] The embodiment of the present application provides a processor. The processor is used to run a program. When the program is run, the liquid level measurement method of the stirring tank is executed.
[0094] The embodiment of the present application provides a device. The device includes a processor, a memory, and a program stored on the memory and executable on the processor. When the processor executes the program, at least the following steps are realized.
[0095] Step S101, control the ultrasonic sensor to emit an ultrasonic wave beam along a predetermined direction, the predetermined direction being the vertical direction of the liquid level of the stirring tank;
[0096] Step S102, control the ultrasonic sensor to receive the echo of the ultrasonic wave beam, and obtain a plurality of echoes;
[0097] Step S103, match each of the echoes with a pre-stored false echo, and determine the echo that fails to match as a target echo, the pre-stored false echo being an echo that leads to inaccurate detection of the liquid level height under a plurality of liquid levels;
[0098] Step S104, determine the current liquid level height according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam.
[0099] The device herein can be a server, a PC, a PAD, a mobile phone, etc.
[0100] The application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program that has at least the following method steps:
[0101] Step S101, control the ultrasonic sensor to emit an ultrasonic wave beam along a predetermined direction, the predetermined direction being the vertical direction of the liquid level of the stirring tank;
[0102] Step S102, control the ultrasonic sensor to receive the echo of the ultrasonic wave beam, and obtain a plurality of echoes;
[0103] Step S103, match each of the echoes with a pre-stored false echo, and determine the echo that fails to match as a target echo, the pre-stored false echo being an echo that leads to inaccurate detection of the liquid level height under a plurality of liquid levels;
[0104] Step S104, determine the current liquid level height according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam.
[0105] In the above embodiments of the application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0106] In several embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented by other manners. Among them, the above-described device embodiments are only illustrative, for example, the division of the above-mentioned units can be a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or modules shown or discussed can be indirect coupling or communication connection between the units or modules through some interfaces, and can be electrical or other forms.
[0107] The units described above as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed to multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0108] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0109] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer-readable computer-readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part of the prior art or the whole or part of the technical solutions can be embodied in the form of a software product, and the computer software product stored in a computer-readable storage medium includes a plurality of instructions for making a computer device (which can be a personal computer, a server or a network device, etc.) execute all or part of the steps of the above-mentioned method of each embodiment of the present application. The aforementioned computer-readable storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and various program code storage media.
[0110] From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
[0111] 1) The liquid level measurement method of the stirring tank of the present application, first, the ultrasonic sensor emits an ultrasonic wave beam along a predetermined direction, the predetermined direction is the vertical direction of the liquid level of the stirring tank; then, the ultrasonic sensor receives the echo of the ultrasonic wave beam to obtain a plurality of echoes; then, each of the echoes is matched with a pre-stored false echo, and the echo that fails to match is determined as a target echo, the pre-stored false echo is a plurality of echoes that lead to inaccurate detection of liquid level height under multiple liquid levels; finally, the current liquid level height is determined according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam. Since the ultrasonic sensor receives a plurality of echoes with different receiving times when the stirring tank is stirred, the liquid level measurement is inaccurate. This method takes the echoes that lead to inaccurate detection of liquid level height under multiple liquid levels as pre-stored false echoes to screen the currently measured echoes, i.e. the echoes that match the pre-stored false echoes are removed, and the remaining echoes are determined as target echoes. The current liquid level height can be determined according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam, avoiding the influence of false echoes, ensuring the accuracy of the current liquid level height, and solving the problem of inaccurate liquid level measurement of the stirring tank in the prior art.
[0112] 2) The liquid level measurement device of the stirring tank of the present application, the first control unit controls the ultrasonic sensor to emit an ultrasonic wave beam along a predetermined direction, the predetermined direction is the vertical direction of the liquid level of the stirring tank; the second control unit controls the ultrasonic sensor to receive the echo of the ultrasonic wave beam to obtain a plurality of echoes; the first determination unit matches the echoes with a pre-stored false echo, and determines the echo that fails to match as a target echo, the pre-stored false echo is a plurality of echoes that lead to inaccurate detection of liquid level height under multiple liquid levels; the second determination unit determines the current liquid level height according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam. Since the ultrasonic sensor receives a plurality of echoes with different receiving times when the stirring tank is stirred, the liquid level measurement is inaccurate. This method takes the echoes that lead to inaccurate detection of liquid level height under multiple liquid levels as pre-stored false echoes to screen the currently measured echoes, i.e. the echoes that match the pre-stored false echoes are removed, and the remaining echoes are determined as target echoes. The current liquid level height can be determined according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam, avoiding the influence of false echoes, ensuring the accuracy of the current liquid level height, and solving the problem of inaccurate liquid level measurement of the stirring tank in the prior art.
[0113] 3) The stirring system of this application includes a stirring tank and an ultrasonic sensor. When the stirring tank is stirring, the ultrasonic sensor receives multiple echoes with different reception times, which leads to inaccurate liquid level measurement. This method uses the echoes that cause inaccurate liquid level detection at multiple liquid levels as pre-stored false echoes to filter the currently measured echoes. That is, echoes that successfully match the pre-stored false echoes are removed, and the remaining echoes are determined as target echoes. The current liquid level height can be determined based on the reception time of the target echo and the transmission time of the ultrasonic beam, thus avoiding the influence of false echoes, ensuring the accuracy of the current liquid level height, and solving the problem of inaccurate liquid level measurement in the stirring tank in the prior art.
[0114] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method of measuring the level of a stirred tank, characterized in that, An ultrasonic sensor is arranged at the top of the stirring tank, so that the liquid level position of the stirring tank is always lower than the position where the ultrasonic sensor is arranged, and the method comprises: controlling the ultrasonic sensor to emit an ultrasonic wave beam in a predetermined direction, the predetermined direction being the vertical direction of the liquid level of the stirring tank; controlling the ultrasonic sensor to receive the echo of the ultrasonic wave beam, obtaining a plurality of echoes; matching each of the echoes with a pre-stored false echo, and determining the echo that fails to match as a target echo, the pre-stored false echo being an echo that causes inaccurate liquid level height detection at a plurality of liquid levels; determining the current liquid level height according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam; before matching each of the echoes with a pre-stored false echo and determining the echo that fails to match as a target echo, the method further comprises: a setting step of setting a plurality of predetermined liquid level heights; a control step of, in the case that the liquid level height of the stirring tank is a target predetermined liquid level height, controlling the ultrasonic sensor to emit the ultrasonic wave beam in the predetermined direction and receive the echo of the ultrasonic wave beam, obtaining a plurality of alternative echoes, the target predetermined liquid level height being any one of the predetermined liquid level heights; a first determination step of determining a plurality of measured liquid level heights according to the receiving time of each of the alternative echoes and the emitting time of the ultrasonic wave beam, the measured liquid level heights corresponding one-to-one to the alternative echoes; a second determination step of determining a measured liquid level height as an erroneous measured liquid level height if the difference between the measured liquid level height and the target predetermined liquid level height is greater than a predetermined threshold, and determining the alternative echo corresponding to the erroneous measured liquid level height as the pre-stored false echo; sequentially repeating the setting step, the control step, the first determination step and the second determination step at least once until all of the predetermined liquid level heights are measured.
2. The method of claim 1, wherein, The plurality of predetermined liquid level heights are arranged from small to large, the height difference between any two adjacent predetermined liquid levels is less than a predetermined height, and the predetermined liquid level heights include a minimum liquid level height and a maximum liquid level height, the minimum liquid level height being 0, and the maximum liquid level height being the liquid level height corresponding to the capacity of the stirring tank.
3. The method of claim 1, wherein, Determining the current liquid level height according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam comprises: calculating the time difference between the receiving time of the target echo and the emitting time of the ultrasonic wave beam to obtain a propagation time; calculating a liquid surface distance according to the propagation time and the propagation speed of the ultrasonic wave beam, the liquid surface distance being the vertical distance between the liquid surface of the stirring tank and the ultrasonic sensor; calculating the difference between a predetermined height and the liquid surface distance to obtain the current liquid level height, the predetermined height being the vertical distance between the ultrasonic sensor and the bottom of the stirring tank.
4. The method according to any one of claims 1 to 3, characterized in that, After determining the current liquid level height according to the receiving time of the target echo and the emitting time of the ultrasonic wave beam, the method further comprises: sending the current liquid level height to a monitoring terminal, the monitoring terminal being in communication connection with the ultrasonic sensor.
5. The method of claim 4, wherein, After sending the current liquid level height to the monitoring terminal, the method further comprises: In the case that the current liquid level height is greater than a first predetermined height, an anti-overflow alarm is sent, which is used to prompt to lower the liquid level to prevent overflow; In the case that the current liquid level height is less than a second predetermined height, an idling alarm is sent, which is used to prompt to raise the liquid level to prevent idling.
6. The method of claim 1, wherein, The ultrasonic wave beam is a periodically repeated ultrasonic pulse.
7. A liquid level measuring device for a stirred tank, characterized by The ultrasonic sensor is arranged at the top of the stirring tank, so that the liquid surface position of the stirring tank is always lower than the position where the ultrasonic sensor is arranged, and the device comprises: A first control unit is configured to control the ultrasonic sensor to emit an ultrasonic wave beam along a predetermined direction, and the predetermined direction is the vertical direction of the liquid surface of the stirring tank; A second control unit is configured to control the ultrasonic sensor to receive the echo of the ultrasonic wave beam to obtain a plurality of echoes; A first determination unit is configured to match the echoes with pre-stored false echoes, and determine the echoes that fail to match as target echoes, and the pre-stored false echoes are echoes that cause inaccurate detection of the liquid level height under a plurality of liquid levels; A second determination unit is configured to determine the current liquid level height according to the receiving time of the target echoes and the emission time of the ultrasonic wave beam; The device further comprises: a setting unit configured to perform a setting step before matching the echoes with the pre-stored false echoes and determining the echoes that fail to match as target echoes, and set a plurality of predetermined liquid level heights; a third control unit configured to perform a control step, and control the ultrasonic sensor to emit the ultrasonic wave beam along the predetermined direction and receive the echo of the ultrasonic wave beam to obtain a plurality of alternative echoes in the case that the liquid level height of the stirring tank is a target predetermined liquid level height, and the target predetermined liquid level height is any one of the predetermined liquid level heights; a third determination unit configured to perform a first determination step, and determine a plurality of measured liquid level heights according to the receiving time of each of the alternative echoes and the emission time of the ultrasonic wave beam, and the measured liquid level heights correspond to the alternative echoes one by one; a fourth determination unit configured to perform a second determination step, and determine a measured liquid level height as an erroneous measured liquid level height in the case that the difference between the measured liquid level height and the target predetermined liquid level height is greater than a predetermined threshold, and determine the alternative echo corresponding to the erroneous measured liquid level height as the pre-stored false echo; and a repeating unit configured to repeat the setting step, the control step, the first determination step and the second determination step at least once in turn until all of the predetermined liquid level heights are measured.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored program, wherein the program is executed by a processor, and the processor executes the method of any one of claims 1 to 6.
9. A stirring system, characterized by Comprise: The stirring tank, an ultrasonic sensor, one or more processors, a memory, and one or more programs, wherein the ultrasonic sensor is arranged at the top of the stirring tank so that the liquid level of the stirring tank cannot submerge the ultrasonic sensor, the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise a program for executing the liquid level measurement method of the stirring tank according to any one of claims 1 to 6.
Citation Information
Patent Citations
Ultrasonic liquid level measuring method and device and ultrasonic liquid level meter
CN111189513A