Ultrasonic probe installation method, liquid level measurement method and device, medium and product
By installing blocks on the arc surface or inclined area of the liquid storage tank, the ultrasonic probe is installed on the wall of the liquid storage tank, so that the ultrasonic waves are incident vertically and return, solving the problem of poor signal reception and impurities in the steep area, and improving the liquid accuracy of bit measurement.
Patent Information
- Application Number
- CN202411844364.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-12-16
AI Technical Summary
Ultrasonic level measurement When installed in a steep area of the liquid reservoir, the ultrasonic waves emitted by the ultrasonic probe are incident in a non-vertical direction, resulting in poor reception of the echo signal and inaccurate measurement, and impurities at the bottom of the liquid reservoir tank affect the measurement accuracy.
Determine the installation point in the arc surface or inclined area of the liquid storage tank, use the installation block to install the ultrasonic probe on the tank wall, so that the ultrasonic waves are incident vertically, and ensure that the original path of the ultrasonic signal is returned through the specific design of the installation block to avoid impurities Influence.
It improves the accuracy of liquid level measurement, solves the problem of poor signal reception when ultrasonic probes are installed in steep areas, and avoids the impact of tank bottom impurities on measurement.
Smart Images

Figure CN119305885A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of liquid level measurement, and in particular to an ultrasonic probe installation method, a liquid level measurement method, device, medium and product. Background Art
[0002] Ultrasonic level measurement is a measurement technology used to measure the liquid level of liquid materials. It is mainly used in industrial process control and monitoring, and has been widely used in the fields of petroleum, chemical industry, etc. Ultrasonic level measurement is based on the propagation and reflection principle of ultrasonic waves for liquid level measurement. Specifically, the ultrasonic sensor sends out an ultrasonic signal. When the ultrasonic signal propagates in the measured medium and encounters the liquid surface, it will be reflected. The ultrasonic sensor receives the ultrasonic signal reflected from the liquid surface, that is, the echo signal. By measuring the time difference between the emission of the ultrasonic signal and the reception of the echo signal, the propagation distance of the ultrasonic wave in the measured medium is calculated, thereby obtaining the liquid level. Since ultrasonic level measurement has the advantage of non-contact measurement, it is deployed outside the liquid storage tank and can be applied to the measurement of various corrosive, volatile and high-temperature liquids.
[0003] In actual industrial production and application, ultrasonic level measurement faces various complex working conditions. Usually, the ultrasonic probe is installed in a relatively flat area at the bottom of the tank. This is because other areas of the tank have obvious arcs, curved surfaces or slopes (referred to as steep areas). If installed in these steep areas, please refer to Figure 1 , the ultrasonic wave 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 not conducive to the ultrasonic probe 2 receiving the echo signal. Secondly, since the ultrasonic wave is incident in a non-vertical direction, it is easy to cause inaccurate measurement. Figure 2 ), then relatively speaking, the ultrasonic wave may achieve vertical reciprocating motion, which is conducive to accurate measurement.
[0004] However, there is also a problem with installing the ultrasonic probe 2 in a relatively flat area at the bottom of the liquid storage tank 3: a large amount of impurities deposited in the relatively flat area at the bottom of the liquid storage tank 3 will affect the liquid level measurement, resulting in a decrease in the accuracy of ultrasonic liquid level measurement. 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 solutions: In a first aspect, the present application provides a method for installing an ultrasonic probe, comprising: Determine the installation point on the curved surface area or inclined surface area of the outer surface of the target liquid storage tank; The ultrasonic probe is installed at the installation point through a mounting block, so that the ultrasonic wave emitted by the ultrasonic probe passes through the mounting block and the tank wall of the target liquid storage tank in sequence and vertically enters the measured medium in the target liquid storage tank from the tank wall.
[0007] 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.
[0008] Optionally, the bottom surface of the mounting block is a plane, the incident direction of the ultrasonic wave 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 of the mounting block and its bottom surface is an acute angle; The mounting block satisfies the following formula: ; (6) in, is the angle between the top and bottom surfaces of the mounting block, is the sound velocity of the ultrasonic wave in the mounting block, is the angle between the first section and the horizontal plane, Δ To compensate for the angle, the first section refers to the section passing through the installation point (also called the measuring contact surface). is the sound velocity of the ultrasonic wave in the measured medium or air.
[0009] Optionally, the bottom surface of the mounting block is a plane, the incident direction of the ultrasonic wave 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 matching the arc surface area, the angle between the third section and the bottom surface of the mounting block is an acute angle, and the third section is a section passing through at least one point on the top surface of the mounting block; The mounting block satisfies the following formula: ; (10) in, is the angle between the third section and the bottom surface of the mounting block, is the sound velocity of the ultrasonic wave in the mounting block, is the angle between the third section and the horizontal plane, Δ To compensate for the angle, is the sound velocity of the ultrasonic wave in the measured medium or air.
[0010] Optionally, the mounting block is integrally packaged with the piezoelectric ceramic sheet of the ultrasonic probe; a portion of the mounting block is located within 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.
[0011] In a second aspect, the present application provides an ultrasonic liquid level measurement method, comprising: After installing the ultrasonic probe using any of the above-mentioned ultrasonic probe installation methods, perform a liquid level measurement operation: Perform at least one first signal transceiving operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or reaches a predetermined number of times; wherein the first signal transceiving operation includes: According to the set transmission frequency, the ultrasonic probe is controlled to transmit ultrasonic signals and receive echo signals reflected 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, a liquid level height calculation operation is performed; wherein the liquid level height calculation operation includes: The measured liquid level height is calculated based on the time difference between the ultrasonic probe transmitting the ultrasonic signal and receiving the echo signal and 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 liquid surface of the measured medium.
[0012] Optionally, the ultrasonic liquid level measurement method further includes: Before performing the liquid level measurement operation, performing a transmission frequency adjustment operation; The transmitting frequency adjustment operation includes a transmitting frequency coarse sweep operation: Taking the first frequency value as a starting point, scanning within the set frequency range according to the set first adjustment step to determine the second frequency value with the maximum echo amplitude; wherein the first frequency value is any frequency value within the set frequency range; After performing the transmit frequency coarse scan operation, the transmit frequency used for the first signal transceiver operation is determined according to the obtained second frequency value.
[0013] Optionally, determining a transmission frequency adopted by the first signal transceiver operation according to the obtained second frequency value includes: Taking the second frequency value as a starting point, a first fine scanning operation is performed; wherein the first fine scanning operation includes: Adjusting the transmission frequency according to a second adjustment step; wherein the second adjustment step is smaller than the first adjustment step; Performing a second signal receiving and transmitting operation: controlling the ultrasonic probe to transmit an ultrasonic signal according to the adjusted transmitting frequency, receiving an echo signal reflected from the liquid surface of the measured medium, and extracting an echo amplitude from the received echo signal; If the echo amplitude obtained by performing the first fine scanning operation is smaller than the echo amplitude of the second frequency value, a second fine scanning operation is performed starting from the second frequency value; wherein the second fine scanning operation and the first fine scanning operation adjust the transmission frequency in the opposite direction; If the echo amplitude extracted by performing the second fine scanning operation is smaller than the echo amplitude of the second frequency value, the second frequency value is used as the transmission frequency adopted by the first signal transceiving operation; If the echo amplitude extracted by performing the second fine scanning operation is not less than the echo amplitude of the second frequency value, the second fine scanning operation is repeatedly performed until the echo amplitude extracted by the second fine scanning operation begins to decrease, and the transmission frequency corresponding to the maximum echo amplitude is used as the transmission frequency used in the first signal transceiving operation; If the echo amplitude extracted by the first fine scanning operation is not less than the echo amplitude of the second frequency value, the first fine scanning operation is repeatedly performed until the echo amplitude extracted by the first fine scanning operation begins to decrease, and the transmission frequency corresponding to the maximum echo amplitude is used as the transmission frequency adopted for the first signal transceiver operation.
[0014] Optionally, determining a transmission frequency adopted by the first signal transceiver operation according to the obtained second frequency value includes: The second frequency value is used as the transmission frequency adopted by the first signal transceiver operation.
[0015] Optionally, the liquid level measurement operation further includes: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, before executing the liquid level height calculation operation, the echo signal is preprocessed, and the preprocessing includes filtering processing.
[0016] Optionally, the liquid level measurement operation further includes: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, before executing the liquid level height calculation operation, preprocessing the echo signal, wherein the preprocessing includes filtering processing; If the number of times the transmission frequency adjustment operation is performed reaches a predetermined number of times, the ultrasonic liquid level measurement method further includes: Before executing the liquid level height calculation operation, the measurement parameters are adjusted according to the target transmission frequency, and the measurement parameters include at least one of the filter parameters used in the filtering process and the local oscillation signal frequency of the ultrasonic receiving module; the target transmission frequency is: the transmission frequency used by the first signal transceiver operation most recently determined.
[0017] Optionally, the filtering process includes at least one of a low-pass filtering process and a band-pass filtering process; If the filtering process includes low-pass filtering, the adjusting the measurement parameters according to the target transmission frequency includes a first parameter adjustment operation: Adjusting the cutoff frequency of the low-pass filter to be greater than the target transmission frequency; If the filtering process includes bandpass filtering process, the adjusting the measurement parameter 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: The center frequency of the bandpass filter is adjusted to be the frequency of the mixing signal; the mixing signal is the sum frequency 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; The third parameter adjustment operation includes: The local oscillator signal frequency of the ultrasonic receiving module is adjusted so that the sum frequency 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.
[0018] Optionally, the performing of the liquid level height calculation operation further includes: Adding the vertical distance from the ultrasonic probe to the bottom of the target liquid storage tank to the measured liquid level height, to obtain the liquid level height of the measured medium; The measured liquid level height is calculated according to the following formula: ; in, To measure the liquid level; It is the time difference between the ultrasonic probe transmitting the ultrasonic signal and receiving the echo signal. It is the wave speed of ultrasonic wave propagating in the measured medium.
[0019] In a third aspect, the present application provides an ultrasonic liquid level measuring device, comprising: An ultrasonic probe is used to transmit ultrasonic signals according to a set transmission frequency and receive echo signals reflected from the liquid surface of the measured medium; A mounting block is used to mount the ultrasonic probe at a mounting point, so that the ultrasonic wave emitted by the ultrasonic probe passes through the mounting block and the tank wall of the target liquid storage tank in sequence and vertically enters the measured medium in the target liquid storage tank from the tank wall, and the mounting point is located in a curved surface area or a slope area on the outer surface of the target liquid storage tank; The host part is used to control and perform liquid level measurement operations: Performing at least one first signal transceiver operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or reaches a predetermined number of times; wherein performing the first signal transceiver operation includes: According to the set transmission frequency, the ultrasonic probe is controlled to transmit ultrasonic signals and receive echo signals reflected 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, a liquid level height calculation operation is performed; wherein the liquid level height calculation operation includes: The measured liquid level height is calculated based on the time difference between the ultrasonic probe transmitting the ultrasonic signal and receiving the echo signal and 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 liquid surface of the measured medium.
[0020] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any of the above-mentioned ultrasonic liquid level measurement methods.
[0021] In a fifth aspect, the present application provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, the steps of any of the above-mentioned ultrasonic liquid level measurement methods are implemented.
[0022] According to the specific embodiments provided in this application, this application discloses the following technical effects: The present application provides an ultrasonic probe installation method, a liquid level measurement method, a device, a medium and a product. Since impurities are not easily deposited in the curved area or the inclined area on the outer surface of the target liquid storage tank, the installation point is determined in the curved area or the inclined area on the outer surface of the target liquid storage tank, and the ultrasonic probe is installed at the determined installation point using a mounting block. When measuring, it is possible to avoid the impurities deposited on the bottom of the target liquid storage tank from affecting the liquid level measurement of the ultrasonic probe, thereby ensuring the accuracy of the ultrasonic liquid level measurement, and solving the problem of reduced accuracy of ultrasonic level measurement due to a large number of impurities when the ultrasonic probe is installed in a relatively flat area on the bottom of the liquid storage tank. Furthermore, the ultrasonic probe is installed at the installation point through the installation block, so that the ultrasonic wave emitted by the ultrasonic probe passes through the installation block and the tank wall of the target liquid storage tank in turn and vertically incident from the tank wall to the measured medium in the target liquid storage tank, which can ensure that the ultrasonic wave is reflected by the liquid surface of the measured medium and returns to the ultrasonic probe along the original path, solving the problem of directly installing the ultrasonic probe on the curved surface area or inclined surface area of the outer surface of the target liquid storage tank, because the ultrasonic wave emitted by the ultrasonic probe will be incident on the liquid surface in a non-vertical direction and then reflected by the liquid surface, which is not conducive to the ultrasonic probe receiving the echo signal. At the same time, the ultrasonic probe is installed at the installation point through the installation block, so that the ultrasonic wave emitted by the ultrasonic probe is vertically incident from the tank wall to the measured medium in the target liquid storage tank, which can make the ultrasonic wave reciprocate vertically, effectively improving the measurement accuracy of the liquid level of the measured medium. In summary, the present application installs the ultrasonic probe in a position where impurities are not easily deposited through the installation block, and makes the ultrasonic signal reciprocate vertically, which together improves the measurement accuracy of the liquid level of the measured medium. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of the structure for installing the ultrasonic probe on the steep area of the liquid storage tank; Figure 2 A schematic diagram of the structure for installing the ultrasonic probe in a relatively flat area of the liquid storage tank; Figure 3 A schematic diagram of a flow chart of an ultrasonic probe installation method provided in one embodiment of the present application; Figure 4 A schematic diagram of a structure in which an ultrasonic probe is installed in a steep area of a liquid storage tank by means of a mounting block according to an embodiment of the present application; Figure 5 A schematic diagram of a structure in which an ultrasonic probe is installed in a steep area of a liquid storage tank by means of a mounting block provided in another embodiment of the present application; Figure 6 A schematic diagram of a flow chart of a liquid level measurement operation of an ultrasonic liquid level measurement method provided in one embodiment of the present application; Figure 7A schematic diagram of functional modules of an ultrasonic liquid level measurement device provided in one embodiment of the present application; Figure 8 A schematic diagram of the structure of a computer device provided in one embodiment of the present application.
[0024] In the figure, 1. mounting block, 2. ultrasonic probe, 3. liquid storage tank, 3-1. tank wall, 4. liquid level, 5. first section, 6. second section, 7. third 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 DESCRIPTION
[0025] The present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0026] In an exemplary embodiment, Figure 3 As shown, a method for installing an ultrasonic probe is provided, comprising the following steps 101 to 102. Among them: Step 101, determining the installation point on the curved surface area or the inclined surface area of the outer surface of the target liquid storage tank.
[0027] The medium stored in the target liquid storage tank is the measured medium. The target liquid storage tank can be a spherical liquid storage tank, a cylindrical liquid storage tank, a special-shaped tank, etc.
[0028] Step 102, the ultrasonic probe 2 is installed at the installation point through the installation block 1, so that the ultrasonic wave emitted by the ultrasonic probe 2 passes through the installation block 1 and the tank wall 3-1 of the target liquid storage tank in sequence, and is vertically incident from the tank wall 3-1 to the measured medium in the target liquid storage tank, such as Figure 4 shown.
[0029] When implementing the above-mentioned steps 101 to 102, since impurities are not easily deposited in the curved area or inclined area on the outer surface of the target liquid storage tank, by determining the installation point in the curved area or inclined area on 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, it is possible to avoid the impurities deposited on the bottom of the target liquid storage tank from affecting the liquid level measurement of the ultrasonic probe 2 during measurement, thereby ensuring the accuracy of the ultrasonic liquid level measurement, and solving the problem of reduced accuracy of ultrasonic level measurement due to a large number of impurities when the ultrasonic probe 2 is installed in a relatively flat area on the bottom of the liquid storage tank. Furthermore, the ultrasonic probe 2 is installed at the installation point through the installation block 1, so that the ultrasonic wave emitted by the ultrasonic probe 2 passes through the installation block 1 and the tank wall of the target liquid storage tank in turn and vertically incident from the tank wall to the measured medium in the target liquid storage tank, which can ensure that the ultrasonic wave is reflected by the liquid surface of the measured medium and returns to the ultrasonic probe 2 along the original path, solving the problem of directly installing the ultrasonic probe 2 on the curved surface area or inclined surface area of the outer surface of the target liquid storage tank, because the ultrasonic wave emitted by the ultrasonic probe 2 will be incident on the measured medium in a non-vertical direction, and then reflected by the liquid surface of the measured medium, which is not conducive to the ultrasonic probe 2 receiving the echo signal. At the same time, the ultrasonic probe 2 is installed at the installation point through the installation block 1, so that the ultrasonic wave emitted by the ultrasonic probe 2 is vertically incident from the tank wall to the measured medium in the target liquid storage tank, which can make the ultrasonic wave reciprocate vertically, effectively improving the measurement accuracy of the liquid level of the measured medium. In summary, the present application installs the ultrasonic probe 2 in a position where impurities are not easily deposited through the installation block 1, and makes the ultrasonic signal reciprocate vertically, which together improves the measurement accuracy of the liquid level of the measured medium.
[0030] The installation block 1 is further described below.
[0031] In another exemplary embodiment of the present 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.
[0032] It should be noted that the above-mentioned names of the bottom surface and the top surface cannot be used to limit the installation position of the mounting block 1 and the ultrasonic probe 2, that is, they are not used to limit the mounting block 1 to be installed only with the top surface on top and the bottom surface on the bottom. According to 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 the mounting block 1 is facing downward, and its bottom surface is higher than the top surface.
[0033] In one example, the bottom surface of the mounting block 1 is a plane, the top surface of the mounting block 1 is an inclined plane, and the angle between the top surface of the mounting block 1 and the bottom surface thereof is an acute angle.
[0034] The incident direction of the ultrasonic wave emitted by the ultrasonic probe 2 may be perpendicular to the bottom surface of the mounting block 1 or may not be perpendicular to the bottom surface, as long as the ultrasonic wave can travel vertically back and forth in the target liquid storage tank.
[0035] Similarly, the incident direction may be a vertical direction (ie, perpendicular to the horizontal plane) or a non-vertical direction, as long as the ultrasonic wave can travel vertically back and forth in the target liquid storage tank.
[0036] 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 may satisfy the following formula: . (6) in, is the angle between the top and bottom surfaces of the mounting block 1, is the speed of ultrasound in the mounting block 1, is the angle between the first section 5 and the horizontal plane. The first section 5 refers to the section passing through the installation point (also called the measurement contact surface 5). To compensate for the angle, It is the sound velocity of ultrasonic wave in the measured medium or air in the tank.
[0037] The derivation process is as follows: like Figure 4 As shown in the figure, according to the oblique incidence of sound waves on different medium interfaces, the refraction law is satisfied as follows: , , = ; (1) Then we get: ; (2) in, is the incident angle of the ultrasonic wave entering the tank wall 3-1, is the refraction angle of the ultrasonic wave after entering the tank wall 3-1, is the incident angle of the ultrasonic wave entering the measured medium or air in the tank, It is the refraction angle of the ultrasonic wave after entering the measured medium or air in the tank. is the speed of ultrasound in the mounting block 1, is the speed of ultrasound in the tank wall 3-1, It is the sound velocity of ultrasonic wave in the measured medium or air in the tank.
[0038] 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, it is obtained that: = ; (3) in, It is the angle between the top surface of the mounting block 1 and its bottom surface.
[0039] Since the ultrasonic wave is emitted vertically in the tank, there are: = ; (4) in, is the angle between the second section 6 and the horizontal plane. The second section 6 is the section passing through the exit point II of the ultrasonic wave on the tank wall 3-1.
[0040] Since the distance between the incident point I of the ultrasonic wave emitted by the ultrasonic probe 2 and the corresponding point III on the inner wall (the curvature of point III is consistent with that of the incident point I) is equal to the wall thickness of the tank wall 3-1 , and according to = By formula Calculated , and then calculate the distance between the ultrasonic wave emitted by ultrasonic probe 2 and point II on the tank wall 3-1 and point III , , which is regarded as the arc length between the exit point II and the point III, and then the angle between the tangent plane passing through the point III and the horizontal plane is obtained (i.e. )and Angle difference Δ = ,in, is the inner radius of the curved surface area, and Δ Defined as the compensation angle, we get: = +Δ ; (5) in, is the angle between the first section 5 and the horizontal plane.
[0041] Then the installation block 1 satisfies the following formula: ; (6).
[0042] In the present application embodiment, you can choose , the angle between the first section 5 and the horizontal plane can also be determined and used as , and then use formula (6) to calculate You can also choose , and then use formula (6) to calculate .
[0043] In another example, the bottom surface of the mounting block 1 is a plane, the top surface of the mounting block 1 is a curved surface matching the arc surface area of the outer surface of the target liquid storage tank, and there are one or more points on the top surface, and the angle between the third section 7 passing through the one or more points and the bottom surface of the mounting block 1 is an acute angle. For example, the angle between the third section 7 passing through the point closest to the mounting site on the top surface and the bottom surface is an acute angle.
[0044] Similar to the previous example, the incident direction of the ultrasonic wave emitted by the ultrasonic probe 2 may be perpendicular to the bottom surface of the mounting block 1 or may not be perpendicular to the bottom surface, as long as the ultrasonic wave can travel vertically back and forth in the target liquid storage tank.
[0045] Similarly, the incident direction may be a vertical direction (ie, perpendicular to the horizontal plane) or a non-vertical direction, as long as the ultrasonic wave can travel vertically back and forth in the target liquid storage tank.
[0046] 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: ; (10) in, is the angle between the third section 7 and the bottom surface of the mounting block 1, is the speed of ultrasound in the mounting block 1, is the angle between the third section 7 and the horizontal plane, It is the speed of ultrasound in the measured medium or air.
[0047] The derivation process is as follows: 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, it is obtained that: = ; (7) in, It is the included angle between the third section 7 and the bottom surface of the mounting block 1 .
[0048] Since the ultrasonic wave propagates vertically in the measured medium or air in the tank, we have: = ; (8) in, is the angle between the second section 6 and the horizontal plane.
[0049] Based on the analysis of formula (5), we can get: = +Δ ; (9) in, is the angle between the third section 7 and the horizontal plane.
[0050] Then, according to formula (2), the installation block 1 satisfies the following formula: ; (10).
[0051] In the present application embodiment, you can choose , the section through the installation point can also be determined, that is, the angle between the contact surface 5 and the horizontal plane is measured and used as (i.e., the third section 7 is considered to overlap with the measurement contact surface 5), and then formula (10) is used to calculate You can also choose , and then use formula (10) to calculate The angle between the measured contact surface 5 and the horizontal plane is taken as When the installation point is determined on the target liquid storage tank, the installation block 1 that satisfies formula (10) is matched based on the installation point, so that the personalized customization of the installation block 1 can be realized.
[0052] The ultrasonic probe 2 may exemplarily include a piezoelectric ceramic sheet 15, a housing, etc. In another exemplary embodiment of the present application, the mounting block 1 is integrally packaged with the piezoelectric ceramic sheet 15 of the ultrasonic probe 2; a portion of the mounting block 1 is located in 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.
[0053] In the embodiment of the present application, the mounting block 1 and the piezoelectric ceramic piece 15 of the ultrasonic probe 2 are integrally packaged, and a part of the mounting block 1 is disposed in the housing of the ultrasonic probe 2. This ensures the installation stability of the mounting block 1 and the piezoelectric ceramic piece 15, and eliminates the need for staff to separately install the ultrasonic probe 2 on the mounting block 1. This speeds up the installation of the ultrasonic probe 2 and enables mass production of the mounting block 1 and the ultrasonic probe 2.
[0054] In another exemplary embodiment of the present application, step 101 includes: The position where the outer surface of the target liquid storage tank can fit with the top surface of the mounting block 1 is used as the mounting point.
[0055] In another exemplary embodiment of the present application, step 101 includes: The position where the outer surface of the target liquid storage tank can fit with the top surface of the mounting block 1 and where the echo amplitude is the largest is taken as the mounting point.
[0056] In another exemplary embodiment of the present application, in the above step 101, the installation point is determined in the curved area or inclined area of the outer surface of the target liquid storage tank, that is, any position in the curved area or inclined area of the outer surface of the target liquid storage tank is selected as the installation point, or the position with the largest echo amplitude in the curved area or inclined area of the outer surface of the target liquid storage tank is selected as the installation point. The specific position can be selected according to actual needs and is not specifically limited here.
[0057] In another exemplary embodiment of the present application, the top surface of the mounting block 1 is marked with an ultrasonic emission point or a range where the ultrasonic emission point may be located.
[0058] Accordingly, the installation point is determined on the curved surface area or the inclined surface area of the outer surface of the target liquid storage tank, including: The portion where the outer surface of the target liquid storage tank fits with the ultrasonic emission point or the range of possible ultrasonic emission points marked on the top surface of the mounting block 1 is used as the mounting point.
[0059] In the embodiment of the present application, the ultrasonic probe 2 is installed at the installation point through the installation block 1, which achieves rapid installation while ensuring the shortest transmission path of the ultrasonic wave and improving the measurement accuracy of the liquid level of the measured medium.
[0060] The specific form of the marking is not limited in the embodiment of the present application and can be set according to the needs. For example, the ultrasonic emission point or the range where the ultrasonic emission point is likely to be located is marked by color to distinguish it from other areas on the top surface of the mounting block 1.
[0061] In another exemplary embodiment of the present application, the above step 101 is replaced by the following steps 201 to 203. Among them: Step 201, determining a mounting zone on the curved surface area or the inclined surface area of the outer surface of the target liquid storage tank, wherein the mounting zone is a zone on the outer surface of the target liquid storage tank that satisfies The position of the annulus formed or the outer surface of the target tank meets The ring formed by the position of The set of positions, or all positions on the outer surface of the target tank that satisfy The collection of locations, Satisfying formula (6), Satisfies formula (10).
[0062] In the embodiment of the present application, if the angle between the tangent plane of at least one point of the curved surface area or the inclined surface area on the outer surface of the target liquid storage tank and the horizontal plane is , that is, the points on the curved surface area or inclined surface area of the outer surface of the target liquid storage tank through which the section passes satisfy . In getting or Finally, use auxiliary tools such as angle level to measure the curved or inclined surface area on the outer surface of the target tank to meet the requirements. or location.
[0063] Step 202, select multiple points to be measured along the installation belt, and perform a point selection operation at each point to be measured: Pre-installing the ultrasonic probe 2 through the mounting block 1; the pre-installation means placing the mounting block 1 at the point to be measured but not fixing it to the target liquid storage tank; After the ultrasonic probe 2 is used to transmit ultrasonic waves and receive echo signals, the echo amplitude of the received echo signals is extracted.
[0064] Step 203: Select the point to be measured with the largest echo amplitude as the installation point.
[0065] As an optional implementation, the above step 201 Determined by the following process: according to , calculated by formula (6) .
[0066] In the embodiment of the present application, since the 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, and the mounting block 1 and the piezoelectric ceramic piece 15 of the ultrasonic probe 2 can be integrally packaged in the housing of the ultrasonic probe 2, so that the mounting block 1 and the ultrasonic probe 2 can be mass-produced.
[0067] As an optional implementation, the above step 201 Determined by the following process: according to , calculated by formula (10) ,Will As the angle between the contact surface 5 and the horizontal plane, the angle is measured.
[0068] In the embodiment of the present application, since the angle between the third section 7 and the bottom surface of the mounting block 1 is predetermined, Therefore, the mounting block 1 can be mass-produced, and the mounting block 1 and the piezoelectric ceramic piece 15 of the ultrasonic probe 2 can be integrally packaged in the housing of the ultrasonic probe 2, so that the mounting block 1 and the ultrasonic probe 2 can be mass-produced.
[0069] As an optional implementation, according to Calculated by formula (6) Afterwards, or according to Calculated by formula (10) Afterwards, or Mark on the mounting block 1, the instructions for use (operating instructions) of the mounting block 1, or the instructions for use of the ultrasonic probe 2 in which the piezoelectric ceramic sheet 15 and the mounting block 1 are integrally packaged, so that step 201 can be used directly .
[0070] In another exemplary embodiment of the present application, the angle of the mounting block 1 may not be predetermined. or , and the installation point is determined first, then the above step 102 is replaced by the following steps 301 to 303. Among them: Step 301, determine according to the installation point .
[0071] Step 302, according to Calculated by formula (6) .
[0072] Step 303, by satisfying The mounting block 1 mounts the ultrasonic probe 2 at the mounting point.
[0073] In the embodiment of the present application, after the installation point is determined, an auxiliary tool such as an angle level is used to measure the angle between the installation point and the horizontal plane. Then install the mounting block 1 at the selected mounting point, and make the top surface of the mounting block 1 tilted in the same direction as the measured cutting surface, so that the mounting block 1 after installation meets the angle .
[0074] Through the installation process from step 301 to step 303, 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, thereby realizing personalized customization of the installation block 1.
[0075] The present application also requires to provide an ultrasonic liquid level measurement method, which exemplarily includes: After the ultrasonic probe 2 is installed using the above-mentioned ultrasonic probe installation method, the liquid level measurement operation is performed.
[0076] like Figure 6 As shown, the liquid level measurement operation includes the following steps 501 to 502. Among them: Step 501, performing at least one first signal receiving and sending operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or reaches a predetermined number of times; The first signal receiving and sending operation includes: According to the set transmission frequency, the ultrasonic probe 2 is controlled to transmit ultrasonic signals and receive echo signals reflected from the liquid surface of the measured medium.
[0077] In the embodiment of the present application, the echo amplitude threshold is determined by the lowest echo amplitude that can be identified by the system. The echo amplitude threshold is not specifically limited and can be selected according to actual needs. For example, the echo amplitude threshold is set to the lowest echo amplitude that can be identified by the system. For another example, the echo amplitude threshold is set to twice the lowest echo amplitude that can be identified by the system.
[0078] Step 502: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, a liquid level height calculation operation is performed; wherein the liquid level height calculation operation includes: The measured liquid level height is calculated based on the time difference between the ultrasonic probe 2 transmitting the ultrasonic signal and receiving the echo signal and the speed of ultrasonic wave propagation in the measured medium or air. The measured liquid level height is the vertical distance from the ultrasonic probe 2 to the liquid surface of the measured medium.
[0079] The above-mentioned liquid level measurement operation can be performed only once when liquid level measurement is required, or can be performed multiple times periodically. The following will introduce them one by one.
[0080] In another exemplary embodiment of the present application, a liquid level measurement operation is provided which is performed only when liquid level measurement is required, and includes the following steps 601 to 603. Among them: Step 601, execute a first signal receiving and sending operation; the relevant introduction of the first signal receiving and sending operation is detailed in the description of the above embodiment, which will not be repeated here.
[0081] Step 602, if the amplitude of the received echo signal is not less than the set echo amplitude threshold, perform a liquid level height calculation operation; the relevant introduction of the liquid level height calculation operation is detailed in the above embodiment, which will not be repeated here.
[0082] Step 603, if the amplitude of the received echo signal is less than the echo amplitude threshold, when the transmission time of the next ultrasonic signal arrives, return to execute the first signal receiving and sending operation and subsequent steps; the transmission time is determined according to the transmission frequency.
[0083] In another exemplary embodiment of the present application, a liquid level measurement operation for performing periodic cyclic measurement is provided, including the following steps 701 to 703. Among them: Step 701, execute a first signal receiving and sending operation. The relevant introduction of the first signal receiving and sending operation is detailed in the description of the above embodiment, which will not be repeated here.
[0084] Step 702: 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 transmission time of the next ultrasonic signal arrives, the first signal receiving and sending operation and subsequent steps are returned. The relevant introduction of the liquid level height calculation operation is detailed in the above embodiment, which will not be repeated here.
[0085] Step 703, if the amplitude of the received echo signal is less than the echo amplitude threshold, when the transmission time of the next ultrasonic signal arrives, return to execute the first signal receiving and sending operation and subsequent steps; the transmission time is determined according to the transmission frequency.
[0086] Different from the embodiment shown in the aforementioned steps 601-603, in this embodiment, no matter whether the received echo signal is smaller than the echo amplitude threshold, the process will return to step 701 to implement a loop operation.
[0087] As mentioned above, the ultrasonic probe 2 can be installed at any position on the target liquid storage tank, such as the tank top, tank bottom, etc. The measured liquid level height calculated in the above embodiment refers to the height from the ultrasonic probe 2 to the liquid surface, and a certain calculation is required according to the installation position of the ultrasonic probe 2 to obtain the real liquid level height.
[0088] The following uses the example of installing the ultrasonic probe 2 on the bottom of the tank through the mounting block 1 to introduce how to determine the liquid level.
[0089] In another exemplary embodiment of the present application, executing the liquid level height calculation operation may further include: On the basis of the measured liquid level height, the vertical distance from the ultrasonic probe 2 to the bottom of the target liquid storage tank is added to obtain the liquid level height of the measured medium.
[0090] In the embodiment of the present application, the liquid level height is calculated by the following formula: ; (11) in, To measure the liquid level, is the time difference between the ultrasonic probe 2 transmitting the ultrasonic signal and receiving the echo signal, It is the wave speed of ultrasonic wave propagating in the measured medium.
[0091] If the ultrasonic probe 2 is installed on the top of the tank, then in general, the ultrasonic wave propagates in the air in the tank, is incident on the liquid surface, and is reflected. In another exemplary embodiment of the present application, executing the liquid level height calculation operation may also include: The first vertical distance is subtracted from the target liquid storage tank height to obtain the liquid level height of the measured medium.
[0092] The first vertical distance is the sum of the measured liquid level height and the second vertical distance; and the second vertical distance is the vertical distance from the ultrasonic probe 2 to the tank top of the target liquid storage tank.
[0093] In the embodiment of the present application, the tank top of the target liquid storage tank refers to the portion of the target liquid storage tank located above the liquid surface of the measured medium. The measured liquid level height is calculated by the following formula: ; (12) in, is the speed of ultrasonic wave propagating in air.
[0094] In addition, since the tank wall of the target liquid storage tank also has thickness, in other embodiments of the present application, the tank wall thickness can be subtracted accordingly.
[0095] As an optional implementation, the time difference between the ultrasonic probe 2 transmitting the ultrasonic signal and receiving the echo signal is t , refers to the time interval from the moment the ultrasonic signal amplitude is emitted to the moment the echo signal amplitude is received 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.
[0096] In the embodiment of the present application, 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 measuring the liquid level height caused by the round trip time of the non-measured medium. Since the materials of the mounting block 1 and the tank wall 3-1 are known, the propagation speed of the ultrasonic wave in the mounting block 1 and the tank wall 3-1 is known. The round trip time of the ultrasonic wave inside the tank wall 3-1 can be obtained according to the wall thickness of the tank wall 3-1, and the round trip time of the ultrasonic wave inside the mounting block 1 can be obtained according to the propagation height of the mounting block 1 (the vertical distance from the position where the ultrasonic probe 2 is installed on the bottom surface of the mounting block 1 to the top surface of the mounting block 1, or the distance from the position where the ultrasonic probe 2 is installed on the bottom surface of the mounting block 1 to the ultrasonic wave emission point marked on the top surface of the mounting block 1).
[0097] As an optional embodiment, the vertical distance from the ultrasonic probe 2 to the bottom of the target liquid storage tank is the vertical distance from a set plane (for example, the bottom surface of the mounting block 1, or the end surface of the ultrasonic probe 2, or a horizontal plane passing through the mounting point, or the top surface of the piezoelectric ceramic piece 15 of the ultrasonic probe 2) or a set point (for example, the mounting point or the center point of the piezoelectric ceramic piece 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 above-mentioned set plane or set point to the top of the tank.
[0098] Accordingly, the time difference between the ultrasonic probe 2 transmitting 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 .
[0099] In practical applications, temperature changes will affect the propagation speed of ultrasound, thereby affecting the accuracy of liquid level measurement. Therefore, before calculating the measured liquid level height, the wave speed can also be corrected. In another exemplary embodiment of the present application, according to the real-time temperature of the measured medium, the propagation speed of ultrasound in the measured medium or air is calculated according to the following formula: , that is, the aforementioned or : = ; (13) in, The propagation speed of ultrasonic waves in the measured medium or air at 20 degrees Celsius (the speed of sound is 343 meters per second). is the temperature coefficient, It is 0.00366 / degree Celsius, and T is the real-time temperature value of the measured medium or air.
[0100] By calculating the propagation speed of ultrasonic waves in the measured medium or air using formula (13), the measurement accuracy can be improved and the influence of temperature on the measurement results can be avoided.
[0101] Liquid level measurement in many industrial applications is affected by factors such as extreme temperature, pressure, medium corrosiveness and foam generation, which can cause changes in the internal material form of the measured medium, thereby affecting the measurement accuracy. At the same time, complex working conditions are often accompanied by multi-phase properties of materials, such as the coexistence of liquid-solid and liquid-gas, which makes it difficult to determine the interface of the liquid level, so the measurement accuracy will decrease and fluctuate.
[0102] To improve the measurement accuracy, in another exemplary embodiment of the present application, the ultrasonic liquid level measurement method may further include: Before performing the liquid level measurement operation, perform the transmission frequency adjustment operation.
[0103] It should be noted that the transmission frequency adjustment operation can be performed before each liquid level measurement operation. The transmission frequency adjustment operation can also be performed after performing a preset number of liquid level measurement operations. The preset number of times can be determined according to actual needs and will not be described in detail here.
[0104] The following is a more detailed introduction to the transmission frequency adjustment operation.
[0105] Exemplarily, the transmission frequency adjustment operation may include the following steps a and b. Among them: Step a, performing a transmit frequency coarse scan operation, which exemplarily includes: Starting from the first frequency value, according to the set first adjustment step, the second frequency value with the maximum echo amplitude is scanned within the set frequency range to determine; wherein the first frequency value is any frequency value within the set frequency range.
[0106] In the embodiment of the present application, the frequency range, the first frequency value and the first adjustment step are not specifically limited and can be set according to actual needs. For example, the first frequency value is set to the minimum transmission frequency of the frequency range. For example, the first frequency value is set to the maximum transmission frequency of the frequency range. For example, the first adjustment step is set to 0.2% of the first frequency value.
[0107] In one example, the so-called scanning refers to a full coverage scan of the above-mentioned frequency range. Taking the first frequency value as the above-mentioned minimum transmitting frequency a as an example, assuming that the frequency range is a-2a, and the first adjustment step is 0.2%a, ultrasonic signals will be emitted with frequency values of {a, 1.002a, 1.004a, 1.006a, ... 2a}, echo signals will be collected, and echo amplitudes will be extracted from the echo signals. The frequency value corresponding to the maximum value will be selected from the extracted echo amplitudes as the second frequency value.
[0108] If the first frequency value is the maximum transmitting frequency 2a, assuming the frequency range is a-2a, and the first adjustment step is 0.4%a, ultrasonic signals will be emitted with the frequency values of {2a, (2a-0.004a), (2a-0.008a), (2a-0.012a), ...}, echo signals will be collected, and echo amplitudes will be extracted from the echo signals. The frequency value corresponding to the maximum value will be selected from the extracted echo amplitudes as the second frequency value.
[0109] The first frequency value is other values similar to the above two examples, which will not be described in detail here.
[0110] Step b: after performing the transmission frequency coarse scanning operation, determining the transmission frequency used for the first signal receiving and transmitting operation according to the obtained second frequency value.
[0111] Continuing with the previous example, assuming that the echo amplitude is (A a , A 1.002a , A 1.004a , A 1.006a , ... A 2a ) indicates that, and A 2a Maximum, 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 transceiver operation will be determined based on 2a, which will be further introduced later in this application.
[0112] It can be seen that in the embodiment of the present application, after performing the transmission frequency adjustment operation, the adjusted transmission frequency is used to perform the liquid level measurement operation, so that the transmission frequency can be continuously optimized according to the changes in the measured medium (including changes in the material form inside the measured medium, changes in the type of the measured medium and changes in the density of the measured medium). Combined with the vertical incidence of ultrasonic waves on the measured medium and the installation of the ultrasonic probe in a position where impurities are not easily deposited, the stability of the ultrasonic signal can be improved, and its ability to resist liquid level fluctuations and solid and gas interference can be improved, which improves the problem of liquid level fluctuations and difficulty in determining the interface that affects the measurement accuracy, thereby improving the measurement accuracy.
[0113] The material morphology inside the measured medium changes, causing the liquid level to fluctuate continuously. At the same time, complex working conditions are often accompanied by multiphase properties of materials, such as the coexistence of liquid-solid and liquid-gas, which makes it difficult to determine the interface of the liquid level, so the measurement accuracy will decrease and fluctuate. In the embodiment of the present application, the ultrasonic probe 2 is installed on the curved surface area or inclined surface area of the target liquid storage tank through the mounting block 1, so that the ultrasonic wave is vertically incident on the measured medium, and the stability of the ultrasonic signal is improved by performing the transmission frequency adjustment operation, so that its ability to resist liquid level fluctuations and solid and gas interference is improved, and the problem of liquid level fluctuations and difficult interface determination affecting the measurement accuracy is improved.
[0114] As an optional implementation, in order to accurately determine the transmission frequency used in the first signal transceiving operation, the above step b can be determined by using the following steps 801 to 805. Among them: Step 801, starting from the second frequency value, performing a first fine scanning operation.
[0115] The first fine scanning operation includes: Adjusting the transmission frequency according to a second adjustment step; wherein the second adjustment step is smaller than the first adjustment step; The second signal receiving and transmitting operation is performed: according to the adjusted transmitting frequency, the ultrasonic probe 2 is controlled to transmit the ultrasonic signal, the echo signal reflected from the liquid surface of the measured medium is received, and the echo amplitude is extracted from the received echo signal.
[0116] In the embodiment of the present application, the transmission frequency is adjusted according to the second adjustment step, that is, the transmission frequency is increased or decreased according to the second adjustment step. The second adjustment step is not specifically limited and can be selected according to actual needs.
[0117] Step 802: If the echo amplitude obtained by executing the first fine scanning operation is smaller than the echo amplitude of the second frequency value, a second fine scanning operation is executed starting from the second frequency value. The second fine scanning operation adjusts the transmission frequency in the opposite direction to the first fine scanning operation.
[0118] In an embodiment of the present application, the second fine scanning operation adjusts the transmission frequency in the opposite direction to the first fine scanning operation, that is: if the first fine scanning operation increases the transmission frequency according to the second adjustment step, the second fine scanning operation decreases the transmission frequency according to the second adjustment step; if the first fine scanning operation decreases the transmission frequency according to the second adjustment step, the second fine scanning operation increases the transmission frequency according to the second adjustment step.
[0119] For example, the second frequency value is represented by B, and the second adjustment step is represented by b. The first fine scanning operation can be performed first, for example, the ultrasonic signal is transmitted at the frequency value (Bb), and the amplitude C1 is extracted from the received echo signal. If C1 is less than the echo amplitude of B, the second fine scanning operation is performed, for example, the ultrasonic signal is transmitted at the frequency value (B+b), and the amplitude C2 is extracted from the received echo signal.
[0120] Of course, the frequency value in the first fine scanning operation may also be B+b, and the frequency value in the second fine scanning operation is Bb.
[0121] Step 803: If the echo amplitude extracted by performing the second fine scanning operation is smaller than the echo amplitude of the second frequency value, the second frequency value is used as the transmission frequency adopted by the first signal transceiving operation.
[0122] Continuing with the previous example, if C2 is smaller than the echo amplitude of B, the frequency value B is used as the transmission frequency adopted for the first signal transceiver operation.
[0123] Step 804, if the echo amplitude extracted by the second fine scanning operation is not less than the echo amplitude of the second frequency value, the second fine scanning operation is repeated until the echo amplitude extracted by the second fine scanning operation begins to decrease, and the transmission frequency corresponding to the maximum echo amplitude is used as the transmission frequency adopted by the first signal transceiver operation.
[0124] For example, assuming that the echo amplitude extracted by the first execution of the second fine scanning operation is greater than the echo amplitude of the second frequency value, the second fine scanning operation is repeated twice, and the second fine scanning operation is performed three times in total, and the echo amplitude extracted by the third execution of the second fine scanning operation begins to decrease, that is, the echo amplitude extracted by the third execution of the second fine scanning operation is less than the echo amplitude extracted by the second execution of the second fine scanning operation, then the echo amplitude extracted by the second execution of the second fine scanning operation is considered to be the maximum echo amplitude extracted by the second fine scanning operation, and the transmission frequency of the echo amplitude extracted by the second execution of the second fine scanning operation (that is, the transmission frequency adjusted by the second execution of the second fine scanning operation) is used as the transmission frequency adopted for the first signal transceiver operation.
[0125] Step 805, if the echo amplitude extracted by the first fine scanning operation is not less than the echo amplitude of the second frequency value, the first fine scanning operation is repeated until the echo amplitude extracted by the first fine scanning operation begins to decrease, and the transmission frequency corresponding to the maximum echo amplitude is used as the transmission frequency adopted by the first signal transceiver operation.
[0126] For example, assuming that the echo amplitude extracted by the first fine scanning operation is greater than the echo amplitude of the second frequency value, the first fine scanning operation is repeated twice, and the first fine scanning operation is performed three times in total, and the echo amplitude extracted by the third execution of the first fine scanning operation begins to decrease, that is, the echo amplitude extracted by the third execution of the first fine scanning operation is less than the echo amplitude extracted by the second execution of the first fine scanning operation, then the echo amplitude extracted by the second execution of the first fine scanning operation is considered to be the maximum echo amplitude extracted by the first fine scanning operation, and the transmission frequency of the echo amplitude extracted by the second execution of the first fine scanning operation (that is, the transmission frequency adjusted by the second execution of the first fine scanning operation) is used as the transmission frequency adopted for the first signal transceiver operation.
[0127] In another exemplary embodiment of the present application, if the number of times the first signal sending and receiving operation is performed reaches a predetermined number of times, the ultrasonic liquid level measurement method may further include: A transmission frequency adjustment operation is performed, and after the transmission frequency adjustment operation is performed, a liquid level measurement operation is performed.
[0128] As another optional implementation, in order to reduce the amount of calculation and quickly determine the transmission frequency used in the first signal transceiving operation, the above-mentioned determination of the transmission frequency used in the first signal transceiving operation according to the obtained second frequency value may include: The second frequency value is used as the transmission frequency adopted by the first signal transceiver operation.
[0129] Optionally, other parameters (such as filter parameters) may be adjusted in conjunction with the transmit frequency adjustment operation.
[0130] Before introducing the adjustment of filter parameters, we first introduce the occasions where the filter is used.
[0131] In another exemplary embodiment of the present application, the above-mentioned liquid level measurement operation may further include: Before step 502, the received echo signal is pre-processed.
[0132] In another exemplary embodiment of the present application, the preprocessing may include filtering processing.
[0133] In the embodiment of the present application, the received echo signal is filtered to more accurately extract the amplitude of the echo signal. In addition, in other embodiments of the present application, the above pre-processing may also include other operations, such as amplification processing.
[0134] In another exemplary embodiment of the present application, the preprocessing may further include an amplification process.
[0135] Based on the above introduction, in another exemplary embodiment of the present application, if the number of times the transmission frequency adjustment operation is performed reaches a predetermined number of times, the above ultrasonic liquid level measurement method further includes: Before executing the liquid level height calculation operation, the measurement parameters are adjusted according to the target transmission frequency, and the measurement parameters include at least one of the filter parameters used in the filtering process and the local oscillation signal frequency of the ultrasonic receiving module to ensure the filtering effect. The target transmission frequency is: the transmission frequency used by the latest determined first signal transceiver operation.
[0136] In the embodiment of the present application, the transmission frequency used in the latest determined first signal transceiver operation is the transmission frequency used in the first signal transceiver operation determined by the last execution of the above-mentioned transmission frequency adjustment operation. There is no specific limitation on the predetermined number of times to perform the above-mentioned transmission frequency adjustment operation, which can be selected according to actual needs. For example, after performing the transmission frequency adjustment operation 10 times, before performing the liquid level height calculation operation, the filter parameters used in the filtering process are adjusted according to the target transmission frequency.
[0137] In another exemplary embodiment of the present application, the filtering process includes at least one of a low-pass filtering process and a band-pass filtering process.
[0138] 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: Adjust the cutoff frequency of the low-pass filter to be greater than the target transmit frequency.
[0139] As an optional implementation, in order to more accurately adjust the filter parameters used in the filtering process, if the filtering process includes a bandpass filtering process, 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: The center frequency of the bandpass filter is adjusted to the frequency of the mixing signal, and the mixing signal is the sum frequency 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.
[0140] The third parameter adjustment operation includes: The local oscillator signal frequency of the ultrasonic receiving module is adjusted so that the sum frequency 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.
[0141] Based on the same inventive concept, the embodiment of the present application also provides an ultrasonic liquid level measuring device for implementing the ultrasonic liquid level measuring method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more ultrasonic liquid level measuring device embodiments provided below can refer to the limitations of the ultrasonic liquid level measuring method above, and will not be repeated here.
[0142] In an exemplary embodiment, Figure 7 As shown, combined with Figure 4 and Figure 5 , provides an ultrasonic liquid level measuring device, comprising: The ultrasonic probe 2 is used to transmit ultrasonic signals according to a set transmission frequency and receive echo signals reflected from the liquid surface of the measured medium; The mounting block 1 is used to mount the ultrasonic probe 2 at the mounting point, so that the ultrasonic wave emitted by the ultrasonic probe 2 passes through the mounting block 1 and the tank wall 3-1 of the target liquid storage tank in sequence and vertically enters the measured medium in the target liquid storage tank from the tank wall 3-1, and the mounting point is located in the curved surface area or the inclined surface area of the outer surface of the target liquid storage tank; The host part 8 is used to control and perform the liquid level measurement operation: Performing at least one first signal transceiving operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or reaches a predetermined number of times; the first signal transceiving operation is described in detail in the above method embodiment, which will not be repeated here; 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; the relevant introduction of the liquid level height calculation operation is detailed in the description of the above method embodiment, which will not be repeated here.
[0143] As an optional implementation manner, the host part 8 is further used for: Execute a first signal receiving and sending operation; the related introduction of the first signal receiving and sending operation is detailed in the above embodiment, which will not be repeated here; 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; the relevant introduction of the liquid level height calculation operation is detailed in the records of the above embodiment, which will not be repeated here.
[0144] If the amplitude of the received echo signal is less than the echo amplitude threshold, when the transmission time of the next ultrasonic signal arrives, the first signal receiving and sending operation and subsequent steps are returned to be executed; the transmission time is determined according to the transmission frequency.
[0145] As an optional implementation manner, the host part 8 is further used for: The first signal receiving and sending operation is performed. For details about the first signal receiving and sending operation, please refer to the description of the above embodiment, which will not be repeated here.
[0146] 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 transmission time of the next ultrasonic signal arrives, the first signal receiving and sending operation and subsequent steps are returned. The relevant introduction of the liquid level height calculation operation is detailed in the above embodiment, which will not be repeated here.
[0147] If the amplitude of the received echo signal is less than the echo amplitude threshold, when the transmission time of the next ultrasonic signal arrives, the first signal receiving and sending operation and subsequent steps are returned to be executed; the transmission time is determined according to the transmission frequency.
[0148] As an optional implementation manner, the host part 8 is further used for: Before executing the liquid level measurement operation, the transmission frequency adjustment operation is executed. The relevant introduction of the transmission frequency adjustment operation is described in the above embodiment and will not be repeated here.
[0149] As an optional implementation manner, the host part 8 is further used for: If the number of times the first signal transceiver operation is performed reaches a predetermined number, a transmission frequency adjustment operation is performed, and after the transmission frequency adjustment operation is performed, a liquid level measurement operation is performed.
[0150] As an optional implementation manner, the host part 8 is further used for: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, the received echo signal is preprocessed before executing the liquid level height calculation operation.
[0151] As an optional implementation manner, the host part 8 is further used for: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, before executing the liquid level height calculation operation, the received echo signal is filtered. The relevant introduction of the filtering process is detailed in the description of the above method embodiment, which will not be repeated here.
[0152] As an optional implementation manner, the host part 8 is further used for: Before executing the liquid level height 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 transceiver operation. The relevant introduction of adjusting the filter parameters used in the filtering process according to the target transmission frequency is detailed in the above embodiment, and will not be repeated here.
[0153] As an optional implementation, Figure 7 As shown, the host part 8 includes: The ultrasonic transmitting module 11 is used to excite the piezoelectric ceramic piece 15 of the ultrasonic probe 2 to generate an ultrasonic signal; The ultrasonic receiving module 12 is used to receive and pre-process the echo signal transmitted by the piezoelectric ceramic sheet 15; The main control module 13 is used to control the transmission parameters of the ultrasonic transmission module 11, receive the echo signal transmitted by the ultrasonic receiving module 12, and control the execution of the liquid level measurement operation.
[0154] In the embodiment of the present application, the transmission parameters include transmission frequency, transmission power, transmission voltage and the number of ultrasonic waves transmitted.
[0155] As an optional implementation, Figure 7 As shown, the ultrasonic liquid level measuring device also includes: The temperature probe 9 is used to monitor the real-time temperature of the measured medium.
[0156] Exemplarily, 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 inputting the temperature measurement result 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, and the temperature probe 9 is close to the piezoelectric ceramic piece 15 of the ultrasonic probe 2, so as to facilitate installation and reduce the line length.
[0157] As an optional implementation, Figure 7 As shown, the host part 8 may also include: The temperature processing module 10 is used to convert the electrical signal output by the 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 to the main control module 13.
[0158] As an optional implementation manner, the main control module 13 is further used for: According to the real-time temperature value of the measured medium fed back by the temperature processing module 10 T , use formula (13) to calculate the propagation speed of ultrasonic wave in the measured medium or air .
[0159] As an optional implementation, the ultrasonic transmitting module 11 includes: A signal generator for generating a high frequency AC signal; A driving circuit, used for generating a high-frequency AC voltage according to the high-frequency AC signal to drive the piezoelectric ceramic piece 15 of the ultrasonic probe 2 to vibrate and generate an ultrasonic signal; The first power supply module is used to provide the required voltage for the ultrasonic transmitting module 11 .
[0160] In the embodiment of the present application, the ultrasonic transmitting module 11 transmits a high-frequency voltage, and the high-frequency voltage is applied to the electrode of the piezoelectric ceramic piece 15 of the ultrasonic probe 2, causing the piezoelectric ceramic piece 15 to produce periodic mechanical deformation. Since this deformation is periodic, it generates mechanical waves, namely ultrasonic waves, in the medium around the piezoelectric ceramic piece 15. These ultrasonic waves propagate outward in the form of waves to achieve signal transmission. The piezoelectric ceramic piece 15 receives ultrasonic signals through the piezoelectric effect. When the external ultrasonic wave reaches the piezoelectric ceramic piece 15, the ultrasonic wave causes mechanical stress and deformation of the piezoelectric ceramic piece 15. Due to the piezoelectric effect, this deformation generates an electric charge in the piezoelectric ceramic piece 15, forming a voltage signal (echo signal), and the voltage signal is transmitted to the ultrasonic receiving module 12 through the electrode connection, and these voltage signals are output and amplified in the ultrasonic receiving module 12.
[0161] In the embodiment of the present application, the driving circuit includes an oscillator, an amplifier and a matching circuit, and 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 excites the ultrasonic probe 2 to maximize the efficiency.
[0162] As an optional implementation, the ultrasonic transmitting module 11 may further include: The impedance matching network is used to optimize the energy transfer between the piezoelectric ceramic sheet 15 and the driving circuit, improve the transmission efficiency and reduce the energy loss.
[0163] As an optional implementation, the ultrasonic receiving module 12 includes: The preamplifier is used to amplify the echo signal transmitted through the piezoelectric ceramic plate 15 .
[0164] The second power supply module is used to provide the required voltage for the ultrasonic receiving module 12 .
[0165] As an optional implementation, the ultrasonic receiving module 12 may further include: The filter module is used to filter the echo signal output by the preamplifier.
[0166] As an optional implementation, the filtering module includes at least one of a low-pass filter and a band-pass filter.
[0167] As an optional implementation, the filtering module includes a low-pass filter and a band-pass filter connected in sequence.
[0168] In the embodiment of the present application, a low-pass filter is first used to eliminate high-frequency noise, and then a band-pass filter is used to retain the target frequency band. This combination can significantly improve the quality of the signal. For example, a Butterworth low-pass filter and a Butterworth band-pass filter can be used.
[0169] As an optional implementation, the ultrasonic receiving module 12 may further include: The signal processing module is used to further amplify and shape the echo signal output by the filtering module to improve the signal-to-noise ratio of the echo signal.
[0170] As an optional implementation manner, the main control module 13 is further used for: Before executing the liquid level height 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 transceiver operation. The relevant introduction of adjusting the filter parameters used in the filtering process according to the target transmission frequency is detailed in the above embodiment, and will not be repeated here.
[0171] As an optional implementation, Figure 7 As shown, the host part 8 may also include: The display module 14 is used to display information such as the liquid level height of the measured medium, the real-time temperature value of the measured medium, the date, and the human-computer interaction interface calculated by the main control module 13 .
[0172] As an optional implementation, the display module 14 has a human-computer interaction function.
[0173] As an optional implementation, the ultrasonic receiving module 12 may further include: 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.
[0174] As an optional implementation, the display module 14 with human-computer interaction function includes a liquid crystal display screen.
[0175] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 8As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store ultrasonic liquid level measurement data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an ultrasonic liquid level measurement method is implemented.
[0176] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0177] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0178] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0179] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0180] 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, stored data, displayed data, 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 relevant data must comply with relevant regulations.
[0181] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium 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), magnetoresistive 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 may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0182] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0183] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.
[0184] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for installing an ultrasonic probe, characterized in that: include: Determine the installation point on the curved surface area or inclined surface area of the outer surface of the target liquid storage tank; An ultrasonic probe (2) is mounted at the mounting point via a mounting block (1), so that the ultrasonic wave emitted by the ultrasonic probe (2) sequentially passes through the mounting block (1), the tank wall (3-1) of the target liquid storage tank, and vertically enters the measured medium in the target liquid storage tank from the tank wall (3-1).
2. The method for installing an ultrasonic probe according to claim 1, characterized in that: The bottom surface of the mounting block (1) is used for mounting the ultrasonic probe (2), and the top surface of the mounting block (1) is used for contacting the outer surface of the target liquid storage tank.
3. The method for installing an ultrasonic probe according to claim 2, characterized in that: The bottom surface of the mounting block (1) is a plane, 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 top surface of the mounting block (1) is an inclined plane, and the angle between the top surface of the mounting block (1) and its bottom surface is an acute angle; The mounting block (1) satisfies the following formula: ; in, is the angle between the top surface and the bottom surface of the mounting block (1), is the sound velocity of the ultrasonic wave in the mounting block (1), is the angle between the first section (5) and the horizontal plane, Δ To compensate for the angle, the first section (5) refers to a section passing through the installation point. is the sound velocity of the ultrasonic wave in the measured medium or air.
4. The method for installing an ultrasonic probe according to claim 2, characterized in that: The bottom surface of the mounting block (1) is a plane, 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 top surface of the mounting block (1) is a curved surface matching the arc surface area, the angle between the third section (7) and the bottom surface of the mounting block (1) is an acute angle, and the third section (7) is a section passing through at least one point on the top surface of the mounting block (1); The mounting block (1) satisfies the following formula: ; in, is the included angle between the third section (7) and the bottom surface of the mounting block (1), is the sound velocity of the ultrasonic wave in the mounting block (1), is the angle between the third section (7) and the horizontal plane, Δ To compensate for the angle, is the sound velocity of the ultrasonic wave in the measured medium or air.
5. The method for installing an ultrasonic probe according to claim 2, characterized in that: The mounting block (1) is integrally packaged with the piezoelectric ceramic sheet (15) of the ultrasonic probe (2); a portion of the mounting block (1) is located within a 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.
6. An ultrasonic liquid level measurement method, characterized in that: include: After the ultrasonic probe (2) is installed using the ultrasonic probe installation method described in claim 1, a liquid level measurement operation is performed: Perform at least one first signal transceiving operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or reaches a predetermined number of times; wherein the first signal transceiving operation includes: According to the set transmission frequency, the ultrasonic probe (2) is controlled to transmit an ultrasonic signal and receive an echo signal reflected 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, a liquid level height calculation operation is performed; wherein the liquid level height calculation operation includes: The measured liquid level height is calculated based on the time difference between the ultrasonic probe (2) transmitting the ultrasonic signal and receiving the echo signal and the propagation speed of the ultrasonic wave in the measured medium or air. The measured liquid level height is the vertical distance from the ultrasonic probe (2) to the liquid surface of the measured medium.
7. The ultrasonic liquid level measurement method according to claim 6, characterized in that: Also includes: Before performing the liquid level measurement operation, performing a transmission frequency adjustment operation; The transmitting frequency adjustment operation includes a transmitting frequency coarse sweep operation: Taking the first frequency value as a starting point, scanning within the set frequency range according to the set first adjustment step to determine the second frequency value with the maximum echo amplitude; wherein the first frequency value is any frequency value within the set frequency range; After performing the transmit frequency coarse scan operation, the transmit frequency used for the first signal transceiver operation is determined according to the obtained second frequency value.
8. The ultrasonic liquid level measurement method according to claim 7, characterized in that: The determining, according to the obtained second frequency value, the transmission frequency adopted by the first signal transceiver operation includes: Taking the second frequency value as a starting point, a first fine scanning operation is performed; wherein the first fine scanning operation includes: Adjusting the transmission frequency according to a second adjustment step; wherein the second adjustment step is smaller than the first adjustment step; Performing a second signal receiving and transmitting operation: controlling the ultrasonic probe (2) to transmit an ultrasonic signal according to the adjusted transmitting frequency, receiving an echo signal reflected from the liquid surface of the measured medium, and extracting an echo amplitude from the received echo signal; If the echo amplitude obtained by performing the first fine scanning operation is smaller than the echo amplitude of the second frequency value, a second fine scanning operation is performed starting from the second frequency value; wherein the second fine scanning operation and the first fine scanning operation adjust the transmission frequency in the opposite direction; If the echo amplitude extracted by performing the second fine scanning operation is smaller than the echo amplitude of the second frequency value, the second frequency value is used as the transmission frequency adopted by the first signal transceiving operation; If the echo amplitude extracted by performing the second fine scanning operation is not less than the echo amplitude of the second frequency value, the second fine scanning operation is repeatedly performed until the echo amplitude extracted by the second fine scanning operation begins to decrease, and the transmission frequency corresponding to the maximum echo amplitude is used as the transmission frequency used in the first signal transceiving operation; If the echo amplitude extracted by the first fine scanning operation is not less than the echo amplitude of the second frequency value, the first fine scanning operation is repeatedly performed until the echo amplitude extracted by the first fine scanning operation begins to decrease, and the transmission frequency corresponding to the maximum echo amplitude is used as the transmission frequency adopted for the first signal transceiver operation.
9. The ultrasonic liquid level measurement method according to claim 7, characterized in that: The determining, according to the obtained second frequency value, the transmission frequency adopted by the first signal transceiver operation includes: The second frequency value is used as the transmission frequency adopted by the first signal transceiver operation.
10. The ultrasonic liquid level measurement method according to claim 7, characterized in that: The liquid level measurement operation further includes: If the amplitude of the received echo signal is not less than the set echo amplitude threshold, before executing the liquid level height calculation operation, preprocessing the echo signal, wherein the preprocessing includes filtering processing; If the number of times the transmission frequency adjustment operation is performed reaches a predetermined number of times, the ultrasonic liquid level measurement method further includes: Before executing the liquid level height calculation operation, the measurement parameters are adjusted according to the target transmission frequency, and the measurement parameters include at least one of the filter parameters used in the filtering process and the local oscillation signal frequency of the ultrasonic receiving module; the target transmission frequency is: the transmission frequency used by the first signal transceiver operation most recently determined.
11. The ultrasonic liquid level measurement method according to claim 10, characterized in that: The filtering process includes at least one of a low-pass filtering process and a band-pass filtering process; If the filtering process includes low-pass filtering, the adjusting the measurement parameters according to the target transmission frequency includes a first parameter adjustment operation: Adjusting the cutoff frequency of the low-pass filter to be greater than the target transmission frequency; If the filtering process includes bandpass filtering, the adjusting 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: The center frequency of the bandpass filter is adjusted to be the frequency of the mixing signal; the mixing signal is the sum frequency 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; The third parameter adjustment operation includes: The local oscillator signal frequency of the ultrasonic receiving module is adjusted so that the sum frequency 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.
12. The ultrasonic liquid level measurement method according to claim 6, characterized in that: The liquid level height calculation operation further includes: Adding the vertical distance from the ultrasonic probe (2) to the bottom of the target liquid storage tank to the measured liquid level height, to obtain the liquid level height of the measured medium; The measured liquid level height is calculated according to the following formula: ; in, To measure the liquid level; is the time difference between the ultrasonic probe (2) transmitting the ultrasonic signal and receiving the echo signal, It is the wave speed of ultrasonic wave propagating in the measured medium.
13. The ultrasonic liquid level measurement method according to claim 6, characterized in that: The liquid level height calculation operation further includes: The liquid level height of the measured medium is obtained by subtracting the first vertical distance from the height of the target liquid storage tank; wherein the first vertical distance is the sum of the measured liquid level height and the second vertical distance; and the second vertical distance is the vertical distance from the ultrasonic probe (2) to the top of the target liquid storage tank; The measured liquid level height is calculated according to the following formula: ; in, To measure the liquid level; is the time difference between the ultrasonic probe (2) transmitting the ultrasonic signal and receiving the echo signal, is the speed of ultrasonic wave propagating in air.
14. An ultrasonic liquid level measuring device, characterized in that: include: An ultrasonic probe (2) is used to transmit an ultrasonic signal according to a set transmission frequency and receive an echo signal reflected from the liquid surface of the measured medium; A mounting block (1) is used to mount the ultrasonic probe (2) at a mounting point, so that the ultrasonic wave emitted by the ultrasonic probe (2) sequentially passes through the mounting block (1) and the tank wall (3-1) of the target liquid storage tank and vertically enters the measured medium in the target liquid storage tank from the tank wall (3-1), and the mounting point is located at a curved surface area or a slope area on the outer surface of the target liquid storage tank; The host part is used to control and perform liquid level measurement operations: Performing at least one first signal transceiver operation until the amplitude of the received echo signal is not less than a set echo amplitude threshold or reaches a predetermined number of times; wherein performing the first signal transceiver operation includes: According to the set transmission frequency, the ultrasonic probe (2) is controlled to transmit an ultrasonic signal and receive an echo signal reflected 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, a liquid level height calculation operation is performed; wherein the liquid level height calculation operation includes: The measured liquid level height is calculated based on the time difference between the ultrasonic probe (2) transmitting the ultrasonic signal and receiving the echo signal and the propagation speed of the ultrasonic wave in the measured medium or air. The measured liquid level height is the vertical distance from the ultrasonic probe (2) to the liquid surface of the measured medium.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the ultrasonic liquid level measurement method described in any one of claims 6 to 13 are implemented.
16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the ultrasonic liquid level measurement method described in any one of claims 6 to 13 are implemented.
Citation Information
Patent Citations
Ultrasonic sensor signal detection method capable of avoiding residual vibration interference
CN112114298A
Determination method and system, reflector, vertical tank external measurement liquid level meter and installation method of vertical tank external measurement liquid level meter
CN114966706A
Liquid level detection device and method and storage medium
CN117906712A
Method and system for dynamically measuring bottom amount liquid level of LNG (Liquefied Natural Gas) tank
CN118010133A
Liquefied gas remaining amount measuring sensor
CN212180028U