Ultrasonic probe mounting method, liquid level measurement method, device, medium and product

By installing an ultrasonic probe on the curved or inclined surface of the outer surface of the storage tank and using a mounting block to ensure vertical ultrasonic wave incidence, the problems of impurity interference and non-vertical incidence are solved, thus improving the accuracy of liquid level measurement.

CN119305885BActive Publication Date: 2025-11-21XIAN DINGHUA ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411844364.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-11-21
Estimated Expiration
2044-12-16

AI Technical Summary

Technical Problem

When an ultrasonic probe is installed on a relatively flat area at the bottom of a liquid storage tank, it is easily affected by impurities, which leads to a decrease in the accuracy of liquid level measurement. In addition, the ultrasonic waves emitted by the ultrasonic probe are incident on the liquid surface in a non-vertical direction, making it difficult to accurately receive the echo signal.

Method used

The installation point is determined on the curved or inclined surface of the outer surface of the liquid storage tank, and the ultrasonic probe is installed by the mounting block. The ultrasonic waves emitted by the ultrasonic probe pass through the mounting block and the tank wall in sequence and are vertically incident on the medium to be measured. The design of the mounting block ensures that the ultrasonic waves travel vertically back and forth.

Benefits of technology

It effectively avoids the influence of impurities on the measurement, ensures vertical incident and reflected ultrasonic signals, and improves the accuracy of liquid level measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119305885B_ABST
    Figure CN119305885B_ABST
Patent Text Reader

Abstract

The application discloses an ultrasonic probe mounting method, a liquid level measuring method and device, a medium and a product, and relates to the field of liquid level measurement. The method comprises the following steps: determining a mounting point on an arc surface area or an inclined surface area of an outer surface of a target liquid storage tank; mounting an ultrasonic probe at the mounting point through a mounting block, so that the ultrasonic waves emitted by the ultrasonic probe pass through the mounting block, the tank wall of the target liquid storage tank and vertically enter the measured medium in the target liquid storage tank from the tank wall. Since the arc surface area or the inclined surface area of the outer surface of the target liquid storage tank is not easy to deposit impurities, the mounting point is determined on the arc surface area or the inclined surface area of the outer surface of the target liquid storage tank, and the ultrasonic probe is mounted at the determined mounting point through the mounting block. Therefore, during measurement, the impurities deposited on the bottom of the target liquid storage tank can be prevented from affecting the liquid level measurement of the ultrasonic probe, and the accuracy of ultrasonic liquid level measurement can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of liquid level measurement, and in particular to an ultrasonic probe installation method, liquid level measurement method, device, medium, and product. Background Technology

[0002] Ultrasonic level measurement is a technology used to measure the height of liquid materials. It is primarily applied in industrial process control and monitoring, and has been widely used in the petroleum and chemical industries. Ultrasonic level measurement is based on the principles of ultrasonic wave propagation and reflection. Specifically, an ultrasonic sensor emits an ultrasonic signal. When this signal propagates through the measured medium and encounters the liquid surface, it is reflected. The ultrasonic sensor receives the echo signal reflected back from the liquid surface. By measuring the time difference between the emitted and received echo signals, the propagation distance of the ultrasonic wave in the measured medium is calculated, thus determining the liquid level. Because ultrasonic level measurement has the advantage of non-contact measurement, it can be deployed externally to the storage tank and is suitable for measuring various corrosive, volatile, and high-temperature liquids.

[0003] In actual industrial production and applications, ultrasonic level measurement faces various complex working conditions. Typically, the ultrasonic probe is installed on a relatively flat area at the bottom of the storage tank. This is because other areas of the tank have obvious curved surfaces, slopes, or inclines (which can be simply referred to as steep areas). If installation is required in these steep areas, please refer to [further details needed]. Figure 1 The ultrasonic waves emitted by the ultrasonic probe 2 will be incident on the liquid surface 4 in a non-vertical direction and then reflected by the liquid surface 4. This is detrimental to the ultrasonic probe 2's ability to receive echo signals, and because the incident direction is non-vertical, it can also easily lead to inaccurate measurements. Installing the ultrasonic probe 2 on a relatively flat area at the bottom of the storage tank 3 (see [link to relevant documentation]) would be preferable. Figure 2 In contrast, ultrasound can achieve vertical back-and-forth motion, which is beneficial for accurate measurement.

[0004] However, there are also problems with installing the ultrasonic probe 2 on the relatively flat area at the bottom of the liquid storage tank 3: a lot of impurities are deposited in the relatively flat area at the bottom of the liquid storage tank 3, which will affect the liquid level measurement and cause the accuracy of ultrasonic liquid level measurement to decrease. Summary of the Invention

[0005] The purpose of this application is to provide an ultrasonic probe installation method, a liquid level measurement method, a device, a medium, and a product to improve the measurement accuracy of ultrasonic liquid level measurement.

[0006] To achieve the above objectives, this application provides the following solution:

[0007] Firstly, this application provides a method for installing an ultrasonic probe, comprising:

[0008] Determine the installation points on the curved or sloping surface of the target liquid storage tank.

[0009] The ultrasonic probe is installed at the mounting point using a mounting block, so that the ultrasonic waves emitted by the ultrasonic probe pass sequentially through the mounting block and the tank wall of the target liquid storage tank, and are vertically incident on the target liquid storage tank from the tank wall into the measured medium inside the target liquid storage tank.

[0010] Optionally, the bottom surface of the mounting block is used to mount the ultrasonic probe, and the top surface of the mounting block is used to contact the outer surface of the target liquid storage tank.

[0011] Optionally, the bottom surface of the mounting block is a plane, the incident direction of the ultrasonic waves emitted by the ultrasonic probe is perpendicular to the bottom surface of the mounting block, the top surface of the mounting block is an inclined plane, and the angle between the top surface and the bottom surface of the mounting block is an acute angle.

[0012] The mounting block satisfies the following formula:

[0013] ;

[0014] in, The angle between the top and bottom surfaces of the mounting block is [angle]. The velocity of the ultrasonic wave in the mounting block. Let Δ be the angle between the first tangent plane and the horizontal plane. To compensate for the angle, the first sectional surface refers to the sectional surface passing through the installation point (also known as the measuring contact surface). The velocity of the ultrasonic wave within the tank wall. The speed of sound of the ultrasonic wave in the measured medium or air.

[0015] Optionally, the bottom surface of the mounting block is a plane, the incident direction of the ultrasonic waves emitted by the ultrasonic probe is perpendicular to the bottom surface of the mounting block, the top surface of the mounting block is a curved surface that matches the arc area, the angle between the third tangent and the bottom surface of the mounting block is an acute angle, and the third tangent is a tangent passing through at least one point on the top surface of the mounting block.

[0016] The mounting block satisfies the following formula:

[0017] ;

[0018] in, The angle between the third sectional surface and the bottom surface of the mounting block. The velocity of the ultrasonic wave in the mounting block. Δ is the angle between the third tangent plane and the horizontal plane. To compensate for the angle, The velocity of the ultrasonic wave within the tank wall. The speed of sound of the ultrasonic wave in the measured medium or air.

[0019] Optionally, the mounting block is integrally encapsulated with the piezoelectric ceramic sheet of the ultrasonic probe; a portion of the mounting block is located inside the housing of the ultrasonic probe, wherein the piezoelectric ceramic sheet is mounted on the bottom surface of the mounting block, and the top surface of the mounting block is exposed outside the housing.

[0020] Secondly, this application provides an ultrasonic liquid level measurement method, including:

[0021] After installing the ultrasonic probe using any of the above-described installation methods, perform the liquid level measurement operation:

[0022] Perform at least one first signal transmission / reception operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or a predetermined number of operations are reached; wherein, the first signal transmission / reception operation includes:

[0023] According to the set transmission frequency, the ultrasonic probe is controlled to emit ultrasonic signals and receive the echo signals reflected back from the liquid surface of the measured medium.

[0024] If the amplitude of the received echo signal is not less than a set echo amplitude threshold, a liquid level height calculation operation is performed; wherein, the liquid level height calculation operation includes:

[0025] The liquid level height is calculated based on the time difference between the ultrasonic probe emitting the ultrasonic signal and receiving the echo signal, as well as the speed at which the ultrasonic wave propagates in the measured medium or air. The measured liquid level height is the vertical distance from the ultrasonic probe to the surface of the measured medium.

[0026] Optionally, the ultrasonic liquid level measurement method further includes:

[0027] Before performing the liquid level measurement operation, a transmission frequency adjustment operation is performed;

[0028] The transmission frequency adjustment operation includes a transmission frequency coarse scan operation:

[0029] Starting from a first frequency value, and according to a set first adjustment step size, a second frequency value with the largest echo amplitude is determined by scanning within a set frequency range; wherein, the first frequency value is any frequency value within the set frequency range.

[0030] After performing a coarse scan of the transmission frequency, the transmission frequency used in the first signal transmission and reception operation is determined based on the obtained second frequency value.

[0031] Optionally, determining the transmission frequency used in the first signal transmission and reception operation based on the obtained second frequency value includes:

[0032] Starting from the second frequency value, perform a first fine scan operation; wherein, the first fine scan operation includes:

[0033] The transmission frequency is adjusted according to a second adjustment step size; wherein the second adjustment step size is smaller than the first adjustment step size.

[0034] Perform the second signal transmission and reception operation: according to the adjusted transmission frequency, control the ultrasonic probe to transmit ultrasonic signals, receive the echo signals reflected back from the liquid surface of the measured medium, and extract the echo amplitude from the received echo signals.

[0035] If the echo amplitude obtained from the first fine scan operation is less than the echo amplitude of the second frequency value, a second fine scan operation is performed starting from the second frequency value; wherein, the second fine scan operation adjusts the transmission frequency in the opposite direction to the first fine scan operation.

[0036] If the echo amplitude value extracted by the second fine scan operation is less than the echo amplitude value of the second frequency value, the second frequency value shall be used as the transmission frequency adopted by the first signal transmission and reception operation.

[0037] If the echo amplitude value extracted by the second fine scan operation is not less than the echo amplitude value of the second frequency value, the second fine scan operation is repeated until the echo amplitude value extracted by the second fine scan operation begins to decrease, and the transmission frequency corresponding to the largest echo amplitude value is taken as the transmission frequency used in the first signal transmission and reception operation.

[0038] If the echo amplitude extracted by the first fine scan operation is not less than the echo amplitude of the second frequency value, the first fine scan operation is repeated until the echo amplitude extracted by the first fine scan operation begins to decrease, and the transmission frequency corresponding to the largest echo amplitude is taken as the transmission frequency used in the first signal transmission and reception operation.

[0039] Optionally, determining the transmission frequency used in the first signal transmission and reception operation based on the obtained second frequency value includes:

[0040] The second frequency value is used as the transmission frequency employed in the first signal transmission and reception operation.

[0041] Optionally, the liquid level measurement operation further includes:

[0042] Before performing the liquid level height calculation operation if the amplitude of the received echo signal is not less than a set echo amplitude threshold, the echo signal is preprocessed, and the preprocessing includes filtering.

[0043] Optionally, the liquid level measurement operation further includes:

[0044] Before performing the liquid level height calculation operation if the amplitude of the received echo signal is not less than a set echo amplitude threshold, the echo signal is preprocessed, and the preprocessing includes filtering.

[0045] If the number of times the transmission frequency adjustment operation is performed reaches a predetermined number, the ultrasonic liquid level measurement method further includes:

[0046] Before performing the liquid level calculation operation, the measurement parameters are adjusted according to the target transmission frequency. The measurement parameters include at least one of the filter parameters used in the filtering process and the local oscillator signal frequency of the ultrasonic receiving module. The target transmission frequency is the transmission frequency used in the latest determined first signal transmission and reception operation.

[0047] Optionally, the filtering process includes at least one of low-pass filtering and band-pass filtering;

[0048] If the filtering process includes low-pass filtering, the adjustment of the measurement parameters according to the target transmission frequency includes a first parameter adjustment operation:

[0049] The cutoff frequency of the low-pass filter is adjusted to be greater than the target transmission frequency;

[0050] If the filtering process includes bandpass filtering, the adjustment of the measurement parameters according to the target transmission frequency includes a second parameter adjustment operation or a third parameter adjustment operation, wherein the second parameter adjustment operation includes:

[0051] The center frequency of the bandpass filter is adjusted to the frequency of the mixing signal; the mixing signal is the sum or difference frequency of the target echo signal and the first local oscillator signal; the target echo signal is the echo signal corresponding to the maximum echo amplitude during the last execution of the transmission frequency adjustment operation; the first local oscillator signal is specifically the local oscillator signal generated by the ultrasonic receiving module.

[0052] The third parameter tuning operation includes:

[0053] The frequency of the local oscillator signal of the ultrasonic receiving module is adjusted so that the sum or difference frequency of the second local oscillator signal and the target echo signal is the center frequency of the bandpass filter; wherein, the second local oscillator signal is the local oscillator signal generated by the adjusted ultrasonic receiving module.

[0054] Optionally, the liquid level height calculation operation further includes:

[0055] The liquid level height of the measured medium is obtained by adding the vertical distance from the ultrasonic probe to the bottom of the target storage tank to the measured liquid level height.

[0056] The measured liquid level height is calculated according to the following formula:

[0057] ;

[0058] in, To measure the liquid level height; The time difference between the ultrasonic probe emitting the ultrasonic signal and receiving the echo signal. The wave speed is the speed at which the ultrasonic wave propagates in the medium being measured.

[0059] Thirdly, this application provides an ultrasonic liquid level measuring device, comprising:

[0060] An ultrasonic probe is used to transmit ultrasonic signals according to a set transmission frequency and receive the echo signals reflected back from the liquid surface of the measured medium.

[0061] The mounting block is used to install the ultrasonic probe at the mounting point so that the ultrasonic waves emitted by the ultrasonic probe pass through the mounting block and the tank wall of the target liquid tank in sequence and are vertically incident on the test medium inside the target liquid tank from the tank wall. The mounting point is located in the arc area or inclined area of ​​the outer surface of the target liquid tank.

[0062] The main unit is used to control and execute liquid level measurement operations.

[0063] Perform at least one first signal transmission / reception operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or a predetermined number of operations are reached; wherein, performing the first signal transmission / reception operation includes:

[0064] According to the set transmission frequency, the ultrasonic probe is controlled to emit ultrasonic signals and receive the echo signals reflected back from the liquid surface of the measured medium.

[0065] If the amplitude of the received echo signal is not less than a set echo amplitude threshold, a liquid level height calculation operation is performed; wherein, the liquid level height calculation operation includes:

[0066] The liquid level height is calculated based on the time difference between the ultrasonic probe emitting the ultrasonic signal and receiving the echo signal, as well as the speed at which the ultrasonic wave propagates in the measured medium or air. The measured liquid level height is the vertical distance from the ultrasonic probe to the surface of the measured medium.

[0067] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the ultrasonic liquid level measurement method described in any of the preceding claims.

[0068] Fifthly, this application provides a computer program product, including a computer program, characterized in that, when executed by a processor, the computer program implements the steps of the ultrasonic liquid level measurement method described in any of the above claims.

[0069] According to the specific embodiments provided in this application, the following technical effects are disclosed:

[0070] This application provides an ultrasonic probe installation method, a liquid level measurement method, an apparatus, a medium, and a product. Since impurities are not easily deposited on the curved or inclined areas of the outer surface of the target liquid storage tank, by determining the installation point on the curved or inclined area of ​​the outer surface of the target liquid storage tank and using an installation block to install the ultrasonic probe at the determined installation point, the impurities deposited at the bottom of the target liquid storage tank can be avoided from affecting the liquid level measurement work of the ultrasonic probe during measurement, thereby ensuring the accuracy of ultrasonic liquid level measurement. This solves the problem that the accuracy of ultrasonic liquid level measurement decreases due to the large amount of impurities when the ultrasonic probe is installed on the relatively flat area at the bottom of the liquid storage tank. Furthermore, by mounting the ultrasonic probe at the designated mounting point using a mounting block, the ultrasonic waves emitted by the probe sequentially pass through the mounting block, the tank wall of the target liquid storage tank, and then vertically enter the measured medium within the tank. This ensures that the ultrasonic waves, after reflection from the liquid surface of the measured medium, return to the ultrasonic probe along the original path. This solves the problem of directly mounting the ultrasonic probe on the curved or inclined surface of the target liquid storage tank, where the emitted ultrasonic waves would enter the liquid surface in a non-vertical direction and be reflected, hindering the reception of echo signals. Simultaneously, mounting the ultrasonic probe at the designated mounting point using a mounting block ensures that the emitted ultrasonic waves enter vertically from the tank wall into the measured medium within the target liquid storage tank, allowing the ultrasonic waves to travel vertically back and forth, effectively improving the accuracy of the measured medium's liquid level. In summary, this application, by mounting the ultrasonic probe in a location less prone to impurity deposition using a mounting block and ensuring the ultrasonic signal travels vertically back and forth, collectively improves the accuracy of the measured medium's liquid level. Attached Figure Description

[0071] Figure 1 A schematic diagram of a structure for installing an ultrasonic probe in a steep area of ​​a liquid storage tank;

[0072] Figure 2 This is a schematic diagram of the structure for installing an ultrasonic probe on a relatively flat area of ​​a liquid storage tank.

[0073] Figure 3 This is a schematic flowchart illustrating an ultrasonic probe installation method according to an embodiment of this application.

[0074] Figure 4A schematic diagram of a structure for mounting an ultrasonic probe on a steep section of a liquid storage tank using a mounting block, according to an embodiment of this application;

[0075] Figure 5 A schematic diagram of a structure for mounting an ultrasonic probe on a steep section of a liquid storage tank using a mounting block, as provided in another embodiment of this application;

[0076] Figure 6 This is a schematic flowchart of the liquid level measurement operation of an ultrasonic liquid level measurement method provided in an embodiment of this application;

[0077] Figure 7 This is a functional module diagram of an ultrasonic liquid level measuring device provided in an embodiment of this application;

[0078] Figure 8 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application.

[0079] In the diagram, 1. Mounting block, 2. Ultrasonic probe, 3. Storage tank, 3-1. Tank wall, 4. Liquid surface, 5. First cross-section, 6. Second cross-section, 7. Third cross-section, 8. Main unit, 9. Temperature probe, 10. Temperature processing module, 11. Ultrasonic transmitting module, 12. Ultrasonic receiving module, 13. Main control module, 14. Display module, 15. Piezoelectric ceramic sheet. Detailed Implementation

[0080] The present application will now be described in further detail with reference to the accompanying drawings and specific embodiments.

[0081] In one exemplary embodiment, such as Figure 3 As shown, an ultrasonic probe installation method is provided, including steps 101 to 102. Wherein:

[0082] Step 101: Determine the installation point on the curved or sloping area of ​​the outer surface of the target liquid storage tank.

[0083] The medium stored in the target liquid storage tank is the medium being measured. The target liquid storage tank can be a spherical liquid storage tank, a cylindrical liquid storage tank, an irregularly shaped tank, etc.

[0084] Step 102: Install the ultrasonic probe 2 at the installation point using the mounting block 1, so that the ultrasonic waves emitted by the ultrasonic probe 2 pass sequentially through the mounting block 1, the tank wall 3-1 of the target liquid storage tank, and vertically enter the measured medium inside the target liquid storage tank from the tank wall 3-1. Figure 4 As shown.

[0085] By implementing steps 101 to 102 above, since impurities are not easily deposited on the curved or sloping areas of the outer surface of the target liquid storage tank, by determining the installation point on the curved or sloping area of ​​the outer surface of the target liquid storage tank and using the mounting block 1 to install the ultrasonic probe 2 at the determined installation point, the impurities deposited at the bottom of the target liquid storage tank can be avoided from affecting the liquid level measurement of the ultrasonic probe 2 during measurement. This ensures the accuracy of ultrasonic liquid level measurement and solves the problem of decreased accuracy of ultrasonic liquid level measurement due to the large amount of impurities when the ultrasonic probe 2 is installed on the relatively flat area at the bottom of the liquid storage tank. Furthermore, by mounting the ultrasonic probe 2 at the installation point using mounting block 1, the ultrasonic waves emitted by the probe 2 pass sequentially through mounting block 1 and the tank wall of the target liquid storage tank, and then vertically enter the measured medium inside the tank. This ensures that the ultrasonic waves, after reflection from the liquid surface of the measured medium, return to the ultrasonic probe 2 along the original path. This solves the problem that directly mounting the ultrasonic probe 2 on the curved or inclined surface of the target liquid storage tank would result in the ultrasonic waves emitted by the probe 2 entering the measured medium in a non-vertical direction, and then being reflected by the liquid surface, which is not conducive to the ultrasonic probe 2 receiving the echo signal. Simultaneously, by mounting the ultrasonic probe 2 at the installation point using mounting block 1, the ultrasonic waves emitted by the probe 2 are vertically incident from the tank wall into the measured medium inside the target liquid storage tank, ensuring a vertical round trip and effectively improving the measurement accuracy of the liquid level of the measured medium. In summary, this application, by mounting the ultrasonic probe 2 in a location where impurities are unlikely to accumulate using mounting block 1 and ensuring a vertical round trip of the ultrasonic signal, collectively improves the measurement accuracy of the liquid level of the measured medium.

[0086] The following section will further introduce installation block 1.

[0087] In another exemplary embodiment of this application, the bottom surface of the mounting block 1 is used to mount the ultrasonic probe 2, and the top surface of the mounting block 1 is used to contact the outer surface of the target liquid storage tank.

[0088] It should be noted that the terms "bottom surface" and "top surface" mentioned above do not limit the installation positions of mounting block 1 and ultrasonic probe 2, i.e., they do not limit mounting block 1 to being installed with its top surface facing up and its bottom surface facing down. Depending on actual needs, it can be installed on the bottom outer surface, side outer wall, top outer surface, etc., of the target liquid storage tank. It is understandable that when installed on the top of the target liquid storage tank, the top surface of mounting block 1 is facing down, while its bottom surface is higher than its top surface.

[0089] In one example, the bottom surface of mounting block 1 is a plane, the top surface of mounting block 1 is an inclined plane, and the angle between the top surface and the bottom surface of mounting block 1 is an acute angle.

[0090] The incident direction of the ultrasonic waves emitted by the ultrasonic probe 2 can be perpendicular to the bottom surface of the mounting block 1 or not, as long as the ultrasonic waves can travel vertically back and forth in the target liquid tank.

[0091] Similarly, the above incident direction can be vertical (i.e., perpendicular to the horizontal plane) or non-vertical, as long as the ultrasonic wave can travel vertically back and forth in the target liquid tank.

[0092] When the incident direction of the ultrasonic wave emitted by the ultrasonic probe 2 is perpendicular to the bottom surface of the mounting block 1, the mounting block 1 can satisfy the following formula:

[0093] (6)

[0094] in, The angle between the top and bottom surfaces of mounting block 1. The velocity of the ultrasonic wave in mounting block 1. The angle between the first tangent plane 5 and the horizontal plane is the angle between the first tangent plane 5 and the horizontal plane. The first tangent plane 5 refers to the tangent plane passing through the installation point (also known as the measuring contact surface 5). To compensate for the angle, The velocity of the ultrasonic wave is denoted as 3-1 in the tank wall. The speed of sound is the ultrasonic wave in the medium being measured inside the container or in the air.

[0095] The derivation process is as follows:

[0096] like Figure 4 As shown, according to the law of refraction, when a sound wave is incident obliquely at the interface of different media, the following conditions are met:

[0097] , , = -Δ (1)

[0098] Therefore, we get:

[0099]

[0100] = - = -

[0101] = (2)

[0102] in, The angle of incidence of the ultrasonic wave entering the tank wall is 3-1. The angle of refraction of the ultrasonic wave after it enters the tank wall 3-1. The angle of incidence of the ultrasonic wave into the measured medium or air inside the tank. The angle of refraction of the ultrasonic wave after it enters the measured medium or air inside the tank. The velocity of the ultrasonic wave in mounting block 1. The velocity of the ultrasonic wave is denoted as 3-1 in the tank wall. The speed of sound is the ultrasonic wave in the medium being measured inside the container or in the air.

[0103] Since the incident direction of the ultrasonic wave emitted by the ultrasonic probe 2 is perpendicular to the bottom surface of the mounting block 1, we obtain:

[0104] = (3)

[0105] in, The angle between the top and bottom surfaces of mounting block 1.

[0106] Since the ultrasonic waves are emitted vertically inside the container, therefore:

[0107] = (4)

[0108] in, The angle between the second tangent 6 and the horizontal plane is the angle between the second tangent 6 and the point II through which the ultrasonic wave exits on the tank wall 3-1.

[0109] Since the distance between the ultrasonic wave emitted by the ultrasonic probe 2 at its incident point I on the tank wall 3-1 and its corresponding point III on the inner wall (the curvature of point III is the same as that of incident point I) is equal to the wall thickness of the tank wall 3-1. According to = From the formula Calculated Then calculate the distance between the emission point II and point III of the ultrasonic wave emitted by ultrasonic probe 2 on the tank wall 3-1. , This is considered as the arc length between point II and point III, thus yielding the angle between the tangent plane passing through point III and the horizontal plane (i.e., )and angular difference Δ = ,in, Let Δ be the inner radius of the curved region. Defined as the compensation angle, therefore we get:

[0110] = +Δ (5)

[0111] in, The angle between the first tangent plane 5 and the horizontal plane.

[0112] Therefore, the installation block 1 satisfies the following formula:

[0113] ;(6)

[0114] In this embodiment of the application, you can choose as you see fit. Alternatively, the angle between the cross-section at the installation point, i.e., the first cross-section 5, and the horizontal plane can be determined and used as... Then, use formula (6) to calculate. You can also choose for yourself. Then, use formula (6) to calculate. .

[0115] In another example, the bottom surface of mounting block 1 is a plane, and the top surface of mounting block 1 is a curved surface that matches the arc area of ​​the outer surface of the target liquid storage tank. There are one or more points on the top surface, and the angle between the third tangent 7 passing through these one or more points and the bottom surface of mounting block 1 is an acute angle. For example, the angle between the third tangent 7 passing through the point on the top surface closest to the mounting point and the bottom surface is an acute angle.

[0116] Similar to the previous example, the incident direction of the ultrasonic waves emitted by the ultrasonic probe 2 can be perpendicular to the bottom surface of the mounting block 1 or not, as long as the ultrasonic waves can travel vertically back and forth in the target liquid tank.

[0117] Similarly, the above incident direction can be vertical (i.e., perpendicular to the horizontal plane) or non-vertical, as long as the ultrasonic wave can travel vertically back and forth in the target liquid tank.

[0118] When the incident direction of the ultrasonic wave emitted by the ultrasonic probe 2 is perpendicular to the bottom surface of the mounting block 1, the mounting block 1 in this example satisfies the following formula:

[0119] (10)

[0120] in, The angle between the third cut surface 7 and the bottom surface of the mounting block 1. The velocity of the ultrasonic wave in mounting block 1. The angle between the third tangent plane 7 and the horizontal plane. The speed of sound is the ultrasonic wave in the measured medium or air.

[0121] The derivation process is as follows:

[0122] like Figure 5 As shown, since the incident direction of the ultrasonic wave emitted by the ultrasonic probe 2 is perpendicular to the bottom surface of the mounting block 1, we obtain:

[0123] = (7)

[0124] in, The angle between the third cut surface 7 and the bottom surface of the mounting block 1.

[0125] Since ultrasonic waves propagate vertically in the medium being measured inside the container or in the air, therefore:

[0126] = (8)

[0127] in, The angle between the second tangent plane 6 and the horizontal plane.

[0128] Based on the analysis of formula (5), we can similarly obtain:

[0129] = +Δ (9)

[0130] in, The angle between the third tangent plane 7 and the horizontal plane.

[0131] Therefore, based on formula (2), the mounting block 1 satisfies the following equation:

[0132] ;(10)

[0133] In this embodiment of the application, you can choose as you see fit. Alternatively, the tangent at the installation point can be determined by measuring the angle between the contact surface 5 and the horizontal plane, and this angle can be used as the reference. (That is, it is assumed that the third tangential surface 7 overlaps with the measuring contact surface 5), and then the formula (10) is used to calculate. You can also choose for yourself. Then calculate using formula (10). The angle between the measured contact surface 5 and the horizontal plane is taken as... When installing, it is necessary to first determine the installation point on the target liquid storage tank, and then match the installation block 1 that satisfies formula (10) based on the installation point, so that the installation block 1 can be customized.

[0134] The ultrasonic probe 2 described above may include a piezoelectric ceramic sheet 15, a housing, etc. In another exemplary embodiment of this application, the mounting block 1 is integrally encapsulated with the piezoelectric ceramic sheet 15 of the ultrasonic probe 2; a portion of the mounting block 1 is located inside the housing of the ultrasonic probe 2, wherein the piezoelectric ceramic sheet 15 is mounted on the bottom surface of the mounting block 1, and the top surface of the mounting block 1 is exposed outside the housing of the ultrasonic probe 2.

[0135] In this embodiment, the mounting block 1 and the piezoelectric ceramic sheet 15 of the ultrasonic probe 2 are integrally packaged, and a part of the mounting block 1 is placed inside the housing of the ultrasonic probe 2. This ensures the installation stability of the mounting block 1 and the piezoelectric ceramic sheet 15, while eliminating the need for workers to install the ultrasonic probe 2 on the mounting block 1 separately, thus speeding up the installation of the ultrasonic probe 2 and enabling mass production of the mounting block 1 and the ultrasonic probe 2.

[0136] In another exemplary embodiment of this application, step 101 includes:

[0137] The installation point is the location on the outer surface of the target liquid storage tank that can fit against the top surface of the mounting block 1.

[0138] In another exemplary embodiment of this application, step 101 includes:

[0139] The location with the largest echo amplitude on the outer surface of the target liquid storage tank that can fit against the top surface of mounting block 1 is taken as the installation point.

[0140] In another exemplary embodiment of this application, in step 101 above, the installation point is determined in the arc or slope area of ​​the outer surface of the target liquid storage tank. That is, any position is selected as the installation point in the arc or slope area of ​​the outer surface of the target liquid storage tank, or the position with the largest echo amplitude is selected as the installation point in the arc or slope area of ​​the outer surface of the target liquid storage tank. The specific position can be selected according to actual needs, and no specific limitation is made here.

[0141] In another exemplary embodiment of this application, the top surface of the mounting block 1 is marked with the ultrasonic emission point or the range of possible ultrasonic emission points.

[0142] Accordingly, installation points are determined on the curved or sloping areas of the outer surface of the target liquid storage tank, including:

[0143] The location where the outer surface of the target liquid storage tank aligns with the area marked on the top surface of mounting block 1, where the ultrasonic emission point or the possible ultrasonic emission point is located, is designated as the installation point.

[0144] In this embodiment, the ultrasonic probe 2 is installed at the installation point using the mounting block 1, which achieves rapid installation while ensuring the shortest transmission path of the ultrasonic waves and improving the measurement accuracy of the liquid level of the measured medium.

[0145] This application does not limit the specific form of the marking, and it can be set according to needs. For example, the emission point of the ultrasonic wave or the range of possible emission points of the ultrasonic wave can be marked by color to distinguish it from other areas on the top surface of the mounting block 1.

[0146] In another exemplary embodiment of this application, step 101 is replaced by steps 201 to 203. Wherein:

[0147] Step 201: Determine the mounting strip on the curved or sloping area of ​​the outer surface of the target liquid storage tank. The mounting strip is defined on the outer surface of the target liquid storage tank to meet the following requirements: The location forms a ring or satisfies the requirements on the outer surface of the target storage tank. The ring formed by the location, that is, all the rings on the outer surface of the target liquid storage tank that satisfy the following conditions. The set of locations, or all locations on the outer surface of the target storage tank that satisfy... The set of locations, It satisfies formula (6). It satisfies formula (10).

[0148] In this embodiment of the application, if the angle between the tangent plane of the arc-shaped or inclined region of the outer surface of the target liquid storage tank at at least one point and the horizontal plane is... That is, the points on the arc or slope region of the outer surface of the target liquid storage tank through which the cut surface passes are considered to satisfy... After obtaining or Then, using auxiliary tools such as an angle level, measurements are taken on the curved or inclined areas of the target liquid storage tank's outer surface to obtain the required parameters. or The location.

[0149] Step 202: Select multiple test points along the mounting strip, and perform a point selection operation at each test point:

[0150] The ultrasonic probe 2 is pre-installed by mounting block 1; pre-installation means placing mounting block 1 at the point to be measured but not fixing it to the target liquid tank.

[0151] After emitting ultrasonic waves using ultrasonic probe 2 and receiving the echo signal, the echo amplitude of the received echo signal is extracted.

[0152] Step 203: Select the test point with the largest echo amplitude as the installation point.

[0153] As an optional implementation, step 201 above... Determined through the following process:

[0154] according to Calculated using formula (6) .

[0155] In this embodiment, the included angle between the top surface and the bottom surface of the mounting block 1 is predetermined. Therefore, the mounting block 1 can be mass-produced, or the mounting block 1 and the piezoelectric ceramic sheet 15 of the ultrasonic probe 2 can be integrated into the housing of the ultrasonic probe 2, thus enabling the mass production of the mounting block 1 and the ultrasonic probe 2.

[0156] As an optional implementation, step 201 above... Determined through the following process:

[0157] according to Calculated using formula (10) ,Will This is used to measure the angle between the contact surface 5 and the horizontal plane.

[0158] In this embodiment, the angle between the third tangent 7 and the bottom surface of the mounting block 1 is predetermined. Therefore, the mounting block 1 can be mass-produced, or the mounting block 1 and the piezoelectric ceramic sheet 15 of the ultrasonic probe 2 can be integrated into the housing of the ultrasonic probe 2, thus enabling the mass production of the mounting block 1 and the ultrasonic probe 2.

[0159] As an optional implementation method, according to Calculated using formula (6) Afterwards, or according to Calculated using formula (10) After that, or The instructions for use of mounting block 1, or the instructions for use of the ultrasonic probe 2 which is integrally packaged with mounting block 15, are marked on mounting block 1 so that it can be used directly in step 201. .

[0160] In another exemplary embodiment of this application, the included angle of the mounting block 1 may not be predetermined. or However, if the installation location is determined first, then step 102 above is replaced by steps 301 to 303. Wherein:

[0161] Step 301, determine the installation location. .

[0162] Step 302, according to Calculate using formula (6) .

[0163] Step 303, by satisfying Mounting block 1 installs ultrasonic probe 2 at the mounting point.

[0164] In this embodiment of the application, after determining the installation point, an angle level or other auxiliary tool is used to measure the angle between the installation point and the horizontal plane. The cross-sectional direction is determined, and then mounting block 1 is installed at the selected mounting point, ensuring that the tilt direction of the top surface of mounting block 1 is consistent with the measured cross-sectional direction, so that the installed mounting block 1 meets the angle requirement. .

[0165] Through the installation process of steps 301 to 303 above, it is necessary to first determine the installation point on the target liquid storage tank, and then match the installation block 1 that satisfies formula (6) or formula (10) based on the installation point, thus realizing the personalized customization of the installation block 1.

[0166] This application also claims to provide an ultrasonic liquid level measurement method, which includes, for example:

[0167] After installing the ultrasonic probe 2 using the above-described installation method, perform the liquid level measurement operation.

[0168] like Figure 6 As shown, the liquid level measurement operation includes the following steps 501 to 502. Wherein:

[0169] Step 501: Perform at least one first signal transmission and reception operation until the amplitude of the received echo signal is not less than the set echo amplitude threshold or the predetermined number of times is reached.

[0170] The first signal transmission and reception operation includes:

[0171] According to the set transmission frequency, the ultrasonic probe 2 is controlled to emit ultrasonic signals and receive the echo signals reflected back from the liquid surface of the measured medium.

[0172] In this embodiment, the echo amplitude threshold is determined by the lowest echo amplitude that the system can recognize. There is no specific limitation on the echo amplitude threshold; it can be selected according to actual needs. For example, the echo amplitude threshold can be set to the lowest echo amplitude that the system can recognize. Another example is setting the echo amplitude threshold to twice the lowest echo amplitude that the system can recognize.

[0173] Step 502: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, perform a liquid level height calculation operation; wherein, the liquid level height calculation operation includes:

[0174] The liquid level height is calculated based on the time difference between the ultrasonic probe 2 emitting the ultrasonic signal and receiving the echo signal, as well as the speed at which the ultrasonic wave propagates in the measured medium or air. The liquid level height is the vertical distance from the ultrasonic probe 2 to the surface of the measured medium.

[0175] The above liquid level measurement operations can be performed only once when liquid level measurement is required, or they can be performed multiple times periodically. These will be described in detail below.

[0176] In another exemplary embodiment of this application, a liquid level measurement operation is provided that is performed only when liquid level measurement is required, including the following steps 601 to 603. Wherein:

[0177] Step 601: Perform the first signal transmission and reception operation; for details of the first signal transmission and reception operation, please refer to the description in the above embodiments, which will not be repeated here.

[0178] Step 602: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, perform the liquid level height calculation operation; for details of the liquid level height calculation operation, please refer to the description in the above embodiment, and it will not be repeated here.

[0179] Step 603: If the amplitude of the received echo signal is less than the echo amplitude threshold, when the next ultrasonic signal transmission time arrives, return to execute the first signal transmission and reception operation and subsequent steps; the transmission time is determined according to the transmission frequency.

[0180] In another exemplary embodiment of this application, a liquid level measurement operation for performing periodic cyclic measurements is provided, including steps 701 to 703. Wherein:

[0181] Step 701: Perform the first signal transmission and reception operation. For details on the first signal transmission and reception operation, please refer to the description in the above embodiments, which will not be repeated here.

[0182] Step 702: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, perform the liquid level height calculation operation, and when the next ultrasonic signal transmission time arrives, return to perform the first signal transmission and reception operation and subsequent steps. For a detailed description of the liquid level height calculation operation, please refer to the above embodiment; it will not be repeated here.

[0183] Step 703: If the amplitude of the received echo signal is less than the echo amplitude threshold, when the next ultrasonic signal transmission time arrives, return to execute the first signal transmission and reception operation and subsequent steps; the transmission time is determined according to the transmission frequency.

[0184] Unlike the embodiments shown in steps 601-603 above, this embodiment will return to step 701 regardless of whether the received echo signal is less than the echo amplitude threshold, so as to achieve cyclic operation.

[0185] As previously mentioned, the ultrasonic probe 2 can be installed in a relatively flexible location on the target liquid storage tank, such as on the top or bottom. The measured liquid level height calculated in the above embodiment refers to the height of the ultrasonic probe 2 from the liquid surface. Further calculations are needed based on the installation location of the ultrasonic probe 2 to obtain the true liquid level height.

[0186] The following example, using the ultrasonic probe 2 installed at the bottom of the tank via mounting block 1, illustrates how to determine the liquid level.

[0187] In another exemplary embodiment of this application, performing the liquid level height calculation operation may further include:

[0188] Based on the measured liquid level height, the vertical distance from the ultrasonic probe 2 to the bottom of the target storage tank is added to obtain the liquid level height of the measured medium.

[0189] In this embodiment, the liquid level height is calculated using the following formula:

[0190] (11)

[0191] in, To measure the liquid level height, The time difference between the ultrasonic probe 2 transmitting the ultrasonic signal and receiving the echo signal. The wave speed is the speed at which the ultrasonic wave propagates in the medium being measured.

[0192] If the ultrasonic probe 2 is installed on the top of the tank, then under normal circumstances, the ultrasonic waves propagate through the air inside the tank, are incident on the liquid surface, and are reflected. In another exemplary embodiment of this application, performing the liquid level calculation operation may further include:

[0193] The liquid level height of the measured medium is obtained by subtracting the first vertical distance from the height of the target storage tank.

[0194] The first vertical distance is the sum of the measured liquid level height and the second vertical distance; while the second vertical distance is the vertical distance from the ultrasonic probe 2 to the top of the target storage tank.

[0195] In this embodiment, the top of the target liquid storage tank refers to the portion of the target liquid storage tank above the liquid surface of the measured medium. The measured liquid level height is calculated using the following formula:

[0196] (12)

[0197] in, This is the wave speed at which ultrasound travels through the air.

[0198] In addition, since the target liquid storage tank also has a thickness, the tank wall thickness can be reduced accordingly in other embodiments of this application.

[0199] As an optional implementation, the time difference between the ultrasonic probe 2 emitting the ultrasonic signal and receiving the echo signal... tThe time interval from the moment the ultrasonic signal amplitude is emitted to the moment the echo signal amplitude is received is minus the round-trip time of the non-measured medium. The round-trip time of the non-measured medium refers to the round-trip time of the ultrasonic wave inside at least one of the mounting block 1 and the tank wall 3-1.

[0200] In this embodiment, the ultrasonic probe 2 has a migration parameter, and the round-trip time of the non-measured medium is used as the migration parameter of the ultrasonic probe 2. t Zero-point calibration is performed to avoid calculation errors in the liquid level height caused by the round-trip time of the non-measured medium. Since the materials of mounting block 1 and tank wall 3-1 are known, the propagation speed of the ultrasonic wave in mounting block 1 and tank wall 3-1 is known. The round-trip time of the ultrasonic wave inside tank wall 3-1 can be obtained based on the wall thickness of tank wall 3-1. The round-trip time of the ultrasonic wave inside mounting block 1 can be obtained based on the propagation height of mounting block 1 (the vertical distance from the position of ultrasonic probe 2 on the bottom surface of mounting block 1 to the top surface of mounting block 1, or the distance from the position of ultrasonic probe 2 on the bottom surface of mounting block 1 to the ultrasonic wave emission point marked on the top surface of mounting block 1).

[0201] As an optional implementation, the vertical distance from the ultrasonic probe 2 to the bottom of the target liquid storage tank is the vertical distance from the set plane (e.g., the bottom surface of the mounting block 1, or the end face of the ultrasonic probe 2, or the horizontal plane passing through the mounting point, or the top surface of the piezoelectric ceramic plate 15 of the ultrasonic probe 2) or the set point (e.g., the mounting point or the center point of the piezoelectric ceramic plate 15) to the bottom of the tank; the vertical distance from the ultrasonic probe 2 to the top of the target liquid storage tank is the vertical distance from the aforementioned set plane or set point to the top of the tank.

[0202] Accordingly, the time difference between the ultrasonic probe 2 emitting the ultrasonic signal and receiving the echo signal needs to be subtracted from the round-trip time of the ultrasonic wave inside the mounting block 1.

[0203] In practical applications, temperature changes affect the propagation speed of ultrasonic waves, thus impacting the accuracy of liquid level measurements. Therefore, wave velocity can be corrected before calculating the measured liquid level height. In another exemplary embodiment of this application, the propagation speed of ultrasonic waves in the measured medium or air is calculated according to the following formula based on the real-time temperature of the measured medium. That is, the aforementioned or :

[0204] = (13)

[0205] in, The speed of sound is the speed of sound in the medium or air at 20 degrees Celsius (343 m / s). For temperature coefficient, It is 0.00366 degrees Celsius, where T is the real-time temperature of the measured medium or air.

[0206] The propagation speed of ultrasound in the measured medium or air can be calculated by formula (13), which can improve the measurement accuracy and avoid the influence of temperature on the measurement results.

[0207] Liquid level measurements in many industrial settings are affected by factors such as extreme temperatures, pressures, corrosive media, and foam generation. These factors can cause changes in the internal composition of the measured medium, thus affecting measurement accuracy. Furthermore, complex operating conditions often involve multiphase materials, such as liquid-solid or liquid-gas coexistence, making it difficult to determine the liquid level interface, which in turn leads to decreased and fluctuating measurement accuracy.

[0208] To improve measurement accuracy, in another exemplary embodiment of this application, the above-described ultrasonic liquid level measurement method may further include:

[0209] Before performing the liquid level measurement operation, perform the transmission frequency adjustment operation.

[0210] It should be noted that the transmission frequency adjustment operation can be performed before each liquid level measurement operation, or it can be performed after a preset number of liquid level measurement operations. The preset number of operations can be determined according to actual needs, and will not be elaborated here.

[0211] The following is a more detailed introduction to the operation of adjusting the transmission frequency.

[0212] For example, the transmit frequency adjustment operation may include steps a and b. Wherein:

[0213] Step a, perform a coarse scan of the transmission frequency, which includes, for example:

[0214] Starting from a first frequency value, and according to a set first adjustment step size, a second frequency value with the largest echo amplitude is determined by scanning within a set frequency range; wherein, the first frequency value is any frequency value within the set frequency range.

[0215] In this embodiment, the frequency range, the first frequency value, and the first adjustment step size are not specifically limited and can be set according to actual needs. For example, the first frequency value can be set to the minimum transmission frequency of the frequency range. For example, the first frequency value can be set to the maximum transmission frequency of the frequency range. For example, the first adjustment step size can be set to 0.2% of the first frequency value.

[0216] In one example, the so-called scan refers to a full-coverage scan of the above frequency range. Taking the first frequency value as the minimum transmission frequency a as an example, assuming the frequency range is a-2a and the first adjustment step size is 0.2%a, ultrasonic signals will be emitted at frequency values ​​{a, 1.002a, 1.004a, 1.006a, ... 2a}, echo signals will be collected, and echo amplitude will be extracted from the echo signals. The frequency value corresponding to the maximum value of the extracted echo amplitude will be selected as the second frequency value.

[0217] If the first frequency value is the maximum transmission frequency 2a, and assuming the frequency range is a-2a, and the first adjustment step size is 0.4%a, then ultrasonic signals will be transmitted at frequency values ​​{2a, (2a-0.004a), (2a-0.008a), (2a-0.012a), ...}, echo signals will be collected, and echo amplitude will be extracted from the echo signals. The frequency value corresponding to the maximum value of the extracted echo amplitude will be selected as the second frequency value.

[0218] The first frequency value is similar to the other values ​​in the two examples mentioned above, and will not be repeated here.

[0219] Step b: After performing the coarse scan operation of the transmission frequency, determine the transmission frequency used for the first signal transmission and reception operation based on the obtained second frequency value.

[0220] Following the previous example, assume the echo amplitude is (A a A 1.002a A 1.004a A 1.006a , ...A 2a ) indicates that, and A 2a The largest, then with A 2a The corresponding 2a will be used as the second frequency value. In this step, the transmission frequency used for the first signal transmission and reception operation will be determined based on 2a. This application will provide further details later.

[0221] As can be seen, in this embodiment, after performing the transmission frequency adjustment operation, the liquid level measurement operation is then performed using the adjusted transmission frequency. This allows for continuous optimization of the transmission frequency based on changes in the measured medium (including changes in the internal material morphology, type, and density of the measured medium). Combined with the vertical incidence of ultrasonic waves onto the measured medium and the installation of the ultrasonic probe in a location where impurities are not easily deposited, the stability of the ultrasonic signal can be improved, enhancing its resistance to liquid level fluctuations and solid / gas interference. This addresses the issues of liquid level fluctuations and the difficulty in determining the interface, which affect measurement accuracy, thereby improving measurement accuracy.

[0222] Changes in the internal state of the measured medium cause continuous fluctuations in the liquid level. Furthermore, complex operating conditions often involve multiphase properties of the material, such as the coexistence of liquid-solid or liquid-gas phases. This makes it difficult to determine the liquid level interface, leading to decreased and fluctuating measurement accuracy. In this embodiment, the ultrasonic probe 2 is mounted on the curved or inclined surface of the target liquid tank using mounting block 1, allowing the ultrasonic waves to be vertically incident on the measured medium. By adjusting the transmission frequency, the stability of the ultrasonic signal is improved, enhancing its resistance to liquid level fluctuations and interference from solids and gases. This addresses the problems of liquid level fluctuations and the difficulty in determining the interface, which affect measurement accuracy.

[0223] As an optional implementation, in order to accurately determine the transmission frequency used in the first signal transmission and reception operation, step b above can be determined using steps 801 to 805. Wherein:

[0224] Step 801: Starting from the second frequency value, perform one first fine scan operation.

[0225] The first fine scan operation includes:

[0226] The transmission frequency is adjusted according to a second adjustment step size; wherein the second adjustment step size is smaller than the first adjustment step size.

[0227] Perform the second signal transmission and reception operation: According to the adjusted transmission frequency, control the ultrasonic probe 2 to transmit ultrasonic signals, receive the echo signals reflected back from the liquid surface of the measured medium, and extract the echo amplitude from the received echo signals.

[0228] In this embodiment, the transmission frequency is adjusted according to a second adjustment step size, that is, the transmission frequency is increased or decreased according to the second adjustment step size. The second adjustment step size is not specifically limited and can be selected according to actual needs.

[0229] Step 802: If the echo amplitude obtained by performing the first fine scan operation is less than the echo amplitude of the second frequency value, a second fine scan operation is performed starting from the second frequency value. The second fine scan operation adjusts the transmission frequency in the opposite direction to the first fine scan operation.

[0230] In this embodiment of the application, the second fine scan operation adjusts the transmission frequency in the opposite direction to the first fine scan operation. That is, if the first fine scan operation increases the transmission frequency according to the second adjustment step size, then the second fine scan operation decreases the transmission frequency according to the second adjustment step size; if the first fine scan operation decreases the transmission frequency according to the second adjustment step size, then the second fine scan operation increases the transmission frequency according to the second adjustment step size.

[0231] For example, the second frequency value is represented by B, and the second adjustment step size is represented by b. A first fine scan operation can be performed first, for example, transmitting an ultrasonic signal at a frequency value (Bb) and extracting the amplitude C1 from the received echo signal. If C1 is less than the echo amplitude of B, then a second fine scan operation is performed, for example, transmitting an ultrasonic signal at a frequency value (B+b) and extracting the amplitude C2 from the received echo signal.

[0232] Of course, the frequency value in the first fine scan operation can also be B+b, then the frequency value in the second fine scan operation is Bb.

[0233] Step 803: If the echo amplitude value extracted by the second fine scan operation is less than the echo amplitude value of the second frequency value, the second frequency value shall be used as the transmission frequency adopted for the first signal transmission and reception operation.

[0234] Following the previous example, if C2 is less than the echo amplitude of B, then the frequency value B is used as the transmission frequency for the first signal transmission and reception operation.

[0235] Step 804: If the echo amplitude value extracted by the second fine scan operation is not less than the echo amplitude value of the second frequency value, repeat the second fine scan operation until the echo amplitude value extracted by the second fine scan operation begins to decrease, and take the transmission frequency corresponding to the largest echo amplitude value as the transmission frequency used in the first signal transmission and reception operation.

[0236] For example, suppose the echo amplitude extracted during the first execution of the second fine scan operation is greater than the echo amplitude of the second frequency value. The second fine scan operation is repeated twice, for a total of three executions. The echo amplitude extracted during the third execution of the second fine scan operation begins to decrease, that is, the echo amplitude extracted during the third execution of the second fine scan operation is less than the echo amplitude extracted during the second execution of the second fine scan operation. Therefore, the echo amplitude extracted during the second execution of the second fine scan operation is considered to be the maximum echo amplitude extracted during the second fine scan operation. The transmission frequency of the echo amplitude extracted during the second execution of the second fine scan operation (that is, the transmission frequency adjusted during the second execution of the second fine scan operation) is used as the transmission frequency used in the first signal transmission and reception operation.

[0237] Step 805: If the echo amplitude value extracted by the first fine scan operation is not less than the echo amplitude value of the second frequency value, repeat the first fine scan operation until the echo amplitude value extracted by the first fine scan operation begins to decrease, and take the transmission frequency corresponding to the largest echo amplitude value as the transmission frequency used in the first signal transmission and reception operation.

[0238] For example, suppose the echo amplitude extracted during the first fine scan operation is greater than the echo amplitude of the second frequency value. The first fine scan operation is repeated twice, for a total of three times. The echo amplitude extracted during the third fine scan operation begins to decrease, that is, the echo amplitude extracted during the third fine scan operation is less than the echo amplitude extracted during the second fine scan operation. Therefore, the echo amplitude extracted during the second fine scan operation is considered to be the maximum echo amplitude extracted during the first fine scan operation. The transmission frequency of the echo amplitude extracted during the second fine scan operation (that is, the transmission frequency adjusted during the second fine scan operation) is used as the transmission frequency used in the first signal transmission and reception operation.

[0239] In another exemplary embodiment of this application, if the number of times the first signal transmission and reception operation is performed reaches a predetermined number, the above-described ultrasonic liquid level measurement method may further include:

[0240] Perform a transmission frequency adjustment operation, and then perform a liquid level measurement operation.

[0241] As another optional implementation, in order to reduce the amount of computation and quickly determine the transmission frequency used in the first signal transmission and reception operation, the above-mentioned determination of the transmission frequency used in the first signal transmission and reception operation based on the obtained second frequency value may include:

[0242] The second frequency value is used as the transmission frequency for the first signal transmission and reception operation.

[0243] Optionally, other parameters (such as filter parameters) can be adjusted in conjunction with the transmit frequency adjustment operation.

[0244] Before introducing filter parameter adjustment, let's first discuss the scenarios in which filters are used.

[0245] In another exemplary embodiment of this application, the above-described liquid level measurement operation may further include:

[0246] Before step 502, the received echo signal is preprocessed.

[0247] In another exemplary embodiment of this application, preprocessing may include filtering.

[0248] In this embodiment, the received echo signal is filtered to extract the amplitude of the echo signal more accurately. Furthermore, in other embodiments of this application, the preprocessing described above may include other operations, such as amplification.

[0249] In another exemplary embodiment of this application, the preprocessing may further include amplification processing.

[0250] Based on the above description, in another exemplary embodiment of this application, if the number of times the transmission frequency adjustment operation is performed reaches a predetermined number, the above-mentioned ultrasonic liquid level measurement method further includes:

[0251] Before performing the liquid level calculation, the measurement parameters are adjusted according to the target transmission frequency. These parameters include at least one of the filter parameters used in the filtering process and the local oscillator signal frequency of the ultrasonic receiving module to ensure effective filtering. The target transmission frequency is the transmission frequency used in the newly determined first signal transmission and reception operation.

[0252] In this embodiment, the transmission frequency used in the most recently determined first signal transmission and reception operation is the same as the transmission frequency used in the first signal transmission and reception operation determined during the last execution of the aforementioned transmission frequency adjustment operation. There is no specific limitation on the predetermined number of times the aforementioned transmission frequency adjustment operation is performed; it can be selected according to actual needs. For example, after every 10 transmission frequency adjustment operations, before performing the liquid level height calculation operation, the filter parameters used for filtering are adjusted according to the target transmission frequency.

[0253] In another exemplary embodiment of this application, the filtering process includes at least one of low-pass filtering and band-pass filtering.

[0254] As an optional implementation, if the filtering process includes low-pass filtering, adjusting the filter measurement parameters according to the target transmission frequency includes a first parameter adjustment operation:

[0255] Adjust the cutoff frequency of the low-pass filter to be greater than the target transmission frequency.

[0256] As an optional implementation, to more accurately adjust the filter parameters used in the filtering process, if the filtering process includes bandpass filtering, the measurement parameters are adjusted according to the target transmission frequency, including a second parameter adjustment operation or a third parameter adjustment operation. The second parameter adjustment operation includes:

[0257] The center frequency of the bandpass filter is adjusted to the frequency of the mixing signal, which is the sum or difference frequency of the target echo signal and the first local oscillator signal; the target echo signal is the echo signal corresponding to the maximum echo amplitude during the last time the transmission frequency adjustment operation was performed; the first local oscillator signal is specifically the local oscillator signal generated by the ultrasonic receiving module.

[0258] The third parameter tuning operation includes:

[0259] The frequency of the local oscillator signal of the ultrasonic receiving module is adjusted so that the sum or difference frequency of the second local oscillator signal and the target echo signal is the center frequency of the bandpass filter; wherein, the second local oscillator signal is the local oscillator signal generated by the adjusted ultrasonic receiving module.

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

[0261] In one exemplary embodiment, such as Figure 7 As shown, and in combination Figure 4 and Figure 5 An ultrasonic liquid level measuring device is provided, comprising:

[0262] Ultrasonic probe 2 is used to transmit ultrasonic signals according to a set transmission frequency and receive the echo signals reflected back from the liquid surface of the measured medium.

[0263] Mounting block 1 is used to install ultrasonic probe 2 at the mounting point so that the ultrasonic waves emitted by ultrasonic probe 2 pass through mounting block 1 and the tank wall 3-1 of the target liquid storage tank in sequence and are vertically incident on the measured medium inside the target liquid storage tank from the tank wall 3-1. The mounting point is located in the arc area or inclined area of ​​the outer surface of the target liquid storage tank.

[0264] Main unit 8, which is used to control and execute liquid level measurement operations:

[0265] Perform at least one first signal transmission and reception operation until the amplitude of the received echo signal is not less than the set echo amplitude threshold or the predetermined number of times is reached; for details of the first signal transmission and reception operation, please refer to the description in the above method embodiment, which will not be repeated here;

[0266] If the amplitude of the received echo signal is not less than the set echo amplitude threshold, the liquid level height calculation operation is performed; for details of the liquid level height calculation operation, please refer to the description of the above method embodiments, which will not be repeated here.

[0267] As an optional implementation, the host unit 8 is also used for:

[0268] Perform the first signal transmission and reception operation; for details of the first signal transmission and reception operation, please refer to the description in the above embodiments, which will not be repeated here.

[0269] If the amplitude of the received echo signal is not less than the set echo amplitude threshold, the liquid level height calculation operation is performed; for details of the liquid level height calculation operation, please refer to the description in the above embodiments, which will not be repeated here.

[0270] If the amplitude of the received echo signal is less than the echo amplitude threshold, when the next ultrasonic signal transmission time arrives, return to execute the first signal transmission and reception operation and subsequent steps; the transmission time is determined according to the transmission frequency.

[0271] As an optional implementation, the host unit 8 is also used for:

[0272] The first signal transmission and reception operation is performed. For details of the first signal transmission and reception operation, please refer to the description in the above embodiments, which will not be repeated here.

[0273] If the amplitude of the received echo signal is not less than the set echo amplitude threshold, the liquid level height calculation operation is performed, and when the next ultrasonic signal transmission time arrives, the process returns to perform the first signal transmission and reception operation and subsequent steps. For a detailed description of the liquid level height calculation operation, please refer to the above embodiments; it will not be repeated here.

[0274] If the amplitude of the received echo signal is less than the echo amplitude threshold, when the next ultrasonic signal transmission time arrives, return to execute the first signal transmission and reception operation and subsequent steps; the transmission time is determined according to the transmission frequency.

[0275] As an optional implementation, the host unit 8 is also used for:

[0276] Before performing the liquid level measurement operation, a transmission frequency adjustment operation is performed. For details on the transmission frequency adjustment operation, please refer to the description in the above embodiments, which will not be repeated here.

[0277] As an optional implementation, the host unit 8 is also used for:

[0278] If the number of times the first signal transmission and reception operation is performed reaches a predetermined number, the transmission frequency adjustment operation is performed, and after the transmission frequency adjustment operation is performed, the liquid level measurement operation is performed.

[0279] As an optional implementation, the host unit 8 is also used for:

[0280] If the amplitude of the received echo signal is not less than the set echo amplitude threshold, the received echo signal is preprocessed before performing the liquid level height calculation operation.

[0281] As an optional implementation, the host unit 8 is also used for:

[0282] If the amplitude of the received echo signal is not less than a set echo amplitude threshold, the received echo signal is filtered before performing the liquid level height calculation operation. For details regarding the filtering process, please refer to the description in the above method embodiments; it will not be repeated here.

[0283] As an optional implementation, the host unit 8 is also used for:

[0284] Before performing the liquid level calculation operation, the filter parameters used in the filtering process are adjusted according to the target transmission frequency. The target transmission frequency is the transmission frequency used in the latest determined first signal transmission and reception operation. For details regarding adjusting the filter parameters used in the filtering process according to the target transmission frequency, please refer to the description in the above embodiment, which will not be repeated here.

[0285] As an optional implementation method, such as Figure 7 As shown, the host unit 8 includes:

[0286] The ultrasonic transmitting module 11 is used to excite the piezoelectric ceramic sheet 15 of the ultrasonic probe 2 to generate ultrasonic signals.

[0287] The ultrasonic receiving module 12 is used to receive and preprocess the echo signal transmitted by the piezoelectric ceramic sheet 15;

[0288] The main control module 13 is used to control the transmission parameters of the ultrasonic transmitting module 11, receive the echo signal transmitted by the ultrasonic receiving module 12, and control the execution of liquid level measurement operations.

[0289] In this embodiment of the application, the transmission parameters include transmission frequency, transmission power, transmission voltage, and the number of transmitted ultrasonic waves.

[0290] As an optional implementation method, such as Figure 7 As shown, the ultrasonic liquid level measuring device also includes:

[0291] Temperature probe 9 is used to monitor the real-time temperature of the measured medium.

[0292] For example, the temperature probe 9 is attached to the outer surface of the target liquid storage tank or placed inside the target liquid storage tank, focusing on measuring the temperature of the measured medium, and the temperature measurement result is input into the main control module 13. Since it is difficult to place the temperature probe 9 inside some liquid storage tanks, the temperature probe 9 is mostly placed on the outer surface of the target liquid storage tank. The temperature probe 9 is close to the piezoelectric ceramic plate 15 of the ultrasonic probe 2 to facilitate installation and reduce the length of the circuit.

[0293] As an optional implementation method, such as Figure 7 As shown, the host unit 8 may also include:

[0294] Temperature processing module 10 is used to convert the electrical signal output by temperature probe 9 into the real-time temperature value of the measured medium. T and the real-time temperature value of the measured medium. T Feedback is sent to the main control module 13.

[0295] As an optional implementation, the main control module 13 is also used for:

[0296] According to the real-time temperature value of the measured medium fed back by the temperature processing module 10 T The propagation speed of ultrasound in the measured medium or air is calculated using formula (13). .

[0297] As an optional implementation, the ultrasonic transmitting module 11 includes:

[0298] A signal generator is used to generate high-frequency AC signals;

[0299] The driving circuit is used to generate a high-frequency AC voltage based on the high-frequency AC signal to drive the piezoelectric ceramic plate 15 of the ultrasonic probe 2 to vibrate and generate an ultrasonic signal.

[0300] The first power supply module is used to provide the required voltage to the ultrasonic transmitting module 11.

[0301] In this embodiment, the ultrasonic transmitting module 11 emits a high-frequency voltage, which is applied to the electrodes of the piezoelectric ceramic sheet 15 of the ultrasonic probe 2, causing the piezoelectric ceramic sheet 15 to undergo periodic mechanical deformation. Because this deformation is periodic, it generates mechanical waves, i.e., ultrasonic waves, in the medium surrounding the piezoelectric ceramic sheet 15. These ultrasonic waves propagate outward in the form of waves, achieving signal transmission. The piezoelectric ceramic sheet 15 receives ultrasonic signals through the piezoelectric effect. When external ultrasonic waves reach the piezoelectric ceramic sheet 15, the ultrasonic waves cause mechanical stress and deformation in the piezoelectric ceramic sheet 15. Due to the piezoelectric effect, this deformation generates charges within the piezoelectric ceramic sheet 15, forming voltage signals (echo signals). These voltage signals are transmitted to the ultrasonic receiving module 12 through electrode connections, where they are output and amplified.

[0302] In this embodiment, the driving circuit includes an oscillator, an amplifier, and a matching circuit. The matching circuit is used to perform impedance matching between the ultrasonic transmitting module 11 and the ultrasonic probe 2 to ensure that the output power of the ultrasonic transmitting module 11 maximizes the efficiency of exciting the ultrasonic probe 2.

[0303] As an optional implementation, the ultrasonic transmitting module 11 may further include:

[0304] Impedance matching network is used to optimize energy transfer between the piezoelectric ceramic sheet 15 and the driving circuit, improve emission efficiency and reduce energy loss.

[0305] As an optional implementation, the ultrasonic receiving module 12 includes:

[0306] The preamplifier is used to amplify the echo signal transmitted through the piezoelectric ceramic plate 15.

[0307] The second power supply module is used to provide the required voltage to the ultrasonic receiver module 12.

[0308] As an optional implementation, the ultrasonic receiving module 12 may further include:

[0309] The filtering module is used to filter the echo signal output from the preamplifier.

[0310] As an optional implementation, the filtering module includes at least one of a low-pass filter and a band-pass filter.

[0311] As an optional implementation, the filtering module includes a low-pass filter and a band-pass filter connected in sequence.

[0312] In this embodiment, a low-pass filter is first used to eliminate high-frequency noise, and then a band-pass filter is used to preserve the target frequency band. This combination can significantly improve signal quality. For example, a Butterworth low-pass filter and a Butterworth band-pass filter can be used.

[0313] As an optional implementation, the ultrasonic receiving module 12 may further include:

[0314] The signal processing module is used to further amplify and shape the echo signal output by the filtering module in order to improve the signal-to-noise ratio of the echo signal.

[0315] As an optional implementation, the main control module 13 is also used for:

[0316] Before performing the liquid level calculation operation, the filter parameters used in the filtering process are adjusted according to the target transmission frequency. The target transmission frequency is the transmission frequency used in the latest determined first signal transmission and reception operation. For details regarding adjusting the filter parameters used in the filtering process according to the target transmission frequency, please refer to the description in the above embodiment, which will not be repeated here.

[0317] As an optional implementation method, such as Figure 7 As shown, the host unit 8 may also include:

[0318] The display module 14 is used to display information such as the liquid level of the measured medium, the real-time temperature value of the measured medium, the date, and the human-machine interface calculated by the main control module 13.

[0319] As an optional implementation, the display module 14 has human-computer interaction functions.

[0320] As an optional implementation, the ultrasonic receiving module 12 may further include:

[0321] The output interface is used to transmit the echo signal output by the signal processing module to the main control module 13 or the display module 14.

[0322] As an optional implementation, the display module 14 with human-computer interaction function includes a liquid crystal display screen.

[0323] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 8 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores ultrasonic liquid level measurement data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements an ultrasonic liquid level measurement method.

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

[0325] In one exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0326] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

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

[0328] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0329] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0330] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0331] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0332] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for installing an ultrasonic probe, characterized in that, include: Determine the installation points in the arc or slope area of ​​the outer surface of the target liquid storage tank; the outer surface includes the outer surface of the tank top or the outer surface of the tank bottom. The ultrasonic probe (2) is installed at the installation point by the mounting block (1) so that the ultrasonic waves emitted by the ultrasonic probe (2) pass through the mounting block (1) and the tank wall (3-1) of the target liquid tank in sequence, and are vertically incident from the tank wall (3-1) into the measured medium in the target liquid tank. The bottom surface of the mounting block (1) is used to mount the ultrasonic probe (2), and the top surface of the mounting block (1) is used to contact the outer surface of the target liquid storage tank. The bottom surface of the mounting block (1) is a plane, the incident direction of the ultrasonic waves emitted by the ultrasonic probe (2) is perpendicular to the bottom surface of the mounting block (1), and the top surface of the mounting block (1) is an inclined plane or a curved surface that matches the arc area. If the top surface of mounting block (1) is an inclined plane, and the angle between the top surface of mounting block (1) and its bottom surface is an acute angle, then mounting block (1) satisfies equation (6): ;(6) in, The angle between the top and bottom surfaces of the mounting block (1) is... Let be the speed of sound of the ultrasonic wave in the mounting block (1). Let Δ be the angle between the first tangent plane (5) and the horizontal plane. To compensate for the angle, the first tangent (5) refers to the tangent passing through the installation point. Let be the sound velocity of the ultrasonic wave in the tank wall (3-1). The speed of sound in the measured medium or air; Choose for yourself Alternatively, determine the angle between the cross-section of the installation point, i.e., the first cross-section (5), and the horizontal plane, and use it as... Then, use formula (6) to calculate. Or, choose for yourself. Then, use formula (6) to calculate. ; If the top surface of the mounting block (1) is a curved surface that matches the arc region, the angle between the third tangent (7) and the bottom surface of the mounting block (1) is an acute angle, and the third tangent (7) is a tangent passing through at least one point on the top surface of the mounting block (1), then the mounting block (1) satisfies equation (10): ;(10) in, The angle between the third cut surface (7) and the bottom surface of the mounting block (1) is... The angle between the third tangent (7) and the horizontal plane; Choose for yourself Alternatively, determine the angle between the cross-section of the installation point, i.e., the first cross-section (5), and the horizontal plane, and use it as... The third cut surface (7) overlaps with the first cut surface (5), and then the formula (10) is used to calculate. Or, choose for yourself. Then, calculate using formula (10). ; Compensation angle Δ Calculated using the following formula: ; in, x This represents the distance between point II and point III on the tank wall (3-1) where the ultrasonic wave emitted by the ultrasonic probe (2) is located. Point III is the corresponding point on the inner wall of the tank wall (3-1) where the ultrasonic wave emitted by the ultrasonic probe (2) is located. The curvature of point III is the same as that of the incident point I. , l Let be the wall thickness of the tank wall (3-1), and the angle of refraction of the ultrasonic wave after entering the tank wall (3-1). According to the formula = and Calculations show that Let be the inner radius of the curved surface region.

2. The installation method of the ultrasonic probe according to claim 1, characterized in that, The mounting block (1) is integrally encapsulated with the piezoelectric ceramic sheet (15) of the ultrasonic probe (2); a portion of the mounting block (1) is located inside the housing of the ultrasonic probe (2), wherein the piezoelectric ceramic sheet (15) is mounted on the bottom surface of the mounting block (1), and the top surface of the mounting block (1) is exposed outside the housing.

3. An ultrasonic liquid level measurement method, characterized in that, include: After installing the ultrasonic probe (2) using the installation method of the ultrasonic probe according to claim 1, perform the liquid level measurement operation: Perform at least one first signal transmission / reception operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or a predetermined number of operations are reached; wherein, the first signal transmission / reception operation includes: According to the set transmission frequency, control the ultrasonic probe (2) to transmit ultrasonic signals and receive the echo signals reflected back from the liquid surface of the measured medium. If the amplitude of the received echo signal is not less than the set echo amplitude threshold, perform a liquid level height calculation operation; wherein, the liquid level height calculation operation includes: The liquid level height is calculated based on the time difference between the ultrasonic signal emitted and the echo signal received by the ultrasonic probe (2) and the speed at which the ultrasonic wave propagates in the medium or air being measured. The liquid level height is the vertical distance from the ultrasonic probe (2) to the surface of the medium being measured.

4. The ultrasonic liquid level measurement method according to claim 3, characterized in that, Also includes: Before performing the liquid level measurement operation, perform the transmission frequency adjustment operation; Transmission frequency adjustment operations include a coarse scan operation of the transmission frequency: Starting from a first frequency value, and according to a set first adjustment step size, a second frequency value with the largest echo amplitude is determined by scanning within a set frequency range; wherein, the first frequency value is any frequency value within the set frequency range. After performing a coarse scan of the transmission frequency, the transmission frequency used for the first signal transmission and reception operation is determined based on the obtained second frequency value.

5. The ultrasonic liquid level measurement method according to claim 4, characterized in that, The transmission frequency used for the first signal transmission and reception operation is determined based on the obtained second frequency value, including: Starting from the second frequency value, perform one first fine scan operation; wherein, the first fine scan operation includes: The transmission frequency is adjusted according to a second adjustment step size; wherein the second adjustment step size is smaller than the first adjustment step size. Perform the second signal transmission and reception operation: according to the adjusted transmission frequency, control the ultrasonic probe (2) to transmit ultrasonic signals, receive the echo signals reflected back from the liquid surface of the measured medium, and extract the echo amplitude from the received echo signals. If the echo amplitude obtained from the first fine scan operation is less than the echo amplitude of the second frequency value, a second fine scan operation is performed starting from the second frequency value; wherein, the direction of adjusting the transmission frequency in the second fine scan operation is opposite to that in the first fine scan operation. If the echo amplitude value extracted by the second fine scan operation is less than the echo amplitude value of the second frequency value, the second frequency value shall be used as the transmission frequency adopted for the first signal transmission and reception operation. If the echo amplitude extracted by the second fine scan operation is not less than the echo amplitude of the second frequency value, the second fine scan operation is repeated until the echo amplitude extracted by the second fine scan operation begins to decrease, and the transmission frequency corresponding to the largest echo amplitude is taken as the transmission frequency used in the first signal transmission and reception operation. If the echo amplitude extracted by the first fine scan operation is not less than the echo amplitude of the second frequency value, the first fine scan operation is repeated until the echo amplitude extracted by the first fine scan operation begins to decrease, and the transmission frequency corresponding to the largest echo amplitude is taken as the transmission frequency used in the first signal transmission and reception operation.

6. The ultrasonic liquid level measurement method according to claim 4, characterized in that, The transmission frequency used for the first signal transmission and reception operation is determined based on the obtained second frequency value, including: The second frequency value is used as the transmission frequency for the first signal transmission and reception operation.

7. The ultrasonic liquid level measurement method according to claim 4, characterized in that, Liquid level measurement operations also include: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, the echo signal is preprocessed before the liquid level height calculation operation is performed. The preprocessing includes filtering. If the number of times the transmission frequency adjustment operation is performed reaches a predetermined number, the ultrasonic liquid level measurement method further includes: Before performing the liquid level calculation operation, the measurement parameters are adjusted according to the target transmission frequency. The measurement parameters include at least one of the filter parameters used for filtering and the local oscillator signal frequency of the ultrasonic receiving module. The target transmission frequency is the transmission frequency used in the newly determined first signal transmission and reception operation.

8. The ultrasonic liquid level measurement method according to claim 7, characterized in that, Filtering processes include at least one of low-pass filtering and band-pass filtering. If the filtering process includes low-pass filtering, the measurement parameters are adjusted according to the target transmission frequency, including the first parameter adjustment operation: Adjust the cutoff frequency of the low-pass filter to be greater than the target transmission frequency; If the filtering process includes bandpass filtering, the measurement parameters are adjusted according to the target transmission frequency, including a second or third parameter adjustment operation; wherein the second parameter adjustment operation includes: The center frequency of the bandpass filter is adjusted to the frequency of the mixing signal; the mixing signal is the sum or difference frequency of the target echo signal and the first local oscillator signal; the target echo signal is the echo signal corresponding to the maximum echo amplitude during the last transmission frequency adjustment operation; the first local oscillator signal is specifically the local oscillator signal generated by the ultrasonic receiving module; The third parameter tuning operation includes: The frequency of the local oscillator signal of the ultrasonic receiving module is adjusted so that the sum or difference frequency of the second local oscillator signal and the target echo signal is the center frequency of the bandpass filter; wherein, the second local oscillator signal is the local oscillator signal generated by the adjusted ultrasonic receiving module.

9. The ultrasonic liquid level measurement method according to claim 3, characterized in that, The liquid level calculation operation also includes: The liquid level height of the measured medium is obtained by adding the vertical distance from the ultrasonic probe (2) to the bottom of the target storage tank to the measured liquid level height. The liquid level height is calculated using the following formula: ; in, To measure the liquid level height; The time difference between the ultrasonic probe (2) emitting the ultrasonic signal and receiving the echo signal. The velocity of the ultrasonic wave as it propagates in the measured medium.

10. The ultrasonic liquid level measurement method according to claim 3, characterized in that, The liquid level calculation operation also includes: Based on the height of the target liquid storage tank, subtract the first vertical distance to obtain the liquid level height of the measured medium; wherein, the first vertical distance is the sum of the measured liquid level height and the second vertical distance; the second vertical distance is the vertical distance from the ultrasonic probe (2) to the top of the target liquid storage tank; The liquid level height is calculated using the following formula: ; in, To measure the liquid level height; The time difference between the ultrasonic probe (2) emitting the ultrasonic signal and receiving the echo signal. This is the speed at which ultrasound waves travel through the air.

11. An ultrasonic liquid level measuring device, characterized in that, include: The ultrasonic probe (2) is used to transmit ultrasonic signals according to the set transmission frequency and receive the echo signals reflected back from the liquid surface of the measured medium. Mounting block (1) is used to mount ultrasonic probe (2) at the mounting point so that the ultrasonic waves emitted by ultrasonic probe (2) pass through mounting block (1) and the tank wall (3-1) of the target liquid tank in sequence and are vertically incident on the measured medium inside the target liquid tank from the tank wall (3-1). The mounting point is located in the arc area or inclined area of ​​the outer surface of the target liquid tank; wherein, the outer surface includes the outer surface of the top of the tank or the outer surface of the bottom of the tank. The bottom surface of the mounting block (1) is used to mount the ultrasonic probe (2), and the top surface of the mounting block (1) is used to contact the outer surface of the target liquid storage tank. The bottom surface of the mounting block (1) is a plane, the incident direction of the ultrasonic waves emitted by the ultrasonic probe (2) is perpendicular to the bottom surface of the mounting block (1), and the top surface of the mounting block (1) is an inclined plane or a curved surface that matches the arc area. If the top surface of mounting block (1) is an inclined plane, and the angle between the top surface of mounting block (1) and its bottom surface is an acute angle, then mounting block (1) satisfies the following formula: ;(6) in, The angle between the top and bottom surfaces of the mounting block (1) is... Let be the speed of sound of the ultrasonic wave in the mounting block (1). Let Δ be the angle between the first tangent plane (5) and the horizontal plane. To compensate for the angle, the first tangent (5) refers to the tangent passing through the installation point. Let be the sound velocity of the ultrasonic wave in the tank wall (3-1). The speed of sound in the measured medium or air; Choose for yourself Alternatively, determine the angle between the cross-section of the installation point, i.e., the first cross-section (5), and the horizontal plane, and use it as... Then, use formula (6) to calculate. Or, choose for yourself. Then, use formula (6) to calculate. ; If the top surface of the mounting block (1) is a curved surface that matches the arc region, the angle between the third tangent (7) and the bottom surface of the mounting block (1) is an acute angle, and the third tangent (7) is a tangent passing through at least one point on the top surface of the mounting block (1), the mounting block (1) satisfies the following formula: ;(10) in, The angle between the third cut surface (7) and the bottom surface of the mounting block (1) is... The angle between the third tangent (7) and the horizontal plane; Choose for yourself Alternatively, determine the angle between the cross-section of the installation point, i.e., the first cross-section (5), and the horizontal plane, and use it as... The third cut surface (7) overlaps with the first cut surface (5), and then the formula (10) is used to calculate. Or, choose for yourself. Then, calculate using formula (10). ; Compensation angle Δ Calculated using the following formula: ; in, x This represents the distance between point II and point III on the tank wall (3-1) where the ultrasonic wave emitted by the ultrasonic probe (2) is located. Point III is the corresponding point on the inner wall of the tank wall (3-1) where the ultrasonic wave emitted by the ultrasonic probe (2) is located at point I. , l Let be the wall thickness of the tank wall (3-1), and the angle of refraction of the ultrasonic wave after entering the tank wall (3-1). According to the formula = and Calculations show that The inner radius of the curved surface region; The main unit is used to control and execute liquid level measurement operations. Perform at least one first signal transmission / reception operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or a predetermined number of operations are reached; wherein, performing the first signal transmission / reception operation includes: According to the set transmission frequency, control the ultrasonic probe (2) to transmit ultrasonic signals and receive the echo signals reflected back from the liquid surface of the measured medium. If the amplitude of the received echo signal is not less than the set echo amplitude threshold, perform a liquid level height calculation operation; wherein, the liquid level height calculation operation includes: The liquid level height is calculated based on the time difference between the ultrasonic signal emitted and the echo signal received by the ultrasonic probe (2) and the speed at which the ultrasonic wave propagates in the medium or air being measured. The liquid level height is the vertical distance from the ultrasonic probe (2) to the surface of the medium being measured.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the ultrasonic liquid level measurement method according to any one of claims 3-10.

13. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the ultrasonic liquid level measurement method according to any one of claims 3-10.

Citation Information

Patent Citations

  • Liquid level detection device and method and storage medium

    CN117906712A

  • Ultrasonic wave liquid level measurement device and calculation method for ultrasonic wave sensor installation position

    JP2020101418A