A detection method of electromagnetic flowmeter and electromagnetic flowmeter
By using the alternating excitation current detection method in the electromagnetic flowmeter and calculating the relative error value of the flow rate to determine the non-full tube status, the complexity and cost problems caused by adding a third electrode in the existing technology are solved, and a more reliable flow rate is achieved. Flow measurement and anomaly detection.
Patent Information
- Application Number
- CN202211602309.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-13
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-12-13
AI Technical Summary
Existing electromagnetic flowmeters need to add a third electrode when detecting a non-full pipe state, which increases production complexity and cost, and cannot effectively detect abnormal states without adding hardware.
By controlling the output of alternating excitation currents of different sizes and directions, collecting the corresponding potential values, calculating the relative error value of the flow rate, and judging whether the electromagnetic flowmeter is abnormal, it avoids the need to add additional electrodes.
It is possible to improve the flow measurement reliability of the electromagnetic flowmeter without increasing the manufacturing complexity and cost, and can simultaneously detect abnormal conditions and reduce the detection cost.
Smart Images

Figure CN115900850B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of electromagnetic flowmeters, and in particular to a method for detecting empty pipes of electromagnetic flowmeters. Background Art
[0002] Electromagnetic flowmeter is a flow measurement instrument based on Faraday's law of electromagnetic induction. A general electromagnetic flowmeter includes a pipe cavity, a pair of signal electrodes, an excitation coil, an excitation drive unit and a signal processing unit. The excitation drive unit drives the excitation coil to generate a magnetic field B perpendicular to the flow direction of the fluid. When the fluid flows through the pipe cavity at an average flow rate V, the signal electrode outputs an induced potential signal E=K 0 ×B×V. The signal processing unit receives the induced potential signal output by the signal electrode, calculates the average flow velocity V of the fluid according to the induced potential signal E, and then calculates the flow rate flowing through the pipeline cavity according to the cross-sectional area of the pipe body.
[0003] Based on the above measurement principle, the measured fluid must fill the pipe. If it is not full, that is, the pipe is not full, the calculated flow rate is inaccurate. Therefore, when using an electromagnetic flowmeter to measure flow, it is necessary to determine whether the pipe is filled with fluid during measurement.
[0004] Existing electromagnetic flowmeters use a certain frequency of alternating constant current excitation or a variable frequency constant current excitation, and use a three-electrode method to detect whether the pipe is not full, that is, a third electrode is set in addition to a pair of signal electrodes to detect whether the pipe is not full, and the resistance or capacitance between the third electrode and the measuring electrode is measured to determine whether the pipe is empty. However, adding a third electrode will bring technical troubles to production and manufacturing, and increase the mass production cost. Summary of the invention
[0005] In order to meet the demand of detecting whether there is an abnormal state at a low cost, the present invention provides a detection method of an electromagnetic flowmeter.
[0006] A detection method for an electromagnetic flowmeter comprises the following steps:
[0007] Controlling the output of a set of first excitation currents, collecting corresponding first potential values according to the first excitation currents, and calculating a first flow rate according to the first potential values;
[0008] Controlling the output of a set of second excitation currents, collecting corresponding second potential values according to the second excitation currents, and calculating a second flow rate according to the second potential values;
[0009] The relative error value between the second flow rate and the first flow rate is calculated, and the relative error value is compared with a preset value to determine whether the electromagnetic flowmeter is abnormal at this time.
[0010] Furthermore, the first excitation current and the second excitation current are both alternating excitation currents.
[0011] Further, controlling to output a set of first excitation currents, collecting corresponding first potential values according to the first excitation currents, and calculating a first flow rate according to the first potential values specifically include:
[0012] A first forward excitation current is output, and a corresponding first forward potential value is collected according to the first forward excitation current; a first reverse excitation current is output, and a corresponding first reverse potential value is collected according to the first reverse excitation current; and an average first flow velocity is calculated according to the first forward potential value and the first reverse potential value.
[0013] Further, controlling to output a set of second excitation currents, collecting corresponding second potential values according to the second excitation currents, and calculating the second flow rate according to the second potential values specifically include:
[0014] Output a forward second excitation current, collect the corresponding forward second potential value according to the forward second excitation current, output a reverse second excitation current, collect the corresponding reverse second potential value according to the reverse second excitation current, and calculate the average second flow rate according to the forward second potential value and the reverse second potential value.
[0015] Furthermore, the control outputs a group of first excitation currents in a group of one or more groups.
[0016] Furthermore, the number of groups of the control outputting a group of second excitation currents is one group or more.
[0017] The present invention also provides an electromagnetic flowmeter for implementing the above detection method, comprising:
[0018] The flow meter pipeline passes the liquid to be measured;
[0019] A pair of signal sensing electrodes generates a potential difference and outputs a corresponding potential value;
[0020] A signal pickup unit receives the potential value;
[0021] The main control unit controls the output of different excitation currents, processes the potential value, calculates the corresponding flow rate, calculates the relative error value of different flow rates, and compares it with the preset value.
[0022] Excitation unit, outputs excitation current.
[0023] Furthermore, the main control unit specifically includes:
[0024] A data processing unit processes the potential value and calculates the corresponding flow rate;
[0025] A calculation and comparison unit calculates relative error values of different flow rates and compares them with preset values;
[0026] Excitation output control unit controls the output of different excitation currents.
[0027] Furthermore, it also includes a signal amplification and filtering unit and an A / D conversion unit, and the signal pickup unit is connected to the main control unit through the signal amplification and filtering unit and the A / D conversion unit.
[0028] Furthermore, the excitation unit specifically includes:
[0029] Excitation current output unit, stably outputs excitation current;
[0030] The excitation coil generates a magnetic field using an excitation current.
[0031] The beneficial effects of the present invention are:
[0032] The present invention determines whether the signal is abnormal by changing the current value of the excitation current. It is easy to implement in hardware, and the data model used is relatively simple and convenient for calculation. Without increasing the complexity of the manufacturing and production of the electromagnetic flowmeter, the reliability of the electromagnetic flowmeter in measuring the flow rate and flow rate is increased, which can not only reduce the manufacturing cost but also detect abnormalities. Moreover, the detection method of the present invention can detect abnormal conditions while measuring the flow rate, and there is no need to detect abnormal conditions such as empty pipes separately, which also reduces the cost of the detection process. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 is a flow chart of the detection method;
[0035] Figure 2 It is a schematic diagram of the periodic output of the excitation current;
[0036] Figure 3 It is another schematic diagram of the excitation current cycle output;
[0037] Figure 4 It is a schematic diagram of the composition of the electromagnetic flowmeter. DETAILED DESCRIPTION
[0038] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the embodiments described below are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments.
[0040] Example 1
[0041] A detection method of an electromagnetic flowmeter, such as Figure 1 As shown, the following steps are included:
[0042] Controlling the output of a set of first excitation currents, collecting corresponding first potential values according to the first excitation currents, and calculating the first flow rate according to the first potential values, specifically:
[0043] like Figure 2 As shown, at time point T10, the first positive excitation current is output, and the current magnitude is I 1 , according to the first positive excitation current, the corresponding first positive potential value E is collected 10 At time T11, the first excitation current in the opposite direction is output, and the current magnitude is I 1 , according to the reverse first excitation current, the corresponding reverse first potential value E is collected 11 , according to the first forward potential value E 10 and the reverse first potential value E 11 Calculate the average first flow velocity V 1 .
[0044] Controlling the output of a set of second excitation currents, collecting corresponding second potential values according to the second excitation currents, and calculating the second flow rate according to the second potential values, specifically:
[0045] like Figure 2 As shown, at time point T20, a second positive excitation current is output, and the current magnitude is I 2 , according to the positive second excitation current, the corresponding positive second potential value E is collected 20 At time T21, a second excitation current with a reverse direction is output, and the current magnitude is I 2 , according to the reverse second excitation current, the corresponding reverse second potential value E is collected 21 , according to the second forward potential value E 20 and the reverse second potential value E 21 Calculate the average second flow velocity V 2 .
[0046] Calculate the second flow rate V 2 With the first flow rate V 1 The relative error value D V , the specific formula is as follows:
[0047] D V =(V 1 -V 2 ) / V 2 .
[0048] Compare the relative error value D V With the preset value D K , when the relative error value D V Less than the preset value D K When the electromagnetic flowmeter is in normal state, the measurement result is valid. Otherwise, the electromagnetic flowmeter is in abnormal state, which may be a non-full pipe state, and the measurement result is unreliable.
[0049] The first excitation current and the second excitation current are alternating excitation currents with different current magnitudes, so as to form alternating magnetic fields with different magnitudes and directions.
[0050] In this embodiment, the magnitude of the first excitation current is set to be greater than the magnitude of the second excitation current, that is, I 1 >I 2 , then the magnetic field generated is also B1>B2, and the potential value formed in this way is also that the first potential value is greater than the second potential value, that is, E 10 >E 20 , E 11 >E 21 Generally speaking, the signal-to-noise ratio of the first potential value is better than that of the second potential value. Therefore, when calculating and comparing, the data calculated by the first potential value will be used as a reference to calculate the relative error values of the two flow rates.
[0051] The detection method of the electromagnetic flowmeter in this embodiment uses different excitation currents to detect whether the liquid in the flow tube is abnormal while measuring the speed, so as to judge the reliability of the speed measurement result, without the need to install other electrodes for separate judgment. This not only saves the production cost of the electromagnetic flowmeter, but also reduces the measurement cost of the electromagnetic flowmeter when in use.
[0052] Example 2
[0053] Controlling the output of two sets of first excitation currents, collecting corresponding first potential values according to the first excitation currents, and calculating the first flow rate according to the first potential values, specifically:
[0054] like Figure 3 As shown, at time point T10, the first positive excitation current is output, and the current magnitude is I1 , according to the first positive excitation current, the corresponding first positive potential value E is collected 10 At time T11, the first excitation current in the opposite direction is output, and the current magnitude is I 1 , according to the reverse first excitation current, the corresponding reverse first potential value E is collected 11 , according to the first forward potential value E 10 and the reverse first potential value E 11 Calculate the average flow velocity V 1 .
[0055] At time point T20, the first positive excitation current is output again, and the current magnitude is I 1 , according to the first positive excitation current, the corresponding first positive potential value E is collected 20 At time T21, the first excitation current in the opposite direction is output, and the current magnitude is I 1 , according to the reverse first excitation current, the corresponding reverse first potential value E is collected 21 , according to the first forward potential value E 20 and the reverse first potential value E 21 Calculate the average flow velocity V 2 .
[0056] According to the average flow rate V calculated twice 1 and V 2 , calculate the average first flow velocity V 10 .
[0057] Controlling the output of two sets of second excitation currents, collecting corresponding second potential values according to the second excitation currents, and calculating the second flow rate according to the second potential values, specifically:
[0058] like Figure 3 As shown, at the time point T30, a second positive excitation current is output, and the current magnitude is I 2 , I 2 Less than I 1 , according to the positive second excitation current, the corresponding positive second potential value E is collected 30 At time T31, a second excitation current with a reverse direction is output, and the current magnitude is I 2 , according to the reverse second excitation current, the corresponding reverse second potential value E is collected 31 , according to the second forward potential value E 30 and the reverse second potential value E 31 Calculate the average flow velocity V 3 .
[0059] At time point T40, a second positive excitation current is output, and the current magnitude is I 2 , I 2 Less than I1 , according to the positive second excitation current, the corresponding positive second potential value E is collected 40 At time T41, a second excitation current with a reverse direction is output, and the current magnitude is I 2 , according to the reverse second excitation current, the corresponding reverse second potential value E is collected 41 , according to the second forward potential value E 40 and the reverse second potential value E 41 Calculate the average flow velocity V 4 .
[0060] According to the average flow rate V calculated twice 3 and V 4 , calculate the average second flow velocity V 20 .
[0061] Calculate the second flow rate V 20 With the first flow rate V 10 The relative error value D V , the specific formula is as follows:
[0062] D V =(V 10 -V 20 ) / V 20 .
[0063] Compare the relative error value D V With the preset value D K , when the relative error value D V Less than the preset value D K When the electromagnetic flowmeter is in normal state, the measurement result is valid. Otherwise, the electromagnetic flowmeter is in abnormal state, which may be a non-full pipe state, and the measurement result is unreliable.
[0064] The first excitation current and the second excitation current are alternating excitation currents with different current magnitudes, so as to form alternating magnetic fields with different magnitudes and directions.
[0065] In this embodiment, the magnitude of the first excitation current is set to be greater than the magnitude of the second excitation current, that is, I 1 >I 2 , then the magnetic field generated is also B1>B2, and the potential value formed in this way is also that the first potential value is greater than the second potential value, that is, E 10 >E 20 , E 11 >E 21 Generally speaking, the signal-to-noise ratio of the first potential value is better than that of the second potential value. Therefore, when calculating and comparing, the data calculated by the first potential value will be used as a reference to calculate the relative error values of the two flow rates.
[0066] In this embodiment, multiple groups of alternating excitations of two excitation currents are performed, and the flow velocity is measured multiple times to make the measurement result more accurate. It should be noted that in order to make the result more accurate, more groups of measurements can be performed.
[0067] Example 3
[0068] This embodiment provides an electromagnetic flowmeter, such as Figure 4 Shown include:
[0069] Flow meter pipeline, through which the liquid to be measured passes.
[0070] A pair of signal sensing electrodes generates a potential difference and outputs the corresponding potential value.
[0071] The signal pickup unit receives the potential value.
[0072] The main control unit controls the output of different excitation currents, processes the potential value, calculates the corresponding flow rate, calculates the relative error value of different flow rates, and compares it with the preset value.
[0073] Excitation unit, outputs excitation current.
[0074] Also includes:
[0075] The signal amplification and filtering unit and the A / D conversion unit, the signal pickup unit is connected to the main control unit through the signal amplification and filtering unit and the A / D conversion unit.
[0076] The main control unit specifically includes:
[0077] The data processing unit processes the potential value and calculates the corresponding flow rate.
[0078] The calculation and comparison unit calculates the relative error values of different flow rates and compares them with the preset values.
[0079] Excitation output control unit controls the output of different excitation currents.
[0080] The excitation unit specifically includes:
[0081] Excitation current output unit, stably outputs excitation current.
[0082] The excitation coil generates a magnetic field using an excitation current.
[0083] The signal operates as follows:
[0084] The excitation output control unit in the main control unit controls the output of different excitation currents, such as the first excitation current and the second excitation current in Example 1 and Example 2, so that the excitation current output unit in the excitation unit outputs the corresponding excitation current to generate a magnetic field through the excitation coil.
[0085] There is a liquid to be measured passing through the flow meter pipeline in the magnetic field. The electromagnetic flow meter includes a pair of signal sensing electrodes. The liquid flows through the pipeline, generates a potential difference, and outputs a corresponding potential value, such as the first potential value and the second potential value in Example 1 and Example 2. After passing through the signal amplifier, the filter unit and the A / D conversion unit, the signal is input to the data processing unit in the main control unit, the potential value is processed, and the flow rate corresponding to different potential values is calculated, such as the first flow rate and the second flow rate in Example 1 and Example 2. Finally, the signal is input to the calculation and comparison unit in the main control unit, the relative error value of different flow rates is calculated, and compared with the preset value to determine whether the currently measured value is reliable.
[0086] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0087] The units may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0088] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0089] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of an electrical, magnetic, optical, electromagnetic, infrared segment, or semiconductor, or any combination of the above.
[0090] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
Claims
1. A detection method for an electromagnetic flowmeter, characterized in that: The following steps are involved: Controlling the output of a set of first excitation currents, collecting corresponding first potential values according to the first excitation currents, and calculating a first flow rate according to the first potential values; Output a first forward excitation current, collect a corresponding first forward potential value according to the first forward excitation current, output a first reverse excitation current, collect a corresponding first reverse potential value according to the first reverse excitation current, and calculate an average first flow velocity according to the first forward potential value and the first reverse potential value; Controlling the output of a set of second excitation currents, collecting corresponding second potential values according to the second excitation currents, and calculating a second flow rate according to the second potential values; Output a second forward excitation current, collect a corresponding forward second potential value according to the forward second excitation current, output a second reverse excitation current, collect a corresponding reverse second potential value according to the reverse second excitation current, and calculate an average second flow rate according to the forward second potential value and the reverse second potential value; Calculate the relative error value D between the second flow rate and the first flow rate V , compare the relative error value D V With the preset value D K , determine whether the electromagnetic flowmeter is abnormal at this time; When the relative error value D V Less than the preset value D K When the electromagnetic flowmeter is judged to be in an abnormal state, the measurement result is valid; otherwise, the electromagnetic flowmeter is judged to be in an abnormal state, and the measurement result is unreliable. The first excitation current and the second excitation current are alternating excitation currents with different current magnitudes to form alternating magnetic fields with different magnitudes and directions; The electromagnetic flowmeter uses different excitation currents to detect whether the liquid in the flow tube is abnormal to determine the reliability of the speed measurement results.
2. The detection method of the electromagnetic flowmeter according to claim 1, characterized in that: The number of groups for controlling the output of the first excitation current may be more than one group.
3. The detection method of the electromagnetic flowmeter according to claim 1, characterized in that: The number of groups for controlling the output of the second excitation current may be more than one group.
4. An electromagnetic flowmeter, implementing the detection method of the electromagnetic flowmeter according to any one of claims 1 to 3, characterized in that: include: The flow meter pipeline passes the liquid to be measured; A pair of signal sensing electrodes generates a potential difference and outputs a corresponding potential value; A signal pickup unit receives the potential value; The main control unit controls the output of different excitation currents, processes the potential value, calculates the corresponding flow rate, calculates the relative error value of different flow rates, and compares it with the preset value; Excitation unit, outputs excitation current.
5. The electromagnetic flowmeter according to claim 4, characterized in that: The main control unit specifically includes: A data processing unit processes the potential value and calculates the corresponding flow rate; A calculation and comparison unit calculates relative error values of different flow rates and compares them with preset values; Excitation output control unit controls the output of different excitation currents.
6. The electromagnetic flowmeter according to claim 4, characterized in that: It also includes a signal amplification and filtering unit and an A / D conversion unit, and the signal pickup unit is connected to the main control unit through the signal amplification and filtering unit and the A / D conversion unit.
7. The electromagnetic flowmeter according to claim 4, characterized in that: The excitation unit specifically comprises: Excitation current output unit, stably outputs excitation current; The excitation coil generates a magnetic field using an excitation current.
