Temperature compensation method and device for ultrasonic measurement

By monitoring the transducer and cavity circuit board temperature of the ultrasonic measurement equipment, updating the compensation value and correcting the transducer temperature, the problem of reducing ultrasonic measurement accuracy caused by temperature changes in the prior art is solved, and higher accuracy of measurement results is achieved.

CN120232994AActive Publication Date: 2025-07-01ZHEJIANG MEIYI INTELLIGENT SENSING TECH CO LTD +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510726363.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-07-01
Estimated Expiration
2045-06-03

AI Technical Summary

Technical Problem

In ultrasonic measurement, temperature changes lead to changes in ultrasonic propagation speed and attenuation coefficient. The prior art only performs temperature compensation based on the transducer temperature, resulting in a decrease in the accuracy of the measurement results.

Method used

By monitoring the transducer temperature and cavity circuit board temperature of the ultrasonic measurement device, the expected compensation value is determined, and the current compensation value is updated based on the comparison results of the current compensation value and the expected compensation value, and finally correct the transducer temperature based on the updated current compensation value to perform temperature compensation.

Benefits of technology

This method can more accurately determine the ultrasonic working environment temperature and improve the accuracy of ultrasonic measurement results. Compared with the compensation scheme based on the transducer temperature alone, the accuracy of the measurement results is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120232994A_ABST
    Figure CN120232994A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of ultrasonic measurement, and provides a temperature compensation method and device for ultrasonic measurement, and the method comprises the steps: obtaining transducer temperature data and cavity temperature data of ultrasonic measurement equipment; determining an expected compensation value according to a target temperature difference between the current cavity temperature and the current transducer temperature; obtaining a current compensation value, and updating the current compensation value according to a comparison result between the expected compensation value and the current compensation value; and correcting the current transducer temperature based on the updated current compensation value, and performing temperature compensation on the measurement result of the ultrasonic measurement equipment by using the corrected temperature of the current transducer temperature. According to the technical scheme provided by one or more embodiments, the ultrasonic working environment temperature for temperature compensation can be accurately determined, and the accuracy of an ultrasonic measurement result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of ultrasonic measurement, and particularly to a temperature compensation method and device for ultrasonic measurement. Background Art

[0002] Ultrasonic measurement is a method of obtaining material information by utilizing the propagation characteristics of ultrasonic waves in materials. For example, in material inspection, through ultrasonic measurement technology, the density, elastic modulus and other characteristics of materials can be judged.

[0003] In ultrasonic measurement, it is necessary to determine the propagation speed and attenuation coefficient of ultrasonic waves in materials in order to accurately calculate the characteristics and parameters of the object to be measured. The propagation speed refers to the distance that ultrasonic waves propagate in materials per unit time, and the attenuation coefficient represents the degree of energy attenuation of ultrasonic waves during propagation in materials. Due to the influence of temperature, the propagation speed and attenuation coefficient of ultrasonic waves are prone to change. Therefore, when using an ultrasonic transducer for ultrasonic measurement, it is generally necessary to perform temperature compensation on the measurement results.

[0004] The principle of temperature compensation is to correct the measurement results according to the influence of temperature on the ultrasonic speed and attenuation coefficient, so that the measurement results are more accurate. In various actual application scenarios, accurately obtaining the working environment temperature of ultrasonic waves for temperature compensation is of great value for optimizing ultrasonic measurement schemes. Summary of the Invention

[0005] In view of this, one or more embodiments of the present disclosure provide a temperature compensation method and device for ultrasonic measurement, which can accurately determine the working environment temperature of ultrasonic waves for temperature compensation, optimize ultrasonic measurement schemes, and improve the accuracy of ultrasonic measurement results.

[0006] In a first aspect, the present disclosure provides a temperature compensation method for ultrasonic measurement, the method comprising: obtaining transducer temperature data and cavity temperature data of an ultrasonic measurement device, the transducer temperature data being obtained by monitoring an ultrasonic transducer included in the ultrasonic measurement device, and the cavity temperature data being obtained by monitoring a cavity circuit board of the ultrasonic measurement device; determining an expected compensation value according to a target temperature difference between a current cavity temperature and a current transducer temperature; obtaining a current compensation value, and updating the current compensation value according to a comparison result between the expected compensation value and the current compensation value; correcting the current transducer temperature based on the updated current compensation value, and performing temperature compensation on a measurement result of the ultrasonic measurement device by using a corrected temperature of the current transducer temperature.

[0007] Second aspect, the present disclosure provides a temperature compensation device for ultrasonic measurement. The device includes: a data acquisition unit configured to acquire transducer temperature data and cavity temperature data of an ultrasonic measurement device, where the transducer temperature data is obtained by monitoring an ultrasonic transducer included in the ultrasonic measurement device, and the cavity temperature data is obtained by monitoring a cavity circuit board of the ultrasonic measurement device; a first calculation unit configured to determine an expected compensation value according to a target temperature difference between a current cavity temperature and a current transducer temperature; a second calculation unit configured to acquire a current compensation value and update the current compensation value according to a comparison result between the expected compensation value and the current compensation value; and a temperature compensation unit configured to correct the current transducer temperature based on the updated current compensation value, and perform temperature compensation on a measurement result of the ultrasonic measurement device by using a corrected temperature of the current transducer temperature.

[0008] The technical solutions provided by one or more embodiments of the present disclosure not only monitor the temperature of the ultrasonic transducer included in the ultrasonic measurement device, but also monitor the temperature of the cavity circuit board of the ultrasonic measurement device, so as to determine a temperature compensation value and correct the transducer temperature. By using this corrected temperature, the ultrasonic working environment temperature can be more accurately characterized, and more accurate temperature compensation can be performed on the measurement result of the ultrasonic measurement device. Compared with the prior art solutions that perform temperature compensation only based on the transducer temperature, the ultrasonic measurement results obtained by the technical solutions of the present disclosure have greatly improved accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The features and advantages of the embodiments of the present disclosure will be more clearly understood by referring to the accompanying drawings. The drawings are schematic and should not be construed as imposing any limitation on the present disclosure. In the drawings: Figure 1 A schematic diagram of steps of a temperature compensation method for ultrasonic measurement in one embodiment of the present disclosure is shown; Figure 2 A schematic diagram of the time variation of a target temperature difference in one embodiment of the present disclosure is shown; Figure 3 A schematic diagram of the application effect of a temperature compensation method for ultrasonic measurement in one embodiment of the present disclosure is shown; Figure 4 A schematic diagram of the working process of a temperature compensation system for ultrasonic measurement in one embodiment of the present disclosure is shown; Figure 5 A schematic diagram of the functional modules of a temperature compensation device for ultrasonic measurement in one embodiment of the present disclosure is shown; Figure 6 A schematic diagram of the structure of an electronic device in one embodiment of the present disclosure is shown. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0010] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0011] Related technology, temperature is one of the main factors affecting the propagation speed and attenuation coefficient of ultrasound. When the temperature changes, the propagation speed of ultrasound in the material will change. Specifically, as the temperature increases, the thermal motion of the molecules in the material intensifies, and the interaction force between the molecules weakens, thereby increasing the propagation speed of ultrasound in the material; conversely, as the temperature decreases, the thermal motion of the molecules in the material weakens, and the interaction force between the molecules increases, thereby slowing down the propagation speed of ultrasound in the material. In addition, as the temperature increases, the movement of the molecules in the material will convert the sound wave energy into heat energy, thereby increasing the attenuation of ultrasound, that is, the attenuation coefficient becomes larger.

[0012] Related technology, some temperature compensation schemes for ultrasonic measurement, detect and obtain the transducer temperature (equivalent to the air temperature) through the temperature sensor set at the ultrasonic transducer, and regard the transducer temperature as the ultrasonic working environment temperature to perform temperature compensation on the ultrasonic measurement results. However, in actual use, various types of ultrasonic measurement equipment usually include hardware electronic circuits in addition to ultrasonic transducers. The hardware electronic circuit can be responsible for controlling the transmission and reception of the ultrasonic transducer and processing the received signals. The hardware electronic circuit may have components that heat up, causing the ultrasonic working environment temperature to change accordingly. In this scenario, temperature compensation is only based on the transducer temperature, and the ultrasonic measurement results obtained are prone to reduced accuracy.

[0013] In view of this, the temperature compensation method for ultrasonic measurement provided by one or more embodiments of the present disclosure can accurately determine the ultrasonic working environment temperature used for temperature compensation, optimize the ultrasonic measurement scheme, and improve the accuracy of the ultrasonic measurement results.

[0014] See also Figure 1 , a temperature compensation method for ultrasonic measurement provided by one embodiment of the present disclosure may include the following steps.

[0015] S1: Acquire transducer temperature data and cavity temperature data of an ultrasonic measuring device, wherein the transducer temperature data is obtained by monitoring an ultrasonic transducer included in the ultrasonic measuring device, and the cavity temperature data is obtained by monitoring a cavity circuit board of the ultrasonic measuring device.

[0016] In this embodiment, after obtaining the transducer temperature data and the cavity temperature data for a certain historical period (such as five minutes, ten minutes, one hour), comprehensive calculation can be performed to accurately reflect the current working environment temperature of the ultrasonic wave. In this way, both the overall reflection of the transducer temperature (equivalent to the air temperature) on the ultrasonic working environment temperature and the influence of the temperature change caused by the heat generation of the cavity circuit board are considered.

[0017] In this embodiment, the ultrasonic measurement device may include, but is not limited to, an ultrasonic level gauge, an ultrasonic level meter, etc.

[0018] S2: Determine the expected compensation value according to the target temperature difference between the current cavity temperature and the current transducer temperature.

[0019] In this embodiment, if the target temperature difference is less than the first temperature, the expected compensation value is set to zero; if the target temperature difference is greater than the first temperature and less than the second temperature, the expected compensation value is determined based on the product of the target temperature difference and the first calculation factor; if the target temperature difference is greater than the second temperature, the expected compensation value is determined based on the product of the target temperature difference and the second calculation factor.

[0020] Preferably, the first temperature may be 4 degrees Celsius, the second temperature may be 7.2 degrees Celsius, the first calculation factor may be 0.625, and the second calculation factor may be 1 / 3.6.

[0021] In a practical application example, the expected compensation value is determined based on the product of the target temperature difference and the first calculation factor, and its specific formula may be: expected compensation value = 0.625 * target temperature difference - 2.5.

[0022] In a practical application example, the expected compensation value is determined based on the product of the target temperature difference and the second calculation factor, and its specific formula may be: expected compensation value = target temperature difference / 3.6.

[0023] It should be noted that the current cavity temperature is usually higher than the current transducer temperature, and the target temperature difference is obtained by subtracting the current transducer temperature from the current cavity temperature. Therefore, the value of the target temperature difference is generally positive.

[0024] In some embodiments, after determining the expected compensation value, it can be further determined whether the expected compensation value exceeds the limit. If the expected compensation value exceeds the limit, it can be restricted within a preset compensation interval to prevent overcompensation or error accumulation and avoid reducing the accuracy of the ultrasonic measurement result.

[0025] Specifically, if the expected compensation value is greater than the upper limit of the expected compensation, the expected compensation value is set to the upper limit of the expected compensation; if the expected compensation value is less than the lower limit of the expected compensation, the expected compensation value is set to the lower limit of the expected compensation. Among them, the preferred value of the upper limit of the expected compensation is 2.5, and the preferred value of the lower limit of the expected compensation is 0.

[0026] S3: Obtain the current compensation value, and update the current compensation value according to the comparison result between the expected compensation value and the current compensation value.

[0027] In this embodiment, the current compensation value is a value that is iteratively updated with the cycle of steps. The current compensation value obtained at the end of the previous cycle can be used as the initial current compensation value in the calculation process of this cycle. When starting the first cycle, the initial value of the current compensation value can be set to 0.

[0028] In this embodiment, if the target difference between the expected compensation value and the current compensation value falls within the preset difference interval, the expected compensation value is determined as the current compensation value; if the target difference exceeds the preset difference interval and the current compensation value is less than the expected compensation value, it is determined whether the ultrasonic transducer is in a temperature rising state according to the first change value of the transducer temperature data within the target reference period, and the current compensation value is updated based on the first rising judgment result; if the target difference exceeds the preset difference interval and the current compensation value is greater than the expected compensation value, it is determined whether the ultrasonic transducer is in a temperature dropping state according to the first change value of the transducer temperature data within the target reference period, and the current compensation value is updated based on the first dropping judgment result.

[0029] Specifically, if the target difference falls within the preset difference interval (for example, the target difference is between -0.02 and 0.02, which means the absolute difference between the expected compensation value and the current compensation value is less than 0.02), it indicates that the numerical values of the expected compensation value and the current compensation value are basically the same. At this time, it is only necessary to determine the expected compensation value as the current compensation value.

[0030] If the target difference exceeds the preset difference interval, it indicates that there is an obvious numerical difference between the expected compensation value and the current compensation value. At this time, it is necessary to further classify and discuss according to the magnitude relationship between the current compensation value and the expected compensation value.

[0031] When the current compensation value is less than the expected compensation value, the current compensation value may need to be incremented. Based on whether the ultrasonic transducer is in a temperature rising state, it can be determined whether the current compensation value is incremented and the increment value for the increment processing. According to whether the change value (i.e., the first change value) of the transducer temperature data within the target reference period (e.g., three minutes) is higher than the rising critical value (e.g., 0.05), it can be determined whether the ultrasonic transducer is in a temperature rising state.

[0032] When the current compensation value is greater than the expected compensation value, the current compensation value may need to be decremented. Based on whether the ultrasonic transducer is in a temperature falling state, it can be determined whether the current compensation value is decremented and the decrement value for the decrement processing. According to whether the change value (i.e., the first change value) of the transducer temperature data within the target reference period is lower than the falling critical value (e.g., -0.05), it can be determined whether the ultrasonic transducer is in a temperature falling state.

[0033] In some practical application examples, the target reference period is preferably five minutes, the rising critical value is preferably 0.1, and the falling critical value is preferably -0.1.

[0034] In some embodiments, updating the current compensation value based on the first rising judgment result includes: if the ultrasonic transducer is in a temperature rising state, increasing the current compensation value by the transducer temperature rising rate value; if the ultrasonic transducer is not in a temperature rising state, judging whether the cavity circuit board is in a temperature rapidly rising state according to the second change value of the cavity temperature data within the target reference period, and updating the current compensation value based on the second rising judgment result.

[0035] Specifically, if the ultrasonic transducer is in a temperature rising state, it is only necessary to increase the current compensation value by the transducer temperature rising rate value. The transducer temperature rising rate value is obtained by calculating the change value per unit time (e.g., average per minute) of the transducer temperature within the target reference period. If the ultrasonic transducer is not in a temperature rising state, the update rule of the current compensation value can be further classified and discussed according to whether the cavity circuit board is in a temperature rapidly rising state.

[0036] According to whether the change value (i.e., the second change value) of the cavity temperature data within the target reference period is higher than the rapidly rising critical value (e.g., 0.25), it can be determined whether the cavity circuit board is in a temperature rapidly rising state. The rapidly rising critical value can be preferably 0.3.

[0037] In some embodiments, updating the current compensation value based on the second rising judgment result includes: If the cavity circuit board is in a state of rapid temperature rise, determine whether the first change value is greater than zero; if the first change value is greater than zero, increase the current compensation value by the transducer temperature rise rate value; if the first change value is not greater than zero, keep the current compensation value unchanged; If the cavity circuit board is not in a state of rapid temperature rise, determine whether the first compensation reference value is less than the first reference threshold; if the first compensation reference value is less than the first reference threshold, increase the first compensation reference value to the first reference threshold, and increase the current compensation value by the first compensation reference value; if the first compensation reference value is not less than the first reference threshold, increase the current compensation value by the first compensation reference value; Wherein, the first compensation reference value is determined based on the product of the target difference value and the first coefficient.

[0038] In a practical application example, the first coefficient is preferably 1 / 30, the first compensation reference value is one-thirtieth of the target difference value, and the first reference threshold is preferably 0.02.

[0039] In some embodiments, updating the current compensation value based on the first decrease judgment result includes: if the ultrasonic transducer is in a state of temperature decrease, reduce the current compensation value by the transducer temperature decrease rate value; if the ultrasonic transducer is not in a state of temperature decrease, determine whether the cavity circuit board is in a state of rapid temperature decrease according to the second change value of the cavity temperature data within the target reference period, and update the current compensation value based on the second decrease judgment result.

[0040] Specifically, if the ultrasonic transducer is in a state of temperature decrease, it is only necessary to reduce the current compensation value by the transducer temperature decrease rate value. The transducer temperature decrease rate value is obtained by calculating the change value of the transducer temperature per unit time (such as the average per minute) within the target reference period. If the ultrasonic transducer is not in a state of temperature decrease, the update rule of the current compensation value can be further classified and discussed according to whether the cavity circuit board is in a state of rapid temperature decrease.

[0041] According to whether the change value (i.e., the second change value) of the cavity temperature data within the target reference period is lower than the rapid decrease critical value (such as -0.25), it can be determined whether the cavity circuit board is in a state of rapid temperature decrease. The rapid decrease critical value can be preferably -0.3.

[0042] In some embodiments, updating the current compensation value based on the second decrease judgment result includes: If the cavity circuit board is in a state of rapid temperature drop, determine whether the first change value is less than zero; if the first change value is less than zero, reduce the current compensation value by the transducer temperature drop rate value; if the second change value is not less than zero, keep the current compensation value unchanged; If the cavity circuit board is not in a state of rapid temperature drop, determine whether the second compensation reference value is greater than the second reference threshold; if the second compensation reference value is greater than the second reference threshold, reduce the second compensation reference value to the second reference threshold, and increase the current compensation value by the second compensation reference value; if the second compensation reference value is not less than the second reference threshold, increase the current compensation value by the second compensation reference value; Wherein, the second compensation reference value is determined based on the product of the target difference and the second coefficient.

[0043] In a practical application example, the second coefficient is preferably 1 / 30, the second compensation reference value is one-thirtieth of the target difference, and the second reference threshold is preferably -0.02.

[0044] In some embodiments, after updating the current compensation value, it can be determined whether the current compensation value is greater than the expected compensation value. If the current compensation value is greater than the expected compensation value, it means that the current compensation value is out of limit, and the expected compensation value can be used as the current compensation value to achieve compensation value calibration, prevent overcompensation or error accumulation, and avoid reducing the accuracy of the ultrasonic measurement result.

[0045] S4: Based on the updated current compensation value, correct the current transducer temperature, and use the corrected temperature of the current transducer temperature to perform temperature compensation on the measurement result of the ultrasonic measurement device.

[0046] In this embodiment, by using the cyclically updated current compensation value, the transducer temperature data can be corrected to obtain corrected temperature data. At this time, the corrected temperature data is closer to the actual working environment temperature of the ultrasonic wave. Through the corrected temperature data, temperature compensation is performed on the ultrasonic measurement result, so that the final ultrasonic measurement result can be more accurate.

[0047] In a practical application example, the implementation effect of a temperature compensation method for ultrasonic measurement can be referred to Figure 2 and Figure 3 .

[0048] Figure 2 It represents the time change curve of the target temperature difference in this practical application scenario. Figure 3The blue curve in [it] represents the change of transducer temperature data over time, the green curve represents the change of corrected temperature data over time, and the yellow curve represents the change of the actual working environment temperature of the ultrasonic wave over time. The corrected temperature data can be obtained by performing a correction calculation on the transducer temperature data using the current compensation value in step S4. It can be seen that the trend of the time curve of the corrected temperature data is closer to the trend of the time curve of the actual working environment temperature of the ultrasonic wave, and the deviation between the two is more stable. Subsequently, the deviation can be further reduced through methods such as instrument calibration. By performing temperature compensation calculation using the corrected temperature data, the ultrasonic measurement result can be more accurate.

[0049] In some embodiments, the updated current compensation value can also be directly used as a parameter to perform temperature compensation on the measurement result of the ultrasonic measurement device. For example, the transducer temperature data can be used to perform a first temperature compensation on the ultrasonic measurement result, and then the current compensation value can be used to perform a second temperature compensation on the ultrasonic measurement result. In this way, through the second temperature compensation, the ultrasonic measurement result after the first temperature compensation can be further optimized, making the final ultrasonic measurement result more accurate.

[0050] Please refer to Figure 4 , a temperature compensation system for an ultrasonic transducer provided by an embodiment of the present disclosure may include the following process steps.

[0051] Step 1: Obtain the transducer temperature data and the cavity temperature data within the past five minutes.

[0052] Step 2: Determine the expected compensation value according to the target temperature difference between the current cavity temperature and the current transducer temperature; Step 2.1: Calculate the target temperature difference between the current cavity temperature and the current transducer temperature, and set the expected compensation value to zero; Step 2.1.1: If the target temperature difference is less than 4 degrees, the expected compensation value is 0; Step 2.1.2: If the target temperature difference is greater than 4 degrees and less than 7.2 degrees, the value of the expected compensation value is equal to 0.625 times the target temperature difference minus 2.5; Step 2.1.3: If the target temperature difference is greater than 7.2 degrees, the value of the expected compensation value is equal to the target temperature difference divided by 3.6; Step 2.2: Determine whether the expected compensation value is greater than 2.5. If it is greater than 2.5, set the expected compensation value to 2.5; Step 2.3: Determine whether the expected compensation value is less than 0. If it is less than 0, set the expected compensation value to 0.

[0053] Step 3: Determine the relationship between the current compensation value and the expected compensation value; Step 3.1: If the two values are basically the same (for example, the absolute value of the difference between the two values is less than 0.02), then use the expected compensation value as the current compensation value; Step 3.2: If there is a large difference between the current compensation value and the expected compensation value (for example, the absolute value of the difference between the two values is greater than or equal to 0.02), and the current compensation value is less than the expected compensation value, then use the difference between the expected compensation value and 1 / 30 of the current compensation value as the first compensation reference value; Step 3.2.1: Determine whether the transducer temperature is rising (for example, determine whether the change value of the transducer temperature in the past five minutes is greater than 0.1); Step 3.2.1.1: If so, increase the current compensation value by the transducer temperature rising rate value; Step 3.2.1.2: If not, determine whether the temperature in the cavity is rising rapidly (for example, determine whether the change value of the cavity temperature in the past five minutes is greater than 0.3); Step 3.2.1.2.1: If so, determine whether the change value of the transducer temperature is greater than 0; Step 3.2.1.2.1.1: If so, increase the current compensation value by the transducer temperature rising rate value; Step 3.2.1.2.1.2: If not, keep the current compensation value unchanged; Step 3.2.1.2.2: If not, determine whether the first compensation reference value is less than 0.02; Step 3.2.1.2.2.1: If so, increase the compensation reference value to 0.02 and increase the current compensation value by the compensation reference value; Step 3.2.1.2.2.2: If not, directly increase the current compensation value by the first compensation reference value; Step 3.2.2: Determine whether compensation overrun occurs (that is, determine whether the current compensation value is greater than the expected compensation value); Step 3.2.2.1: If so, use the expected compensation value as the current compensation value; Step 3.3: If there is a large difference between the current compensation value and the expected compensation value (for example, the absolute value of the difference between the two values is greater than or equal to 0.02), and the current compensation value is greater than the expected compensation value, then use the difference between the expected compensation value and 1 / 30 of the current compensation value as the second compensation reference value; Step 3.3.1: Determine whether the transducer temperature is falling (for example, determine whether the change value of the transducer temperature in the past five minutes is less than -0.1); Step 3.3.1.1: If so, reduce the current compensation value by the transducer temperature falling rate value; Step 3.3.1.2: If not, determine whether the temperature in the cavity is falling rapidly (for example, determine whether the change value of the cavity temperature in the past five minutes is less than -0.3); Step 3.3.1.2.1: If so, determine whether the change value of the transducer temperature is less than 0; Step 3.3.1.2.1.1: If so, reduce the current compensation value by the transducer temperature decrease rate value; Step 3.3.1.2.1.2: If not, keep the current compensation value unchanged; Step 3.3.1.2.2: If not, determine whether the second compensation reference value is greater than -0.02; Step 3.3.1.2.2.1: If so, reduce the second compensation reference value to -0.02 and increase the current compensation value by the second compensation reference value; Step 3.3.1.2.2.2: If not, directly increase the current compensation value by the second compensation reference value; Step 3.3.2: Determine whether compensation overrun occurs (i.e., determine whether the current compensation value is greater than the expected compensation value); Step 3.3.2.1: If so, use the expected compensation value as the current compensation value.

[0054] Step 4: Use the current compensation value as the temperature parameter for temperature compensation.

[0055] During the execution of the above steps 1 to 4, the current temperature compensation value is a value that keeps changing with the loop of the steps, and the current compensation value obtained in the previous loop will also continue to be used as the current compensation value for the next loop calculation. When starting the first loop, the initial value of the current temperature compensation value can be set to 0.

[0056] The technical solutions provided by one or more embodiments of the present disclosure not only monitor the temperature of the ultrasonic transducer included in the ultrasonic measurement device, but also monitor the temperature of the cavity circuit board of the ultrasonic measurement device, so as to determine the temperature compensation value and correct the transducer temperature. Using the corrected temperature, the ultrasonic working environment temperature can be more accurately characterized, and more accurate temperature compensation can be performed on the measurement results of the ultrasonic measurement device. Compared with the prior art solutions that only perform temperature compensation based on the transducer temperature, the ultrasonic measurement results obtained by the technical solutions of the present disclosure have greatly improved accuracy.

[0057] Please refer to Figure 5 , the present disclosure also provides a temperature compensation device for ultrasonic measurement, and the device includes: A data acquisition unit 100, configured to acquire the transducer temperature data and the cavity temperature data of the ultrasonic measurement device, where the transducer temperature data is obtained by monitoring the ultrasonic transducer included in the ultrasonic measurement device, and the cavity temperature data is obtained by monitoring the cavity circuit board of the ultrasonic measurement device; The first calculation unit 200 is configured to determine an expected compensation value according to a target temperature difference between the current cavity temperature and the current transducer temperature; The second calculation unit 300 is configured to obtain a current compensation value and update the current compensation value according to a comparison result between the expected compensation value and the current compensation value; The temperature compensation unit 400 is configured to correct the current transducer temperature based on the updated current compensation value, and perform temperature compensation on the measurement result of the ultrasonic measurement device by using the corrected temperature of the current transducer temperature.

[0058] In one embodiment, the first calculation unit 200 is specifically configured to set the expected compensation value to zero if the target temperature difference is less than a first temperature; if the target temperature difference is greater than the first temperature and less than a second temperature, determine the expected compensation value based on a product of the target temperature difference and a first calculation factor; if the target temperature difference is greater than the second temperature, determine the expected compensation value based on a product of the target temperature difference and a second calculation factor.

[0059] In one embodiment, after determining the expected compensation value, the first calculation unit 200 is further configured to set the expected compensation value to the expected compensation upper limit if the expected compensation value is greater than an expected compensation upper limit; set the expected compensation value to the expected compensation lower limit if the expected compensation value is less than an expected compensation lower limit.

[0060] In one embodiment, the second calculation unit 300 is specifically configured to determine the expected compensation value as the current compensation value if a target difference between the expected compensation value and the current compensation value falls within a preset difference interval; if the target difference exceeds the preset difference interval and the current compensation value is less than the expected compensation value, determine whether the ultrasonic transducer is in a temperature rising state according to a first change value of the transducer temperature data within a target reference period, and update the current compensation value based on a first rising determination result; if the target difference exceeds the preset difference interval and the current compensation value is greater than the expected compensation value, determine whether the ultrasonic transducer is in a temperature falling state according to the first change value, and update the current compensation value based on a first falling determination result.

[0061] In one embodiment, updating the current compensation value based on the first rising determination result includes: if the ultrasonic transducer is in a temperature rising state, increasing the current compensation value by the transducer temperature rising rate value; if the ultrasonic transducer is not in a temperature rising state, judging whether the cavity circuit board is in a rapid temperature rising state according to the second change value of the cavity temperature data within the target reference period, and updating the current compensation value based on the second rising determination result.

[0062] In one embodiment, updating the current compensation value based on the second rising determination result includes: if the cavity circuit board is in a rapid temperature rising state, judging whether the first change value is greater than zero; if the first change value is greater than zero, increasing the current compensation value by the transducer temperature rising rate value; if the first change value is not greater than zero, keeping the current compensation value unchanged; if the cavity circuit board is not in a rapid temperature rising state, judging whether the first compensation reference value is less than the first reference threshold; if the first compensation reference value is less than the first reference threshold, increasing the first compensation reference value to the first reference threshold and increasing the current compensation value by the first compensation reference value; if the first compensation reference value is not less than the first reference threshold, increasing the current compensation value by the first compensation reference value; Wherein, the first compensation reference value is determined based on the product of the target difference value and the first coefficient.

[0063] In one embodiment, updating the current compensation value based on the first falling determination result includes: if the ultrasonic transducer is in a temperature falling state, decreasing the current compensation value by the transducer temperature falling rate value; if the ultrasonic transducer is not in a temperature falling state, judging whether the cavity circuit board is in a rapid temperature falling state according to the second change value of the cavity temperature data within the target reference period, and updating the current compensation value based on the second falling determination result.

[0064] In one embodiment, if the cavity circuit board is in a rapid temperature falling state, judging whether the first change value is less than zero; if the first change value is less than zero, decreasing the current compensation value by the transducer temperature falling rate value; if the first change value is not less than zero, keeping the current compensation value unchanged; If the cavity circuit board is not in a state of rapid temperature drop, determine whether the second compensation reference value is greater than the second reference threshold; if the second compensation reference value is greater than the second reference threshold, reduce the second compensation reference value to the second reference threshold, and increase the current compensation value by the second compensation reference value; if the second compensation reference value is not less than the second reference threshold, increase the current compensation value by the second compensation reference value; Wherein, the second compensation reference value is determined based on the product of the target difference and the second coefficient.

[0065] In one embodiment, after updating the current compensation value, the second calculation unit 300 is further configured to determine whether the current compensation value is greater than the expected compensation value; if the current compensation value is greater than the expected compensation value, use the expected compensation value as the current compensation value.

[0066] Each unit illustrated in the above embodiments can be specifically implemented by a computer chip or by a product with a certain function. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0067] For convenience of description, the above devices are described by dividing them into various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0068] Please refer to Figure 6 , the present disclosure further provides an electronic device, the electronic device includes a memory and a processor, the memory is used to store a computer program, and when the computer program is executed by the processor, the temperature compensation method for ultrasonic measurement described above is implemented.

[0069] The present disclosure further provides a computer-readable storage medium, the computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the temperature compensation method for ultrasonic measurement described above is implemented.

[0070] Among them, the processor may be a Central Processing Unit (CPU). The processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. chips, or a combination of the above types of chips.

[0071] As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory, that is, implements the methods in the above method embodiments.

[0072] The memory may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely set relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above networks include but are not limited to the Internet, enterprise intranets, local area networks, mobile communication networks, and combinations thereof.

[0073] Those skilled in the art can understand that to implement all or part of the processes in the above method embodiments, it can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. Among them, the storage medium can be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory, a Hard Disk Drive (abbreviation: HDD), or a Solid-State Drive (SSD), etc.; the storage medium can also include a combination of the above types of memories.

[0074] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device, equipment, and storage medium, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments.

[0075] The above description is only for the embodiments of the present application and is not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

[0076] Although the embodiments of the present disclosure are described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A temperature compensation method for ultrasonic measurement, characterized in that, The method includes: Obtaining transducer temperature data and cavity temperature data of an ultrasonic measurement device, where the transducer temperature data is obtained by monitoring an ultrasonic transducer included in the ultrasonic measurement device, and the cavity temperature data is obtained by monitoring a cavity circuit board of the ultrasonic measurement device; Determining an expected compensation value according to a target temperature difference between the current cavity temperature and the current transducer temperature; Obtaining a current compensation value, and updating the current compensation value according to a comparison result between the expected compensation value and the current compensation value; Based on the updated current compensation value, correcting the current transducer temperature, and using the corrected temperature of the current transducer to perform temperature compensation on a measurement result of the ultrasonic measurement device.

2. The method according to claim 1, wherein The determining the expected compensation value according to the target temperature difference between the current cavity temperature and the current transducer temperature includes: If the target temperature difference is less than a first temperature, setting the expected compensation value to zero; If the target temperature difference is greater than the first temperature and less than a second temperature, determining the expected compensation value based on a product of the target temperature difference and a first calculation factor; If the target temperature difference is greater than the second temperature, determining the expected compensation value based on a product of the target temperature difference and a second calculation factor.

3. The method according to claim 2, wherein After determining the expected compensation value, the method further includes: If the expected compensation value is greater than an expected compensation upper limit, setting the expected compensation value to the expected compensation upper limit; If the expected compensation value is less than an expected compensation lower limit, setting the expected compensation value to the expected compensation lower limit.

4. The method according to claim 1, characterized in that The updating the current compensation value according to a comparison result between the expected compensation value and the current compensation value includes: If a target difference between the expected compensation value and the current compensation value falls within a preset difference interval, determining the expected compensation value as the current compensation value; If the target difference exceeds the preset difference interval, and the current compensation value is less than the expected compensation value, determining whether the ultrasonic transducer is in a temperature rising state according to a first change value of the transducer temperature data within a target reference period, and updating the current compensation value based on a first rising judgment result; If the target difference exceeds the preset difference interval, and the current compensation value is greater than the expected compensation value, determining whether the ultrasonic transducer is in a temperature falling state according to the first change value, and updating the current compensation value based on a first falling judgment result.

5. The method according to claim 4, wherein The updating the current compensation value based on the first rising judgment result includes: If the ultrasonic transducer is in a temperature rising state, increasing the current compensation value by a transducer temperature rising rate value; If the ultrasonic transducer is not in a temperature rising state, determining whether the cavity circuit board is in a temperature rapidly rising state according to a second change value of the cavity temperature data within the target reference period, and updating the current compensation value based on a second rising judgment result.

6. The method according to claim 5, characterized in that, The updating the current compensation value based on the second rising judgment result includes: If the cavity circuit board is in a state of rapid temperature rise, determine whether the first change value is greater than zero; if the first change value is greater than zero, increase the current compensation value by the transducer temperature rise rate value; if the first change value is not greater than zero, keep the current compensation value unchanged; If the cavity circuit board is not in a state of rapid temperature rise, determine whether the first compensation reference value is less than the first reference threshold; if the first compensation reference value is less than the first reference threshold, increase the first compensation reference value to the first reference threshold, and increase the current compensation value by the first compensation reference value; if the first compensation reference value is not less than the first reference threshold, increase the current compensation value by the first compensation reference value; Wherein, the first compensation reference value is determined based on the product of the target difference and the first coefficient.

7. The method according to claim 4, characterized in that, Updating the current compensation value based on the first drop judgment result includes: If the ultrasonic transducer is in a state of temperature drop, reduce the current compensation value by the transducer temperature drop rate value; If the ultrasonic transducer is not in a state of temperature drop, determine whether the cavity circuit board is in a state of rapid temperature drop according to the second change value of the cavity temperature data within the target reference period, and update the current compensation value based on the second drop judgment result.

8. The method according to claim 7, wherein Updating the current compensation value based on the second drop judgment result includes: If the cavity circuit board is in a state of rapid temperature drop, determine whether the first change value is less than zero; if the first change value is less than zero, reduce the current compensation value by the transducer temperature drop rate value; if the first change value is not less than zero, keep the current compensation value unchanged; If the cavity circuit board is not in a state of rapid temperature drop, determine whether the second compensation reference value is greater than the second reference threshold; if the second compensation reference value is greater than the second reference threshold, reduce the second compensation reference value to the second reference threshold, and increase the current compensation value by the second compensation reference value; if the second compensation reference value is not less than the second reference threshold, increase the current compensation value by the second compensation reference value; Wherein, the second compensation reference value is determined based on the product of the target difference and the second coefficient.

9. The method according to any one of claims 5 or 7, characterized in that After updating the current compensation value, the method further includes: Determine whether the current compensation value is greater than the expected compensation value; If the current compensation value is greater than the expected compensation value, use the expected compensation value as the current compensation value.

10. A temperature compensation device for ultrasonic measurement, characterized in that, The device includes: A data acquisition unit, configured to acquire transducer temperature data and cavity temperature data of an ultrasonic measurement device, where the transducer temperature data is obtained by monitoring an ultrasonic transducer included in the ultrasonic measurement device, and the cavity temperature data is obtained by monitoring a cavity circuit board of the ultrasonic measurement device; A first calculation unit, configured to determine an expected compensation value according to a target temperature difference between a current cavity temperature and a current transducer temperature; A second calculation unit, configured to obtain a current compensation value and update the current compensation value according to a comparison result between the expected compensation value and the current compensation value; A temperature compensation unit, configured to correct the current transducer temperature based on the updated current compensation value, and perform temperature compensation on a measurement result of the ultrasonic measurement device by using the corrected temperature of the current transducer temperature.

Citation Information

Patent Citations

  • Non-invasive analyte sensor with temperature compensation

    CN118510446A

  • Turnout switch rail crack detection system, method and device

    CN118731164A

  • Ultrasonic sensor temperature confirmation method

    CN119291661A

  • Ultrasonic sensor gain compensation method

    CN119471653A

  • sensor unit for temperature monitoring and for temperature compensation of an ultrasonic sensor and an arrangement containing a sensor unit and an ultrasonic sensor

    DE102014112019A1