Liquid concentration measurement method, device, system and storage medium

By performing amplitude weighted compensation processing on the ultrasonic signal, the problem of inaccurate liquid concentration measurement caused by the attenuation of the ultrasonic signal is solved and the measurement accuracy is improved.

CN114487094BActive Publication Date: 2024-08-27XIAN LUPU IND CONTROL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111608511.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2024-08-27
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

In the existing ultrasonic measurement technology, liquid concentration measurement has the problem that the attenuation of the ultrasonic signal results in inaccurate measurement results of the echo signal sound attenuation, which affects the measurement accuracy.

Method used

By performing amplitude weighted compensation processing on the ultrasonic signal, the problem of inaccurate measurement results caused by signal attenuation is compensated and the accuracy of liquid concentration measurement is improved.

Benefits of technology

Through the amplitude weighting compensation process, the accuracy of measuring the attenuation of the ultrasonic signal in the liquid is improved, thereby improving the accuracy of the liquid concentration measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114487094B
    Figure CN114487094B
Patent Text Reader

Abstract

The present application discloses a liquid concentration measurement method, device, system and storage medium, which relates to the field of ultrasonic measurement technology. The specific implementation scheme is: control a signal generating unit to generate an ultrasonic signal; obtain signal amplitude attenuation data; based on the signal amplitude attenuation data, perform amplitude compensation processing on the ultrasonic signal to obtain an ultrasonic compensation signal; send the ultrasonic compensation signal to the liquid to be measured through a transmitting transducer; obtain an echo signal received by a receiving transducer, the echo signal is an echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be measured; determine the acoustic attenuation value of the ultrasonic signal in the liquid to be measured according to the echo signal; determine the concentration of the liquid to be measured based on the acoustic attenuation value. The present application solves the problem of inaccurate measurement results caused by ultrasonic signal attenuation, and improves the accuracy of measuring liquid concentration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of ultrasonic measurement technology, and in particular to a liquid concentration measurement method, device, system and storage medium. Background Art

[0002] Ultrasonic measurement technology is a non-destructive measurement technology, which is widely used in aviation, navigation, radar, medicine, petrochemical and other industries. Its basic principle is to use the acoustic properties of the medium (sound velocity, sound pressure, acoustic impedance, sound attenuation, etc.) to measure the object's movement speed, object shape, medium strength, concentration, flow rate, temperature and other physical properties. In industrial applications, ultrasonic measurement of liquid concentration is generally achieved by measuring the acoustic attenuation of ultrasonic waves in suspensions. Therefore, how to accurately measure the attenuation of ultrasonic waves in the medium has become an urgent problem to be solved. Summary of the invention

[0003] The present application provides a liquid concentration measurement method, device, system and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for measuring liquid concentration is provided, comprising:

[0005] The control signal generating unit generates an ultrasonic signal;

[0006] Obtain signal amplitude attenuation data;

[0007] Based on the signal amplitude attenuation data, performing amplitude compensation processing on the ultrasonic signal;

[0008] The ultrasonic compensation signal is sent to the liquid to be tested through a sending transducer;

[0009] Acquiring an echo signal received by a receiving transducer, wherein the echo signal is an echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be tested;

[0010] Determining the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the ultrasonic signal and the echo signal;

[0011] Based on the acoustic attenuation value, the concentration of the liquid to be tested is determined.

[0012] According to one embodiment of the present application, the obtaining of predetermined signal amplitude attenuation data includes:

[0013] sending the ultrasonic signal to a receiving transducer;

[0014] Acquire a signal output by the receiving transducer;

[0015] The attenuation data is determined according to the signal output by the receiving transducer.

[0016] According to an embodiment of the present application, the amplitude compensation processing of the ultrasonic signal based on the signal amplitude attenuation data includes:

[0017] Based on the signal amplitude attenuation data, amplitude weighted compensation is performed on the ultrasonic signal to obtain an ultrasonic compensation signal.

[0018] According to an embodiment of the present application, there are multiple echo signals, and determining the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signals includes:

[0019] Performing pulse compression on the plurality of echo signals through a matched filter;

[0020] Determining a first echo signal among the plurality of echo signals after pulse compression;

[0021] The acoustic attenuation value of the ultrasonic signal in the liquid to be tested is determined according to the first echo signal.

[0022] According to an embodiment of the present application, determining the concentration of the liquid to be tested based on the acoustic attenuation value includes:

[0023] Obtain the calibration liquid concentration corresponding to different attenuation values;

[0024] Based on the acoustic attenuation value, and according to the calibration liquid concentrations corresponding to the different attenuation values, determining the calibration liquid concentration corresponding to the attenuation value;

[0025] The calibration liquid concentration is determined to be the concentration of the liquid to be tested.

[0026] According to one embodiment of the present application, the step of sending the ultrasonic compensation signal to the liquid to be tested through a sending transducer includes:

[0027] Performing digital-to-analog conversion on the ultrasonic compensation signal;

[0028] Sending the ultrasonic signal after digital-to-analog conversion to a power amplifier circuit to obtain the ultrasonic signal after power amplification;

[0029] Sending the power-amplified ultrasonic signal to the transmitting transducer to obtain the transduced ultrasonic signal;

[0030] The transduced ultrasonic signal is sent to the liquid to be tested.

[0031] According to an embodiment of the present application, determining the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal includes:

[0032] Sending the first echo signal to an amplifier to obtain the first echo signal after signal amplification;

[0033] Performing analog-to-digital conversion on the first echo signal after signal amplification;

[0034] Sending the first echo signal after analog-to-digital conversion to a signal processing unit through a signal receiving unit;

[0035] The signal processing unit determines the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal.

[0036] According to a second aspect of an embodiment of the present disclosure, there is provided a liquid concentration measuring device, comprising:

[0037] A control module, used for controlling the signal generating unit to generate an ultrasonic signal;

[0038] A first acquisition module, used for acquiring signal amplitude attenuation data;

[0039] A compensation module, configured to perform amplitude compensation processing on the ultrasonic signal based on the signal amplitude attenuation data to obtain an ultrasonic compensation signal;

[0040] A sending module, used for sending the ultrasonic compensation signal to the liquid to be tested through a sending transducer;

[0041] A second acquisition module is used to acquire an echo signal received by the receiving transducer, wherein the echo signal is an echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be tested;

[0042] A first determination module, configured to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal;

[0043] The second determination module is used to determine the concentration of the liquid to be tested based on the acoustic attenuation value.

[0044] According to one embodiment of the present application, the first acquisition module includes:

[0045] A first sending submodule, used for sending the ultrasonic signal to a receiving transducer;

[0046] A first acquisition submodule, used to acquire a signal output by the receiving transducer;

[0047] The first determination submodule is used to determine the attenuation data according to the ultrasonic signal and the signal output by the receiving transducer.

[0048] According to one embodiment of the present application, the compensation module includes:

[0049] The compensation submodule is used to perform amplitude weighted compensation on the ultrasonic signal based on the signal amplitude attenuation data to obtain an ultrasonic compensation signal.

[0050] According to one embodiment of the present application, the first determining module includes:

[0051] A pulse compression submodule, used for performing pulse compression on the plurality of echo signals through a matched filter;

[0052] A second determination submodule, used to determine the first echo signal among the plurality of echo signals after pulse compression;

[0053] The third determination submodule is used to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the first echo signal.

[0054] According to one embodiment of the present application, the second determining module includes:

[0055] The second acquisition submodule is used to obtain the calibration liquid concentration corresponding to different attenuation values;

[0056] A fourth determination submodule, configured to determine, based on the acoustic attenuation value and according to the calibration liquid concentrations corresponding to the different attenuation values, a calibration liquid concentration corresponding to the attenuation value;

[0057] The fifth determination submodule is used to determine that the concentration of the calibration liquid is the concentration of the liquid to be tested.

[0058] According to one embodiment of the present application, the sending module includes:

[0059] A first conversion submodule, used for performing digital-to-analog conversion on the ultrasonic compensation signal;

[0060] A second sending submodule is used to send the ultrasonic signal after digital-to-analog conversion to a power amplifier circuit to obtain the ultrasonic signal after power amplification;

[0061] A third sending submodule is used to send the ultrasonic signal after power amplification to the sending transducer to obtain the ultrasonic signal after transduction;

[0062] The fourth sending submodule is used to send the transduced ultrasonic signal to the liquid to be tested.

[0063] According to one embodiment of the present application, the first determining module includes:

[0064] A first sending submodule, used for sending the first echo signal to an amplifier to obtain the first echo signal after signal amplification;

[0065] A first conversion submodule, used for performing analog-to-digital conversion on the first echo signal after signal amplification;

[0066] A second sending submodule, used for sending the first echo signal after analog-to-digital conversion to a signal processing unit through a signal receiving unit;

[0067] The first determination submodule is used to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal through the signal processing unit.

[0068] According to a third aspect of an embodiment of the present disclosure, there is provided a liquid concentration measurement system, comprising:

[0069] A measuring unit, the measuring unit comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: when the processor executes the program, the liquid concentration measuring method as described in the first aspect is implemented;

[0070] A signal generating unit, used for generating the ultrasonic signal;

[0071] A sending transducer, used for sending the ultrasonic compensation signal;

[0072] The receiving transducer is used to receive the echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be measured.

[0073] According to one embodiment of the present application, the system further includes:

[0074] The power amplifier circuit is used to amplify the power of the ultrasonic signal after digital-to-analog conversion.

[0075] According to one embodiment of the present application, the system further includes:

[0076] An amplifier, used for amplifying the first echo signal;

[0077] A signal receiving unit, used for receiving the first echo signal after analog-to-digital conversion;

[0078] A signal processing unit is used to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal.

[0079] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, characterized in that it stores a computer program that can be loaded by a processor and execute any one of the methods in the first aspect.

[0080] According to a liquid concentration measurement method, device, system and storage medium of the present application, by performing amplitude weighted compensation on ultrasound, the problem of inaccurate measurement results of the acoustic attenuation of the echo signal caused by attenuation of the ultrasonic signal after passing through the transducer probe is solved, thereby improving the accuracy of measuring liquid concentration.

[0081] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.

[0083] Figure 1 is a schematic diagram according to the first embodiment of the present application;

[0084] Figure 2 is a structural schematic diagram of a digital LFM signal generator proposed according to the first embodiment of the present application;

[0085] Figure 3 is a schematic diagram of the waveform of the original ultrasonic signal proposed according to the first embodiment of the present application;

[0086] Figure 4 is a schematic diagram of the waveform of an ultrasonic signal after passing through a transducer according to the first embodiment of the present application;

[0087] Figure 5 is a schematic diagram according to a second embodiment of the present application;

[0088] Figure 6 is a schematic diagram of an ultrasonic compensation signal waveform according to the second embodiment of the present application;

[0089] Figure 7 is a schematic diagram of the waveform of the ultrasonic compensation signal after passing through the transducer according to the second embodiment of the present application;

[0090] Figure 8 is a schematic diagram according to a third embodiment of the present application;

[0091] Fig. 9 It is a schematic diagram according to the fourth embodiment of the present application. DETAILED DESCRIPTION

[0092] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0093] Among the related technologies, ultrasonic measurement technology is a non-destructive measurement technology, which is widely used in aviation, navigation, radar, medicine, petrochemical and other industries. Its basic principle is to use the acoustic properties of the medium (sound velocity, sound pressure, acoustic impedance, sound attenuation, etc.) to measure the object's movement speed, object shape, medium strength, concentration, flow rate, temperature and other physical properties. In industrial applications, ultrasonic measurement of liquid concentration is generally achieved by measuring the acoustic attenuation of ultrasonic waves in suspensions. Therefore, how to accurately measure the attenuation of ultrasonic waves in the medium has become an urgent problem to be solved.

[0094] Based on the above problems, the present application proposes a liquid concentration measurement method, device, system and storage medium. By performing amplitude-weighted compensation on ultrasonic waves, the problem of attenuation of ultrasonic signals after passing through the transducer probe, resulting in inaccurate measurement results of the acoustic attenuation of the echo signal, is solved, thereby improving the accuracy of measuring liquid concentration.

[0095] Embodiment 1

[0096] Figure 1 is a schematic diagram according to the first embodiment of the present application. Figure 1 As shown, the liquid concentration measurement method includes the following steps:

[0097] Step 101: Control the signal generating unit to generate an ultrasonic signal.

[0098] As a possible example, the signal generating unit may be a digital LFM (Linear Frequency Modulation) signal generator, which may be designed using DDS (Direct Digital Synthesis), such as Figure 2 As shown, the digital LFM signal generator may include a frequency accumulator, a phase accumulator, a waveform memory and a control module.

[0099] It should be noted that according to the matched filter theory, when the noise power spectrum density is constant, using a large time-bandwidth product signal as the transmitting wave can improve the signal-to-noise ratio. Linear frequency modulation signal is a large time-bandwidth product signal, which is mostly used in the design of sonar and radar systems.

[0100] Step 102: Obtain predetermined signal amplitude attenuation data.

[0101] It should be noted that if Figure 3 , Figure 4 As shown in the figure, the signal amplitude attenuation data refers to the original ultrasonic signal after passing through the transmitting transducer. Due to the pulse response characteristics of the transmitting transducer probe itself, the ultrasonic power entering the liquid is reduced. Assuming that the noise power is constant, this will cause the signal-to-noise ratio of the echo signal to decrease.

[0102] Step 103: Based on the signal amplitude attenuation data, amplitude compensation processing is performed on the ultrasonic signal to obtain an ultrasonic compensation signal.

[0103] As a possible example, based on the signal amplitude attenuation data, after the ultrasonic signal is generated, the ultrasonic signal is firstly subjected to amplitude compensation processing, thereby compensating for the attenuated part and avoiding the influence of the reduced signal-to-noise ratio on the echo signal.

[0104] Step 104, sending the ultrasonic compensation signal to the liquid to be tested through the sending transducer.

[0105] It should be noted that the optional transducer may be an integrated transducer probe for ultrasonic transmission and reception, or a transducer probe with a transmitting transducer and a receiving transducer separated, which is not limited in this embodiment.

[0106] Step 105 , obtaining an echo signal received by the receiving transducer, where the echo signal is an echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be measured.

[0107] For example, to measure liquid concentration, a transmitting transducer probe can be installed on the side wall of the liquid delivery pipeline. The transmitting transducer probe extends into the interior of the pipeline through a through hole reserved in the side wall of the pipeline. The ultrasonic emission direction is set perpendicular to the pipeline direction. The ultrasonic wave is emitted by the transmitting transducer probe. When it touches the inner wall of the pipeline away from the transmitting transducer probe, the ultrasonic wave is reflected to form an echo signal that returns to the transducer probe.

[0108] Step 106: determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal.

[0109] It can be understood that the acoustic attenuation value of the ultrasonic signal in the liquid to be measured is obtained according to the acoustic attenuation of the echo signal relative to the emitted ultrasonic wave.

[0110] Step 107: Determine the concentration of the liquid to be tested based on the acoustic attenuation value.

[0111] According to the ultrasonic method for measuring liquid concentration in the embodiment of the present application, a control signal generating unit generates an ultrasonic signal, obtains predetermined signal amplitude attenuation data, performs amplitude compensation processing on the ultrasonic signal based on the signal amplitude attenuation data, sends the ultrasonic compensation signal to the liquid to be measured through a transmitting transducer, receives an echo signal obtained by reflecting the ultrasonic signal from a reflecting object in the liquid to be measured through a receiving transducer, determines the acoustic attenuation value of the ultrasonic signal in the liquid to be measured based on the echo signal, and determines the concentration of the liquid to be measured based on the acoustic attenuation value, thereby compensating for the problem of inaccurate measurement results caused by the attenuation of the ultrasonic signal and improving the accuracy of measuring the liquid concentration.

[0112] Embodiment 2

[0113] In order to ensure that the ultrasonic signal can be amplitude compensated according to the sound attenuation data, optionally, the generated ultrasonic signal is sent to a receiving transducer, a signal output by the receiving transducer is obtained, and the sound attenuation data is determined according to the signal output by the receiving transducer. Figure 5 According to the schematic diagram of the second embodiment of the present application. In some embodiments of the present application, such as Figure 5 As shown, the ultrasonic method for measuring liquid concentration includes:

[0114] Step 501: Control the signal generating unit to generate an ultrasonic signal.

[0115] In the embodiments of the present application, step 501 may be implemented in any of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0116] Step 502, obtaining predetermined signal amplitude attenuation data, specifically includes the following steps:

[0117] Step 5021, sending the generated ultrasonic signal to the receiving transducer.

[0118] Step 5022, obtaining the signal output by the receiving transducer.

[0119] Step 5023, determining attenuation data according to the signal output by the receiving transducer.

[0120] As a possible example, an ultrasonic signal is directly sent to a transmitting transducer probe to obtain an attenuated ultrasonic signal after passing through the transmitting transducer probe, and based on the attenuated ultrasonic signal, an ultrasonic signal amplitude to be compensated, ie, signal amplitude attenuation data, is determined.

[0121] Step 503: Based on the signal amplitude attenuation data, amplitude compensation processing is performed on the ultrasonic signal to obtain an ultrasonic compensation signal.

[0122] It is understandable that Figure 6 , Figure 7 As shown, after the ultrasonic compensation signal passes through the transducer, the attenuation part is compensated, thereby effectively improving the measurement accuracy.

[0123] The expression of LFM signal is s(t)=A cos(2πf0+πKt2+φ0), t∈[0,T], where A is the signal amplitude, f0 is the starting frequency, φ0 is the initial phase, K is the frequency modulation slope, t is the pulse width, and T is the maximum pulse width.

[0124] Assuming that the impulse response of the transducer is g(t), the transducer impulse response can be approximated as a cosine wave with a Gaussian envelope, that is:

[0125] g(t)=exp(-π2 Δf2 t2 / α)cos(2πf0t)(1)

[0126] Where f0 is the probe center frequency, ∆f is the probe -6dB bandwidth, and exp is the language function.

[0127] Assuming that the amplitude weighting function is A(t), the weighted transmitted signal is sA(t)=s(t)*A(t).

[0128] According to Fourier transform,

[0129] F(s(t)*A(t)*g(t))=F(s(t))

[0130] F(s(t)*A(t))=(F(s(t))) / (F(g(t)))

[0131] Combined with formula (1), the amplitude weighting function is:

[0132] A(t)=exp[(tT / 2) 2 / D2]

[0133] Wherein, D is a constant, which is inversely proportional to the weighted compensation amplitude and can be determined according to actual needs.

[0134] Step 504, sending the ultrasonic compensation signal to the liquid to be tested through the sending transducer, specifically includes the following steps:

[0135] Step 5041, performing digital-to-analog conversion on the ultrasonic compensation signal.

[0136] Step 5042, sending the ultrasonic signal after digital-to-analog conversion to a power amplifier circuit to obtain a power-amplified ultrasonic signal.

[0137] It can be understood that in order to make the attenuated sound wave signal have greater energy, the ultrasonic signal after digital-to-analog conversion will be sent to a power amplifier circuit to obtain a power-amplified ultrasonic signal, which will then be emitted through a transducer.

[0138] Step 5043, sending the power-amplified ultrasonic signal to the transmitting transducer to obtain a transduced ultrasonic signal.

[0139] Step 5044, sending the transduced ultrasonic signal to the liquid to be tested.

[0140] Step 505 , obtaining an echo signal received by the receiving transducer, where the echo signal is an echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be measured.

[0141] In the embodiments of the present application, step 505 can be implemented in any of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0142] Step 506, determining the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal, in some embodiments of the present application, specifically includes the following steps:

[0143] Step 5061, performing pulse compression on multiple echo signals through a matched filter.

[0144] It can be understood that by performing pulse compression on multiple echo signals through a matched filter, the position of the first echo signal can be located more easily.

[0145] Step 5062, determining the first echo signal among the multiple echo signals after pulse compression.

[0146] Step 5063: Send the first echo signal to the amplifier for signal amplification to obtain the first echo signal after signal amplification.

[0147] Step 5064, performing analog-to-digital conversion on the first echo signal after signal amplification.

[0148] Step 5065: Send the first echo signal after analog-to-digital conversion to the signal processing unit through the signal receiving unit.

[0149] Step 5066: Determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal through the signal processing unit.

[0150] As a possible example, the ultrasonic energy in liquids of different concentrations is calibrated in advance, and the ultrasonic energy corresponding to the echo signal and the emitted ultrasonic signal is found, thereby calculating the acoustic attenuation value of the ultrasonic signal in the liquid to be tested.

[0151] Step 507, based on the acoustic attenuation value, determines the concentration of the liquid to be tested. In some embodiments of the present application, the steps specifically include:

[0152] Step 5071, obtaining the calibration liquid concentration corresponding to different attenuation values.

[0153] It should be noted that the calibration liquid concentrations corresponding to the above-mentioned different attenuation values ​​can be obtained by calculating the attenuation values ​​of liquids with different concentrations through experiments.

[0154] Step 5072: Based on the acoustic attenuation value and the calibration liquid concentrations corresponding to different attenuation values, determine the calibration liquid concentration corresponding to the attenuation value.

[0155] Step 5073, determining the calibration liquid concentration corresponding to the attenuation value as the concentration of the liquid to be measured.

[0156] According to the liquid concentration measurement method of the embodiment of the present application, an ultrasonic signal is generated and sent to a receiving transducer, a signal output by the receiving transducer is obtained, and sound attenuation data is determined according to the signal output by the receiving transducer, so that the ultrasonic signal can be amplitude compensated according to the sound attenuation data; in addition, the ultrasonic compensation signal is digital-to-analog converted, the ultrasonic signal after the digital-to-analog conversion is sent to a power amplifier circuit to obtain a power-amplified ultrasonic signal, the power-amplified ultrasonic signal is sent to a transmitting transducer to obtain a transduced ultrasonic signal, and the transduced ultrasonic signal is sent to the liquid to be measured, so that the ultrasonic signal can be amplified, the influence of signal attenuation on the measurement result is avoided, and the measurement accuracy is improved; in addition, multiple echo signals are pulse compressed through a matching filter, so that the first echo signal can be found more easily, thereby improving the measurement efficiency.

[0157] Embodiment 3

[0158] In order to implement the above embodiments, the present application proposes a liquid concentration measuring device.

[0159] Figure 8 is a schematic diagram according to the third embodiment of the present application. Figure 8 As shown, the device comprises:

[0160] The control module 801 is used to control the signal generating unit to generate an ultrasonic signal.

[0161] The first acquisition module 802 is used to acquire signal amplitude attenuation data.

[0162] In this embodiment of the present application, the first acquisition module 802 includes:

[0163] A first sending submodule, used for sending an ultrasonic signal to a receiving transducer;

[0164] A first acquisition submodule, used for acquiring a signal output by a receiving transducer;

[0165] The first determination submodule is used to determine attenuation data according to the ultrasonic signal and the signal output by the receiving transducer.

[0166] In this embodiment of the present application, the first determination module includes:

[0167] A pulse compression submodule, used for performing pulse compression on multiple echo signals through a matched filter;

[0168] A second determination submodule, used to determine a first echo signal among a plurality of echo signals after pulse compression;

[0169] The third determination submodule is used to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the first echo signal.

[0170] The compensation module 803 is used to perform amplitude compensation processing on the ultrasonic signal based on the signal amplitude attenuation data to obtain an ultrasonic compensation signal.

[0171] Among them, in the embodiment of the present application, the compensation module includes:

[0172] The compensation submodule is used to perform amplitude weighted compensation on the ultrasonic signal based on the signal amplitude attenuation data to obtain an ultrasonic compensation signal.

[0173] The sending module 804 is used to send the ultrasonic compensation signal to the liquid to be tested through the sending transducer.

[0174] Among them, in the embodiment of the present application, the sending module includes:

[0175] A first conversion submodule, used for performing digital-to-analog conversion on the ultrasonic compensation signal;

[0176] The second sending submodule is used to send the ultrasonic signal after digital-to-analog conversion to the power amplifier circuit to obtain the ultrasonic signal after power amplification;

[0177] A third sending submodule is used to send the power-amplified ultrasonic signal to the sending transducer to obtain a transduced ultrasonic signal;

[0178] The fourth sending submodule is used to send the transduced ultrasonic signal to the liquid to be tested.

[0179] The second acquisition module 805 is used to acquire the echo signal received by the receiving transducer, where the echo signal is an echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be measured.

[0180] The first determination module 806 is used to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal.

[0181] In this embodiment of the present application, the first determination module includes:

[0182] A first sending submodule, used for sending the first echo signal to the amplifier to obtain the first echo signal after signal amplification;

[0183] A first conversion submodule, used for performing analog-to-digital conversion on the first echo signal after the signal is amplified;

[0184] A second sending submodule, used for sending the first echo signal after analog-to-digital conversion to the signal processing unit through the signal receiving unit;

[0185] The first determination submodule is used to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal through the signal processing unit.

[0186] The second determination module 807 is used to determine the concentration of the liquid to be tested based on the acoustic attenuation value.

[0187] In this embodiment of the present application, the second determination module includes:

[0188] The second acquisition submodule is used to obtain the calibration liquid concentration corresponding to different attenuation values;

[0189] A fourth determination submodule, configured to determine, based on the acoustic attenuation value and according to the calibration liquid concentrations corresponding to different attenuation values, the calibration liquid concentration corresponding to the attenuation value;

[0190] The fifth determination submodule is used to determine that the concentration of the calibration liquid is the concentration of the liquid to be tested.

[0191] According to the liquid concentration measuring device of the embodiment of the present application, a control signal generating unit generates an ultrasonic signal, obtains predetermined signal amplitude attenuation data, performs amplitude compensation processing on the ultrasonic signal based on the signal amplitude attenuation data, sends the ultrasonic compensation signal to the liquid to be measured through a transmitting transducer, receives an echo signal obtained by reflecting the ultrasonic signal from a reflecting object in the liquid to be measured through a receiving transducer, determines the acoustic attenuation value of the ultrasonic signal in the liquid to be measured based on the echo signal, and determines the concentration of the liquid to be measured based on the acoustic attenuation value, thereby compensating for the problem of inaccurate measurement results caused by the attenuation of the ultrasonic signal and improving the accuracy of measuring the liquid concentration.

[0192] Embodiment 4

[0193] In order to implement the above embodiments, the present application proposes a liquid concentration measurement system.

[0194] Fig. 9 is a schematic diagram according to the fourth embodiment of the present application. Fig. 9 As shown, the system includes:

[0195] The measuring unit 901 includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any liquid concentration measurement method in the present application is implemented.

[0196] The signal generating unit 902 is used to generate an ultrasonic signal.

[0197] As a possible example, the signal generating unit may be a digital LFM (Linear Frequency Modulation) signal generator, which may be designed using DDS (Direct Digital Synthesis), such as Figure 2 As shown, the digital LFM signal generator may include a frequency accumulator, a phase accumulator, a waveform memory and a control module.

[0198] The sending transducer 903 is used to send an ultrasonic compensation signal.

[0199] The receiving transducer 904 is used to receive the echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be measured.

[0200] It should be noted that the optional transducer may be an integrated transducer probe for ultrasonic transmission and reception, or a transducer probe with a transmitting transducer and a receiving transducer separated, which is not limited in this embodiment.

[0201] For example, to measure liquid concentration, a transmitting transducer probe can be installed on the side wall of the liquid delivery pipeline. The transmitting transducer probe extends into the interior of the pipeline through a through hole reserved in the side wall of the pipeline. The ultrasonic emission direction is set perpendicular to the pipeline direction. The ultrasonic wave is emitted by the transmitting transducer probe. When it touches the inner wall of the pipeline away from the transmitting transducer probe, the ultrasonic wave is reflected to form an echo signal that returns to the transducer probe.

[0202] The power amplifier circuit 905 is used to amplify the power of the ultrasonic signal after digital-to-analog conversion.

[0203] It can be understood that in order to make the attenuated sound wave signal have greater energy, the ultrasonic signal after digital-to-analog conversion will be sent to a power amplifier circuit to obtain a power-amplified ultrasonic signal, which will then be emitted through a transducer.

[0204] Amplifier 906, used for amplifying the first echo signal;

[0205] A signal receiving unit 907, configured to receive the first echo signal after analog-to-digital conversion;

[0206] The signal processing unit 908 is used to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal.

[0207] According to the liquid concentration measurement system of the embodiment of the present application, a control signal generating unit generates an ultrasonic signal, obtains predetermined signal amplitude attenuation data, performs amplitude compensation processing on the ultrasonic signal based on the signal amplitude attenuation data, sends the ultrasonic compensation signal to the liquid to be measured through a transmitting transducer, receives an echo signal obtained by reflecting the ultrasonic signal from a reflecting object in the liquid to be measured through a receiving transducer, determines the acoustic attenuation value of the ultrasonic signal in the liquid to be measured based on the echo signal, and determines the concentration of the liquid to be measured based on the acoustic attenuation value, thereby compensating for the problem of inaccurate measurement results caused by the attenuation of the ultrasonic signal and improving the accuracy of measuring the liquid concentration.

[0208] The present application also provides a storage medium, for example, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc., which can store program codes. The storage medium stores a computer program that can be loaded by a processor and execute the liquid concentration measurement method of the above embodiment.

[0209] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0210] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for measuring liquid concentration, characterized in that: include: The control signal generating unit generates an ultrasonic signal; Acquiring signal amplitude attenuation data, wherein the attenuation data is determined in a manner including: sending the ultrasonic signal to a receiving transducer, acquiring a signal output by the receiving transducer, and determining the attenuation data according to the ultrasonic signal and the signal output by the receiving transducer; Based on the signal amplitude attenuation data, performing amplitude compensation processing on the ultrasonic signal to obtain an ultrasonic compensation signal; The ultrasonic compensation signal is sent to the liquid to be tested through a sending transducer; Acquiring an echo signal received by a receiving transducer, wherein the echo signal is an echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be tested; Determining the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal; Based on the acoustic attenuation value, the concentration of the liquid to be tested is determined.

2. The method according to claim 1, characterized in that: The performing amplitude compensation processing on the ultrasonic signal based on the signal amplitude attenuation data comprises: Based on the signal amplitude attenuation data, amplitude weighted compensation is performed on the ultrasonic signal to obtain an ultrasonic compensation signal.

3. The method according to claim 1, characterized in that: There are multiple echo signals, wherein determining the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signals includes: Performing pulse compression on the plurality of echo signals through a matched filter; Determining a first echo signal among the plurality of echo signals after pulse compression; The acoustic attenuation value of the ultrasonic signal in the liquid to be tested is determined according to the first echo signal.

4. The method according to claim 1, characterized in that: The step of determining the concentration of the liquid to be tested based on the acoustic attenuation value comprises: Obtain the calibration liquid concentration corresponding to different attenuation values; Based on the acoustic attenuation value, and according to the calibration liquid concentrations corresponding to the different attenuation values, determining the calibration liquid concentration corresponding to the attenuation value; The calibration liquid concentration is determined to be the concentration of the liquid to be tested.

5. The method according to claim 1, characterized in that: The step of sending the ultrasonic compensation signal to the liquid to be tested through a sending transducer comprises: Performing digital-to-analog conversion on the ultrasonic compensation signal; Sending the ultrasonic signal after digital-to-analog conversion to a power amplifier circuit to obtain the ultrasonic signal after power amplification; Sending the power-amplified ultrasonic signal to the transmitting transducer to obtain the transduced ultrasonic signal; The transduced ultrasonic signal is sent to the liquid to be tested.

6. The method according to claim 5, characterized in that: The step of determining the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal comprises: Sending the first echo signal to an amplifier to obtain the first echo signal after signal amplification; Performing analog-to-digital conversion on the first echo signal after signal amplification; Sending the first echo signal after analog-to-digital conversion to a signal processing unit through a signal receiving unit; The signal processing unit determines the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal.

7. A liquid concentration measuring device, characterized in that: include: A control module, used for controlling the signal generating unit to generate an ultrasonic signal; A first acquisition module is used to acquire signal amplitude attenuation data, wherein the attenuation data is determined by: sending the ultrasonic signal to a receiving transducer, acquiring a signal output by the receiving transducer, and determining the attenuation data according to the ultrasonic signal and the signal output by the receiving transducer; A compensation module, configured to perform amplitude compensation processing on the ultrasonic signal based on the signal amplitude attenuation data to obtain an ultrasonic compensation signal; A sending module, used for sending the ultrasonic compensation signal to the liquid to be tested through a sending transducer; A second acquisition module is used to acquire an echo signal received by the receiving transducer, wherein the echo signal is an echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be tested; A first determination module, configured to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal; The second determination module is used to determine the concentration of the liquid to be tested based on the acoustic attenuation value.

8. A liquid concentration measurement system, characterized in that: include: A measuring unit, the measuring unit comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 6 is implemented; A signal generating unit, used for generating the ultrasonic signal; A sending transducer, used for sending the ultrasonic compensation signal; The receiving transducer is used to receive the echo signal obtained by reflecting the ultrasonic compensation signal in the liquid to be tested.

9. The system according to claim 8, characterized in that: Also includes: The power amplifier circuit is used to amplify the power of the ultrasonic signal after digital-to-analog conversion.

10. The system according to claim 9, characterized in that: Also includes: An amplifier, used for amplifying the first echo signal; A signal receiving unit, used for receiving the first echo signal after analog-to-digital conversion; A signal processing unit is used to determine the acoustic attenuation value of the ultrasonic signal in the liquid to be tested according to the echo signal.

11. A storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 6.