A non-magnetic metering device, use method and non-magnetic heat meter
Through inductance detection and capacitance charging and discharging technology of magnetic-free metering devices, the water flow direction and the flow rate are identified, which solves the problem of metering error of traditional heat meter and achieves more accurate heat calculation.
Patent Information
- Application Number
- CN202310199675.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-04
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2043-03-04
AI Technical Summary
When metering heat, the influence of temperature and flow rate cannot be effectively combined, resulting in metering errors. Traditional water flow meters are easily disturbed by magnetic and electric fields, and cannot identify the direction of water flow.
The magnetic-free metering device is used to detect the water flow through inductor and identify the direction of the fluid. The inlet/return water temperature is measured by capacitance charging and discharge, and the microcontroller corrects and calculates the heat.
It realizes the identification of the water flow direction while metering the water flow, reduces the impact of temperature on the flow metering, and improves the accuracy of heat calculation.
Smart Images

Figure CN116183065B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of water flow measurement, and in particular to a non-magnetic metering device, a method of use, and a non-magnetic heat meter. Background Art
[0002] A heat meter is an instrument that calculates heat. Existing heat meters use a pair of temperature sensors installed on the upstream and downstream pipes carrying hot water, and a flow meter installed on the fluid inlet or return pipe. Heat is calculated based on the temperature feedback from the temperature sensors and the flow rate measured by the flow meter.
[0003] Although many water flow meters now use non-magnetic measurement methods, compared with traditional Hall elements or Wiegand sensors, they avoid interference from magnetic fields and the measurement accuracy has also been improved accordingly.
[0004] However, whether it is a magnetic metering method or a non-magnetic metering method, it will still be affected by temperature. The temperature of the water flow will not only affect the degree of heat loss of the water, but also have a certain impact on the flow meter, thereby causing corresponding metering errors.
[0005] Existing heat meters measure temperature and flow completely separately, failing to consider the impact of temperature on flow measurement. In addition, temperature sensors must be installed on different pipes to measure the inlet and return water temperatures respectively. Summary of the Invention
[0006] The purpose of this application is to provide a non-magnetic metering device that can not only measure water flow, but also identify the direction of water flow, measure the inlet / return water temperature according to the water flow direction, calibrate the water flow meter according to the inlet / return water temperature, and then calculate the heat.
[0007] In a first aspect, the present application provides a non-magnetic metering device, comprising: a water flow metering module, a temperature measurement module, and a microcontroller.
[0008] The water flow metering module is used to obtain water flow rate and identify fluid direction through inductive detection;
[0009] The temperature measurement module is used to measure the inlet / return water temperature by charging and discharging the capacitor according to the fluid direction identified by the water flow metering module;
[0010] The microcontroller is used to correct the acquired flow rate according to the inlet / return water temperature, and calculate the heat according to the corrected flow rate and the inlet / return water temperature.
[0011] Through the above technical solution, the direction of water flow can be identified while measuring the water flow, the corresponding inlet / return water temperature can be measured according to the water flow direction, the water flow can be calibrated according to the inlet / return water temperature, and the heat can be calculated based on the calibrated water flow and inlet / return water temperature.
[0012] Optionally, the water flow metering module includes an inductive detector and a rotating assembly.
[0013] The inductance detector is located directly below the rotating assembly and on a plane parallel to the rotating assembly. The inductance detector includes three inductance detection units with the same structure.
[0014] The rotating assembly includes a metal sheet and a rotating dial. The metal sheet is mounted on the rotating dial and rotates with the dial. The inductance detector can obtain different detection signals through the rotation of the metal sheet and feed the detection signals back to the microcontroller.
[0015] Optionally, the inductance detection unit includes an oscillation module, a filtering module and a comparison output module.
[0016] The oscillation module is used to generate a detection signal and transmit the detection signal to the filtering module;
[0017] The filtering module is used to filter the detection signal transmitted by the oscillation module and transmit the filtered detection signal to the comparison output module;
[0018] The comparison output module is used to convert the received detection signal by comparing it with a preset reference level, and feed the converted signal back to the microcontroller.
[0019] Optionally, the temperature measurement module includes a charge and discharge unit, a control receiving unit, and a time monitoring unit. The charge and discharge unit is used to control four circuits to charge and discharge a specified capacitor. The four circuits are respectively composed of a 1.0k high-precision resistor, a 1.4k high-precision resistor, a water inlet thermistor, and a water return thermistor.
[0020] The control receiving unit is connected to the microcontroller and is used to control the switching of the circuit's high level, low level and high impedance modes; the time monitoring unit is used to record the time required for different circuits to complete the discharge of the specified capacitor and feed back the time information to the microcontroller.
[0021] Optionally, the microcontroller includes a data receiving unit, a microcontroller unit, and a data processing center. The data receiving unit is used to receive the signal fed back by the water flow metering module and the time information fed back by the temperature measurement module. The microcontroller unit is used to control the temperature measurement module to charge and discharge according to the water flow direction.
[0022] The data processing center is used to perform data processing according to the received signals or data information.
[0023] Optionally, it is characterized in that the data processing center includes a flow calculation unit, a temperature calculation unit, a data correction unit and a heat calculation unit, the flow calculation unit is used to calculate the water flow rate according to the signal fed back by the water flow metering module and confirm the water flow direction; the temperature calculation unit is used to calculate and obtain the inlet / return water temperature by a preset method according to the time information fed back by the temperature measurement module;
[0024] The data correction unit is used to correct the calculated flow rate according to the inlet / return water temperature;
[0025] The heat calculation unit is used to calculate the heat according to the corrected flow rate and inlet / return water temperature.
[0026] In a second aspect, the present application provides a method for using non-magnetic metering, comprising the following steps:
[0027] Obtain the signal fed back by the water flow metering module, calculate the water flow rate, and convert the signal to confirm the water flow direction;
[0028] Determine the circuit combination to be charged and discharged according to the direction of water flow;
[0029] Switch the circuit combination to be charged and discharged between high-level, low-level, and high-impedance modes to charge and discharge the specified capacitor; obtain the discharge time of each circuit for the specified capacitor under the current circuit combination;
[0030] According to the discharge time, calculate the resistance of the corresponding thermistor;
[0031] According to the resistance value of the thermistor, the current water temperature is calculated by a preset method.
[0032] Optionally, after calculating the current water flow temperature by a preset method, the method further includes:
[0033] Correct the calculated water flow rate according to the current water temperature;
[0034] The heat is calculated based on the corrected water flow rate and inlet / return water temperature.
[0035] Optionally, the correcting the calculated water flow rate according to the current water flow temperature includes:
[0036] According to the current water flow temperature, the corresponding influence coefficient is obtained through the preset data storage space, and the preset data storage space stores the influence coefficients corresponding to different water flow temperature ranges;
[0037] According to the influence coefficient, calculate the deviation of the current water flow;
[0038] Correct the current water flow according to the deviation.
[0039] In a third aspect, the present application provides a non-magnetic heat meter, which is equipped with the above-mentioned non-magnetic metering device and stores a computer program that can be loaded by a processor and execute the above-mentioned non-magnetic metering usage method.
[0040] In summary, while measuring water flow through non-magnetic metering, the direction of water flow is also identified. By charging and discharging the capacitor, the corresponding inlet and return water temperatures can be calculated more accurately. In addition, the water flow can be calibrated according to the inlet and return water temperatures, which to a certain extent reduces the impact of temperature on flow measurement. In addition, the heat can be calculated more accurately based on the calibrated water flow and inlet and return water temperatures. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 is a schematic diagram of a non-magnetic metering device provided in an embodiment of the present application;
[0042] Figure 2 is a schematic diagram of a water flow metering module provided in an embodiment of the present application;
[0043] Figure 3 is a schematic diagram of an inductance detection unit provided in an embodiment of the present application;
[0044] Figure 4 is a schematic diagram of a temperature measurement module provided in an embodiment of the present application;
[0045] Figure 5 is a schematic diagram of a data processing center provided in an embodiment of the present application;
[0046] Figure 6 This is a flow chart of the non-magnetic metering method provided in an embodiment of the present application.
[0047] Description of reference numerals:
[0048] 10. Water flow metering module; 20. Temperature measurement module; 30. Microcontroller; 11. Inductance detector; 12. Rotating assembly; 111. Oscillation module; 112. Filter module; 113. Comparison output module; 121. Metal sheet; 122. Code dial; 21. Charging and discharging unit; 22. Control receiving unit; 23. Time monitoring unit; 31. Data receiving unit; 32. Microcontroller unit; 33. Data processing center; 331. Flow calculation unit; 332. Temperature calculation unit; 333. Data correction unit; 334. Heat calculation unit. DETAILED DESCRIPTION
[0049] The following is combined with Figure 1-Attached Figure 5 , further details of this application are given.
[0050] This application provides a non-magnetic metering device, which is used in the measurement of water flow. Figure 1 , including: a water flow metering module 10, a temperature measurement module 20 and a microcontroller 30.
[0051] The water flow metering module 10 is used to obtain water flow rate and identify fluid direction through inductive detection.
[0052] The temperature measurement module 20 is used to measure the inlet / return water temperature by charging and discharging the capacitor according to the fluid direction identified by the water flow metering module.
[0053] The microcontroller 30 is used to correct the acquired flow rate according to the inlet / return water temperature, and calculate the heat according to the corrected flow rate and the inlet / return water temperature.
[0054] Traditional water flow measurement methods often rely on components such as reed switches, Hall effect elements, or Wiegand sensors, but these all have significant drawbacks. Once a reed switch fails, detecting the fault is difficult. Due to large errors, it's not suitable for product designs requiring high tolerances. Furthermore, its short lifespan makes it unsuitable for production. Hall effect elements and Wiegand sensors are easily interfered with by magnetic and electric fields during operation, which can affect measurement results.
[0055] In addition, traditional water flow measurement can usually only measure the water flow rate, but cannot measure the direction of the water flow.
[0056] Therefore, in the embodiment of the present application, a non-magnetic metering method is adopted to measure the water flow, and the direction of the water flow is also identified while measuring the water flow.
[0057] Specifically, see Figure 2 The water flow metering module 10 includes an inductance detector 11 and a rotating component 12 .
[0058] The inductance detector 11 is located directly below the rotating assembly 12 and on a plane parallel to the rotating assembly 12 . The inductance detector 11 includes three inductance detection units with the same structure.
[0059] The rotating assembly 12 includes a metal sheet 121 and a rotating dial 122 . The metal sheet 121 is mounted on the rotating dial 122 and rotates along with the dial 122 .
[0060] The inductance detector 11 can obtain different detection signals through the rotation of the metal sheet 121 and feed the detection signals back to the microcontroller 30 .
[0061] Specifically, see Figure 3 The inductance detection unit includes an oscillation module 111 , a filtering module 112 and a comparison output module 113 .
[0062] The oscillation module 111 is used to generate a detection signal and transmit the detection signal to the filtering module 112 .
[0063] The filtering module 112 is configured to filter the detection signal transmitted by the oscillation module 111 and transmit the filtered detection signal to the comparison output module 113 .
[0064] The comparison output module 113 is used to convert the received detection signal by comparing it with a preset reference level, and feed the converted signal back to the microcontroller 30 .
[0065] The metal sheet 121 can be made of stainless steel, copper, aluminum, etc. The metal sheet 121 has a fan-shaped structure with an angle range of 90 degrees to 270 degrees. Therefore, the plane where the metal sheet 121 is located is divided into two parts, one is a metal area and the other is a non-metal area.
[0066] The inductance detector 11 is divided into three identically structured inductance detection units, arranged in an equilateral triangle. If the center of the triangle is connected to the vertices of the fan-shaped structure of the metal sheet 121, the connecting line should be perpendicular to the plane of the metal sheet 121. The distance between the connecting lines should not be too far or too close, and can be determined based on actual test results. For example, in the embodiment of the present application, the preferred distance is 9 mm.
[0067] The oscillation module includes an LC oscillation circuit and keeps the LC in an oscillation state in the form of positive feedback. The comparison output module 113 includes a comparator that compares with a set reference level and converts the amplitude change of the level into a pulse signal for output.
[0068] When the metal sheet 121 and the inductance detector 11 are close to each other, the metal sheet 121 and the inductor coil in the oscillation module 111 will interact with each other, affecting the oscillation frequency and working state of the LC oscillation circuit.
[0069] Therefore, as the metal sheet 121 rotates with the rotary dial 122, the oscillator module 111 in the inductance detection unit above the metal sheet 121 will move closer to or further away from the metal sheet 121. As the LC oscillation amplitude changes, different voltage amplitudes are generated. The filter module 112 then filters out ripple in the output voltage, which is then transmitted to the comparison output module 113.
[0070] The generated voltage amplitude can be converted into a square wave pulse signal by the comparator in the comparison output module 113 , and then the pulse signal is fed back to the microcontroller 30 .
[0071] By analyzing the pulse signals, the microcontroller 30 determines the number of times each inductance detection unit passes through the metal and non-metal areas, and thus calculates the number of revolutions of the dial 122. Based on this number, the water flow rate can be calculated. Furthermore, the microcontroller 30 converts the pulse signals into logical digital signals. The combination of the logical digital signals generated by the three sets of inductance detection units can be used to determine the direction of the water flow by consulting a truth table for both upstream and downstream directions.
[0072] For example, when the inductance detection unit is close to the metal sheet 121, the feedback logic digital signal is 0, and when it is away from the metal sheet 121, the feedback logic digital signal is 1. Therefore, by comparing the truth table of the downstream and upstream directions through the combination of the three sets of logic digital signals, it is possible to determine whether the water flow direction is downstream or upstream.
[0073] Since temperature has a certain impact on the measurement of water flow, temperature detection will also be carried out, and the corresponding inlet / return water temperature will be calculated according to the flow direction of the water, and then the corresponding heat can be calculated.
[0074] Therefore, in the embodiment of the present application, the temperature of the water flow is also detected by the temperature measurement module 20.
[0075] Specifically, the temperature measurement module 20 includes a charge and discharge unit 21 , a control receiving unit 22 , and a time monitoring unit 23 .
[0076] The charge and discharge unit 21 is used to control four circuits to charge and discharge a designated capacitor.
[0077] The control receiving unit 22 is connected to the microcontroller and is used to control the switching of the circuit's high level, low level and high impedance modes.
[0078] The time monitoring unit 23 is used to record the time required for different circuits to complete the specified constant-capacity discharge and feed back the time information to the microcontroller.
[0079] Among them, the four circuits are composed of a 1.0k high-precision resistor, a 1.4k high-precision resistor, a water inlet thermistor and a return water thermistor.
[0080] Due to their compact size, mass production, and circuit protection, thermistors are often used in temperature measurement for industrial products. Traditional calorimeters employ thermistors for temperature detection. However, traditional measurement methods typically rely on the temperature-dependent resistance of thermistors to directly calculate the current resistance value, and then determine the temperature using a table lookup. This table lookup involves directly matching the thermistor's resistance value at various temperatures to the corresponding temperature. However, this method requires the microcontroller to store the corresponding resistance-temperature table data, and this table data varies for different thermistors. Therefore, changing the thermistor requires rewriting the corresponding table data. This makes this table lookup method relatively cumbersome.
[0081] Therefore, in the embodiments of the present application, temperature measurement is performed by charging and discharging a capacitor. Based on the relationship between the charge and discharge times of the resistor and the capacitor, it can be seen that the ratio of the charge or discharge times of the two resistor groups can be used to determine the resistance ratio. Therefore, using a fixed resistor and a thermistor, the resistance of the thermistor can be calculated by obtaining the charge or discharge time of the same capacitor.
[0082] Since the water flow metering module 10 also identifies the direction of the water flow, if it is downstream, it indicates water inflow, and the inlet water temperature needs to be measured. In this case, the circuit formed by the 1.0k high-precision resistor, the 1.4k high-precision resistor, and the inlet water thermistor is sufficient as the charge-discharge circuit combination. Conversely, if the water flow is upstream, the circuit formed by the 1.0k high-precision resistor, the 1.4k high-precision resistor, and the return water thermistor is sufficient as the charge-discharge circuit combination.
[0083] The control receiving unit 22 then receives instructions from the microcontroller 30, controlling the three circuits to assume high, low, and high-impedance states. These states are then switched to enable each resistor in the charge / discharge unit to charge and discharge the designated capacitor. The time monitoring unit 23 then records the time required for each circuit to discharge the designated capacitor. Finally, based on the recorded discharge time, the thermistor resistance is calculated using the time ratio between the two high-precision resistors and the thermistor as a linear measure. The inlet and return water temperatures are then calculated using a pre-set formula.
[0084] For example, let the thermistor be RT, the 1.0k high-precision resistor be R1, and the 1.4k high-precision resistor be R2. The microcontroller 30 first sets the thermistor RT to a high-impedance state, equivalent to the thermistor being in a circuit-disconnected state. It then sets R1 to a low level and R2 to a high level. At this point, the capacitor is charged through R2, and the pin of R1 is detected until the pin of R1 shows a high level. R1 then discharges the designated capacitor until R2 shows a low level, indicating that the discharge is complete. The time T1 required for R1 to discharge is then recorded.
[0085] Similarly, the microcontroller 30 sets the thermistor RT to a high impedance state, R1 to a low level, and R2 to a high level. At this time, after the capacitor is charged through R2, R1 is set to a high impedance state, RT to a low level, and R2 to a high level. At this time, the capacitor is discharged through RT, and the time T required for RT to discharge is recorded. 1 .
[0086] Similarly, set the thermistor RT to high impedance, R1 to high level, and R2 to low level. Then perform charging and discharging, and obtain the time T2 required for R2 to charge and discharge, and the time T required for thermistor RT to discharge. 2 .
[0087] Through two sets of linear measurement methods, the thermistor resistance values can be calculated separately and recorded as RT 1 and RT 2 ,but
[0088]
[0089]
[0090] According to the expression formula of thermistor and temperature:
[0091] R(t)=R0(1+At+Bt 2 )
[0092] By setting the two resistors RT 1 and RT 2 The precise temperature value can be obtained by using the binary successive approximation method.
[0093] The thermistor used is a PT1000 thick-film platinum resistance temperature sensor. R(t) represents the resistance of the platinum resistance at temperature t, in Ω; t represents the temperature in °C. R0 represents the resistance of the platinum resistance at 0°C, in Ω. A and B are the graduation constants: A = 0.0038623139728 and B = -0.00000065314932626. The tolerance for the relationship between the PT1000 resistance and temperature, as specified in the graduation table, must not exceed ±(0.30 + 0.005|t|).
[0094] In the embodiment of the present application, the microcontroller 30 is equivalent to a single chip microcomputer, and the switching processing of each circuit component and the calculation of digital logic are all performed by the microcontroller.
[0095] Specifically, the microcontroller 30 includes a data receiving unit 31 , a micro control unit 32 and a data processing center 33 .
[0096] The data receiving unit 31 is used to receive the signal fed back by the water flow metering module 11 and the time information fed back by the temperature measurement module 20 .
[0097] The micro control unit 32 is used to control the temperature measurement module 20 to charge and discharge according to the direction of water flow.
[0098] The data processing center 33 is used to perform data processing according to the received signals or data information.
[0099] Specifically, see Figure 5 The data processing center 33 includes a flow calculation unit 331 , a temperature calculation unit 332 , a data correction unit 333 and a heat calculation unit 334 .
[0100] The flow calculation unit 331 is used to calculate the water flow rate according to the signal fed back by the water flow metering module 10 and confirm the water flow direction.
[0101] The temperature calculation unit 332 is used to calculate and obtain the inlet / return water temperature through a preset method according to the time information fed back by the temperature measurement module 20.
[0102] The data correction unit 333 is used to correct the calculated flow rate according to the inlet / return water temperature.
[0103] The heat calculation unit 334 is used to calculate the heat according to the corrected flow rate and inlet / return water temperature.
[0104] In the embodiment of the present application, the inductance detector 11 in the water flow metering module 10 generates a corresponding pulse signal as the metal sheet 121 rotates. This pulse signal is transmitted to the microcontroller 30, where the data receiving unit 31 receives the signal and passes it to the data processing center 33 for corresponding calculations. Furthermore, the temperature measurement module 20 uses the microcontroller 32 to switch between high-impedance, high-level, and low-level states to determine the time it takes for two sets of high-precision resistors and thermistors to discharge a specified capacitor, and this time information is fed back to the microcontroller 33. Similarly, the data receiving unit 31 receives the time information and passes it to the data processing center 32 for corresponding calculations.
[0105] The data processing center 32 receives the pulse signal and uses the flow calculation unit 331 to count the number of revolutions of the dial 122, thereby calculating the water flow rate. The data processing center 32 also converts the pulse signal into a logical digital signal and uses a stored truth table for upstream and downstream directions to determine the water flow direction. The received time information is then used to calculate the water flow temperature using the aforementioned calculation method. Combined with the flow direction, this calculates the inlet and return water temperatures.
[0106] Because temperature can affect water flow measurement, the data processing center 32 also includes a data correction unit 333 for correcting the calculated flow rate based on the inlet and return water temperatures. Finally, a heat calculation unit 334 calculates the heat based on the corrected flow rate and the inlet and return water temperatures.
[0107] The present application also provides a method for using non-magnetic measurement, see Figure 6 , including the following steps:
[0108] S100: Obtain the signal fed back by the water flow metering module, calculate and obtain the water flow rate, and convert the signal to confirm the water flow direction.
[0109] S200: Determine a circuit combination to be charged and discharged according to the direction of water flow.
[0110] S300 , switching the circuit combination to be charged and discharged between high level, low level, and high impedance modes to charge and discharge the designated capacitor.
[0111] S400, obtaining the discharge time of each circuit for a specified capacitor in the current circuit combination;
[0112] S500, calculating the resistance value of the corresponding thermistor according to the discharge time;
[0113] S600: Calculate the current water flow temperature according to the resistance value of the thermistor using a preset method.
[0114] In this embodiment, the pulse signal fed back by the water flow meter module 10 is used to calculate the number of revolutions of the dial. Based on the preset conversion specifications, the water flow rate can be calculated from the number of revolutions. Furthermore, by converting the pulse information into a logical digital signal, the current water flow direction can be determined using a preset truth table for downstream and upstream directions.
[0115] Then, the circuit combination to be charged and discharged is determined according to the water flow mode, that is, whether the current measurement is the inlet water temperature or the return water temperature, thereby confirming the switch state of the circuit so as to calculate the current water flow temperature according to the corresponding thermistor.
[0116] If the water flow direction is downstream, the circuit formed by the 1.0k high-precision resistor, the 1.4k high-precision resistor, and the water inlet thermistor will be recorded as the circuit combination to be charged and discharged. If the water flow direction is upstream, the circuit formed by the 1.0k high-precision resistor, the 1.4k high-precision resistor, and the water return thermistor will be recorded as the circuit combination to be charged and discharged.
[0117] Since the thermistor resistance is calculated by recording the time required for the associated resistor to complete the discharge of the specified capacitor, the discharge time of each circuit to the specified capacitor under the current circuit combination will be recorded, and then the resistance of the corresponding thermistor will be calculated based on the discharge time.
[0118] Because two high-precision resistors are used as participants in the charge and discharge process, two corresponding linear relationships are obtained. These relationships are derived from the ratio of the high-precision resistor value to the thermistor value and the ratio of the time it takes to discharge the same capacitor. Using the two thermistor values as endpoints, and using a set formula (the aforementioned expression for the nonlinear relationship between thermistor resistance and temperature) using a binary successive approximation algorithm, a more accurate temperature value can be calculated.
[0119] Since temperature may have a certain impact on the measurement of water flow, in the embodiment of the present application, after the temperature of the water flow is calculated, the water flow is also corrected according to the temperature of the water flow.
[0120] Specifically, after calculating the current water flow temperature by a preset method, the following steps are also included:
[0121] S710: Correct the calculated water flow rate according to the current water flow temperature.
[0122] Specifically, the calculated water flow rate is corrected according to the current water flow temperature, including the following steps:
[0123] S711. According to the current water flow temperature, a corresponding influence coefficient is obtained through a preset data storage space.
[0124] S712. Calculate the deviation of the current water flow rate based on the influence coefficient.
[0125] S713. Correct the current water flow rate according to the deviation.
[0126] Temperature affects water flow measurement in two main ways. First, it affects the metering circuit, affecting the water velocity and, in turn, the oscillation frequency of the inductor module, ultimately leading to errors in the calculated water flow. Second, it affects the dial. Temperature affects the viscosity of the fluid, which is equivalent to the viscous frictional resistance characteristic of the fluid. As viscosity changes with temperature, it affects the rotation of the dial, causing deviations in the water flow measured by the number of dial rotations.
[0127] In the embodiment of the present application, through a large number of experimental tests, the influence coefficient of the current water flow temperature on the water flow measurement is obtained, and then the water flow is corrected based on the influence coefficient and the water flow temperature. For example, in combination with the actual application environment, at the same or similar outdoor temperature, the same flow rate of water is measured and statistically analyzed at different water flow temperatures, and then the deviation between the measured water flow and the actual water flow is calculated, and then the influence coefficient of different water flow temperatures on the water flow is obtained in combination with the water flow temperature. Considering that the water flow temperature range is relatively large and it is difficult to test all temperatures, it will be combined with actual usage and expressed in temperature intervals, such as (0-10, 10-20, ..., 40-50, ...) in units of ℃. Thus, the influence coefficient of each temperature interval can be calculated through test experiments. For example, for 0-10, the influence coefficient is +1.0513; for 30-40, the influence coefficient is -1.0024, and so on, and then the data is saved in the data storage space.
[0128] In this way, the corresponding influence coefficient can be extracted from the data storage space according to the current water flow temperature, and then the deviation of the current water flow can be calculated according to the influence coefficient, thereby realizing the correction of the water flow.
[0129] It is worth noting that the outdoor temperature can also be taken into consideration. Similarly, the influence coefficient of the outdoor temperature on the water flow measurement can be calculated through test experiments, which can also reduce the influence of the outdoor temperature on the water flow measurement to a certain extent.
[0130] S720: Calculate heat according to the corrected water flow rate and inlet / return water temperature.
[0131] In the embodiment of the present application, after the water flow rate is corrected according to the current water flow temperature, the heat can be calculated based on the corrected water flow rate and water flow temperature, since the water flow direction, that is, the inlet / return water temperature, is identified. The difference between the inlet water temperature and the return water temperature can be used in combination with the water flow rate to calculate the heat.
[0132] An embodiment of the present application also provides a non-magnetic heat meter, on which the above-mentioned non-magnetic metering device is installed, and a computer program that can be loaded by a single-chip microcomputer and execute the above-mentioned non-magnetic metering method is stored.
[0133] The embodiments of this specific implementation method are all preferred embodiments of the present application and are not intended to limit the scope of protection of the present application. Therefore, all equivalent changes made based on the principles of the present application should be included in the scope of protection of the present application.
Claims
1. A non-magnetic metering device used in water flow measurement, characterized in that: include: Water flow metering module, temperature measurement module and microcontroller, The water flow metering module is used to obtain water flow rate and identify fluid direction through inductive detection; The temperature measurement module is used to measure the inlet / return water temperature by charging and discharging the capacitor according to the fluid direction identified by the water flow metering module; The microcontroller is used to correct the acquired flow rate according to the inlet / return water temperature, and calculate the heat according to the corrected flow rate and the inlet / return water temperature; The water flow metering module includes an inductance detector and a rotating assembly. The inductance detector is located directly below the rotating assembly and on a plane parallel to the rotating assembly. The inductance detector includes three inductance detection units with identical structures. The rotating assembly includes a metal sheet and a rotating dial. The metal sheet is mounted on the rotating dial and rotates with the dial. The inductance detector can obtain different detection signals through the rotation of the metal sheet and feed the detection signals back to the microcontroller. The temperature measurement module includes a charge-discharge unit, a control-receiving unit, and a time-monitoring unit. The charge-discharge unit is used to control four circuits to charge and discharge a specified capacitor. The four circuits are composed of a 1.0k high-precision resistor, a 1.4k high-precision resistor, a water inlet thermistor, and a water return thermistor. The control-receiving unit is connected to a microcontroller to control the switching of the circuit's high-level, low-level, and high-impedance modes. The time-monitoring unit is used to record the time required for different circuits to discharge a specified capacitor and feed this time information back to the microcontroller. The microcontroller includes a data receiving unit, a microcontroller unit and a data processing center. The data receiving unit is used to receive the signal feedback from the water flow metering module and the time information feedback from the temperature measurement module; the microcontroller unit is used to control the charging and discharging of the temperature measurement module according to the water flow direction; and the data processing center is used to perform data processing based on the received signal or data information.
2. A non-magnetic metering device according to claim 1, characterized in that: The inductance detection unit includes an oscillation module, a filtering module and a comparison output module. The oscillation module is used to generate a detection signal and transmit the detection signal to the filtering module; The filtering module is used to filter the detection signal transmitted by the oscillation module and transmit the filtered detection signal to the comparison output module; The comparison output module is used to convert the received detection signal by comparing it with a preset reference level, and feed the converted signal back to the microcontroller.
3. The non-magnetic metering device according to claim 1, characterized in that: The data processing center includes a flow calculation unit, a temperature calculation unit, a data correction unit and a heat calculation unit. The flow calculation unit is used to calculate the water flow rate according to the signal fed back by the water flow metering module and confirm the water flow direction; The temperature calculation unit is used to calculate and obtain the inlet / return water temperature through a preset method according to the time information fed back by the temperature measurement module; The data correction unit is used to correct the calculated flow rate according to the inlet / return water temperature; The heat calculation unit is used to calculate the heat according to the corrected flow rate and inlet / return water temperature.
4. A non-magnetic metering method using the device according to any one of claims 1 to 3, characterized in that: include: Obtain the signal fed back by the water flow metering module, calculate the water flow rate, and convert the signal to confirm the water flow direction; Determine the circuit combination to be charged and discharged according to the direction of water flow; Switching the circuit combination to be charged and discharged between high level, low level and high impedance modes to charge and discharge the specified capacitor; Get the discharge time of each circuit for the specified capacitor under the current circuit combination; According to the discharge time, calculate the resistance of the corresponding thermistor; According to the resistance value of the thermistor, the current water temperature is calculated by a preset method; After calculating the current water flow temperature by a preset method, the method further includes correcting the calculated water flow rate according to the current water flow temperature; Calculate the heat based on the corrected water flow rate and inlet / return water temperature; The calculated water flow rate is corrected according to the current water flow temperature, including obtaining a corresponding influence coefficient through a preset data storage space according to the current water flow temperature, wherein the preset data storage space stores influence coefficients corresponding to different water flow temperature intervals; calculating a deviation of the current water flow rate according to the influence coefficient; and correcting the current water flow rate according to the deviation.
5. A non-magnetic heat meter, characterized in that: Use the non-magnetic metering device as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Non-magnetic heat meter based on ZigBee wireless network
CN201368783Y