Self-power-generation liquid flow meter device and method for achieving self-power-generation liquid flow metering

By using fan blades and annular pulley structures embedded in the inner wall of the valve body in the turbine flowmeter, power is supplied by magnetic induced current and polynomial fitting compensation, the problem of the impact of self-generating power and structure of the turbine flowmeter on fluid is solved, achieving high accuracy Flowmeter measurement with a wide range of degrees and wide range.

CN118913382APending Publication Date: 2024-11-08SHANGHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411190403.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing turbine flowmeters lack self-generating function, and the complex internal structure has a great impact on the fluid flow rate and outlet pressure, affecting the measurement effect.

Method used

A self-generated liquid flowmeter device is designed, using fan blades and annular pulley structures embedded in the inner wall of the valve body, and a strong magnet and magnetic induction coil are used to generate induction current for power supply, and the nonlinear relationship is compensated through a polynomial fitting algorithm to reduce the fluid Influence.

Benefits of technology

It realizes the self-generating function without external power supply, reduces the impact on the fluid flow rate and outlet pressure, and improves the measurement accuracy and scope of application of the flowmeter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118913382A_ABST
    Figure CN118913382A_ABST
Patent Text Reader

Abstract

The invention relates to a self-generating liquid flowmeter device which comprises a valve body, a groove, an annular pulley, bearings, fan blades, a coil module, a magnetic induction coil, a connecting column, bearing balls and a strong magnet, the groove is formed in the valve body, the annular pulley is embedded in the groove, and the six bearings are arranged on one side of the annular pulley at equal intervals. The fan blades are correspondingly installed on the outer sides of the bearings, bearing balls are installed between the bearings and the grooves, strong magnets are buried in the middles of the bearings on the annular pulleys, coil modules are installed on the outer sides of the positions of the strong magnets on the valve body, and magnetic induction coils are wound around the coil modules. The invention further relates to a method for achieving self-power-generation liquid flow metering treatment. By the adoption of the self-power-generation liquid flowmeter device and the method for achieving self-power-generation liquid flow metering treatment, when high-pressure fluid passes through, the impact effect on the blades can be greatly reduced, and therefore the influence effect of the internal structure of a turbine flowmeter on the fluid flow speed and the outlet pressure is reduced, and the flow metering efficiency is improved. And the influence of the flowmeter on the effect of the tested equipment is avoided to the greatest extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of flow meter equipment, in particular to the field of liquid turbine flow meters, and specifically refers to a self-generating liquid flow meter device and a method for realizing self-generating liquid flow metering and processing. Background Art

[0002] Liquid turbine flowmeter is a kind of measuring instrument for precise flow measurement. Its working principle is: the power of flowing fluid drives the turbine blades to rotate. There is a certain proportional relationship between the rotation speed and the volume flow rate passing through. The fluid volume indication through the turbine flowmeter is based on the number of revolutions of the blades. Turbine flowmeter is widely used in the fields of petroleum, chemical industry, electric power, gas pipeline network, urban gas, etc., and is widely used in trade settlement due to its high measurement accuracy, good repeatability and stability, wide measuring range, rapid response to flow changes, strong anti-interference ability, and easy signal transmission.

[0003] The prior art has the following problems:

[0004] 1. The turbine flowmeters currently on the market are not equipped with self-generating devices. When performing some flexible measurements, the overall power supply of the flowmeter needs to be considered. If the external power supply is far away, it will cause great inconvenience to the measurement work. Batteries need to be replaced regularly, and personnel maintenance issues must also be considered during operation.

[0005] 2. The internal structure of the traditional turbine flowmeter is relatively complex, which has a certain blocking effect on the passing fluid. If it is applied to devices such as water guns, it will also have a great impact on the water outlet speed and outlet pressure, thereby affecting the actual effect of the measured device. Summary of the invention

[0006] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and to provide a self-generating liquid flow meter device which is convenient, practical and has a wide range of applications and a method for realizing self-generating liquid flow metering processing.

[0007] In order to achieve the above-mentioned purpose, the self-generating liquid flow meter device of the present invention and the method for realizing the self-generating liquid flow metering process are as follows:

[0008] The self-generating liquid flow meter device and the method for realizing self-generating liquid flow metering and processing are mainly characterized in that the device includes a valve body, a groove, an annular pulley, a bearing, a fan blade, a coil module, a magnetic induction coil, a connecting column, a bearing ball and a strong magnet; a groove is installed inside the valve body, an annular pulley is embedded inside the groove, six equidistant bearings are installed on one side of the annular pulley, a fan blade is installed on the outer side of each bearing, a bearing ball is installed between the bearing and the groove, a strong magnet is buried in the middle of the bearing on the annular pulley, a coil module is installed on the outer side of the valve body at the position of the strong magnet, and a magnetic induction coil is wound around it; a connecting column is installed on the top of the valve body.

[0009] Preferably, the fan blades are connected to an annular pulley, which is supported by six equidistant bearings and magnetic balls and embedded in the inner side of the valve body.

[0010] Preferably, a processor module is installed on the top of the connecting column, and a display screen is installed in front of the processor module; the processor module includes a coil current frequency detection unit and a flow calculation unit, the coil current frequency detection unit is connected to the flow meter, and is used to detect the frequency of the rotor by calculating the number of zero crossing points; the flow calculation unit is connected to the coil current frequency detection unit, and is used to receive the rotor frequency signal transmitted by the coil current frequency detection unit and calculate and process it; the display screen is connected to the processor module, and is used to display the flow result calculated by the flow calculation unit in real time.

[0011] Preferably, a circuit module is installed on the outer side of the valve body, and a rectifier circuit and a battery are arranged in the circuit module for transmitting the alternating current generated by the magnetic induction coil to the battery unit for storage after passing through the rectifier and voltage stabilizing circuit to power the device.

[0012] Preferably, the coil module comprises six turns of magnetic induction coils evenly and equidistantly distributed and wound around the outside of the valve body, with two turns symmetrically distributed per phase. When the magnetic rotor rotates, three-phase alternating current is generated in the magnetic induction coils.

[0013] Preferably, the strong magnet is made of neodymium iron boron strong magnetic material, and the N pole direction and S pole direction of the strong magnet are both perpendicular to the tangent direction of the annular slide rail.

[0014] Preferably, the fan blades of the device are impacted when the liquid flows through the valve body, and the longitudinal force generated drives the annular pulley and the strong magnet to rotate;

[0015] The strong magnet generates a stable moving magnetic field when rotating. Under the action of the moving magnetic field, the magnetic induction coil wrapped around the outside of the valve body generates an induced current;

[0016] The induced current is transmitted to the battery through the rectifier circuit of the circuit module and supplies power to the processor module;

[0017] The flow calculation unit in the processor module performs polynomial fitting on the data transmitted by the flow meter, and transmits the processed result data to the display screen for real-time display.

[0018] The method for realizing self-generated liquid flow measurement processing by using the above device is mainly characterized in that the method comprises the following steps:

[0019] (1) Obtaining an algorithm for polynomial fitting based on the least squares method;

[0020] (2) The coil current frequency detection unit of the processor module is connected to the flow meter to detect the frequency of the rotor by counting the number of zero crossing points;

[0021] (3) The flow calculation unit of the processor module receives the rotor frequency signal transmitted by the coil current frequency detection unit and performs calculation processing;

[0022] (4) The display screen shows the output flow calculation unit fitting result data.

[0023] Preferably, the step (1) specifically comprises the following steps:

[0024] (1.1) Determine the algorithm for fitting rotor frequency f and flow point Q;

[0025] (1.2) Select polynomial fitting models of different orders;

[0026] (1.3) Perform actual measurement on the liquid flow meter to obtain fitting data;

[0027] (1.4) Fitting the polynomial based on the measured samples;

[0028] (1.5) Evaluate the models and select the best fitting model.

[0029] Preferably, in the step (1.2), polynomial fitting models of different orders are selected, specifically:

[0030] Select polynomial fitting models of different orders according to the following formula:

[0031] Polynomial 1: Q = a(1) + a(2)f + a(3)f 2 ;

[0032] Polynomial 2: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3 ;

[0033] Polynomial 3: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3 +a(5)f 4 ;

[0034] Polynomial 4: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3 +a(5)f 4 +a(6)f 5 ;

[0035] Where Q is the flow point, f is the rotor frequency, and a(1),…,a(6) are all parameters of the fitting curve to be determined.

[0036] The self-generating liquid flow meter device of the present invention and the method for realizing the self-generating liquid flow metering and processing have been adopted, and the internal structure has been greatly changed and optimized. The turbine blades that were traditionally set at the center are changed to be embedded in the inner wall of the valve body. By calculating and changing the size and angle of the blades, when the high-pressure fluid passes through, the impact on the blades can be greatly reduced, thereby reducing the influence of the internal structure of the turbine flow meter on the fluid flow rate and outlet pressure, and avoiding the effect of the flow meter on the measured equipment to the greatest extent. It can be applied to the fields of high-pressure water guns, etc. Since the traditional structure of the turbine flow meter has been changed, there will be a complex nonlinear relationship between its instrument coefficient and the flow rate. The present invention needs to perform nonlinear fitting compensation on it during the implementation process. By actually measuring the rotor frequency and flow point data under the working environment, the liquid flow meter of the present invention is nonlinearly compensated using the polynomial fitting method, and the comparability between the flow measurement results is enhanced, which is of great significance to ensure that the measured values ​​are accurate and effective. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a schematic diagram of the main structure of the self-generating liquid flow meter device of the present invention.

[0038] Figure 2 It is a schematic diagram of the internal side structure of the self-generating liquid flow meter device of the present invention.

[0039] Figure 3 The present invention is a flowchart of the method for realizing self-generated liquid flow metering processing.

[0040] Figure 4 It is a schematic diagram of fitting curves of polynomials of different orders in the method for realizing self-generated liquid flow metering processing of the present invention.

[0041] Reference numerals:

[0042] 1 Valve body

[0043] 2 Grooves

[0044] 3 Ring pulley

[0045] 4 Bearings

[0046] 5 Fan Blades

[0047] 6 Coil Module

[0048] 7 Magnetic flux coil

[0049] 8 Connecting column

[0050] 9 Processor module

[0051] 10 Circuit Module

[0052] 11. Battery

[0053] 12 bearing balls

[0054] 13 strong magnets

[0055] 14 Display DETAILED DESCRIPTION

[0056] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.

[0057] The self-generating liquid flow meter device of the present invention includes a valve body 1, a groove 2, an annular pulley 3, a bearing 4, a fan blade 5, a coil module 6, a magnetic induction coil 7, a connecting column 8, a bearing ball 12 and a strong magnet 13. The valve body 1 is provided with a groove 2, the groove 2 is embedded with an annular pulley 3, one side of the annular pulley 3 is provided with six equidistant bearings 4, each of the outer sides of the bearings 4 is provided with a corresponding fan blade 5, a bearing ball 12 is provided between the bearing 4 and the groove 2, a strong magnet 13 is buried in the middle of the bearing 4 on the annular pulley 3, the valve body 1 is provided with a coil module 6 wound with a magnetic induction coil 7 on the outer side of the position of the strong magnet 13; the top of the valve body 1 is provided with a connecting column 8.

[0058] As a preferred embodiment of the present invention, the fan blades 5 are connected to the annular pulley 3 , which is supported by six equidistant bearings 4 and magnetic balls 12 and embedded in the inner side of the valve body 1 .

[0059] As a preferred embodiment of the present invention, a processor module 9 is installed on the top of the connecting column 8, and a display screen 14 is installed in front of the processor module 9; the processor module 9 includes a coil current frequency detection unit and a flow calculation unit, the coil current frequency detection unit is connected to the flow meter, and is used to detect the frequency of the rotor by calculating the number of zero crossing points; the flow calculation unit is connected to the coil current frequency detection unit, and is used to receive the rotor frequency signal transmitted by the coil current frequency detection unit and calculate and process it; the display screen 5 is connected to the processor module 9, and is used to display the flow result calculated by the flow calculation unit in real time.

[0060] As a preferred embodiment of the present invention, a circuit module 10 is installed on the outer side of the valve body 1. A rectifier circuit and a battery 11 are provided in the circuit module 10 for transmitting the alternating current generated by the magnetic induction coil to the battery unit for storage after passing through the rectifier and voltage stabilizing circuits to power the device.

[0061] As a preferred embodiment of the present invention, the coil module 6 includes six turns of magnetic induction coils evenly and equidistantly distributed wound around the outside of the valve body, with two turns symmetrically distributed per phase. When the magnetic rotor rotates, three-phase alternating current is generated in the magnetic induction coils.

[0062] As a preferred embodiment of the present invention, the strong magnet is made of neodymium iron boron strong magnetic material, and the N pole direction and S pole direction of the strong magnet are both perpendicular to the tangent direction of the annular slide rail.

[0063] As a preferred embodiment of the present invention, the fan blade 5 of the device is impacted when the liquid flows through the valve body 1, and the longitudinal force generated drives the annular pulley 3 and the strong magnet 13 to rotate;

[0064] The strong magnet 13 generates a stable moving magnetic field when rotating. Under the action of the moving magnetic field, the magnetic induction coil 7 wound around the outer side of the valve body 1 generates an induced current;

[0065] The induced current is transmitted to the battery through the rectifier circuit of the circuit module 10 and supplies power to the processor module;

[0066] The flow calculation unit in the processor module 9 performs polynomial fitting on the data transmitted from the flow meter, and transmits the processed result data to the display screen for real-time display.

[0067] The method of the present invention for realizing self-generated liquid flow metering processing by using the above device comprises the following steps:

[0068] (1) Obtaining an algorithm for polynomial fitting based on the least squares method;

[0069] (2) The coil current frequency detection unit of the processor module 9 is connected to the flow meter to detect the frequency of the rotor by counting the number of zero crossing points;

[0070] (3) The flow calculation unit of the processor module 9 receives the rotor frequency signal transmitted by the coil current frequency detection unit and performs calculation processing;

[0071] (4) The display screen shows the output flow calculation unit fitting result data.

[0072] As a preferred embodiment of the present invention, the step (1) specifically comprises the following steps:

[0073] (1.1) Determine the algorithm for fitting rotor frequency f and flow point Q;

[0074] (1.2) Select polynomial fitting models of different orders;

[0075] (1.3) Perform actual measurement on the liquid flow meter to obtain fitting data;

[0076] (1.4) Fitting the polynomial based on the measured samples;

[0077] (1.5) Evaluate the models and select the best fitting model.

[0078] As a preferred embodiment of the present invention, in the step (1.2), polynomial fitting models of different orders are selected, specifically:

[0079] Select polynomial fitting models of different orders according to the following formula:

[0080] Polynomial 1: Q = a(1) + a(2)f + a(3)f 2 ;

[0081] Polynomial 2: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3 ;

[0082] Polynomial 3: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3 +a(5)f 4 ;

[0083] Polynomial 4: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3 +a(5)f 4 +a(6)f 5 ;

[0084] Where Q is the flow point, f is the rotor frequency, and a(1),…,a(6) are all parameters of the fitting curve to be determined.

[0085] In view of the deficiencies in the prior art, the present invention provides a self-generating liquid flow meter and a metering method thereof, which solves the problems that current flow meters cannot generate electricity and the internal structure affects the fluid velocity and pressure. At the same time, a polynomial fitting algorithm is designed to compensate for the novel structure.

[0086] The present invention discloses a self-generating liquid flowmeter and a metering method thereof, comprising a valve body having a groove inside, an annular pulley embedded inside the groove, which can slide longitudinally, a magnetic ball bearing installed at the bottom of the pulley and connected to a circular pulley to form a bearing, six blades connected equidistantly inside the pulley, a magnetic induction coil wound around the outside of the valve body, and a processor module and a circuit module connected to the outside of the valve body. The self-generating liquid flowmeter adopts a new structure in which blades are embedded on the inner wall of the valve body, and after changing the traditional turbine blade structure with a sleeve made of hard alloy, the influence of the traditional flowmeter on the pressure and speed when the high-pressure liquid flows through the valve body can be effectively improved. At the same time, the embedded bearing ball bearing can reduce the impact of the bearing pressure on the wear of the inner wall of the valve body and the lateral friction. When the blade rotates, it will drive the internal annular pulley structure to rotate, and the strong magnet embedded in the structure will generate electricity in the magnetic induction coil outside the valve body through rotation, which will power the entire device. Finally, considering the nonlinear relationship of the flow meter coefficient in the inventive structure, a polynomial fitting is used to fit the relationship between the rotor frequency and the flow point of the liquid flowmeter of the present invention as the metering method of the liquid flowmeter, so that the measurement data of the liquid flowmeter is more accurate.

[0087] In the specific implementation of the present invention, refer to Figure 1 , Figure 2 The structural diagram of the present invention. Figure 1 The figure shows the schematic diagram of the main structure of the present invention. The valve body 1 of the flowmeter has a liquid inlet A and a liquid outlet B, including a valve body 1, a groove 2 is provided inside the valve body 1, an annular pulley 3 is embedded inside the groove 2, six equidistant bearings 4 are installed on one side of the annular pulley 3, and a fan blade 5 is installed on the outer side of each bearing 4. A bearing ball 12 is installed between the bearing 4 and the groove 2. A strong magnet 13 is buried in the middle of the bearing 4 on the annular pulley 3. The valve body 1 has a coil module 6 on the outer side of the strong magnet 13, which is wound with a magnetic induction coil 7. A connecting column 8 is provided on the top of the valve body 1, and a processor module 9 is provided on the top of the connecting column 8. A display screen 14 is installed in front of the processor module 9. A circuit module 10 is provided on the outer side of the valve body 1.

[0088] The circuit module 10 has a rectifier circuit and a battery 11 therein, which are used to transmit the alternating current generated by the magnetic induction coil to the battery unit for storage after passing through the rectifier and voltage stabilization circuits, thereby powering the device.

[0089] The processor module 9 adopts the STM32G0 micro-power consumption integrated chip, which includes a coil current frequency detection unit and a flow calculation unit. The coil current frequency detection unit is directly connected to the flow meter to detect the frequency of the rotor by calculating the number of zero crossing points. The flow calculation unit receives the rotor frequency signal transmitted by the coil current frequency detection unit and performs calculation processing. The display screen 5 is connected to the processor module for real-time detection of the calculation data of the micro-power consumption integrated chip. The display screen of the display device displays the flow result calculated by the flow calculation unit in real time.

[0090] The coil module includes six turns of magnetic induction coils that are evenly and equidistantly distributed and are wound around the outside of the valve body, with two turns symmetrically distributed in each phase. When the magnetic rotor rotates, three-phase alternating current is generated in the induction coils.

[0091] The strong magnet is made of neodymium iron boron strong magnetic material, and the N and S pole directions of the strong magnet are perpendicular to the tangent direction of the annular slide rail.

[0092] The fan blades 5 are six sawtooth-shaped spiral blades with a blade inclination angle of 35°, and are connected to the annular pulley 3 embedded on the inner wall of the valve body. The annular pulley 3 is supported by six equidistant bearings 4 and magnetic balls 12 and is embedded in the inner side of the valve body 1.

[0093] See also Figure 3 Working flow chart of the liquid flow meter of the present invention.

[0094] When liquid A flows through the valve body, it will impact the blades. The longitudinal force generated will drive the annular pulley and the strong magnet to rotate. When the strong magnet rotates, the N and S poles will generate a stable moving magnetic field. Under the action of the moving magnetic field, three-phase induced current will be generated in the six groups of magnetic induction coils wrapped around the outside of the valve body. The induced current is transmitted to the battery through the rectifier circuit of the circuit module, and then the processor module is powered. At the same time, the flow calculation unit in the processor module is equipped with a pre-trained polynomial model, which will perform polynomial fitting on the data transmitted by the flow meter to make the flow signal more consistent with the true value, and finally transmit the processed result data to the display screen for real-time display.

[0095] The liquid flow meter structure provided by the present invention has the following characteristics:

[0096] 1. The internal structure of the turbine flowmeter is optimized, and the turbine blades that are traditionally set in the center are replaced by being embedded in the inner wall of the valve body. When the fluid passes through, the impact on the blades can be greatly reduced, thereby reducing the influence of the internal structure of the turbine flowmeter on the fluid flow rate and outlet pressure, and avoiding the influence of the flowmeter on the effect of the measured equipment.

[0097] 2. Evenly and equidistantly embedded in the rotating annular pulley are strong neodymium iron boron magnetic materials. The magnetic field changes generated by the rotation of the N and S poles are used to generate induced current in the external magnetic induction coil, thereby supplying power to the entire device, realizing the self-generation function of the device and avoiding the waste of manpower and time resources caused by replacing the power supply.

[0098] 3. The fan blades in the liquid turbine flowmeter of the present invention are designed to be sawtooth spirals with a blade inclination angle of 35%. The size, shape and angle design of the fan blades minimize the impact on the fluid, while providing sufficient lateral force so that the annular pulley embedded in the inner wall of the flowmeter valve body can rotate with a certain frequency relationship with the flow velocity, and this relationship can be converted into the flowmeter output after polynomial fitting.

[0099] The present invention also discloses a flow measurement method applied to the above-mentioned liquid flow meter, the main steps of which are:

[0100] Step 1: Design and implement a flow calculation unit based on the least squares polynomial fitting algorithm as a micro-power integrated chip.

[0101] Step 2: The coil current frequency detection unit in the micro-power integrated chip is directly connected to the flow meter to detect the frequency of the rotor by counting the number of zero crossing points.

[0102] Step 3: The flow calculation unit in the micro-power integrated chip receives the rotor frequency signal transmitted by the coil current frequency detection unit and performs calculation processing.

[0103] Step 4: The display screen shows the result data after the output flow calculation unit is fitted.

[0104] The steps of the least squares polynomial fitting algorithm designed by the present invention are as follows:

[0105] Step 1: Determine the algorithm for fitting rotor frequency f and flow point Q.

[0106] By deducing a simplified mathematical model of the liquid turbine flowmeter, the characteristics of the liquid turbine flowmeter can be qualitatively analyzed and it can be concluded that the angular frequency and volume flow rate present a nonlinear relationship. Therefore, a polynomial fitting algorithm based on the least squares method is deployed in the micro-power integrated chip used in the present invention to analyze the relationship between the flow point and the instrument coefficient of the flowmeter, and the fitted model is used as the metering method of the liquid flowmeter of the present invention.

[0107] When determining the flow-rotor frequency functional relationship of a standard flowmeter, first assume a relationship and use the least squares method to fit the flow-rotor frequency curve. Assume that the functional relationship between the flow Q and the rotor frequency Q is the following linear equation:

[0108] Q=a+bf

[0109] Here a represents the intercept and b represents the slope.

[0110] When using the least squares method for estimation, the sum of the squares of the deviations between the measured point values ​​and the fitted straight line is minimized. At this time, the best estimate of the parameter can be obtained. For the above linear equation, we have:

[0111]

[0112]

[0113] set up Then we have:

[0114] Qab·f=0

[0115]

[0116] Solving the problem, we can get the parameters b and a as:

[0117]

[0118]

[0119] Where: Q i ——The actual measured flow rate point (L / min); f i ——The rotor frequency (Hz) corresponding to the flow point actually measured; i = 1, 2, ..., n, where n is the number of measurements.

[0120] Step 2: Select polynomial fitting models of different orders.

[0121] The mathematical model of polynomial curve fitting has expressions of different orders, but the higher the order is not necessarily better. Four polynomials of different orders are selected here to perform curve fitting on the flow point-rotor frequency.

[0122] The polynomial fitting algorithm is implemented based on the least squares method. The present invention selects polynomial models of different orders to improve the adaptability of the model. The formula is as follows:

[0123] Polynomial 1: Q = a(1) + a(2)f + a(3)f 2

[0124] Polynomial 2: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3

[0125] Polynomial 3: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3 +a(5)f 4

[0126] Polynomial 4: Q = a(1) + a(2)f + a(3)f 2 +a(4)f 3 +a(5)f 4 +a(6)f 5

[0127] Where Q is the flow point, f is the rotor frequency, and a(1),…,a(6) are all parameters of the fitting curve to be determined.

[0128] Step 3: Perform actual measurement on the liquid flow meter of the present invention to obtain fitting data.

[0129] Since the inner diameter of the valve body of the liquid flowmeter is a constant value fixed based on the test platform, the flow points passing through the inner diameter of the valve body within a certain period of time can be calculated according to the flow rate of the test platform during the test process. A series of flow point data are measured and combined with the rotor frequency data of the liquid flowmeter as training data for the polynomial fitting algorithm. The trained model is used as the measurement method of the liquid flowmeter of the present invention.

[0130] The polynomial fitting algorithm of the least square method designed by the present invention requires the actual test data of the liquid flow meter of the present invention for training and fitting, so it is necessary to measure the fitting data first. Under the working environment of the room temperature liquid flow meter, the inner diameter of the valve body of the liquid flow meter is determined, and multiple groups of data are measured through the test platform. The rotor frequency and flow point data collected by the device are recorded and stored, as shown in Table 1. Considering the range parameters of most flow meters, within the range of 0-5min / L, a group of corresponding rotor frequency and flow point data are collected to form a fitting data sample. The pulse frequency of the liquid flow meter of the present invention can be calculated according to the flow calculation formula to calculate the indicated value flow and the calibrated flow, and the error relationship with the true value is calculated. In order to verify the compensation effect of the model, the measured indicated value and various influencing factors are brought into the compensation model, and a predicted value is obtained through the compensation model, and then the relative error and average relative error are calculated with the calibrated flow.

[0131] Table 1: Rotor frequency and flow point data collected

[0132]

[0133] Step 4: Fit the polynomial based on the measured samples

[0134] According to the four polynomial mathematical models in the above step 2, the least squares method is used to fit the flow point-rotor frequency. Here, the parameter values ​​of each polynomial are solved by programming with the help of MATLAB tools. The polynomial expressions obtained are as follows:

[0135] Polynomial 1: Q = 6.689 + 185.555f - 1.984f 2

[0136] Polynomial 2: Q = -14.066 + 252.913f - 37.31f 2 +4.693f 3

[0137] Polynomial 3: Q = -35.262 + 349.308f - 127.544f 2 +32.831f 3 -2.77f 4

[0138] Polynomial 4: Q = -24.942 + 287.37f - 37.026f 2 +16.177f 3 +8.221f 4 -0.867f 5

[0139] Calculate q for each flow point i The rotor frequency F on the lower fitting curve i , and draw the fitting curve, such as Figure 4 shown.

[0140] Step 5: Evaluate the models and select the best fitting model.

[0141] When fitting data or predicting models, it is often necessary to evaluate the difference between the model or the fitting results and the real data. Two commonly used evaluation indicators are the mean error and the mean relative error, which can help us understand the prediction accuracy and deviation of the model. The mean error and mean relative error of the four models are shown in Table 2:

[0142] Table 2 Average error and average relative error of four models

[0143]

[0144] Combination Figure 3 From the comparison between the actual value and the fitting value of the polynomial fitting curve shown, as well as the average error and the average relative error, it can be seen that as the degree of the polynomial increases, the average false positives and the average relative errors of the model tend to decrease overall. However, considering the complexity of the model and the difficulty of deploying it on a micro-power computer, polynomial 2 can already achieve a good fitting effect. Therefore, polynomial 2 is selected as the fitting model of the liquid flow meter of the present invention after comprehensive consideration. If the present invention is applied to fluid environments under other different working conditions, the polynomial model can be flexibly adjusted according to the actual fitting results of polynomials of different degrees.

[0145] In summary, the flow metering method disclosed in the present invention is to convert the frequency of the fluid driving the rotor to rotate into the frequency of the induced current in the outer magnetic induction coil through the coil current frequency detection unit, and then convert the rotor frequency into an actual flow value through the least squares fitting polynomial algorithm deployed in the flow calculation unit. The least squares fitting polynomial algorithm disclosed in the present invention is to fit polynomials of different orders through the measured flow meter sample data to obtain the parameters of the polynomial, and finally evaluate the polynomial model through the average error and the average relative error, and select the optimal model as the algorithm in the flow calculation unit of the liquid flow meter of the present invention.

[0146] The liquid flowmeter of the present invention has a wide range of adaptability and can be used to measure the flow of high-pressure water guns. The design of embedding the original turbine blades on the inner wall of the valve body changes the design of the turbine flowmeter in which the turbine is installed in the center of the valve body and has a large area and a complex structure, solving the problem of the turbine flowmeter affecting the outlet fluid velocity and pressure. At the same time, the design of self-powering the device using the electrical energy generated by the rotation of the turbine and electromagnetic induction solves the power supply problem of the traditional turbine flowmeter. By fully considering the nonlinear problems existing in the new structure, a polynomial model is established to fit the relationship between the flow point and the rotor frequency, ensuring the consistency and accuracy of the flowmeter measurement.

[0147] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.

[0148] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0149] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0150] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0151] The self-generating liquid flow meter device of the present invention and the method for realizing the self-generating liquid flow metering and processing have been adopted, and the internal structure has been greatly changed and optimized. The turbine blades that were traditionally set at the center are changed to be embedded in the inner wall of the valve body. By calculating and changing the size and angle of the blades, when the high-pressure fluid passes through, the impact on the blades can be greatly reduced, thereby reducing the influence of the internal structure of the turbine flow meter on the fluid flow rate and outlet pressure, and avoiding the effect of the flow meter on the measured equipment to the greatest extent. It can be applied to the fields of high-pressure water guns, etc. Since the traditional structure of the turbine flow meter has been changed, there will be a complex nonlinear relationship between its instrument coefficient and the flow rate. The present invention needs to perform nonlinear fitting compensation on it during the implementation process. By actually measuring the rotor frequency and flow point data under the working environment, the liquid flow meter of the present invention is nonlinearly compensated using the polynomial fitting method, and the comparability between the flow measurement results is enhanced, which is of great significance to ensure that the measured values ​​are accurate and effective.

[0152] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.

Claims

1. A self-generating liquid flow meter device, characterized in that: The device includes a valve body, a groove, an annular pulley, a bearing, a fan blade, a coil module, a magnetic induction coil, a connecting column, a bearing ball and a strong magnet. The valve body is provided with a groove inside, an annular pulley is embedded inside the groove, six equidistant bearings are provided on one side of the annular pulley, a fan blade is provided on the outer side of each bearing, a bearing ball is provided between the bearing and the groove, a strong magnet is buried in the middle of the bearing on the annular pulley, a coil module is provided on the outer side of the strong magnet position of the valve body, and a magnetic induction coil is wound around it; a connecting column is provided on the top of the valve body.

2. The self-generating liquid flow meter device according to claim 1, characterized in that: The fan blades are connected to an annular pulley, which is supported by six equidistant bearings and magnetic balls and embedded in the inner side of the valve body.

3. The self-generating liquid flow meter device according to claim 1, characterized in that: A processor module is installed on the top of the connecting column, and a display screen is installed in front of the processor module; the processor module includes a coil current frequency detection unit and a flow calculation unit, the coil current frequency detection unit is connected to the flow meter, and is used to detect the frequency of the rotor by calculating the number of zero crossing points; the flow calculation unit is connected to the coil current frequency detection unit, and is used to receive the rotor frequency signal transmitted by the coil current frequency detection unit and calculate and process it; the display screen is connected to the processor module, and is used to display the flow result calculated by the flow calculation unit in real time.

4. The self-generating liquid flow meter device according to claim 1, characterized in that: A circuit module is installed on the outside of the valve body, and a rectifier circuit and a battery are arranged inside the circuit module, which are used to transmit the alternating current generated by the magnetic induction coil to the battery unit for storage after passing through the rectifier and voltage stabilizing circuits to power the device.

5. The self-generating liquid flow meter device according to claim 1, characterized in that: The coil module comprises six turns of magnetic induction coils evenly and equidistantly distributed and wound around the outside of the valve body, with two turns symmetrically distributed in each phase. When the magnetic rotor rotates, three-phase alternating current is generated in the magnetic induction coils.

6. The self-generating liquid flow meter device according to claim 1, characterized in that: The strong magnet is made of neodymium iron boron strong magnetic material, and the N pole direction and S pole direction of the strong magnet are both perpendicular to the tangent direction of the annular slide rail.

7. The self-generating liquid flow meter device according to claim 1, characterized in that: The fan blades of the device are impacted when the liquid flows through the valve body, and the longitudinal force generated drives the annular pulley and the strong magnet to rotate; The strong magnet generates a stable moving magnetic field when rotating. Under the action of the moving magnetic field, the magnetic induction coil wrapped around the outside of the valve body generates an induced current; The induced current is transmitted to the battery through the rectifier circuit of the circuit module and supplies power to the processor module; The flow calculation unit in the processor module performs polynomial fitting on the data transmitted by the flow meter, and transmits the processed result data to the display screen for real-time display.

8. A method for realizing self-generated liquid flow metering processing using the device of claim 1, characterized in that: The method comprises the following steps: (1) Obtaining an algorithm for polynomial fitting based on the least squares method; (2) The coil current frequency detection unit of the processor module is connected to the flow meter to detect the frequency of the rotor by counting the number of zero crossing points; (3) The flow calculation unit of the processor module receives the rotor frequency signal transmitted by the coil current frequency detection unit and performs calculation processing; (4) The display screen shows the output flow calculation unit fitting result data.

9. The method for realizing self-generated liquid flow metering processing according to claim 8, characterized in that: The step (1) specifically comprises the following steps: (1.1) Determine the algorithm for fitting rotor frequency f and flow point Q; (1.2) Select polynomial fitting models of different orders; (1.3) Perform actual measurement on the liquid flow meter to obtain fitting data; (1.4) Fitting the polynomial based on the measured samples; (1.5) Evaluate the models and select the best fitting model.

10. The method for realizing self-generated liquid flow metering processing according to claim 9, characterized in that: In the step (1.2), polynomial fitting models of different orders are selected, specifically: Select polynomial fitting models of different orders according to the following formula: Polynomial 1: Q a(1)+a(2)fa(3)f 2 ; Polynomial 2: Q a(1)+a(2)fa(3)f 2 +a)4)f 3 ; Polynomial 3: Q a(1)+a(2)fa(3)f 2 +a(4)f 3 +a(5)f 4 ; Polynomial 4: Q a(1)+a(2)fa(3)f 2 +a(4)f 3 +a(5)f 4 +a(6)f 5 ; Where Q is the flow point, f is the rotor frequency, and a(1),…,a(6) are all parameters of the fitting curve to be determined.