CN115452075A - Ultrasonic water meter temperature measurement method and system, computer equipment and storage medium - Google Patents
Ultrasonic water meter temperature measurement method and system, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115452075A CN115452075A CN202210908107.0A CN202210908107A CN115452075A CN 115452075 A CN115452075 A CN 115452075A CN 202210908107 A CN202210908107 A CN 202210908107A CN 115452075 A CN115452075 A CN 115452075A
- Authority
- CN
- China
- Prior art keywords
- ultrasonic
- total
- time
- temperature
- preset water
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F1/00—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
- G01F1/66—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by measuring frequency, phase shift or propagation time of electromagnetic or other waves, e.g. using ultrasonic flowmeters
- G01F1/667—Arrangements of transducers for ultrasonic flowmeters; Circuits for operating ultrasonic flowmeters
- G01F1/668—Compensating or correcting for variations in velocity of sound
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/02—Compensating or correcting for variations in pressure, density or temperature
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Measuring Temperature Or Quantity Of Heat (AREA)
Abstract
The invention discloses an ultrasonic water meter temperature measuring method, which comprises the following steps: acquiring an ultrasonic transmission distance of a prediction region; presetting preset water temperatures of a plurality of different temperatures: acquiring total ultrasonic transmission time of a prediction region at a plurality of preset water temperatures; acquiring ultrasonic delay time of a prediction area at a plurality of preset water temperatures; calculating the ultrasonic transmission correction speed according to the ultrasonic transmission distance, the total ultrasonic transmission time and the ultrasonic delay time; and constructing a correction speed and temperature curve according to the ultrasonic transmission correction speed and the preset water temperature. The invention also discloses an ultrasonic water meter temperature measurement system, computer equipment and a storage medium. The invention has the characteristics of small temperature measurement error, high accuracy, no need of installing a temperature sensor, simple integral structure, low cost and the like; can meet the use requirement of users with high use requirement.
Description
Technical Field
The invention relates to the technical field of liquid temperature measurement, in particular to a method and a system for measuring temperature of an ultrasonic water meter, computer equipment and a storage medium.
Background
An ultrasonic water meter is a meter that calculates the flow rate by detecting the time difference between the forward and backward flow flight times of ultrasonic waves in water. Because the propagation speed of the ultrasonic wave in water is greatly influenced by the temperature, the accurate measurement of the temperature of the fluid in the pipeline plays an important role in the measurement of the ultrasonic water meter.
Most of the existing ultrasonic water meters adopt a temperature sensor mode for temperature detection. A small part of ultrasonic water meters adopt a temperature sensor-free mode to measure the temperature, wherein the temperature sensor-free measuring mode is to directly obtain the ultrasonic transmission speed under liquid according to the detected ultrasonic transmission time and ultrasonic transmission distance and then obtain a corresponding temperature value according to a wave velocity table. However, the temperature value obtained by this method has a large error, and the detected ultrasonic transmission time is not the actual transmission time of the ultrasonic wave, and includes not only the actual transmission time of the ultrasonic wave but also the transmission and reception delay time of the ultrasonic circuit, so that the transmission speed and the temperature value of the detected ultrasonic wave have errors, the accuracy is low, and the use requirement of a user cannot be met.
Disclosure of Invention
The invention aims to solve the technical problems that an ultrasonic water meter temperature measuring method, a system, computer equipment and a storage medium are provided, and the ultrasonic water meter temperature measuring method has the characteristics of small temperature measuring error, high accuracy, no need of installing a temperature sensor, simple integral structure, low cost and the like; can meet the use requirement of users with high use requirement.
In order to solve the technical problem, the invention provides an ultrasonic water meter temperature measuring method, which comprises the following steps: acquiring an ultrasonic transmission distance of a prediction region; presetting preset water temperatures of a plurality of different temperatures: acquiring the total ultrasonic transmission time of a prediction area at a plurality of preset water temperatures; acquiring ultrasonic delay time of a prediction area at a plurality of preset water temperatures; calculating the ultrasonic transmission correction speed according to the ultrasonic transmission distance, the total ultrasonic transmission time and the ultrasonic delay time; and constructing a correction speed and temperature curve according to the ultrasonic transmission correction speed and the preset water temperature.
As an improvement of the above, acquiring the ultrasonic wave delay time of the prediction region at a plurality of preset water temperatures includes: obtaining the corresponding ultrasonic transmission speed at the preset water temperature according to the comparison table of the ultrasonic sound velocity and the temperature in the water; calculating delay time according to the ultrasonic transmission distance, the ultrasonic transmission speed and the total ultrasonic transmission time; and adding the delay times at a plurality of preset water temperatures and taking the average value of the delay times as the ultrasonic delay time.
As an improvement of the above solution, the obtaining of the total transmission time of the ultrasonic waves of the predicted area at a plurality of preset water temperatures includes: acquiring total ultrasonic downstream transmission time of a prediction area at a plurality of preset water temperatures; acquiring total ultrasonic countercurrent transmission time of a prediction area at a plurality of preset water temperatures; and adding the total ultrasonic downstream transmission time and the total ultrasonic upstream transmission time at the same preset water temperature, and taking the average value of the total ultrasonic downstream transmission time and the total ultrasonic upstream transmission time as the total ultrasonic transmission time at the preset water temperature.
As an improvement of the scheme, the calculation formula of the ultrasonic wave delay time is as follows
Wherein L is the ultrasonic transmission distance, C n For the corresponding ultrasonic transmission speed at the ith preset water temperature, t i The total transmission time of the ultrasonic waves acquired at the ith preset water temperature is n preset water temperatures, t 0 Is the ultrasonic delay time.
As an improvement of the scheme, the calculation formula of the ultrasonic correction speed is C n =L/(t n -t 0 ) Wherein L is the ultrasonic transmission distance, t n For the total transmission time, t, of the ultrasonic waves acquired at the nth preset water temperature 0 For ultrasonic delay time, C n And correcting the speed for the corresponding ultrasonic transmission at the nth preset water temperature.
As an improvement of the scheme, the correction speed and temperature curve consists of a plurality of sections of correction speed and temperature straight lines which are synthesized in a fitting mode, and the linear relation between each section of correction speed and temperature straight line consists of two adjacent preset water temperature points and corresponding ultrasonic transmission correction speed data; the linear regression equation of each section of correction speed and temperature straight line is T = D m *C+E m Wherein D is m Is the slope of the linear regression equation of the m-th segment, C is the ultrasonic transmission correction speed and belongs to the ultrasonic transmission correction speed range of the linear regression equation of the m-th segment, E m And T is the intercept of the linear regression equation of the mth section, and the calculated corrected water temperature.
As an improvement of the above scheme, acquiring the total transmission time of the ultrasonic waves at any preset water temperature includes: acquiring the total ultrasonic downstream transmission time of a prediction area at the same preset water temperature for multiple times; acquiring the total ultrasonic wave countercurrent transmission time of a prediction area at the same preset water temperature for multiple times; adding the ultrasonic downstream total transmission time and the ultrasonic upstream total transmission time obtained each time, and taking the average value of the ultrasonic downstream total transmission time and the ultrasonic upstream total transmission time as the undetermined ultrasonic total transmission time; and adding a plurality of groups of to-be-determined total ultrasonic wave transmission time, and taking the average value of the sum as the total ultrasonic wave transmission time at the preset water temperature.
The invention also provides an ultrasonic water meter temperature measurement system which comprises an ultrasonic transduction module, a preset module, a time-to-digital conversion module, a processing module and a data storage module, wherein the ultrasonic transduction module is connected with the time-to-digital conversion module;
the ultrasonic energy conversion modules are respectively placed at two ends of the prediction area and used for transmitting and receiving ultrasonic signals; the presetting module is used for presetting the ultrasonic transmission distance between the two ultrasonic transduction modules and different preset water temperatures of a prediction area; the time-to-digital conversion module is used for detecting the ultrasonic wave transmitting time and the ultrasonic wave receiving time at different preset water temperatures in real time so as to obtain the total ultrasonic wave transmission time at different preset water temperatures in real time; the processing module is used for calculating ultrasonic wave delay time and calculating ultrasonic wave transmission correction speed according to the ultrasonic wave transmission distance, the total ultrasonic wave transmission time and the ultrasonic wave delay time; constructing a correction speed and temperature curve according to the ultrasonic transmission correction speed and the preset water temperature; the data storage module is used for storing the ultrasonic delay time and the correction speed and temperature curve.
The invention also provides a computer device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the steps of the above method being implemented when the processor executes the instructions.
The invention also provides a storage medium storing computer instructions which, when executed by a processor, implement the steps of the above method.
The implementation of the invention has the following beneficial effects:
according to the method, the system, the computer device and the storage medium for measuring the temperature of the ultrasonic water meter, the ultrasonic transmission correction speed is calculated through the ultrasonic transmission distance, the total ultrasonic transmission time and the ultrasonic delay time, and the correction speed and the temperature curve are constructed according to the ultrasonic transmission correction speed and the preset water temperature, so that when the ultrasonic water meter is in an actual use process, the correction speed, the temperature curve and the detected ultrasonic transmission correction speed can be quickly compared and analyzed to obtain the corresponding corrected water temperature. The invention has the characteristics of small temperature measurement error, high accuracy, no need of installing a temperature sensor, simple integral structure, low cost and the like; can meet the use requirement of users with high use requirement.
Drawings
FIG. 1 is a flow chart of a method of measuring temperature in an ultrasonic water meter in accordance with the present invention;
FIG. 2 is a flow chart of the method for measuring temperature of an ultrasonic water meter according to the present invention, wherein the flow chart is used for obtaining ultrasonic delay times of a prediction area at a plurality of preset water temperatures;
FIG. 3 is a flow chart of the total transmission time of ultrasonic waves at a plurality of preset water temperatures according to the method for measuring temperature of an ultrasonic water meter of the present invention;
FIG. 4 is a flowchart of the method for measuring temperature of an ultrasonic water meter according to the present invention, illustrating the total transmission time of ultrasonic waves at any preset water temperature;
FIG. 5 is a schematic structural diagram of a temperature measurement system of an ultrasonic water meter according to the present invention;
FIG. 6 is a graph of correction rate versus temperature for the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. It is only noted that the invention is intended to be limited to the specific forms set forth herein, including any reference to the drawings, as well as any other specific forms of embodiments of the invention.
As shown in fig. 1, an embodiment of the present invention provides a method for measuring temperature of an ultrasonic water meter, including:
s100, acquiring an ultrasonic transmission distance of a prediction region;
the ultrasonic transmission distance of the prediction region is the ultrasonic transmission distance between the two ultrasonic transducers, and the ultrasonic transmission distance is fixed.
S200, presetting a plurality of preset water temperatures with different temperatures:
it should be noted that the temperature values of the plurality of preset water temperatures are sequentially increased, and the temperature of two adjacent preset water temperatures are separated by 5 ℃, for example, the preset water temperatures of 10 ℃, 15 ℃, 20 ℃, … … ℃ and the like are set, but not limited thereto, and the temperature values of the preset water temperatures can be set according to actual requirements.
S300, acquiring total ultrasonic transmission time of a prediction region at a plurality of preset water temperatures;
s400, obtaining ultrasonic wave delay time of a prediction area under a plurality of preset water temperatures;
s500, calculating an ultrasonic transmission correction speed according to the ultrasonic transmission distance, the total ultrasonic transmission time and the ultrasonic delay time;
s600, constructing a correction speed and temperature curve according to the ultrasonic transmission correction speed and the preset water temperature.
The ultrasonic water meter is placed at different preset water temperatures for testing, the total ultrasonic transmission time and the ultrasonic delay time at different preset water temperatures are obtained, the ultrasonic transmission correction speed at different preset water temperatures is obtained according to the ultrasonic transmission distance, and the correction speed and the temperature curve are constructed according to different preset water temperatures and the corresponding ultrasonic transmission correction speeds, so that when the ultrasonic water meter is actually used, the correction speed, the temperature curve and the detected ultrasonic transmission correction speed can be quickly compared and analyzed to obtain the corresponding corrected water temperature; can meet the use requirement of users with high use requirement.
As shown in fig. 2, acquiring the ultrasonic delay times of the predicted region at a plurality of preset water temperatures includes:
s410, obtaining the corresponding ultrasonic transmission speed at the preset water temperature according to the comparison table of the ultrasonic sound velocity and the temperature in the water;
s420, calculating delay time according to the ultrasonic transmission distance, the ultrasonic transmission speed and the total ultrasonic transmission time;
and S430, adding the delay time under a plurality of preset water temperatures and taking the average value of the delay time as the ultrasonic delay time.
It should be noted that, the preset water temperature and the ultrasonic sound velocity in water are compared with the temperature comparison table to obtain the corresponding ultrasonic transmission speed theoretically, and the delay time of the ultrasonic circuit is calculated according to the ultrasonic transmission distance, the ultrasonic transmission speed and the total ultrasonic transmission time. The delay times at a plurality of preset water temperatures are added and the average value thereof is taken as the ultrasonic delay time to reduce errors and improve the accuracy, thereby improving the accuracy of the obtained ultrasonic transmission correction speed.
As shown in fig. 3, acquiring the total transmission time of the ultrasonic waves of the predicted area at a plurality of preset water temperatures includes:
s310, acquiring total ultrasonic downstream transmission time of a prediction area at a plurality of preset water temperatures;
s320, acquiring total ultrasonic wave countercurrent transmission time of a prediction area at a plurality of preset water temperatures;
and S330, adding the total ultrasonic downstream transmission time and the total ultrasonic upstream transmission time at the same preset water temperature, and taking the average value of the total ultrasonic downstream transmission time and the total ultrasonic upstream transmission time as the total ultrasonic transmission time at the preset water temperature.
It should be noted that the total transmission time of the ultrasonic downstream is the transmission time of the ultrasonic wave in the downstream direction of the water flow, and the total transmission time of the ultrasonic counter-current is the transmission time of the ultrasonic wave in the counter-current direction of the water flow. The total transmission time of the ultrasonic downstream and the total transmission time of the ultrasonic upstream and the ultrasonic downstream at different preset water temperatures are added to obtain the transmission time of the ultrasonic under the condition of the water flow upstream and the water flow downstream, so that the measurement precision is improved; and the average value of the total transmission time is taken as the total transmission time of the ultrasonic waves at different preset water temperatures so as to obtain the accurate time required by the transmission of the ultrasonic waves at different preset water temperatures, thereby improving the accuracy and data reliability of the total transmission time required by the ultrasonic waves at the ultrasonic transmission distance and further facilitating the acquisition of the accurate ultrasonic delay time and the ultrasonic transmission correction speed.
As shown in fig. 4, acquiring the total transmission time of the ultrasonic waves at any preset water temperature includes:
s331, acquiring the total ultrasonic downstream transmission time of a prediction area at the same preset water temperature for multiple times;
s332, acquiring the total ultrasonic wave countercurrent transmission time of the prediction area at the same preset water temperature for multiple times;
s333, adding the total ultrasonic downstream transmission time and the total ultrasonic upstream transmission time obtained each time, and taking the average value of the total ultrasonic downstream transmission time and the total ultrasonic upstream transmission time as the total ultrasonic transmission time to be determined;
and S334, adding the multiple groups of undetermined total ultrasonic transmission time and taking the average value of the multiple groups of undetermined total ultrasonic transmission time as the total ultrasonic transmission time at the preset water temperature.
It should be noted that, in order to further improve the accuracy of the total transmission time and the data reliability of the ultrasonic wave required at the ultrasonic transmission distance. The ultrasonic wave forward flow total transmission time and the ultrasonic wave reverse flow total transmission time at the same preset water temperature are obtained for multiple times, so that multiple groups of undetermined ultrasonic wave total transmission times are obtained, and the average value of the multiple groups of undetermined ultrasonic wave total transmission times is obtained to obtain more accurate ultrasonic wave total transmission times. Through the large amount of test data, the accuracy and the data reliability of the ultrasonic delay time and the ultrasonic transmission correction speed are further improved, and the accuracy and the reliability of the measured correction water temperature are further improved.
Wherein L is the ultrasonic transmission distance, C n The ultrasonic transmission speed t corresponding to the ultrasonic sound velocity in water and the temperature comparison table at the ith preset water temperature i The total transmission time of the ultrasonic waves acquired at the ith preset water temperature is n preset water temperatures, t 0 Is the ultrasonic delay time.
The average delay time of the ultrasonic circuit can be accurately obtained through the calculation, and the average delay time of the ultrasonic circuit is taken as the ultrasonic delay time. The average delay time of the multiple groups of ultrasonic circuits is obtained by measuring the total output time of the multiple groups of ultrasonic waves at different preset water temperatures, and more accurate and reliable ultrasonic delay time is obtained by calculating the average value of the average delay time of the multiple groups of ultrasonic circuits, so that the reliability and accuracy of the calculated data of the ultrasonic delay time are improved, the accuracy of the ultrasonic transmission correction speed calculated for multiple times at different preset water temperatures is improved, and errors are reduced.
Preferably, the calculation formula of the ultrasonic correction speed is C n =L/(t n -t 0 ) Wherein L is the ultrasonic transmission distance, t n For the total transmission time, t, of the ultrasonic waves acquired at the nth preset water temperature 0 For ultrasonic delay time, C n And correcting the speed of the corresponding ultrasonic transmission at the nth preset water temperature.
The ultrasonic transmission correction speeds at different preset water temperatures can be accurately obtained through the calculation, the multiple groups of ultrasonic transmission correction speeds at different preset water temperatures are obtained through measuring the total output time of multiple groups of ultrasonic waves at different preset water temperatures, the average ultrasonic transmission correction speed at the corresponding preset temperature is obtained through calculating the average value of the multiple groups of ultrasonic transmission correction speeds at the same preset water temperature, the average ultrasonic transmission correction speed is used as the ultrasonic transmission correction speed, the data accuracy and reliability are improved, and errors are reduced. A correction speed and temperature curve with high accuracy can be constructed through a plurality of ultrasonic transmission correction speeds and corresponding preset water temperatures.
Preferably, as shown in fig. 6, the correction speed and temperature curve is composed of a plurality of fitted correction speed and temperature straight lines, and the linear relationship between each correction speed and temperature straight line is composed of two adjacent preset water temperature points and corresponding ultrasonic transmission correction speed data.
The linear regression equation of each section of correction speed and temperature straight line is T = D m *C+E m Wherein D is m Is a slope of the linear regression equation of the m-th section, C is an ultrasonic transmission correction speed and belongs to an ultrasonic transmission correction speed range of the linear regression equation of the m-th section, E m And T is the intercept of the linear regression equation of the mth section, and the calculated corrected water temperature. When the ultrasonic water meter is put into practical use, the required ultrasonic transmission correction speed can be calculated according to the calculation formula of the ultrasonic correction speed, and calculation processing is carried out according to a multi-section linear regression equation in the correction speed and temperature curve. The ultrasonic transmission correction speed is determined to belong to the ultrasonic transmission correction speed range of the linear regression equation of the section, and the corresponding correction water temperature is calculated by using the linear regression equation of the section. The accuracy of the measured corrected water temperature is high, and the error is small, so that the user with high use requirement can use the water temperature correction device.
It should be noted that there may be different delay times of the ultrasonic circuit in different ultrasonic water meters. Therefore, when each ultrasonic water meter is put into use, the ultrasonic delay time of each ultrasonic water meter needs to be calculated and a correction speed and temperature curve needs to be constructed through the method, so that after the ultrasonic water meter is put into use, the ultrasonic transmission correction speed and the corrected water temperature can be quickly and accurately calculated.
As shown in fig. 5, the embodiment of the present invention further provides an ultrasonic water meter temperature measurement system, which includes an ultrasonic transduction module 1, a preset module 2, a time-to-digital conversion module 3, a processing module 4, and a data storage module 5, wherein the ultrasonic transduction module 1 is connected to the time-to-digital conversion module 3, and the ultrasonic transduction module 1, the preset module 2, the time-to-digital conversion module 3, and the data storage module 5 are all connected to the processing module 4;
the ultrasonic transducer modules 1 are used for being respectively placed at two ends of a prediction region and used for transmitting and receiving ultrasonic signals. The presetting module 2 is used for presetting the ultrasonic transmission distance between the two ultrasonic transduction modules 1 and different preset water temperatures of the prediction area. The set ultrasonic transmission distance is actually measured between the two ultrasonic transducers; the preset water temperature is set as the water temperature of the actual prediction area. The time-to-digital conversion module 3 is used for detecting the ultrasonic wave transmitting time and the ultrasonic wave receiving time in real time so as to acquire the total ultrasonic wave transmission time in real time.
When testing is carried out under different preset water temperatures, the ultrasonic transmission distance, the temperature values of different preset water temperatures and the data comparison table of the ultrasonic sound velocity and the temperature in water are preset through the preset module 2. The total transmission time of a plurality of groups of ultrasonic waves at different preset water temperatures is measured by the time-to-digital conversion module 3. And obtaining corresponding ultrasonic transmission speeds under different preset water temperatures through the processing module 4 according to the temperature values of the different preset water temperatures and the comparison table of the ultrasonic sound speed and the temperature in the water. The required ultrasonic wave delay time can be calculated according to the calculation formula of the ultrasonic wave delay time. The processing module 4 calculates the ultrasonic transmission correction speed according to the ultrasonic transmission distance, the total ultrasonic transmission time and the ultrasonic delay time; and constructing a correction speed and temperature curve according to the plurality of ultrasonic transmission correction speeds and the preset water temperatures corresponding to the ultrasonic transmission correction speeds. And a data storage module 5 is arranged and used for storing the required ultrasonic wave delay time and the correction speed and temperature curve.
When the ultrasonic water meter is put into use, the ultrasonic transmission correction speed can be calculated according to the ultrasonic transmission distance, the ultrasonic delay time and the measured total ultrasonic transmission time, and the ultrasonic transmission correction speed, the correction speed and the temperature curve are compared and analyzed to obtain the corresponding corrected water temperature. The accuracy of the measured corrected water temperature is high, the error is small, and the measured corrected water temperature can meet the use requirement of a user with high use requirement; and need not to install temperature sensor, overall structure is simple, effective reduce cost. Since there may be different delay times for the ultrasonic circuit in different ultrasonic water meters. Therefore, when each ultrasonic water meter is put into use, the ultrasonic delay time of each ultrasonic water meter needs to be calculated and a correction speed and temperature curve needs to be constructed through the method, so that after the ultrasonic water meter is put into use, the ultrasonic transmission correction speed and the corrected water temperature can be quickly and accurately calculated.
Wherein, time digital conversion module 3 can trigger two ultrasonic wave transducer module 1 in turn and produce ultrasonic pulse signal, and when two ultrasonic wave transducer modules received ultrasonic wave echo signal moreover, time digital conversion module 3 can be to ultrasonic wave echo signal automatic calculation arrival time to improve the accuracy of the total transmission time of the ultrasonic wave of real-time acquisition.
In addition, when the total transmission time of the ultrasonic wave is measured for multiple times and the average value of the total transmission time of the ultrasonic wave is calculated at any preset temperature, the processing module 4 reads the signal intensity value of the time-to-digital conversion module 3 and judges whether the measured signal is normal or not, and simultaneously judges whether the average time range has a wrong wave condition or not, if the signal intensity value is abnormal or the wrong wave condition exists, the measured data is not used as the basis of subsequent calculation. In order to make the measurement accurate, the average value of the total transmission time of the ultrasonic wave measured last 10-20 times is required to be used as the total transmission time of the ultrasonic wave.
It should be noted that the ultrasonic transmission distance between the two ultrasonic transducer modules 1 is fixed. The time-to-digital conversion module 3 is a TDC integrated chip, and the model of the TDC integrated chip is preferably TDC7201ZAXT, but is not limited thereto, and can be selected according to the actual situation. The processing module 4 is an MCU chip, and the model of the MCU chip is preferably stm32g431rbt, but is not limited thereto and can be selected according to actual requirements.
The invention also provides a computer device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the steps of the above method being implemented when the processor executes the instructions.
The invention also provides a storage medium storing computer instructions which, when executed by a processor, implement the steps of the above method.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the scope of the present invention, therefore, the present invention is not limited by the appended claims.
Claims (10)
1. A temperature measurement method of an ultrasonic water meter is characterized by comprising the following steps:
acquiring an ultrasonic transmission distance of a prediction region;
presetting preset water temperatures of a plurality of different temperatures:
acquiring the total ultrasonic transmission time of the prediction region at a plurality of preset water temperatures;
acquiring ultrasonic wave delay time of the prediction area under a plurality of preset water temperatures;
calculating the ultrasonic transmission correction speed according to the ultrasonic transmission distance, the total ultrasonic transmission time and the ultrasonic delay time;
and constructing a correction speed and temperature curve according to the ultrasonic transmission correction speed and the preset water temperature.
2. The method of claim 1, wherein the obtaining the ultrasonic delay time of the prediction area at a plurality of preset water temperatures comprises:
obtaining the corresponding ultrasonic transmission speed at the preset water temperature according to the comparison table of the ultrasonic sound velocity and the temperature in the water;
calculating the delay time according to the ultrasonic transmission distance, the ultrasonic transmission speed and the total ultrasonic transmission time;
and adding the delay times at the preset water temperatures and taking the average value of the delay times as the ultrasonic delay time.
3. The method for measuring the temperature of the ultrasonic water meter according to claim 1 or 2, wherein the step of acquiring the total transmission time of the ultrasonic waves of the predicted area at a plurality of preset water temperatures comprises the following steps:
acquiring total ultrasonic downstream transmission time of the prediction area at a plurality of preset water temperatures;
acquiring total ultrasonic wave countercurrent transmission time of the prediction area at a plurality of preset water temperatures;
and adding the total ultrasonic downstream transmission time and the total ultrasonic countercurrent transmission time at the same preset water temperature, and taking the average value of the total ultrasonic downstream transmission time and the total ultrasonic countercurrent transmission time as the total ultrasonic transmission time at the preset water temperature.
4. The method of measuring the temperature of an ultrasonic water meter as set forth in claim 2, wherein the formula for calculating the delay time of the ultrasonic wave is
Wherein L is the ultrasonic transmission distance, C n For the corresponding ultrasonic transmission speed at the ith preset water temperature, t i The total transmission time of the ultrasonic waves acquired at the ith preset water temperature is n preset water temperatures, and t is 0 Is the ultrasonic delay time.
5. The method for measuring the temperature of an ultrasonic water meter as claimed in claim 4, wherein the calculation formula of the ultrasonic correction speed is C n =L/(t n -t 0 ) Wherein L is the ultrasonic transmission distance, t n For the total transmission time of the ultrasonic waves acquired at the nth preset water temperature, t 0 For ultrasonic wave delay time, C n And correcting the speed of the ultrasonic transmission corresponding to the nth preset water temperature.
6. The method for measuring the temperature of an ultrasonic water meter according to claim 5, wherein the correction speed and temperature curve is composed of a plurality of sections of fitted correction speed and temperature lines, and the linear relationship between each section of the correction speed and temperature line is composed of two adjacent preset water temperature points and corresponding ultrasonic transmission correction speed data;
the linear regression equation of each section of the correction speed and temperature straight line is T = D m *C+E m Wherein, the D is m Is the slope of the linear regression equation of the mth stage, C is the ultrasonic transmission correction speed and belongs to the ultrasonic transmission correction speed range of the linear regression equation of the mth stage, E m And the intercept of the linear regression equation of the mth section is shown, and the T is the calculated corrected water temperature.
7. The method of claim 3, wherein the step of obtaining the total transmission time of the ultrasonic waves at any one of the predetermined water temperatures comprises:
acquiring the total ultrasonic downstream transmission time of the prediction area under the same preset water temperature for multiple times;
acquiring the total ultrasonic countercurrent transmission time of the prediction area at the same preset water temperature for multiple times;
adding the ultrasonic downstream total transmission time and the ultrasonic upstream total transmission time obtained each time, and taking the average value of the ultrasonic downstream total transmission time and the ultrasonic upstream total transmission time as the ultrasonic total transmission time to be determined;
and adding a plurality of groups of the total ultrasonic transmission time to be determined, and taking the average value of the total ultrasonic transmission time as the total ultrasonic transmission time at the preset water temperature.
8. An ultrasonic water meter temperature measurement system is characterized by comprising an ultrasonic transduction module, a preset module, a time-to-digital conversion module, a processing module and a data storage module, wherein the ultrasonic transduction module is connected with the time-to-digital conversion module, and the ultrasonic transduction module, the preset module, the time-to-digital conversion module and the data storage module are all connected with the processing module;
the ultrasonic energy conversion modules are respectively arranged at two ends of the prediction area and used for transmitting and receiving ultrasonic signals;
the presetting module is used for presetting the ultrasonic transmission distance between the two ultrasonic transduction modules and different preset water temperatures of the prediction area;
the time-to-digital conversion module is used for detecting the ultrasonic wave transmitting time and the ultrasonic wave receiving time at different preset water temperatures in real time so as to obtain the total ultrasonic wave transmission time at different preset water temperatures in real time;
the processing module is used for calculating ultrasonic wave delay time and calculating ultrasonic wave transmission correction speed according to the ultrasonic wave transmission distance, the total ultrasonic wave transmission time and the ultrasonic wave delay time; constructing a correction speed and temperature curve according to the ultrasonic transmission correction speed and the preset water temperature;
the data storage module is used for storing the ultrasonic wave delay time and the correction speed and temperature curve.
9. A computer device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-7 when executing the instructions.
10. A storage medium storing computer instructions, characterized in that the program is adapted to carry out the steps of the method according to any one of claims 1-7 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210908107.0A CN115452075A (en) | 2022-07-29 | 2022-07-29 | Ultrasonic water meter temperature measurement method and system, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210908107.0A CN115452075A (en) | 2022-07-29 | 2022-07-29 | Ultrasonic water meter temperature measurement method and system, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115452075A true CN115452075A (en) | 2022-12-09 |
Family
ID=84296583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210908107.0A Pending CN115452075A (en) | 2022-07-29 | 2022-07-29 | Ultrasonic water meter temperature measurement method and system, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115452075A (en) |
-
2022
- 2022-07-29 CN CN202210908107.0A patent/CN115452075A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9689726B2 (en) | Flow meter | |
CN108548578B (en) | Ultrasonic echo signal characteristic peak identification method based on self-adaptive threshold | |
EP1568972A2 (en) | Flow rate processor for use in a doppler ultrasonic flowmeter | |
CN109579950B (en) | Mistake proofing ripples detection device of gaseous ultrasonic flowmeter | |
CN101473196A (en) | Measuring apparatus and methods of using them | |
CN116878599B (en) | Flow metering method of ultrasonic water meter | |
CN106681126A (en) | Time-digital converter and error calibration device and method thereof | |
CN111157065A (en) | Acoustic time delay measuring method in ultrasonic signal transmission loop of gas ultrasonic flowmeter | |
CN115824331A (en) | Low-power consumption measuring method suitable for ultrasonic water meter | |
CN115452075A (en) | Ultrasonic water meter temperature measurement method and system, computer equipment and storage medium | |
CN114355360B (en) | Echo frequency estimation method of Doppler log | |
CN116046116A (en) | Ultrasonic water meter flow calibration method based on Lobe algorithm | |
CN117073823A (en) | Ultrasonic water meter sound velocity measurement method and system | |
US7299150B1 (en) | Ultrasonic flow meter | |
CN117664253A (en) | Compensation method for measuring precision of ultrasonic flowmeter and control device thereof | |
CN114485863A (en) | Flow error correction method, system, computer and medium for ultrasonic water meter | |
CN117782271B (en) | Wave jump phenomenon correction method, system, equipment and medium for gas ultrasonic flowmeter | |
JP2003279396A (en) | Ultrasonic flowmeter | |
CN112577558B (en) | Ultrasonic flow metering system and edge equipment based on cloud edge computing | |
CN107796492B (en) | Online calibration method for ultrasonic gas meter | |
CN114674384A (en) | Ultrasonic flowmeter error wave prevention detection method, device and equipment and flowmeter | |
CN111832175A (en) | Method and system for measuring sea surface wind speed of scatterometer under rainfall condition | |
JPH08271322A (en) | Ultrasonic liquid level measuring method | |
JPH03277987A (en) | Ultrasonic range finder | |
CN112595373B (en) | Ultrasonic water meter design method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |