Electromagnetic water meter and battery power supply type electromagnetic flowmeter frequency conversion measurement method

Through frequency conversion technology and filtering algorithm, the electromagnetic water meter switches to high-frequency measurement mode and calculates the migration zero point when detecting a sudden change in flow rate. This solves the problem of external interference and zero point migration during low-power operation and improves the accuracy and precision of flow measurement.

CN118583229APending Publication Date: 2024-09-03ZHEJIANG DIYUAN INSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410815521.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing electromagnetic water meters are easily affected by external factors when running at low power consumption, causing sudden changes in flow rate and affecting measurement accuracy. Long-term use also causes zero-point migration, further affecting measurement accuracy.

Method used

The frequency conversion measurement method of electromagnetic water meters and battery-powered electromagnetic flowmeters is adopted, and the high-frequency measurement mode is switched by detecting the flow status. A filtering algorithm is used to determine the cause of the mutation, and multi-band measurements are performed under a timing cycle to calculate the migration zero point, and the excitation frequency band is dynamically adjusted to reduce Zero point migration error.

Benefits of technology

It effectively reduces the impact of external factors on flow measurement, improves the accuracy of flow measurement, and reduces static measurement errors through automatic zero point calibration to improve the accuracy of water volume measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118583229A
    Figure CN118583229A
Patent Text Reader

Abstract

The invention discloses an electromagnetic water meter and a battery power supply type electromagnetic flowmeter frequency conversion measurement method, and relates to the field of fluid measurement, and the method comprises the following steps: a low-frequency measurement mode detects the current flow state, and when the flow abrupt change occurs, the water meter enters a high-frequency measurement mode; suddenly-changed flow signals within the limiting time are collected, and flow suddenly-changed reasons If the flow abrupt change reason is external interference, the current output flow is calculated through a filtering algorithm; when the flow is normal, the water meter turns back to a low-frequency measurement mode; regularly entering a multi-band measurement mode to calculate a migration zero point; a frequency conversion technology is adopted, so that when the flow in the pipeline changes suddenly, the reason of sudden change can be effectively tracked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of fluid measurement, and in particular to an electromagnetic water meter and a frequency conversion measurement method of a battery-powered electromagnetic flowmeter. Background Art

[0002] Electromagnetic water meters have unique characteristics such as wide range and high-precision measurement, rich self-diagnosis, excellent durability, strong adaptability and powerful data processing capabilities. It can effectively achieve the accuracy and fairness of water metering, and facilitate management personnel to manage and optimize and save costs. However, in order to ensure low power consumption, electromagnetic water meters currently use low-frequency measurement mode (measurement once every 15 seconds, excitation drive time is about 160 milliseconds), but the low-frequency measurement mode is easily affected by external or internal environmental interference in low flow rate or static state (such as flow field surges and external environmental vibrations caused by pressure changes in the static pipe network, bubble interference in the fluid, underwater immersion installation, temperature and humidity changes in the installation well), resulting in sudden flow changes and zero point migration, thereby affecting the accuracy of measurement. On the other hand, during the long-term use of the instrument, changes in the internal and external environment will cause the instrument zero point migration, and zero point migration will also affect the accuracy of the instrument measurement.

[0003] As disclosed in Chinese patent CN113252123A, published on August 13, 2021, this application relates to a novel electromagnetic water meter device based on multiphase flow measurement, wherein the device comprises: a sensor and a converter, an excitation coil is arranged in the measuring pipe of the sensor, and a first electrode, a second electrode, a third electrode and a fourth electrode are arranged on the measuring section, and the converter comprises a fluid impedance measurement circuit; the sensor comprises a magnetic plate and a magnetic yoke, and provides a constant magnetic field for the measuring section; when the magnetic field is turned on, the first electrode and the second electrode measure the induced voltage signal in the conductive fluid, and the third electrode and the fourth electrode are in a closed state; when the magnetic field is turned off, the excitation signal is input from the second electrode and the fourth electrode into the fluid in the measuring pipe, and the first electrode and the third electrode are used to measure the impedance voltage of the fluid in the pipe. However, the electromagnetic water meter disclosed in the present invention will cause the zero point migration of the meter as the internal and external environment changes during long-term use, and it is susceptible to external factors and sudden flow changes during low power operation, thereby affecting the accuracy of the final measurement. Summary of the invention

[0004] The technical problem to be solved by the present invention is that the existing electromagnetic water meter is easily affected by external factors when running at low power consumption, resulting in sudden flow rate changes, which leads to inaccurate measurement results. An electromagnetic water meter and a battery-powered electromagnetic flowmeter variable frequency measurement method are proposed to effectively reduce the influence of sudden flow rate changes caused by external factors on the measurement results.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a variable frequency measurement method of an electromagnetic water meter and a battery-powered electromagnetic flowmeter, comprising the following steps: S1: Low-frequency measurement mode detects the current flow state. When a sudden flow rate change occurs, the water meter enters high-frequency measurement mode. S2: Collect the sudden flow rate signal within the time limit and determine the cause of the sudden flow rate; S3: If the reason for the sudden change in flow is external interference, the current output flow is calculated through a filtering algorithm; S4: When the flow rate is normal, the water meter changes back to low-frequency measurement mode; S5: Enter the multi-band measurement mode regularly to calculate the migration zero point.

[0006] The invention discloses a variable frequency measurement method for an electromagnetic water meter and a battery-powered electromagnetic flowmeter. The electromagnetic water meter has two measurement modes: a low-frequency measurement mode and a high-frequency measurement mode. The low-frequency measurement mode is set as a universal measurement mode. The electromagnetic water meter will enter a multi-frequency measurement mode at a set time, and then calculate the current migration zero point through a zero point calculation formula, thereby improving the accuracy of flow measurement. When a sudden flow change is detected, the electromagnetic water meter will also enter a high-frequency measurement mode, and the cause of the sudden flow change can be determined through the data obtained through regular collection. If it is caused by external interference, the flow is calculated through a filtering algorithm to improve the accuracy of flow measurement. When the sudden flow change ends, the low-frequency measurement mode is changed back to reduce energy consumption.

[0007] Preferably, when the absolute value of the difference between the input sudden change flow and the last output flow is less than the fluctuation limit, the filtering algorithm is: the current output flow is equal to the product of the single excitation drive time and the input sudden change flow plus 1 minus the product of the single excitation drive time and the last output flow divided by the sum of the single excitation drive time and the instrument damping coefficient. The fluctuation limit is a percentage K of the upper limit flow Qmax, and the percentage K can be set manually.

[0008] Preferably, when the absolute value of the difference between the input sudden change flow and the last output flow is less than the fluctuation limit, the filtering algorithm is: the current output flow is equal to the product of the single excitation drive time and the input sudden change flow plus 1 minus the product of the single excitation drive time and the last output flow divided by the sum of the single excitation drive time and the instrument damping coefficient. The fluctuation limit is a percentage K of the upper limit flow Qmax, and the percentage K can be set manually.

[0009] Preferably, when the continuous mutation flow is outside the time limit, the filtering algorithm is: the current output flow is equal to the input mutation flow. Outside the time limit, the electromagnetic water meter returns to the low-frequency measurement mode, so the measured flow is the actual flow.

[0010] Preferably, the method for judging the sudden change of flow rate is: when the flow fluctuation is greater than the set fluctuation limit threshold, the flow rate is judged to have a sudden change; and the baseline signal is collected, and when the baseline offset exceeds the set threshold, the flow rate is judged to have a sudden change. In normal mode, the instrument operates in a low-frequency measurement mode. The instrument uses a method of monitoring the baseline signal in a non-measurement state to judge whether a sudden change of flow rate occurs, and the baseline signal is sampled in real time by the AD sampling module provided by the instrument.

[0011] Preferably, the method for determining the cause of the flow mutation is as follows: if continuous flow mutation signals are detected within the time limit, the mutation flow is determined to be a real water usage situation; if intermittent mutation flow signals are detected within the time limit T, the mutation flow is determined to be external interference. If continuous flow mutation signals are detected within the time limit T, the mutation flow is determined to be a real water usage situation, and combined with the filtering algorithm, the output flow is equal to the mutation flow.

[0012] As a preferred method, when the reason for the sudden change in flow rate is the actual water consumption, the meter returns to the low-frequency measurement mode through frequency conversion; when the reason for the sudden change in flow rate is external interference, the limit time is reset at each time point when the sudden change in flow rate signal is detected to ensure that the meter is in the high-frequency measurement mode. If intermittent sudden change in flow rate signals are detected, the limit time needs to be reset until continuous sudden change in flow rate signals are detected or the flow signal becomes normal.

[0013] Preferably, the calculation process of the migration zero point is: the migration zero point is equal to the average flow rate within the set time T in the high excitation current frequency band minus the average flow rate within the set time T in the measurement mode in the low excitation current frequency band. During the long-term use of the electromagnetic water meter, changes in the internal and external environment will cause the instrument zero point to migrate, so it is necessary to measure the migration zero point in time to improve the measurement accuracy.

[0014] As a preference, the zero migration upper limit threshold of the meter is set, and the zero migration upper limit threshold of the meter is less than the maximum allowable zero value of the meter. When the migration zero point is greater than the zero migration upper limit threshold, an alarm is issued to indicate whether there is contamination of the electrode storage or other sensor problems. Electromagnetic water meters of different calibers have different maximum allowable zero values, and the zero migration upper limit thresholds of different electromagnetic water meters are set according to the maximum allowable zero value.

[0015] Preferably, the measurement time interval of the low-frequency measurement mode is 15s, the excitation driving time during measurement is 160ms. In the low-frequency measurement mode, the time for signal transmission and reception during measurement is 160ms.

[0016] The substantial effect of the present invention is as follows: the present invention designs a variable frequency measurement method for an electromagnetic water meter and a battery-powered electromagnetic flowmeter, and adopts the variable frequency technology, so that when the flow in the pipeline suddenly changes, the cause of the sudden change can be effectively tracked; when the sudden flow is caused by external interference, the influence of the sudden flow on the flow measurement accuracy can be effectively reduced by combining the sudden flow filtering algorithm; at the same time, the zero point can be dynamically adjusted through the periodic timing frequency conversion method to reduce the measurement error caused by the zero point migration under static conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is an overall flow chart of Embodiment 1; Figure 2 This is a flow chart of migration zero point calculation in Embodiment 1; Figure 3 This is a schematic diagram of flow signal detection in Example 1; Figure 4 This is a schematic diagram of baseline signal detection in Example 1; Figure 5 This is a schematic diagram of flow rate stabilization detection in Example 1; Figure 6 This is a schematic diagram of a sudden change flow detection and filtering algorithm according to Embodiment 1; Figure 7 This is a schematic diagram of timing period frequency conversion in Example 1. DETAILED DESCRIPTION

[0018] The specific implementation of the present invention will be further described below through specific examples in conjunction with the accompanying drawings.

[0019] Embodiment 1: A variable frequency measurement method for electromagnetic water meter and battery powered electromagnetic flowmeter, such as Figure 1As shown in the figure, the water meter detects the current flow state by the sudden change flow detection method under low flow rate or static state, thereby reducing energy consumption. When the sudden change of flow is detected, the measurement frequency is increased by frequency conversion technology to enter the high-frequency measurement mode. The difference between the low-frequency measurement mode and the high-frequency measurement mode is the difference in the excitation drive frequency inside the electromagnetic water meter. The excitation drive frequency inside the electromagnetic water meter in the low-frequency measurement mode is lower than the excitation drive frequency inside the electromagnetic water meter in the high-frequency measurement mode. The calculation time interval of the low-frequency measurement mode adopted by the electromagnetic water meter to ensure low power consumption operation under low flow rate or static state is counted once every 15 seconds, and the excitation drive time in this state is about 160 milliseconds. The low-frequency measurement mode is easily affected by external or internal environmental factors of the water meter under low flow rate or static state, such as the flow field surge and external environmental vibration caused by the pressure change in the static pipe network, the bubble interference in the fluid, the underwater immersion installation, the temperature and humidity changes in the installation well, etc., which may cause sudden flow. Since high-frequency signals have shorter wavelengths than low-frequency signals, they can better avoid external interference and have stronger anti-interference capabilities. Therefore, by switching from low-frequency measurement mode to high-frequency measurement mode, the flow measured in the case of sudden flow changes can be filtered to remove the influence of interference factors and improve the accuracy of the measurement results.

[0020] When the meter is in high-frequency measurement mode, the excitation frequency will increase from the original 1 / 15Hz to 6.25Hz. Then, the sudden change flow detection and filtering algorithm are combined to determine the cause of the instantaneous flow mutation. When the flow mutation changes to the actual water usage situation, the measurement frequency is reduced to return to the low-frequency measurement mode. Otherwise, the algorithm is used to remove the flow fluctuation caused by interference to avoid the impact of interference on flow measurement.

[0021] At the same time, due to the long-term use of electromagnetic water meters, the internal environment will change, and it may also be affected by changes in the external environment, which will cause the zero point of the electromagnetic water meter to migrate. Due to the migration of the zero point, if the flow is calculated according to the original zero point, the final measured flow data will have a certain error with the actual flow data, thereby affecting the accuracy of the overall flow measurement and causing property losses to users or water companies. When the electromagnetic water meter starts working, a time threshold for timing the start of the high-frequency, multi-band measurement mode is artificially set, that is, every T minutes, the electromagnetic water meter will enter a period of multi-frequency measurement mode. During this period, the electromagnetic water meter will automatically calculate the migrated zero point, thereby completing the zero point calibration and improving the accuracy of water measurement.

[0022] like Figure 2As shown in the figure, when the electromagnetic water meter performs zero point calibration, the average flow rate within the duration of the high excitation current frequency band and the average flow rate within the same time period of the low excitation current frequency band will be collected respectively, and the collected data will be calculated through the zero point migration algorithm to obtain the migration zero point. The obtained migration zero point needs to be effectively judged. If the calculated migration zero point does not exceed the maximum allowable migration zero point range, the calculated migration zero point will replace the original zero point. If the calculated migration zero point exceeds the maximum allowable migration zero point range, the original zero point does not need to be modified. In this case, it means that there is a problem with a component of the electromagnetic water meter and it needs to be modified. Therefore, the electromagnetic water meter needs to send an alarm to the relevant personnel, prompting the relevant personnel to notify the maintenance personnel to get up for maintenance.

[0023] like Figure 3 Flow signal detection diagram and Figure 4 As shown in the baseline signal detection diagram, the electromagnetic water meter sends an excitation signal to detect the flow in the water meter, and then obtains a feedback signal. According to the content on the figure, it can be seen that the signal received by the electromagnetic water meter is related to the positive and negative values ​​of the sent excitation signal. If the sent excitation signal is positive, the received signal is also positive; if the sent excitation signal is negative, the received signal is also negative. When no sudden change in flow is detected, there is a certain time interval between the two adjacent excitation signal transmissions. During this interval, the electromagnetic water meter will not send any signal, thereby playing a role in energy saving. The time for each round of positive excitation signal and negative excitation signal sent by the electromagnetic water meter to add is 160 milliseconds. Under normal circumstances, the signal baseline formed by the flow signal detected by the electromagnetic water meter will fluctuate up and down within a small range. When a sudden change in flow occurs, the detected signal will increase sharply, so that the detected flow exceeds the fluctuation limit threshold, which does not conform to the law of electromagnetic water meter flow at low flow rate or static state. There are only two possibilities for this situation. One is that someone is using it, resulting in normal flow growth. The other possibility is measurement error caused by interference factors. This interference factor may be a malfunction of the electromagnetic water meter, or it may be caused by flow field surges and external environmental vibrations caused by pressure changes in the static pipe network, bubble interference in the fluid, underwater immersion installation, temperature and humidity changes in the installation well, etc.

[0024] On the one hand, the sudden flow detection can determine whether a sudden flow change occurs by calculating the difference between the two flow rates, that is, the flow fluctuation state. When the flow fluctuation is greater than the set fluctuation limit threshold, it is determined that the flow has suddenly changed. On the other hand, since the instrument operates in a low-frequency measurement mode in normal mode, the instrument uses a method of monitoring the baseline signal in a non-measurement state to determine whether a sudden flow change occurs. The baseline signal is sampled in real time through the instrument's own AD sampling module, and the baseline signal offset is used to determine whether a sudden flow change occurs. When the baseline offset exceeds the set threshold (determined by the power supply voltage percentage X), it is determined that the flow has suddenly changed. This method can quickly detect sudden flow changes, and since it does not require the excitation module to be turned on, it has no significant impact on the power consumption of the entire machine.

[0025] like Figure 5 As shown in the figure, when the flow rate of the water flow changes from a sudden change state to a stable state, the measurement mode of the electromagnetic water meter changes from the high-frequency measurement mode to the low-frequency measurement mode. In the low-frequency measurement mode, not only the excitation frequency band of the electromagnetic water meter is reduced, but also the measurement frequency is reduced accordingly. In the low-frequency measurement mode, the measurement frequency of the electromagnetic water meter is reduced accordingly. When in the low-frequency measurement mode, the electromagnetic water meter will measure the water flow rate in a cycle of 15 seconds, that is, the electromagnetic water meter will send a measurement signal for measuring the water flow rate every 15 seconds. In addition, the excitation drive time is about 160 milliseconds. In the low-frequency measurement mode, when the flow measurement node of 15 seconds is reached, the electromagnetic water meter will send a positive excitation signal, followed by a negative excitation signal, which is considered a complete measurement signal. During the rest of the 15 seconds, the electromagnetic water meter will not send any signal, that is, the electromagnetic water meter is in a static state, thereby saving energy consumption. When the electromagnetic water meter has a sudden flow change and the measurement mode is adjusted to the high-frequency measurement mode, the measurement signal of the electromagnetic water meter will be in a continuous state, and the measurement signal will be sent in a state where positive excitation signals and negative excitation signals are sent alternately. That is, during this period of time, for each positive excitation signal sent, the electromagnetic water meter will immediately send a negative excitation signal, thereby more accurately determining the cause of the sudden flow change of the electromagnetic water meter.

[0026] like Figure 6As shown, after detecting a sudden flow change, the meter enters the high-frequency measurement mode, and combines the sudden flow algorithm to detect whether there is a continuous sudden flow signal within the limit time T (the time limit is determined by the number of measurements and can be manually set according to the interference situation). If no continuous sudden flow signal is detected within the limit time T, the meter returns to the low-frequency measurement mode through frequency conversion; if an intermittent sudden flow signal is detected within the limit time T, the limit time T is reset at each time point when the sudden flow signal is detected to ensure that the meter is in the high-frequency measurement mode, and the flow fluctuation caused by the sudden flow is limited by the filtering algorithm to reduce the impact of the sudden flow on the metering accuracy; if a continuous flow sudden change signal is detected within the limit time T, the sudden flow is judged to be the actual water consumption situation, and combined with the filtering algorithm, the output flow is equal to the sudden flow. The two flow calculation methods of sudden flow detection and filtering algorithm are shown as follows: like Figure 6 As shown in the figure, "◆" indicates the sensor input flow signal and "○" indicates the output flow after filtering, which is determined by the filtering algorithm. ① indicates that the flow mutation is greater than the fluctuation limit, ② indicates continuous flow mutation, that is, the real flow change, ③ indicates rapid response to flow change, and the output flow is the input flow, and ④ indicates that after the sudden flow stabilizes, the instrument enters the low-frequency measurement mode. The two "-" above and below the figure indicate the fluctuation limit range of the flow. When the flow is detected to be beyond this range, it can be determined that a sudden flow mutation has occurred. In the stage ① of the figure, the input flow is outside the fluctuation limit range of the flow represented by the two "-", so filtering calculation is required. Before and after stage ①, the input flow is within the fluctuation limit range of the flow represented by the two "-", indicating that no sudden flow mutation has occurred, and the input flow is the real flow. The error between the output flow calculated by the filtering algorithm and the input flow is extremely small, which can prove the effectiveness of the filtering algorithm. Therefore, the output flow calculated by the filtering algorithm for the sudden flow can represent the real flow. In stage ②, since the value of the input flow remains basically unchanged, the output flow calculated by the fluctuation algorithm also changes at a uniform speed. When the input flow remains basically unchanged within the time limit T, it means that the sudden change flow measured by the water meter is an increase in the normal water flow, and the measured flow is the real flow. Therefore, the change in the figure will change from stage ② to stage ③. In stage ③, "◆" and "○" overlap, indicating that the input flow signal is equal to the output flow after filtering. At the same time, if the flow measured in stage ③ remains unchanged for a period of time, it will enter stage ④, and the electromagnetic water meter will change from high-frequency measurement mode to low-frequency measurement mode again. If the measured flow in stage ④ exceeds the change threshold range again, it is necessary to change the measurement mode to high-frequency measurement mode again to perform flow filtering calculation. The change threshold range of the flow changes dynamically with the flow value measured at the previous moment. The flow change threshold range allowed at the current moment is recalculated based on the size of the fluctuation limit with the flow measured at the previous moment as the center.

[0027] The flow calculation filtering algorithm will use different filtering algorithms according to the size of the input sudden flow. When the absolute value of the difference between the input sudden flow and the last output flow is less than the fluctuation limit (the fluctuation limit is the percentage K of the upper limit flow Qmax, and the percentage K can be set manually), the flow calculation formula is as follows: |Qin-Qn-1| <Qmax*kQn=Qin*(0.16 / (0.16+FilT))+Qn-1*(1-0.16 / (0.16+FilT) Among them, Qin is the input sudden change flow, Qn-1 is the last output sudden change flow, Qn is the current output flow, 0.16 is the single excitation drive time, FILT is the instrument damping coefficient, and Qmax is the set upper limit flow.

[0028] When the absolute value of the difference between the input sudden flow and the last output flow is greater than the fluctuation limit (the fluctuation limit is the percentage K of the upper limit flow Qmax, and the percentage K can be set manually), and the continuous sudden flow is within the limit time T, the flow calculation formula is as follows: Qn=Qn-1±Qmax*K When the continuous mutation flow is outside the time limit T, the flow calculation formula is as follows: Qn=Qin The filtering algorithms in the above three different situations correspond to a reason for the sudden change of flow rate in the electromagnetic water meter. In the first case, it indicates that the electromagnetic water meter is disturbed by external factors or internal factors of the water meter, which causes normal flow signal fluctuations. In most cases, this calculation formula is used to calculate the flow rate. The second case indicates that the monitored electromagnetic water meter flow signal may be distorted. In this case, the detected flow fluctuation is too large due to signal distortion, which is seriously inconsistent with the actual situation and violates the law of water flow rate regulation. Therefore, the second filtering algorithm is used to estimate the real flow rate at the current moment through the real flow calculated last time. The third case is that the continuous sudden flow rate occurs outside the limit time T. In this case, it means that the reason for the current sudden flow rate is the normal water consumption change factor. Therefore, the measured sudden flow rate is the real electromagnetic water meter water flow rate, and there is no need to calculate it through the filtering algorithm.

[0029] This patent proposes a variable frequency measurement method for an electromagnetic water meter and a battery-powered electromagnetic flowmeter. Secondly, adding an excitation drive frequency band through frequency conversion technology can effectively solve the measurement error caused by zero-point migration in a static state during field use. The current method to solve zero-point migration is to calibrate the zero point of the instrument by manual setting in a static state. This method requires closing the stop valves at both ends of the instrument to ensure that the instrument is in a static state. However, most electromagnetic water meters are installed in measuring wells, and some instruments are submerged in water, which is not convenient for manual calibration. Furthermore, manual calibration of the zero point will inevitably waste a lot of human resources, and shutting off the valve to cut off water will cause multiple problems such as difficulty in water use for water users.

[0030] The zero point of the electromagnetic water meter is proportional to the signal-to-noise ratio of the flow signal. According to the test data combined with the actual situation, when the flow signal-to-noise ratio is large enough, the zero point of the meter is almost zero. Figure 5 As shown, in this patent, the instrument adds an excitation drive signal of a high excitation current frequency band under the normal excitation current frequency band through frequency conversion technology. The flow difference under two different excitation drive currents is calculated within the set time Ts to determine the instrument migration zero point. This frequency conversion technology is operated in a cycle, which can realize automatic calibration of the instrument zero point without closing the valve and without human operation, thereby reducing the impact of the instrument zero point migration on the metering accuracy. When the average flow of the excitation drive frequency band in the normal working mode within the set time Ts is QL, and the high excitation current drive frequency band is QH, the instrument migration zero point QZ = QH-QL. Set the instrument migration upper limit threshold QT, QT is determined by the maximum zero point value allowed by the instrument under this caliber. If Qz>QT, the instrument will issue an alarm to indicate whether the electrode stores sticky dirt or other sensor problems.

[0031] Figure 7As shown, it is a flow chart of the dynamic zero point calibration of the electromagnetic water meter and the variable frequency measurement method of the battery-powered electromagnetic flowmeter. The electromagnetic water meter adopts the low-frequency measurement mode in the normal state to reduce energy consumption. By setting the periodic frequency conversion to adjust the excitation frequency band, the electromagnetic water meter will enter the multi-frequency measurement mode at a fixed time, and then calculate the migration zero point of the electromagnetic water meter in the multi-frequency measurement mode, so as to calculate the correct zero point of the current electromagnetic water meter, reduce the error between the measured flow and the actual flow, and improve the measurement accuracy. As can be seen from the figure, when the electromagnetic water meter enters the timed migration zero point calculation, the electromagnetic water meter will send four excitation signals, positive excitation signal A, negative excitation signal A, positive excitation signal B and negative excitation signal B, the positive excitation signal A and the negative excitation signal A are opposite numbers to each other, the positive excitation signal B and the negative excitation signal B are opposite numbers to each other, and the value of the positive excitation signal A is less than the value of the positive excitation signal B. The transmitted signal is continuously generated as a group of positive excitation signal A, negative excitation signal A, positive excitation signal B and negative excitation signal B, and the order of the signals is that positive excitation signal A, positive excitation signal B, negative excitation signal A and negative excitation signal B appear alternately in sequence. In the frequency conversion cycle, the average flow rate in the high excitation current frequency band and the low excitation current frequency band can be measured, so as to calculate the migration zero point.

[0032] The invention discloses an electromagnetic water meter and a variable frequency measurement method for a battery-powered electromagnetic flowmeter, which use variable frequency technology to measure flow. When a sudden change occurs in the flow in a pipeline, the excitation frequency band inside the water meter is changed by frequency conversion calculation, so that the cause of the sudden change can be effectively tracked. When the sudden change in flow is caused by external interference, the influence of the sudden change in flow on the flow measurement accuracy can be effectively reduced by combining the sudden change in flow filtering algorithm. At the same time, the zero point can be dynamically adjusted by a periodic timing frequency conversion method to reduce the measurement error caused by zero point migration under static conditions.

[0033] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention.

Claims

1. A variable frequency measurement method for an electromagnetic water meter and a battery-powered electromagnetic flowmeter, characterized in that: The following steps are involved: S1: Low-frequency measurement mode detects the current flow state. When a sudden flow rate change occurs, the water meter enters high-frequency measurement mode. S2: Collect the sudden flow rate signal within the time limit and determine the cause of the sudden flow rate; S3: If the reason for the sudden change in flow is external interference, the current output flow is calculated through a filtering algorithm; S4: When the flow rate is normal, the water meter changes back to low-frequency measurement mode; S5: Enter the multi-band measurement mode regularly to calculate the migration zero point.

2. The electromagnetic water meter and battery-powered electromagnetic flowmeter frequency conversion measurement method according to claim 1, characterized in that: When the absolute value of the difference between the input sudden flow rate and the last output flow rate is less than the fluctuation limit, the filtering algorithm is: the current output flow rate is equal to the product of the single excitation drive time and the input sudden flow rate plus 1 minus the product of the single excitation drive time and the last output flow rate divided by the sum of the single excitation drive time and the instrument damping coefficient.

3. The electromagnetic water meter and battery-powered electromagnetic flowmeter frequency conversion measurement method according to claim 2, characterized in that: When the absolute value of the difference between the input mutation flow and the last output flow is greater than the fluctuation limit, the filtering algorithm is: the current output flow is equal to the last flow plus or minus the percentage of the upper limit flow.

4. The electromagnetic water meter and battery-powered electromagnetic flowmeter frequency conversion measurement method according to claim 3, characterized in that: When the continuous mutation flow is outside the time limit, the filtering algorithm is: the current output flow is equal to the input mutation flow.

5. The electromagnetic water meter and the variable frequency measurement method of the battery-powered electromagnetic flowmeter according to claim 1, 2, 3 or 4, characterized in that: The method for judging a sudden change in flow rate is as follows: when the flow rate fluctuation is greater than a set fluctuation limit threshold, it is judged that a sudden change in flow rate occurs; and when a baseline signal is collected and a baseline deviation exceeds a set threshold, it is judged that a sudden change in flow rate occurs.

6. The electromagnetic water meter and battery-powered electromagnetic flowmeter frequency conversion measurement method according to claim 1, characterized in that: The method for determining the cause of the flow mutation is as follows: if a continuous flow mutation signal is detected within the limit time, the mutation flow is determined to be the actual water usage situation; if an intermittent mutation flow signal is detected within the limit time T, the mutation flow is determined to be external interference.

7. The electromagnetic water meter and battery-powered electromagnetic flowmeter frequency conversion measurement method according to claim 6, characterized in that: When the cause of the sudden flow rate change is the actual water consumption situation, the meter returns to the low-frequency measurement mode through frequency conversion; when the cause of the sudden flow rate change is external interference, the limit time is reset at each time point when the sudden flow rate signal is detected to ensure that the meter is in the high-frequency measurement mode.

8. The electromagnetic water meter and battery-powered electromagnetic flowmeter frequency conversion measurement method according to claim 1, characterized in that: The calculation process of the migration zero point is: the migration zero point is equal to the average flow rate within the set time T in the high excitation current frequency band minus the average flow rate within the set time T in the measurement mode in the low excitation current frequency band.

9. The electromagnetic water meter and the battery-powered electromagnetic flowmeter frequency conversion measurement method according to claim 8, characterized in that: Set the upper threshold of zero migration of the meter. The upper threshold of zero migration of the meter is less than the maximum allowable zero value of the meter. When the migration zero point is greater than the upper threshold of zero migration, an alarm is issued to indicate whether there is contamination of the electrode storage or other sensor problems.

10. The electromagnetic water meter and the variable frequency measurement method of the battery-powered electromagnetic flowmeter according to claim 1, 2, 3 or 4, characterized in that: The measurement time interval of the low-frequency measurement mode is 15s, and the excitation driving time during measurement is 160ms.