Method and device for acquiring density conversion coefficient of flowmeter, medium and equipment

By constructing the relationship between the target finite element model and the elastic modulus function, and combining the density conversion coefficient calculation formula, the fluid density is quickly determined, which solves the problem of high cost of obtaining the density conversion coefficient of the flowmeter in the prior art, and achieves efficient and accurate acquisition of the density conversion coefficient.

CN120196839AActive Publication Date: 2025-06-24BEIJING SINCERITY AUTOMATIC EQUIPMENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510685550.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-06-24
Estimated Expiration
2045-05-27

AI Technical Summary

Technical Problem

The prior art is costly to obtain flowmeter density conversion coefficients, and requires frequent use of expensive experimental equipment for fluid density measurement.

Method used

By obtaining the actual geometric dimensions, material properties and reference elastic modulus of the target flowmeter, a target finite element model and the functional relationship between the elastic modulus and temperature are constructed, and the fluid density is quickly determined by combining the density conversion coefficient calculation formula, and the final density conversion coefficient is determined through error tests.

Benefits of technology

The cost of obtaining density conversion coefficients is reduced, the need to use expensive experimental equipment is avoided, and the accuracy and efficiency of flowmeter measurements are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120196839A_ABST
    Figure CN120196839A_ABST
Patent Text Reader

Abstract

The invention relates to a method, device, medium and equipment for obtaining the density conversion coefficient of a flow meter, and relates to the technical field of flow measurement, the method comprises the steps that the actual geometric dimension and the actual material attribute of a target flow meter and the reference elastic modulus of a target measuring pipe at the room temperature are obtained, and the target measuring pipe is a measuring pipe in the target flow meter; determining a target finite element model corresponding to the target flowmeter based on the actual geometric dimension and the actual material attribute; according to the reference elastic modulus, a first function relation corresponding to the target measuring tube is constructed, and the first function relation is the function relation between the elastic modulus of the target measuring tube and the temperature; according to the target finite element model, the first function relation and a preset density conversion coefficient calculation formula, target density conversion coefficients, corresponding to the target flow meter, of the target fluid at different target temperatures are determined. The method has the effect of reducing the cost of obtaining the density conversion coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of flow measurement, and particularly to a method, device, medium, and equipment for obtaining the density conversion coefficient of a flowmeter. Background Art

[0002] A flowmeter is an instrument that indicates the measured flow rate and / or the total amount of fluid within a selected time interval. Simply put, it is an instrument used to measure the fluid flow rate in a pipeline. The density conversion coefficient of a flowmeter is a conversion coefficient that converts the actual measured value to the corresponding value under the corresponding standard or required density conditions when measuring the flow rate of media with different densities, etc. In many fields such as industrial production, energy transportation, and scientific research, flow measurement is crucial. As a key device for measuring fluid flow rate, the measurement accuracy of a flowmeter is affected by various factors, among which the fluid density is a key variable that cannot be ignored. The density of the same fluid also changes under different working conditions (such as temperature changes). In actual production, in order to make the flowmeter reading accurately reflect the actual flow rate, it is often necessary to use the density conversion coefficient to correct the measured value to the accurate flow rate corresponding to the standard working condition or the actual working condition. Therefore, obtaining the density conversion coefficient is of great significance for the flowmeter to perform measurements.

[0003] Currently, the commonly used method for obtaining the density conversion coefficient is as follows: Measuring the fluid density under different working conditions through complex and expensive experimental equipment, and then calculating the corresponding density conversion coefficient by combining the measured fluid density and theoretical formulas. When actually measuring, when frequently switching under different working conditions, this method requires multiple measurements of the fluid density through experimental equipment, resulting in a relatively high cost for obtaining the density conversion coefficient. Summary of the Invention

[0004] In order to reduce the cost of obtaining the density conversion coefficient, this application provides a method, device, medium, and equipment for obtaining the density conversion coefficient of a flowmeter.

[0005] In the first aspect of this application, a method for obtaining the density conversion coefficient of a flowmeter is provided, specifically including: Obtaining the actual geometric dimensions, actual material properties of the target flowmeter, and the reference elastic modulus of the target measuring tube at room temperature, where the target measuring tube is the measuring tube in the target flowmeter; Determining the target finite element model corresponding to the target flowmeter based on the actual geometric dimensions and actual material properties; Constructing a first functional relationship corresponding to the target measuring tube according to the reference elastic modulus, where the first functional relationship is the functional relationship between the elastic modulus of the target measuring tube and temperature; According to the target finite element model, the first function relationship, and a preset density conversion coefficient calculation formula, determine the target density conversion coefficient corresponding to the target flowmeter for the target fluid at different target temperatures, where the target temperature is the temperature within the operating temperature range of the target flowmeter; Based on the target density conversion coefficient of the target fluid at a single target temperature, perform an error test on the target flowmeter to obtain the corresponding relative error value, and when the relative error value is lower than a preset error value threshold, determine the corresponding target density conversion coefficient as the final density conversion coefficient that passes the test.

[0006] By adopting the above technical solution, after obtaining the actual geometric dimensions, actual material properties, and reference elastic modulus, a target finite element model is constructed accordingly, which facilitates subsequent simulation of the performance and behavior of the target flowmeter under different working conditions; at the same time, the first function relationship corresponding to the target measuring tube is determined, which facilitates the subsequent rapid and accurate determination of the elastic modulus of the target measuring tube at different target temperatures. Further, combining the target finite element model, the first function relationship, and the density conversion coefficient calculation formula, the density of the target fluid at different target temperatures can be determined relatively quickly and the corresponding target density conversion coefficient can be determined accordingly. Finally, an error test is performed on the target flowmeter with a single target density conversion coefficient. If the relative error value is lower than the preset error value threshold, it indicates that the corresponding target density conversion coefficient meets the test requirements, and then it is determined as the final density conversion coefficient that can be directly used for subsequent flow measurement work, without the need to rely on expensive experimental equipment, thereby reducing the cost of obtaining the density conversion coefficient.

[0007] Optionally, the step of determining the target density conversion coefficient corresponding to the target flowmeter for the target fluid at different target temperatures according to the target finite element model, the first function relationship, and a preset density conversion coefficient calculation formula specifically includes: Obtain the standard density value of the target fluid at the reference temperature from a preset database, and based on the standard density value, determine the target density value of the target fluid at a single target temperature. The database includes the standard density values of multiple industrial fluids at different temperatures; According to the first function relationship, determine the target elastic modulus of the target measuring tube at a single target temperature; Input the target elastic modulus into the target finite element model to obtain the corresponding target empty tube resonance frequency and target full tube resonance frequency; Substitute the target empty tube resonance frequency, target full tube resonance frequency of the target measuring tube, and the target density value of the target fluid at the same target temperature into a preset density conversion coefficient calculation formula to obtain the corresponding target density conversion coefficient. The density conversion coefficient calculation formula is: ; In the formula, represents the target density conversion coefficient, represents the target density value, represents the target empty pipe resonance frequency, represents the target full pipe resonance frequency.

[0008] By adopting the above technical solution, after determining the target density value of the target fluid at a single target temperature, substituting the target density value into the first functional relationship to determine the target elastic modulus of the target measuring pipe at the corresponding target temperature, then inputting the target elastic modulus into the target finite element model for simulation analysis to determine the target empty pipe resonance frequency and the target full pipe resonance frequency corresponding to the target measuring pipe. Finally, substituting the target empty pipe resonance frequency, the target full pipe resonance frequency and the target density value at the same target temperature into the density conversion coefficient calculation formula, the density conversion coefficient of the target flowmeter at different temperatures can be determined relatively quickly.

[0009] Optionally, determining the target density value of the target fluid at a single target temperature based on the standard density value includes: Substituting the standard density value into a preset temperature change calculation formula to obtain the target density value of the target fluid at a single target temperature, and the temperature change calculation formula is: ; In the formula, represents the target density value at a single target temperature, represents the standard density value, represents the expansion coefficient of the target fluid, represents the target temperature of the target fluid, represents the reference temperature of the target fluid.

[0010] By adopting the above technical solution, substituting the standard density value of the target fluid at the reference temperature into the temperature change calculation formula and comprehensively considering the expansion coefficient of the target fluid itself, the target density value of the target fluid after changing from the reference temperature to the target temperature can be determined more accurately.

[0011] Optionally, the method further includes: Obtaining the historical temperature range when the same type of flowmeter of the target flowmeter has a target error, counting the first occurrence times of each historical temperature range, and selecting the first number of historical temperature ranges from each historical temperature range in descending order of the first occurrence times to be determined as the key temperature ranges, where the target error is a measurement error exceeding the maximum allowable error; Obtain historical fluids that have had a target error in measurement within a single said key temperature range, count the second occurrence times of each said historical fluid, and select, from each said historical fluid, a second quantity of historical fluids in descending order of the second occurrence times and determine them as the key fluids for the corresponding key temperature range; Determine the first weight of each said key temperature range and determine the second weights of the respective key fluids corresponding to each said key temperature range. The first weight is the ratio of the first occurrence times of each key temperature range to the sum of the first occurrence times of all key temperature ranges, and the second weight is the ratio of the second occurrence times of a single key fluid corresponding to a key temperature range to the sum of the second occurrence times of all key fluids corresponding to the key temperature range; Based on the first weight and the respective second weights, determine the error value threshold for the error test of the target flowmeter for the target fluid at a single target temperature.

[0012] By adopting the above technical solution, the larger the first occurrence times, the more likely it is for this type of flowmeter, i.e., the target flowmeter, to have a measurement error within the corresponding historical temperature range, and thus the key temperature range is determined; the larger the second occurrence times, the more likely the corresponding historical fluid is to have a large error during measurement, and thus the key fluid is determined. Finally, by combining the first weight and the corresponding second weights, analyze the likelihood of the target flowmeter having an error when performing an error test on the target fluid at different target temperatures, and thus reasonably determine the corresponding error value threshold.

[0013] Optionally, the determining the error value threshold for the error test of the target flowmeter for the target fluid at a single target temperature based on the first weight and the respective second weights specifically includes: Calculate the first product of the first weight of each said key temperature range and the respective second weights of the key fluids; Sum the first products corresponding to the same said key fluid to obtain the corresponding sum of the first products, and determine the correction coefficient of the corresponding key fluid based on the sum of the first products. The larger the sum of the first products, the smaller the corresponding correction coefficient; If the target temperature is within the said key temperature range, then determine the corresponding key temperature range as the important temperature range; If the key fluid corresponding to the important temperature range is the target fluid, then calculate the second product of the first weight of the important temperature range and the second weight of the corresponding target fluid, and determine the initial error value threshold of the target fluid at the corresponding target temperature based on the second product. The larger the second product, the smaller the corresponding initial error value threshold; Multiply the initial error value threshold by the correction coefficient corresponding to the target fluid to obtain the corresponding error value threshold.

[0014] By adopting the above technical solution, the larger the sum of the first products is, the more likely it is that the target flowmeter will have a large measurement error when measuring the corresponding key fluid, and the smaller the corresponding correction coefficient is. Calculate the second product of the first weight of this important temperature range and the second weight of the corresponding target fluid. The larger the second product is, the greater the possibility of a large error when measuring this target fluid at the target temperature within the important temperature range. When subsequently performing an error test on the target flowmeter with the corresponding target density conversion coefficient, the error value threshold needs to be lower, so as to make the measurement accuracy of the target flowmeter higher. Finally, multiply this initial error value threshold by the correction coefficient to obtain the error value threshold of the target fluid at the corresponding target temperature, so as to realize an accurate test of the subsequent target density conversion coefficient.

[0015] Optionally, the method further includes: Fitting the final density conversion coefficients of the target flowmeter and the corresponding target temperatures to obtain a corresponding second functional relationship, where the second functional relationship is the functional relationship between the final density conversion coefficient of the target flowmeter and the corresponding target temperature for the target fluid; When actually measuring the target fluid through the target flowmeter, determine the actual density conversion coefficient corresponding to the target flowmeter according to the second functional relationship corresponding to the actual target fluid and the corresponding actual temperature.

[0016] By adopting the above technical solution, when subsequently measuring the actual target fluid through the target flowmeter, according to the second functional relationship corresponding to the actual target fluid and the corresponding actual temperature, the actual density conversion coefficient corresponding to the target flowmeter can be quickly and accurately determined, so as to realize a relatively accurate measurement of the flow rate.

[0017] Optionally, the method further includes: Calculate the third product of the first weight of each of the key temperature ranges and the second weight of the corresponding key fluids, and sum the third products to obtain the sum of the second products of the corresponding key temperature ranges; If the sum of the second products is less than a preset product sum threshold, then determine the corresponding key temperature range as the reference temperature range. If the target temperature is within the reference temperature range, then determine the corresponding target temperature as the reference temperature; Fit the reference temperatures and the corresponding final density conversion coefficients to obtain a corresponding third functional relationship; Perform curve fitting between the second functional relationship and the third functional relationship corresponding to the target fluid to obtain a fitting rate. If the fitting rate exceeds a preset fitting rate threshold, then determine that the second functional relationship is verified without error.

[0018] By adopting the above technical solution, the larger the sum of the second products is, the higher the probability of a large error when the target flowmeter measures the flow rate in the corresponding key temperature range. If the sum of the second products is less than the product sum threshold, it indicates that the probability of a large error when the target flowmeter measures the flow rate in the corresponding key temperature range is relatively low. Furthermore, it is determined that when the target fluid is at the reference temperature, the accuracy of the final density conversion coefficient of the target flowmeter is relatively high. If the fitting rate exceeds the preset fitting rate threshold, it indicates that the curves corresponding to the second functional relationship and the third functional relationship are highly similar, and then it is verified that the second functional relationship is correct.

[0019] In the second aspect of the present application, a device for obtaining the density conversion coefficient of a flowmeter is provided, which specifically includes: An information acquisition module, configured to acquire the actual geometric dimensions, actual material properties of the target flowmeter, and the reference elastic modulus of the target measuring tube at room temperature, where the target measuring tube is the measuring tube in the target flowmeter; A model construction module, configured to determine the target finite element model corresponding to the target flowmeter based on the actual geometric dimensions and actual material properties; A function determination module, configured to construct a first functional relationship corresponding to the target measuring tube according to the reference elastic modulus, where the first functional relationship is a functional relationship between the elastic modulus of the target measuring tube and temperature; A coefficient determination module, configured to determine the target density conversion coefficient corresponding to the target flowmeter at different target temperatures according to the target finite element model, the first functional relationship, and a preset density conversion coefficient calculation formula, where the target temperature is the temperature within the working temperature range of the target flowmeter; A coefficient test module, configured to perform an error test on the target flowmeter based on the target density conversion coefficient of the target fluid at a single target temperature, obtain the corresponding relative error value, and when the relative error value is lower than the preset error value threshold, determine the corresponding target density conversion coefficient as the finally passed density conversion coefficient after the test.

[0020] By adopting the above technical solution, the information acquisition module acquires the actual geometric dimensions, actual material properties, and reference elastic modulus. Then, the model construction module determines the target finite element model corresponding to the target flowmeter based on the actual geometric dimensions and actual material properties. Next, the function determination module constructs the first functional relationship corresponding to the target measuring tube. Then, the coefficient determination module determines the target density conversion coefficient corresponding to the target flowmeter. Finally, the coefficient test module performs an error test on the target flowmeter to obtain the finally passed density conversion coefficient after the test.

[0021] In a third aspect of the present application, a computer-readable storage medium is provided. A computer program is stored in the computer-readable storage medium. When the computer program is loaded and executed by a processor, the method steps described in any one of the first aspects are executed.

[0022] In a fourth aspect of the present application, an electronic device is provided, specifically including: A processor, a memory, and a computer program stored in the memory and capable of running on the processor. The processor is used to load and execute the computer program stored in the memory, so that the electronic device executes the method described in any one of the first aspects.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: After obtaining the actual geometric dimensions, actual material properties, and reference elastic modulus, a target finite element model is constructed based on this, which is convenient for subsequent simulation and simulation of the performance and behavior of the target flowmeter under different working conditions; at the same time, the first functional relationship corresponding to the target measuring tube is determined, which is convenient for subsequent rapid and accurate determination of the elastic modulus of the target measuring tube at different target temperatures. Further, by combining the target finite element model, the first functional relationship, and the density conversion coefficient calculation formula, the density of the target fluid at different target temperatures is determined relatively quickly and the corresponding target density conversion coefficient is determined accordingly. Finally, the target flowmeter is tested for errors with a single target density conversion coefficient. If the relative error value is lower than the preset error value threshold, it means that the corresponding target density conversion coefficient meets the test requirements, and then it is determined as the final density conversion coefficient that can be directly used for subsequent flow measurement work, without the need to rely on expensive experimental equipment, thereby reducing the cost of obtaining the density conversion coefficient. Description of the Drawings

[0024] Figure 1 is a schematic flowchart of a method for obtaining the density conversion coefficient of a flowmeter provided by an embodiment of the present application; Figure 2 is a schematic flowchart of another method for obtaining the density conversion coefficient of a flowmeter provided by an embodiment of the present application; Figure 3 is a schematic structural diagram of a device for obtaining the density conversion coefficient of a flowmeter provided by an embodiment of the present application; Figure 4 is a schematic structural diagram of another device for obtaining the density conversion coefficient of a flowmeter provided by an embodiment of the present application.

[0025] Description of the reference numerals: 11. Information acquisition module; 12. Model construction module; 13. Function determination module; 14. Coefficient determination module; 15. Coefficient test module; 16. Threshold determination module; 17. Coefficient switching module; 18. Function verification module. Detailed Embodiment

[0026] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this specification. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of the embodiments.

[0027] In the description of the embodiments of this application, words such as "exemplarily", "for example" or "for illustration" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplarily", "for example" or "for illustration" in the embodiments of this application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplarily", "for example" or "for illustration" is intended to present the relevant concepts in a specific manner.

[0028] In the description of the embodiments of this application, the term "and / or" only describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and A and B exist simultaneously. In addition, unless otherwise specified, the meaning of the term "plural" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly indicating the technical features indicated. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. The terms "include", "comprise", "have" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0029] See Figure 1 , a schematic flowchart of a method for obtaining a density conversion coefficient of a flowmeter is disclosed in the embodiments of this application. It can be implemented depending on a computer program or run on a device for obtaining the density conversion coefficient of a flowmeter based on the von Neumann architecture. This computer program can be integrated into an application or run as an independent tool-type application, and specifically includes: S101: Obtain the actual geometric dimensions, actual material properties of the target flowmeter, and the reference elastic modulus of the target measuring tube at room temperature.

[0030] Specifically, the target flowmeter is a flowmeter in the product testing stage and requires determination of the density conversion coefficient. The target measuring tube is the measuring tube in the target flowmeter and is an important component of the target flowmeter. The measuring tube plays a crucial role in the flowmeter. It is not only the channel for fluid flow but also directly affects the performance and accuracy of the flowmeter. The actual geometric dimensions include, but are not limited to, parameters such as the length, diameter, and sound channel angle of the target measuring tube. The actual material properties refer to the physical and chemical characteristics of the various materials that make up the target flowmeter, such as density, Poisson's ratio, etc. In the design and analysis of the flowmeter, both the geometric dimensions and material properties are the basis for constructing the finite element model. Among them, the finite element model is a mathematical model constructed using the finite element analysis method and is used to simulate and analyze the performance and behavior of the flowmeter under various working conditions. Additionally, the reference elastic modulus is the ratio of stress to strain when the target measuring tube is subjected to an external force at room temperature, and it is a key indicator for evaluating the deformation performance and elastic performance of the target measuring tube. Room temperature is the internationally common standard room temperature of 20 degrees Celsius.

[0031] The execution subject of a method for obtaining the density conversion coefficient of a flowmeter disclosed in an embodiment of the present application is a server. The server is wirelessly connected to a terminal, and the terminal is a personal computer or a tablet computer. A client related to obtaining the density conversion coefficient is installed in the terminal, and the server is the background server of the client. Specifically, it is an independent physical server or can also be a server cluster composed of multiple physical servers. Further, a feasible way to obtain the actual geometric dimensions, actual material properties, and reference elastic modulus is as follows: Personnel send the previously collected actual geometric dimensions, actual material properties, and reference elastic modulus to the server through the client in the terminal.

[0032] S102: Determine the target finite element model corresponding to the target flowmeter based on the actual geometric dimensions and actual material properties.

[0033] Specifically, after obtaining the actual geometric dimensions and actual material properties, based on the actual geometric dimensions, a three-dimensional geometric model of the target flowmeter is created using a preset three-dimensional modeling tool. The three-dimensional modeling tool can be CAD software or SolidWorks software. Then, the three-dimensional geometric model and actual material properties are imported into a preset finite element analysis software for mesh generation. After the mesh generation is completed, according to the actual working conditions, the applied boundary conditions are set manually, and at the same time, the solver parameters such as the solution type or convergence criterion are configured. Finally, the finite element analysis software is started for simulation calculation to obtain the target finite element model corresponding to the target flowmeter. This is the prior art and will not be elaborated here. In the embodiments of the present application, the stress distribution and resonance frequency of the overall structure of the target flowmeter can be accurately analyzed through the target finite element model. It should be noted that the finite element analysis software can be ANSYS software, and in other embodiments, it can also be COMSOL Multiphysics software.

[0034] S103: Construct a first functional relationship corresponding to the target measurement tube according to the reference elastic modulus.

[0035] Specifically, the first functional relationship is the functional relationship between the elastic modulus of the target measurement tube and temperature. After the target finite element model is determined, according to the reference elastic modulus, the first functional relationship corresponding to the target measurement tube is determined. A feasible determination method is: substituting the reference elastic modulus into a preset elastic modulus calculation formula to obtain the first functional relationship, where the elastic modulus calculation formula is: ; In the formula, E represents the actual elastic modulus of the target measurement tube, E0 represents the reference elastic modulus of the target measurement tube, and T represents the temperature at which the target flowmeter operates. It should be noted that through this first functional relationship, the elastic modulus of the target measurement tube at different temperatures can be determined.

[0036] S104: Determine the target density conversion coefficient corresponding to the target flowmeter for the target fluid at different target temperatures according to the target finite element model, the first functional relationship, and a preset density conversion coefficient calculation formula.

[0037] Specifically, in the embodiments of the present application, the target fluid is one of the industrial fluids involved in the actual measurement scenario of the target flowmeter. The industrial fluids involved include, but are not limited to, water, oils, gasoline, etc. The target temperature is the temperature within the operating temperature range of the target flowmeter. Match the standard density value of the target fluid at the reference temperature from the preset database. Exemplarily, if the target fluid is water, then its reference temperature is 4 degrees Celsius, and the standard density value is the density value of water at 4 degrees Celsius. Among them, the database includes the standard density values of multiple industrial fluids at different temperatures. Further, according to this standard density value, determine the target density value of the target fluid at a single target temperature. A feasible determination method is: substitute the standard density value into the preset temperature change calculation formula to obtain the target density value of the target fluid at a single target temperature. The temperature change calculation formula is: ; In the formula, represents the target density value at a single target temperature, represents the standard density value, represents the expansion coefficient of the target fluid, represents the target temperature of the target fluid, represents the reference temperature of the target fluid. Exemplarily, if the target fluid is water and the single target temperature is a certain temperature in the range of 20 degrees Celsius to 100 degrees Celsius, taking the value of 26 degrees Celsius, is 4 degrees Celsius, is the volume expansion coefficient of water, taking the value of 0.00021 / °C. Finally, according to the temperature change calculation formula, the target density value of water at 26 degrees Celsius can be determined.

[0038] Further, according to the first function relationship, calculate the target elastic modulus of the target measuring tube at a single target temperature. At the same time, input the target elastic modulus at the single target temperature into the target finite element model to obtain the target empty tube resonance frequency and the target full tube resonance frequency of the target measuring tube at the corresponding target temperature. Among them, the target empty tube resonance frequency refers to the specific frequency at which the pipeline itself, as a structure, resonates under the action of an external excitation when there is no fluid medium passing through the target measuring tube. The target full tube resonance frequency refers to the specific frequency at which the entire pipeline and the internal fluid, as a coupled system, resonate under the action of an external excitation when the target measuring tube is filled with a fluid medium.

[0039] Finally, substitute the target empty tube resonance frequency, the target full tube resonance frequency of the target measuring tube, and the target density value of the target fluid at the same target temperature into the preset density conversion coefficient calculation formula to obtain the corresponding target density conversion coefficient. Among them, the density conversion coefficient calculation formula is: ; In the formula, Represents the target density conversion coefficient, Represents the target density value, Represents the target empty tube resonance frequency, Represents the target full tube resonance frequency.

[0040] S105: Based on the target density conversion coefficient of the target fluid at a single target temperature, perform an error test on the target flowmeter to obtain the corresponding relative error value, and when the relative error value is lower than the preset error value threshold, determine the corresponding target density conversion coefficient as the final density conversion coefficient that passes the test.

[0041] Specifically, perform an error test on the target flowmeter with a single target density conversion coefficient, that is, use the target flowmeter under a single target density conversion coefficient to measure the flow rate of the target fluid at the corresponding target temperature to obtain the measured value of the flow rate. Then, statistically calculate the total volume of the target fluid flowing within a preset time period, divide the total volume by the preset time period to obtain the true value of the flow rate, and then determine the ratio of the absolute value of the difference between the true value and the measured value to the true value as the relative error value. Further, if the relative error value is lower than the preset error value threshold, it indicates that the measurement accuracy of the target flowmeter is relatively high when measuring with the corresponding target density conversion coefficient at this target temperature. Then, determine the corresponding target density conversion coefficient as the final density conversion coefficient that passes the test. This is the prior art and will not be elaborated here.

[0042] See Figure 2 , the embodiment of the present application discloses a flowchart of another method for obtaining the density conversion coefficient of a flowmeter, which can be implemented depending on a computer program or run on a device for obtaining the density conversion coefficient of a flowmeter based on the von Neumann architecture. This computer program can be integrated in an application or run as an independent tool-like application, and specifically includes: S201: Obtain the actual geometric dimensions, actual material properties of the target flowmeter, and the reference elastic modulus of the target measuring tube at room temperature.

[0043] S202: Based on the actual geometric dimensions and actual material properties, determine the target finite element model corresponding to the target flowmeter.

[0044] S203: Construct the first functional relationship corresponding to the target measuring tube according to the reference elastic modulus.

[0045] S204: According to the target finite element model, the first functional relationship, and the preset density conversion coefficient calculation formula, determine the target density conversion coefficient corresponding to the target flowmeter for the target fluid at different target temperatures.

[0046] Specifically, refer to steps S101 - S104, which will not be elaborated here.

[0047] S205: Obtain the historical temperature ranges when target errors occurred in flow meters of the same type as the target flow meter, count the first occurrence times of each historical temperature range, and select the first number of historical temperature ranges from each historical temperature range in descending order of the first occurrence times to determine the key temperature ranges.

[0048] S206: Obtain the historical fluids in which target errors occurred in measurement within a single key temperature range, count the second occurrence times of each historical fluid, and select the second number of historical fluids from each historical fluid in descending order of the second occurrence times to determine the key fluids for the corresponding key temperature range.

[0049] Specifically, in the embodiment of the present application, retrieve the historical error statistics record, which includes the temperature ranges and the measured fluids when target errors occurred in flow meters of different types. Among them, the target error is the measurement error exceeding the maximum allowable error. It can be understood that when the flow meter measures the flow rate of industrial fluids, the absolute value of the difference between the measured value and the true flow rate exceeds the maximum allowable error, indicating that the measured flow error is relatively large. Based on this historical error statistics record, obtain the historical temperature ranges when target errors occurred in flow meters of the same type, count the first occurrence times of each historical temperature range. The larger the first occurrence time, the more likely the flow meter of this type as the target flow meter is to have a measurement error in the corresponding historical temperature range. Select the first number of historical temperature ranges from each historical temperature range in descending order of the first occurrence times to determine the key temperature ranges, that is, the temperature ranges where measurement errors are likely to occur. Further, based on the above historical error statistics record, obtain the historical fluids in which target errors occurred in measurement within a single key temperature range for flow meters of the same type, count the second occurrence times of each historical fluid. The larger the second occurrence time, the more likely the corresponding historical fluid is to have a relatively large error during measurement. Then, select the second number of historical fluids from each historical fluid in descending order of the second occurrence times to determine the key fluids for the corresponding key temperature range, that is, the industrial fluids that are likely to have a relatively large error when measuring the flow rate.

[0050] S207: Determine the first weight for each key temperature range and determine the second weights for the respective key fluids corresponding to each key temperature range.

[0051] S208: Determine the error value threshold for the error test of the target flow meter for the target fluid at a single target temperature according to the first weight and the corresponding second weights.

[0052] Specifically, determine the first weight for each key temperature range. The first weight is the ratio of the first occurrence times of each key temperature range to the sum of the first occurrence times of all key temperature ranges. Then determine the second weight for each key fluid corresponding to each key temperature range. The second weight is the ratio of the second occurrence times of a single key fluid corresponding to the key temperature range to the sum of the second occurrence times of all corresponding key fluids.

[0053] Further, calculate the first product of the first weight of each key temperature range and the second weights of the corresponding key fluids. The larger the first product, the more likely it is to have a large measurement error when the temperature of the corresponding key fluid is measured by the target flowmeter within this key temperature range. Then sum the first products corresponding to the same key fluid to obtain the sum of the corresponding first products. The larger the sum of the first products, the more likely it is to have a large measurement error when the target flowmeter measures the corresponding key fluid. Further, determine the correction coefficient for the corresponding key fluid according to the sum of the first products. The larger the sum of the first products, the smaller the corresponding correction coefficient. A feasible way to determine the correction coefficient: match the correction coefficient corresponding to the sum of the first products from a preset coefficient matching table. The coefficient matching table includes, but is not limited to, different sums of the first products and the corresponding correction coefficients, all of which are set based on human experience. Further, if the target temperature is within the key temperature range, then determine the corresponding key temperature range as the important temperature range. Then, when the key fluid corresponding to the important temperature range is the target fluid, calculate the second product of the first weight of this important temperature range and the second weight of the corresponding target fluid. The larger the second product, the greater the possibility of a large error when measuring this target fluid at the target temperature within the important temperature range. When performing an error test on the target flowmeter with the corresponding target density conversion coefficient later, the error value threshold needs to be lower, so as to make the measurement accuracy of the target flowmeter higher. It should be noted that the correction coefficient is a positive number less than 1.

[0054] Further, determine the initial error value threshold of the target fluid at the corresponding target temperature, that is, the target temperature within the important temperature range, according to the second product. The larger the second product, the smaller the corresponding initial error value threshold. Finally, multiply this initial error value threshold by the correction coefficient to obtain the error value threshold of the target fluid at the corresponding target temperature.

[0055] S209: Based on the target density conversion coefficient of the target fluid at a single target temperature, perform an error test on the target flowmeter to obtain the corresponding relative error value, and when the relative error value is lower than the preset error value threshold, determine the corresponding target density conversion coefficient as the final density conversion coefficient that passes the test.

[0056] Specifically, refer to step S105, which will not be elaborated here.

[0057] In other embodiments, after obtaining the final density conversion coefficients of the target flowmeter at various target temperatures, that is, relatively accurate density conversion coefficients, through a preset MATLAB tool, the various final density conversion coefficients and the corresponding target temperatures are fitted to obtain a corresponding second functional relationship. The second functional relationship is the functional relationship between the final density conversion coefficient of the target flowmeter and the corresponding target temperature for the target fluid. Further, subsequently, when measuring the actual target fluid through the target flowmeter, according to the second functional relationship corresponding to the actual target fluid and the corresponding actual temperature, the actual density conversion coefficient corresponding to the target flowmeter can be quickly and accurately determined, so as to achieve relatively accurate flow measurement.

[0058] In another embodiment, calculate the third product of the first weight of each key temperature interval and the second weight of the corresponding key fluids, sum up the various third products to obtain the corresponding sum of second products of the key temperature interval. The larger the sum of second products, the higher the possibility of a large error when the target flowmeter measures the flow in the corresponding key temperature interval. Then compare the sum of second products with a preset product sum threshold. If the sum of second products is less than the product sum threshold, it means that the possibility of a large error when the target flowmeter measures the flow in the corresponding key temperature interval is relatively low. Then determine the corresponding key temperature interval as the reference temperature interval. If the target temperature is within the reference temperature interval, then determine the corresponding target temperature as the reference temperature. Furthermore, it is determined that when the target fluid is within the reference temperature interval, the accuracy of the final density conversion coefficient of the target flowmeter is relatively high, realizing the verification of the final density conversion coefficient. In addition, through a preset MATLAB tool, the various reference temperatures and the corresponding final density conversion coefficients are fitted to obtain a third functional relationship. Finally, curve fitting is performed between the second functional relationship and the third functional relationship to obtain a fitting rate. If the fitting rate exceeds a preset fitting rate threshold, it means that the curves corresponding to the second functional relationship and the third functional relationship have a relatively high similarity. Then verify that the second functional relationship is correct; otherwise, if the fitting rate does not exceed the preset fitting rate threshold, it means that the curves corresponding to the second functional relationship and the third functional relationship have a relatively low similarity. Then, according to the third functional relationship, determine the actual density conversion coefficient of the target flowmeter.

[0059] In one embodiment, determine the key temperature interval where the target fluid exists in the corresponding key fluids as the final temperature interval, calculate the product of the first weight of each final temperature interval and the second weight of the corresponding target fluid, and determine the number of target temperatures to be selected from the corresponding final temperature interval according to the size of the product. The larger the product, the greater the possibility of measurement error, and then the more target temperatures are selected.

[0060] The implementation principle of a method for obtaining the density conversion coefficient of a flowmeter in an embodiment of the present application is as follows: After obtaining the actual geometric dimensions, actual material properties, and reference elastic modulus, a target finite element model is constructed based on them to facilitate subsequent simulation of the performance and behavior of the target flowmeter under different working conditions. At the same time, a first functional relationship corresponding to the target measuring tube is determined to facilitate subsequent rapid and accurate determination of the elastic modulus of the target measuring tube at different target temperatures. Further, by combining the target finite element model, the first functional relationship, and the density conversion coefficient calculation formula, the density of the target fluid at different target temperatures is determined relatively quickly, and the corresponding target density conversion coefficient is determined accordingly. Finally, the target flowmeter is tested for error using a single target density conversion coefficient. If the relative error value is lower than the preset error value threshold, it indicates that the corresponding target density conversion coefficient meets the test requirements, and then it is determined as the final density conversion coefficient that can be directly used for subsequent flow measurement work, without the need to rely on expensive experimental equipment, thereby reducing the cost of obtaining the density conversion coefficient.

[0061] The following is an embodiment of the device of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the device embodiment of the present application, please refer to the method embodiment of the present application.

[0062] Please refer to Figure 3 , which is a schematic structural diagram of a device for obtaining the density conversion coefficient of a flowmeter provided in an embodiment of the present application. The device applied to obtain the density conversion coefficient of the flowmeter can be implemented as all or part of the device through software, hardware, or a combination of both. The device includes an information acquisition module 11, a model construction module 12, a function determination module 13, a coefficient determination module 14, and a coefficient test module 15.

[0063] The information acquisition module 11 is used to acquire the actual geometric dimensions, actual material properties of the target flowmeter, and the reference elastic modulus of the target measuring tube at room temperature, where the target measuring tube is the measuring tube in the target flowmeter; The model construction module 12 is used to determine the target finite element model corresponding to the target flowmeter based on the actual geometric dimensions and actual material properties; The function determination module 13 is used to construct a first functional relationship corresponding to the target measuring tube according to the reference elastic modulus, and the first functional relationship is a functional relationship between the elastic modulus of the target measuring tube and temperature; The coefficient determination module 14 is used to determine the target density conversion coefficient corresponding to the target flowmeter for the target fluid at different target temperatures according to the target finite element model, the first functional relationship, and the preset density conversion coefficient calculation formula, where the target temperature is the temperature within the working temperature range of the target flowmeter; The coefficient test module 15 is used to perform an error test on the target flowmeter based on the target density conversion coefficient of the target fluid at a single target temperature, obtain the corresponding relative error value, and when the relative error value is lower than the preset error value threshold, determine the corresponding target density conversion coefficient as the final density conversion coefficient that passes the test.

[0064] Optionally, the coefficient determination module 14 is specifically configured to: Obtain the standard density value of the target fluid at the reference temperature from the preset database, and based on the standard density value, determine the target density value of the target fluid at a single target temperature. The database includes the standard density values of multiple industrial fluids at different temperatures; Determine the target elastic modulus of the target measuring tube at a single target temperature according to the first functional relationship; Input the target elastic modulus into the target finite element model to obtain the corresponding target empty tube resonance frequency and target full tube resonance frequency; Substitute the target empty tube resonance frequency, target full tube resonance frequency of the target measuring tube, and the target density value of the target fluid at the same target temperature into the preset density conversion coefficient calculation formula to obtain the corresponding target density conversion coefficient. The density conversion coefficient calculation formula is: ; In the formula, represents the target density conversion coefficient, represents the target density value, represents the target empty tube resonance frequency, represents the target full tube resonance frequency.

[0065] Optionally, the coefficient determination module 14 is specifically configured to: Substitute the standard density value into the preset temperature change calculation formula to obtain the target density value of the target fluid at a single target temperature. The temperature change calculation formula is: ; In the formula, represents the target density value at a single target temperature, represents the standard density value, represents the expansion coefficient of the target fluid, represents the target temperature of the target fluid, represents the reference temperature of the target fluid.

[0066] Optionally, as Figure 4 shown, the device further includes a threshold determination module 16, which is specifically configured to: Obtain the historical temperature range in which the same type of flowmeter as the target flowmeter had a target error, count the first occurrence times of each historical temperature range, and select the first number of historical temperature ranges from each historical temperature range in descending order of the first occurrence times to determine the key temperature ranges. The target error is the measurement error exceeding the maximum allowable error; Obtain the historical fluids in a single key temperature range where the measurement had a target error, count the second occurrence times of each historical fluid, and select the second number of historical fluids from each historical fluid in descending order of the second occurrence times to determine the key fluids corresponding to the corresponding key temperature range; Determine the first weight of each key temperature range and the second weight of each key fluid corresponding to each key temperature range. The first weight is the ratio of the first occurrence times of each key temperature range to the sum of the first occurrence times of all key temperature ranges, and the second weight is the ratio of the second occurrence times of a single key fluid corresponding to the key temperature range to the sum of the second occurrence times of all key fluids corresponding to the key temperature range; Determine the error value threshold for the error test of the target flowmeter for the target fluid at a single target temperature according to the first weight and the corresponding second weights.

[0067] Optionally, the threshold determination module 16 is specifically configured to: Calculate the first product of the first weight of each key temperature range and the corresponding second weights of each key fluid; Sum the first products corresponding to the same key fluid to obtain the corresponding sum of the first products, and determine the correction coefficient of the corresponding key fluid according to the sum of the first products. The larger the sum of the first products, the smaller the corresponding correction coefficient; If the target temperature is within the key temperature range, then determine the corresponding key temperature range as the important temperature range; If the key fluid corresponding to the important temperature range is the target fluid, then calculate the second product of the first weight of the important temperature range and the second weight of the corresponding target fluid, and determine the initial error value threshold of the target fluid at the corresponding target temperature according to the second product. The larger the second product, the smaller the corresponding initial error value threshold; Multiply the initial error value threshold by the correction coefficient corresponding to the target fluid to obtain the corresponding error value threshold.

[0068] Optionally, the device further includes a coefficient switching module 17, specifically configured to: Perform fitting on each final density conversion coefficient of the target flowmeter and the corresponding target temperature to obtain the corresponding second functional relationship. The second functional relationship is the functional relationship between the final density conversion coefficient of the target flowmeter and the corresponding target temperature for the target fluid; When measuring the actual target fluid through the target flowmeter, the actual density conversion coefficient corresponding to the target flowmeter is determined according to the second functional relationship corresponding to the actual target fluid and the corresponding actual temperature.

[0069] Optionally, the device further includes a function verification module 18, which is specifically used for: Calculating the third product of the first weight of each key temperature range and the second weight of each corresponding key fluid, and summing up the third products to obtain the sum of the second products corresponding to the key temperature range; If the sum of the second products is less than the preset product sum threshold, the corresponding key temperature range is determined as the reference temperature range. If the target temperature is within the reference temperature range, the corresponding target temperature is determined as the reference temperature; Fitting the reference temperatures and the corresponding final density conversion coefficients to obtain the corresponding third functional relationship; Performing curve fitting between the second functional relationship corresponding to the target fluid and the third functional relationship to obtain a fitting rate. If the fitting rate exceeds the preset fitting rate threshold, it is determined that the second functional relationship is verified without error.

[0070] It should be noted that when the device for obtaining the density conversion coefficient of the flowmeter provided in the above embodiment executes the method for obtaining the density conversion coefficient of the flowmeter, only the above division of each functional module is used for illustration. In practical applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for obtaining the density conversion coefficient of the flowmeter and the method embodiment for obtaining the density conversion coefficient of the flowmeter provided in the above embodiment belong to the same concept. The implementation process is shown in detail in the method embodiment and will not be repeated here.

[0071] The embodiment of the present application also discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method for obtaining the density conversion coefficient of the flowmeter in the above embodiment is adopted.

[0072] Among them, the computer program can be stored in a computer-readable medium. The computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some middleware form, etc. The computer-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the computer-readable medium includes but is not limited to the above components.

[0073] Among them, through this computer-readable storage medium, a method for obtaining the density conversion coefficient of a flowmeter in the above embodiments is stored in the computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the above method.

[0074] An embodiment of the present application also discloses an electronic device. When a computer program stored in a computer-readable storage medium is loaded and executed by a processor, the above method for obtaining the density conversion coefficient of a flowmeter is adopted.

[0075] Among them, the electronic device can be a desktop computer, a laptop computer, or a cloud server, etc. And the electronic device includes, but is not limited to, a processor and a memory. For example, the electronic device may further include input / output devices, network access devices, and a bus, etc.

[0076] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, 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. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc. The present application does not limit this.

[0077] Among them, the memory can be an internal storage unit of the electronic device. For example, the hard disk or memory of the electronic device, or it can also be an external storage device of the electronic device. For example, a plug-in hard disk, a smart media card (SMC), a secure digital card (SD), or a flash card (FC), etc. equipped on the electronic device. And the memory can also be a combination of the internal storage unit and the external storage device of the electronic device. The memory is used to store computer programs and other programs and data required by the electronic device. The memory can also be used to temporarily store data that has been output or will be output. The present application does not limit this.

[0078] Among them, through this electronic device, a method for obtaining the density conversion coefficient of a flowmeter in the above embodiments is stored in the memory of the electronic device, and is loaded and executed on the processor of the electronic device for convenient use.

[0079] The above are only exemplary embodiments of the present disclosure and should not be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure still fall within the scope covered by the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include the common general knowledge or conventional technical means in the technical field not recorded in the present disclosure. The description and the embodiments are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for obtaining the density conversion coefficient of a flowmeter, characterized in that, The method includes: Obtaining the actual geometric dimensions, actual material properties of the target flowmeter, and the reference elastic modulus of the target measuring tube at room temperature, where the target measuring tube is the measuring tube in the target flowmeter; Determining the target finite element model corresponding to the target flowmeter based on the actual geometric dimensions and actual material properties; Constructing a first functional relationship corresponding to the target measuring tube according to the reference elastic modulus, where the first functional relationship is the functional relationship between the elastic modulus and temperature of the target measuring tube; Determining the target density conversion coefficient corresponding to the target flowmeter for the target fluid at different target temperatures according to the target finite element model, the first functional relationship, and a preset density conversion coefficient calculation formula, where the target temperature is the temperature within the operating temperature range of the target flowmeter; Based on the target density conversion coefficient of the target fluid at a single target temperature, performing an error test on the target flowmeter to obtain the corresponding relative error value, and when the relative error value is lower than a preset error value threshold, determining the corresponding target density conversion coefficient as the final density conversion coefficient that passes the test.

2. The method for obtaining the density conversion coefficient of the flowmeter according to claim 1, characterized in that, The step of determining the target density conversion coefficient corresponding to the target flowmeter for the target fluid at different target temperatures according to the target finite element model, the first functional relationship, and a preset density conversion coefficient calculation formula specifically includes: Obtaining the standard density value of the target fluid at the reference temperature from a preset database, and determining the target density value of the target fluid at a single target temperature based on the standard density value. The database includes the standard density values of multiple industrial fluids at different temperatures; Determining the target elastic modulus of the target measuring tube at a single target temperature according to the first functional relationship; Inputting the target elastic modulus into the target finite element model to obtain the corresponding target empty tube resonance frequency and target full tube resonance frequency; Substituting the target empty tube resonance frequency, target full tube resonance frequency of the target measuring tube, and the target density value of the target fluid at the same target temperature into a preset density conversion coefficient calculation formula to obtain the corresponding target density conversion coefficient. The density conversion coefficient calculation formula is: ; In the formula, represents the target density conversion coefficient, represents the target density value, represents the target empty pipe resonance frequency, represents the target full pipe resonance frequency.

3. The method for obtaining the density conversion coefficient of the flowmeter according to claim 2, characterized in that, The step of determining the target density value of the target fluid at a single target temperature based on the standard density value includes: Substituting the standard density value into a preset temperature change calculation formula to obtain the target density value of the target fluid at a single target temperature. The temperature change calculation formula is: ; In the formula, represents the target density value at a single target temperature, represents the standard density value, represents the expansion coefficient of the target fluid, represents the target temperature of the target fluid, represents the reference temperature of the target fluid.

4. The method for obtaining the density conversion coefficient of a flowmeter according to claim 1, characterized in that, The method further includes: Obtaining the historical temperature range when a target error occurs in a flowmeter of the same type as the target flowmeter, counting the first occurrence times of each historical temperature range, and selecting the first number of historical temperature ranges from each historical temperature range in descending order of the first occurrence times to be determined as key temperature ranges, where the target error is a measurement error exceeding the maximum allowable error. Obtain the historical fluids with target errors measured within a single said key temperature range, count the second occurrence times of each said historical fluid, and select the second quantity of historical fluids from each said historical fluid in descending order of the second occurrence times to determine the key fluids for the corresponding key temperature range; Determine the first weight of each said key temperature range, and determine the second weights of the respective key fluids corresponding to each said key temperature range. The first weight is the ratio of the first occurrence times of each key temperature range to the sum of the first occurrence times of all key temperature ranges, and the second weight is the ratio of the second occurrence times of a single key fluid corresponding to a key temperature range to the sum of the second occurrence times of all key fluids corresponding to the key temperature range; Determine the error value threshold for the error test of the target flowmeter for the target fluid at a single target temperature according to the first weight and the respective second weights corresponding thereto.

5. The method for obtaining the density conversion coefficient of the flowmeter according to claim 4, characterized in that, The determining the error value threshold for the error test of the target flowmeter for the target fluid at a single target temperature according to the first weight and the respective second weights corresponding thereto specifically includes: Calculate the first product of the first weight of each said key temperature range and the respective second weights of the key fluids corresponding thereto; Sum the first products corresponding to the same said key fluid to obtain the corresponding sum of the first products, and determine the correction coefficient of the corresponding key fluid according to the sum of the first products. The larger the sum of the first products, the smaller the corresponding correction coefficient; If the target temperature is within the said key temperature range, then determine the corresponding key temperature range as the important temperature range; If the key fluid corresponding to the important temperature range is the target fluid, then calculate the second product of the first weight of the important temperature range and the second weight of the corresponding target fluid, and determine the initial error value threshold of the target fluid at the corresponding target temperature according to the second product. The larger the second product, the smaller the corresponding initial error value threshold; Multiply the initial error value threshold by the correction coefficient corresponding to the target fluid to obtain the corresponding error value threshold.

6. The method for obtaining the density conversion coefficient of the flowmeter according to claim 4, characterized in that, The method further includes: Fit the respective final density conversion coefficients of the target flowmeter and the corresponding target temperatures to obtain the corresponding second functional relationship. The second functional relationship is the functional relationship between the final density conversion coefficient of the target flowmeter and the corresponding target temperature for the target fluid; When measuring the actual target fluid through the target flowmeter, determine the actual density conversion coefficient corresponding to the target flowmeter according to the second functional relationship corresponding to the actual target fluid and the corresponding actual temperature.

7. The method for obtaining the density conversion coefficient of the flowmeter according to claim 6, characterized in that, The method further includes: Calculate the third product of the first weight of each said key temperature range and the respective second weights of the key fluids corresponding thereto, and sum the respective third products to obtain the corresponding sum of the second products of the key temperature range; If the sum of the second products is less than a preset product sum threshold, the corresponding key temperature range is determined as the reference temperature range. If the target temperature is within the reference temperature range, the corresponding target temperature is determined as the reference temperature; Fit each of the reference temperatures and the corresponding final density conversion coefficients to obtain the corresponding third functional relationship; Perform curve fitting between the second functional relationship and the third functional relationship corresponding to the target fluid to obtain a fitting rate. If the fitting rate exceeds a preset fitting rate threshold, it is determined that the second functional relationship is verified without error.

8. A device for obtaining the density conversion coefficient of a flowmeter, characterized in that, Including: An information acquisition module (11) for acquiring the actual geometric dimensions, actual material properties of the target flowmeter, and the reference elastic modulus of the target measuring tube at room temperature, where the target measuring tube is the measuring tube in the target flowmeter; A model construction module (12) for determining the target finite element model corresponding to the target flowmeter based on the actual geometric dimensions and actual material properties; A function determination module (13) for constructing the first functional relationship corresponding to the target measuring tube according to the reference elastic modulus, where the first functional relationship is the functional relationship between the elastic modulus of the target measuring tube and temperature; A coefficient determination module (14) for determining the target density conversion coefficient corresponding to the target flowmeter at different target temperatures according to the target finite element model, the first functional relationship, and a preset density conversion coefficient calculation formula, where the target temperature is the temperature within the working temperature range of the target flowmeter; A coefficient testing module (15) for performing an error test on the target flowmeter based on the target density conversion coefficient of the target fluid at a single target temperature to obtain the corresponding relative error value, and when the relative error value is lower than a preset error value threshold, determining the corresponding target density conversion coefficient as the finally tested and passed density conversion coefficient.

9. A computer-readable storage medium storing a computer program therein, characterized in that, When the computer program is loaded and executed by the processor, the method according to any one of claims 1-7 is adopted.

10. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that, When the processor loads and executes the computer program, the method according to any one of claims 1-7 is adopted.

Citation Information

Patent Citations

  • Method, device and equipment for acquiring dynamic constitutive relationship of material and storage medium

    CN116030923A

  • Venturi tube abrasion automatic compensation early warning method

    CN119227464A

  • A mass flow meter measuring tube and a method for increasing the fundamental frequency difference of the measuring tube

    CN119756508A

  • Using a stiffness measurement to compensate a fluid property measurement

    US20230341248A1