A detection device and method for an electromagnetic flowmeter

By using an automated electromagnetic flowmeter testing device and method, and by automatically adjusting valve parameters using a PLC control cabinet and a host computer system, the problem of time-consuming and labor-intensive manual adjustment in existing technologies is solved, and efficient and accurate flowmeter calibration is achieved.

CN120685180BActive Publication Date: 2025-11-14HANGZHOU PANGU AUTOMATION SYST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511194800.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-26
Publication Date
2025-11-14
Estimated Expiration
2045-08-26

AI Technical Summary

Technical Problem

In the current electromagnetic flowmeter calibration process, pump and valve parameters need to be manually adjusted, which is time-consuming, labor-intensive, and prone to errors. It is also difficult to adjust to the target flow value in one go, resulting in low production efficiency.

Method used

An automated testing device is adopted, including a fluid system, a standard meter module, a meter under test module, and a data acquisition and control system. The PLC control cabinet and the host computer system are used to automatically adjust valve parameters, automatically calculate the flow coefficient, and determine whether the flow meter is qualified.

Benefits of technology

This improves the efficiency and accuracy of electromagnetic flowmeter calibration, reduces human error, and enables rapid and accurate flow detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120685180B_ABST
    Figure CN120685180B_ABST
Patent Text Reader

Abstract

This invention provides a detection device and method for an electromagnetic flowmeter. The invention uses a program to automatically calculate and configure parameters, eliminating the need for manual parameter modification, thus saving time and effort and improving efficiency. The invention uses a program to automatically calculate the flow coefficient and uses a host computer to set parameters, which is not only convenient and fast but also less prone to errors. Furthermore, during the inspection process, the switching of the inspection flow point is automatically performed on the host computer, and adjustments are made automatically if the target flow rate is not reached. The calculation and setting of the flow coefficient are also executed on the host computer. After the inspection is completed, the host computer automatically outputs a table of inspection results, indicating whether the flow is qualified. This greatly reduces manual intervention, making it very convenient, fast, and less prone to errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial testing technology, and in particular to a testing device and method for an electromagnetic flowmeter, an electronic device, and a computer-readable storage medium. Background Technology

[0002] Electromagnetic flowmeters are widely used in petrochemical, wastewater treatment, food and pharmaceutical industries, and their accuracy directly affects production efficiency and resource management.

[0003] In trade settlement, the accuracy of flow meters directly impacts economic benefits and requires regular calibration to meet national standards. According to the requirements of "JJG 1033-2022 Verification Procedure for Electromagnetic Flow Meters," the calibration of electromagnetic flow meters must involve selecting at least five flow points for indication error verification, with each point measured three times. The currently commonly used calibration method involves the following steps:

[0004] Open the standard device;

[0005] Adjust the parameters of the water pump and valves to stabilize the flow rate at the target flow rate value;

[0006] Simultaneously record the standard reading (Q standard) and the reading of the flow meter under test (Q reading);

[0007] Calculate the single-shot error: Ei = (Q_indicated value – Q_standard) / Q_standard * 100%;

[0008] The arithmetic mean of the three errors is taken as the final error at that point;

[0009] Calculate the flow coefficient based on this error;

[0010] On the test form, the flow coefficient is set by pressing the buttons;

[0011] Change the target flow value and repeat steps two through five to obtain detection data from five flow points;

[0012] Based on the error data, the operator manually determines whether the flow meter meets the testing requirements.

[0013] However, setting the flow coefficient for each meter under test requires manual calculation, followed by manual operation to set the flow coefficient for each meter. This is because during the calibration of electromagnetic flowmeters, changing the target flow point necessitates manual modification of pump and valve parameters. A single modification may not achieve the target flow value, requiring multiple modifications to gradually approach it. Therefore, this process is laborious, time-consuming, and prone to errors.

[0014] Furthermore, during the calibration process, when switching target flow points, parameters such as pumps and valves need to be adjusted. The current method involves manually calculating coefficients and manually setting parameters on the instrument under test. In addition to flow rate, the target flow point check also requires certain pressure parameters within the pipe section. Therefore, the target parameters are difficult to adjust precisely in one go and require multiple adjustments. This results in low production efficiency. Summary of the Invention

[0015] To address the technical problems existing in the prior art, the present invention provides the following technical solution:

[0016] On one hand, a detection device for an electromagnetic flowmeter is provided, the device comprising:

[0017] The fluid system comprises several piping loops used to provide the fluid lines required for testing;

[0018] The standard meter module includes at least one standard flow meter, which is used to perform standard detection on pipeline fluid through pre-deployed standard flow meters and output the corresponding standard flow meter flow to the data acquisition and control system.

[0019] The test meter module includes at least one test flow meter, which is used to output the test meter flow rate when the pipeline fluid passes through the test flow meter to the data acquisition and control system.

[0020] The data acquisition and control system is used to logically control the detection operation of the fluid system, the standard meter module, and the meter under test module, and to calculate the flow detection accuracy level of the meter under test based on the difference between the flow rate of the standard flow meter and the flow rate of the meter under test, and to determine whether the meter under test is qualified based on the level.

[0021] The fluid system, the standard meter module, and the meter under test module are electrically connected to the data acquisition and control system, respectively.

[0022] Preferably, the data acquisition and control system includes:

[0023] PLC control cabinet;

[0024] The host computer system is used to control the operation of the device, sample the flow rate, calculate and determine whether the flow meter under test is qualified.

[0025] The host computer system includes a relational database, a flow control system, and a visual operation interface. The relational database is used to store flow configuration parameters corresponding to different detection modes. The flow control system is used to read the flow configuration parameters and execute and control the device through the PLC control cabinet to achieve the target flow value. The visual operation interface is used to display the operating parameters of the fluid system and provide an operation interface.

[0026] The PLC control cabinet is communicatively connected to the host computer system.

[0027] Preferably, the host computer system is further used for:

[0028] The flow meter diameter of the flow meter under test is collected by the user through the visual operation interface;

[0029] Based on the flowmeter diameter of the flowmeter under test, select a pipe loop from the fluid system that matches the flowmeter diameter of the flowmeter under test and control the pipe loop to be open.

[0030] as well as,

[0031] The flow configuration parameters of the corresponding flow meter diameter are read from the relational database and executed by the PLC control cabinet. The control device operates according to the flow configuration parameters.

[0032] as well as,

[0033] Collect the standard flow rate output from the standard flow meter and determine whether the target flow rate value has been reached:

[0034] If so, then keep the device running continuously;

[0035] If not, the valve parameters of the pipeline loop are adjusted using the flow adjustment algorithm built into the flow control system until the target flow value is reached.

[0036] Preferably, the test form module further includes:

[0037] A temperature sensor is used to detect the fluid temperature in the pipeline loop where the flow meter under test is located and transmits the temperature to the host computer system via the PLC control cabinet.

[0038] A pressure transmitter is used to detect the fluid pressure in the pipeline loop where the flow meter under test is located and transmit the data to the host computer system via the PLC control cabinet.

[0039] The temperature sensor and the pressure transmitter are electrically connected to the PLC control cabinet, respectively.

[0040] Preferably, the host computer system is further used for:

[0041] The system collects the flow meter diameter of the flow meter under test, as well as the fluid temperature and fluid pressure of the pipeline loop where the flow meter under test is located, input by the user through the visual operation interface.

[0042] Based on the flowmeter diameter of the flowmeter under test, select a pipe loop from the fluid system that matches the flowmeter diameter of the flowmeter under test and control the pipe loop to be open.

[0043] as well as,

[0044] The flow configuration parameters, including the flow meter diameter, fluid temperature, and fluid pressure of the pipeline loop, are read from the relational database and executed by the PLC control cabinet. The control device operates according to the flow configuration parameters.

[0045] as well as,

[0046] Collect the standard flow rate output from the standard flow meter and determine whether the target flow rate value has been reached:

[0047] If so, then keep the device running continuously;

[0048] If not, the valve parameters of the pipeline loop are adjusted using the flow adjustment algorithm built into the flow control system until the target flow value is reached.

[0049] Preferably, the host computer system is further used for:

[0050] Enable single-point testing:

[0051] Collect the standard flow rate output from the standard flow meter at this single point and the flow rate of the flow meter under test output at this single point, and calculate the single-point error:

[0052] Single-point error = (Flow rate of the meter under test - Flow rate of the standard flow meter) / Flow rate of the standard flow meter * 100%;

[0053] Repeat the above steps and calculate the average of the multiple single-point errors to obtain the final error;

[0054] The flow coefficient of the flow meter under test at the single point is calculated based on the final error, and the flow coefficient is transmitted to the corresponding flow meter under test through the PLC control cabinet.

[0055] According to the preset verification conditions, at least 5 measurement points are automatically configured for the flow meter under test, and the flow configuration parameters of the pipeline loop where each measurement point is located are read from the relational database and executed through the PLC control cabinet. The final error of each measurement point is collected according to the single-point test steps described above.

[0056] Find the largest final error among all measurement points, and use it as the flow detection accuracy class of the flow meter under test. Then, determine whether the flow meter under test is qualified based on the class.

[0057] If the maximum final error is less than the flow detection accuracy class of the standard flow meter, the flow meter under test is deemed qualified.

[0058] Conversely, it is considered unqualified.

[0059] Preferably, the host computer system is further used for:

[0060] Output the flow detection data and the detection results of the flow meter under test during the detection process, and write the flow detection data and the detection results of the flow meter under test into a preset detection table;

[0061] The detection table is stored on a cloud server for safekeeping.

[0062] On the other hand, a detection method for an electromagnetic flowmeter is provided, based on the detection device for the electromagnetic flowmeter described above, the method comprising:

[0063] The user inputs the flow meter diameter of the flow meter under test through a visual operation interface;

[0064] The host computer system selects a pipe loop matching the flowmeter diameter of the flowmeter under test from the fluid system and controls the pipe loop to be connected; it also reads the flow configuration parameters corresponding to the flowmeter diameter of the flowmeter under test from the relational database and executes them through the PLC control cabinet, and the control device operates according to the flow configuration parameters; and it collects the corresponding standard flowmeter output from the standard flowmeter and determines whether the target flow value has been reached.

[0065] If so, then keep the device running continuously;

[0066] If not, the valve parameters of the pipeline loop are adjusted using the flow adjustment algorithm built into the flow control system until the target flow value is reached;

[0067] Enabling single-point testing on the host computer system:

[0068] Collect the standard flow rate output from the standard flow meter at this single point and the flow rate of the tested flow meter at this single point, and calculate the single-point error:

[0069] Single-point error = (Flow rate of the meter under test - Flow rate of the standard flow meter) / Flow rate of the standard flow meter × 100%;

[0070] Repeat the above steps and calculate the average of the multiple single-point errors to obtain the final error;

[0071] The flow coefficient of the flow meter under test at the single point is calculated based on the final error, and the flow coefficient is transmitted to the corresponding flow meter under test through the PLC control cabinet.

[0072] According to the preset verification conditions, at least 5 measurement points are automatically configured for the flow meter under test, and the flow configuration parameters of the pipeline loop where each measurement point is located are read from the relational database and executed through the PLC control cabinet. The final error of each measurement point is collected according to the single-point test steps described above.

[0073] Find the largest final error among all measurement points, and use it as the flow detection accuracy class of the flow meter under test. Then, determine whether the flow meter under test is qualified based on the class.

[0074] If the maximum final error is less than the flow detection accuracy class of the standard flow meter, the flow meter under test is deemed qualified.

[0075] Conversely, it is unqualified;

[0076] The host computer system outputs the flow detection data and the detection results of the flow meter under test during the detection process, and writes the flow detection data and the detection results of the flow meter under test into a preset detection table; and stores the detection table to the cloud server for safekeeping.

[0077] On the other hand, an electronic device is provided, comprising: a processor; and a memory storing computer-readable instructions, which, when executed by the processor, implement the detection method of the electromagnetic flowmeter described above.

[0078] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, the at least one instruction being loaded and executed by a processor to implement the detection method of the electromagnetic flowmeter described above.

[0079] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following:

[0080] During the calibration of electromagnetic flowmeters, the parameters of the pump and valve need to be manually modified when changing the target flow point. A single modification may not achieve the target flow value, requiring multiple modifications to gradually approach it. This invention, however, uses a program to automatically calculate and configure parameters, eliminating the need for manual parameter modification, thus saving time and effort and improving efficiency.

[0081] During the calibration of electromagnetic flowmeters, it is necessary to calculate and set the flow coefficient of the meter under test. The current method involves manually calculating the coefficient and manually setting the parameters on the meter. This invention uses a program to automatically calculate the flow coefficient and uses a host computer to set the parameters, which is not only convenient and fast but also less prone to errors.

[0082] Furthermore, in this invention, the switching of the inspection flow point is automatically performed in the host computer during the inspection process, and it will also automatically adjust if the target flow rate is not reached. The calculation and setting of the flow coefficient are also performed on the host computer. After the inspection is completed, the host computer automatically outputs a table of inspection results, which gives a conclusion on whether the inspection is qualified or not. This greatly reduces the manual intervention process, making it very convenient, fast, and less prone to errors. Attached Figure Description

[0083] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0084] Figure 1 This is a flowchart of a detection device and detection method for an electromagnetic flowmeter provided in an embodiment of the present invention;

[0085] Figure 2 This is a schematic diagram of the structure of a fluid system provided in an embodiment of the present invention;

[0086] Figure 3 This is a block diagram of a method provided in an embodiment of the present invention;

[0087] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0088] The technical solution of the present invention will now be described with reference to the accompanying drawings.

[0089] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.

[0090] In the embodiments of this invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning. Similarly, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning.

[0091] In this embodiment of the invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.

[0092] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.

[0093] This invention provides a detection device and method for an electromagnetic flowmeter. This method can be implemented by an electronic device, which can be a terminal or a server. Figure 1 The diagram shows the system composition of the detection device for the electromagnetic flowmeter. The device includes:

[0094] The fluid system comprises several piping loops used to provide the fluid lines required for testing;

[0095] The standard meter module includes at least one standard flow meter, which is used to perform standard detection on pipeline fluid through pre-deployed standard flow meters and output the corresponding standard flow meter flow to the data acquisition and control system.

[0096] The test meter module includes at least one test flow meter, which is used to output the test meter flow rate when the pipeline fluid passes through the test flow meter to the data acquisition and control system.

[0097] The data acquisition and control system is used to logically control the detection operation of the fluid system, the standard meter module, and the meter under test module, and to calculate the flow detection accuracy level of the meter under test based on the difference between the flow rate of the standard flow meter and the flow rate of the meter under test, and to determine whether the meter under test is qualified based on the level.

[0098] The fluid system, the standard meter module, and the meter under test module are electrically connected to the data acquisition and control system, respectively.

[0099] This invention uses a standard flow meter to determine whether the flow detection performance of a target device (the electromagnetic flow meter under test, also called the "flow meter being inspected") is up to standard. The standard flow meter can be provided by a laboratory or quality inspection department. The principles of the embodiments of this invention will be described in detail below.

[0100] A fluid system, or system in which fluids flow, typically involves valves, pumps, pressure stabilizing equipment, etc. For example... Figure 2 As shown, the fluid system includes a water pump, a pressure tank, and a piping system. The piping system comprises a main pipeline, branch pipelines, and valve assemblies. This system provides stable fluid pressure, ensuring a continuous and stable flow of the fluid medium (water) within the pipeline.

[0101] Combined with appendix Figure 3As shown, the fluid system is connected to the standard meter module via a pipe section; the fluid system is electrically connected to the data acquisition and control system.

[0102] The standard meter module consists of a standard flow meter and its upstream and downstream straight pipe sections. The accuracy class of the standard flow meter is typically no less than 0.2, and it needs to be periodically calibrated by the national quality inspection department to ensure its accuracy requirements. The standard flow meter is connected to the pipe sections in the fluid system via flanges; the standard meter module is connected to the meter module under test via pipe sections. The standard flow meter has an electrical connection to the data acquisition and control system, and can output instantaneous flow rate (current signal) and cumulative flow rate (pulse signal) to the data acquisition system.

[0103] The test instrument module consists of the flow meter under test, upstream and downstream straight pipe sections, a temperature sensor, and a pressure transmitter. The flow meter is connected to the pipe section via a flange, ensuring a leak-free seal. The temperature and pressure transmitters monitor the temperature and pressure signals of the fluid medium during calibration. An electrical connection exists between the test instrument and the data acquisition and control system for transmitting the accumulated flow rate (pulse signal) output by the test instrument. A RS-485 communication connection also exists between the test instrument and the control system; the control system uses the Modbus / RTU protocol when setting the instrument parameters of the test instrument.

[0104] like Figure 3 As shown, preferably, the data acquisition and control system includes:

[0105] PLC control cabinet;

[0106] The host computer system is used to control the operation of the device, sample the flow rate, calculate and determine whether the flow meter under test is qualified.

[0107] The host computer system includes a relational database, a flow control system, and a visual operation interface. The relational database is used to store flow configuration parameters corresponding to different detection modes. The flow control system is used to read the flow configuration parameters and execute and control the device through the PLC control cabinet to achieve the target flow value. The visual operation interface is used to display the operating parameters of the fluid system and provide an operation interface.

[0108] The PLC control cabinet is communicatively connected to the host computer system.

[0109] The data acquisition and control system includes a PLC control cabinet and a host computer system. The flow output signals of all standard flow meters and the instruments under test are connected to the PLC control cabinet. The control signals of the water pumps and valves in the fluid system are also connected to the PLC control cabinet. The PLC control cabinet and the host computer system are connected via a network cable, using the TCP / IP protocol to exchange and transmit data in real time. The host computer can both control the output fluid system parameters and acquire flow signals. This allows for precise control of the device's flow rate, ensuring it meets the target flow rate required for calibration.

[0110] The host computer software system consists of a relational database, a flow control system, and a visual user interface. The relational database stores flow configuration parameters. The flow control system reads these parameters from the database, loads them into the fluid system, and optimizes the configuration parameters based on actual flow feedback to achieve the target flow rate. The optimized configuration parameters are synchronously saved back to the relational database. The visual user interface displays all components in the fluid system, providing a means of manual inspection in addition to automatic detection.

[0111] The test gauge module contains multiple test gauges. Each test gauge is connected to the pipe section via a flange. Two protruding long shafts are welded to the lower edge of the pipe section for holding the test gauges. A pipe valve is installed at the rear end of the test gauge module. Before placing the test gauge, push the pipe valve backward to loosen the pipe section, allowing it to move freely and facilitating test gauge placement. After placing the test gauge, push the pipe valve forward to clamp the connection between the test gauge and the pipe, ensuring no leakage.

[0112] The standard meter module contains multiple meters under test. Each standard flow meter is connected to the pipe section via a flange and secured with screws. The standard flow meters do not require disassembly; a stable and tight connection must be ensured. Unstable connections will affect the measurement accuracy of the standard flow meters.

[0113] The fluid system, standard gauge module, and gauge under test module together constitute the hardware structure of the entire flow meter. The working principle of the test is:

[0114] When a pipeline is filled with fluid, the flow rate through the standard flow meter and the flow rate through the tested instrument are theoretically equal at any given time. By setting a suitable testing time and measuring the flow rates through both the standard flow meter and the tested instrument during that time, the single-point error of the tested instrument can be calculated. By testing at multiple flow points, the accuracy class of the tested instrument can be obtained, thus providing a conclusion as to whether the tested instrument is qualified.

[0115] The following section will describe the specific detection process of the host computer in conjunction with the host computer's control method.

[0116] Preferably, the host computer system is further used for:

[0117] The flow meter diameter of the flow meter under test is collected by the user through the visual operation interface;

[0118] Based on the flowmeter diameter of the flowmeter under test, select a pipe loop from the fluid system that matches the flowmeter diameter of the flowmeter under test and control the pipe loop to be open.

[0119] as well as,

[0120] The flow configuration parameters of the corresponding flow meter diameter are read from the relational database and executed by the PLC control cabinet. The control device operates according to the flow configuration parameters.

[0121] as well as,

[0122] Collect the standard flow rate output from the standard flow meter and determine whether the target flow rate value has been reached:

[0123] If so, then keep the device running continuously;

[0124] If not, the valve parameters of the pipeline loop are adjusted using the flow adjustment algorithm built into the flow control system until the target flow value is reached.

[0125] The fluid system is equipped with several pipeline loops selectable by the host computer, each suitable for different testing requirements. A relational database pre-stores mapping tables of pipeline loops compatible with different flowmeter diameters under test. Later, based on the flowmeter diameter input by the user, the host computer automatically retrieves the mapping configuration parameters, finds the matching pipeline loop, and controls the operation and conduction of various valves and other electronic components within the pipeline loop via PLC. This achieves automated pipeline selection and operation, avoiding the inefficiencies of manual configuration.

[0126] In addition, the relational database stores the flow configuration parameters (such as the corresponding target flow value, valve opening angle, water pump operating parameters, etc.) of the flow meter diameter corresponding to the flow meter under test. The host computer can automatically read the flow configuration parameters of the flow meter diameter corresponding to the flow meter under test and hand them over to the PLC for execution, so as to realize automated parameter matching control and operation.

[0127] Furthermore, the host computer of this invention is equipped with an intelligent flow adjustment algorithm, which can automatically adjust the valve parameters of the pipeline loop until the target flow value is reached. Specifically:

[0128] ΔV = K·e-βt·|1-Qc / Qt|,

[0129] ΔV: Valve opening adjustment amount (%);

[0130] K: Dynamic gain coefficient The results were obtained through calibration tests of the system's standard flow meter.

[0131] Qc: Current standard flow value ;

[0132] Qt: Target traffic value ;

[0133] β: Attenuation factor Based on experience;

[0134] t: Adjust the duration (s).

[0135] Through intelligent adjustment of dynamic gain and attenuation factor, the adaptive adjustment time is ≤3s (8-15s for traditional PID adjustment algorithm), and the flow overshoot phenomenon can be reduced.

[0136] Therefore, the algorithm model designed in this invention is based on the exponential decay dynamic adjustment formula:

[0137] Introducing an exponential decay term The adjustment intensity can be intelligently reduced over time;

[0138] The dynamic gain coefficient (K) is automatically adjusted according to the magnitude of the error to avoid over-adjustment;

[0139] Relative error term Ensure linear response across different ranges.

[0140] Preferably, the test form module further includes:

[0141] A temperature sensor is used to detect the fluid temperature in the pipeline loop where the flow meter under test is located and transmits the temperature to the host computer system via the PLC control cabinet.

[0142] A pressure transmitter is used to detect the fluid pressure in the pipeline loop where the flow meter under test is located and transmit the data to the host computer system via the PLC control cabinet.

[0143] The temperature sensor and the pressure transmitter are electrically connected to the PLC control cabinet, respectively.

[0144] This method can further improve the measurement results of the flow meter by combining the fluid temperature and pressure of the pipeline loop where the flow meter is located. Because the flow meter's detection performance is also affected by temperature and fluid pressure, this method combines the fluid temperature and pressure of the pipeline loop where the flow meter is located to comprehensively test the flow meter's detection performance, thereby improving detection accuracy.

[0145] The sensor can be freely configured by the user. This embodiment provides the following configuration:

[0146] model RS485 Infrared Temperature Sensor Measurement range 0~300℃ Precision ±1℃ or ±1% of the reading Resolution 0.1℃ Response time 100~500ms Communication interface RS485 digital interface Work environment 0~75℃ Features Non-contact measurement, 8~14μm spectral response

[0147] Table 1---Temperature Sensors

[0148] model ST208 series Measurement range -0.1~40MPa Precision ±0.25%FS Output signal 4-20mA / RS485 Operating temperature -40~85℃ Protection level IP65 / IP68 Features Diffused silicon sensor, supporting temperature compensation

[0149] Table 2---Pressure Transmitters

[0150] It adopts a two-wire RS485 bus topology:

[0151] Connect the PLC's SDA / RDA terminals to the sensor's A+ terminal (the wiring can be varied depending on the sensor's structure).

[0152] Connect the PLC's SDB / RDB terminal to the sensor's B- terminal;

[0153] A 120Ω terminating resistor is connected to each end of the bus to eliminate signal reflection;

[0154] Use a shielded twisted-pair cable with the shield grounded at one end.

[0155] Communication parameters are configured using the Modbus RTU protocol. The PLC program needs to configure: set the communication port to RS485 mode; initialize the Modbus master function block; and define data mapping relationships (such as the temperature register address).

[0156] To improve the accuracy of the detection signal, the present invention configures the following signal processing algorithm in the PLC control cabinet (PLC controller embedded program):

[0157] 1. The temperature value is calculated using a polynomial temperature compensation algorithm:

[0158]

[0159] In the formula:

[0160] : Compensated temperature value (°C);

[0161] : Sensor raw reading (°C);

[0162] : The i-th order compensation coefficient (determined through calibration experiments);

[0163] Temperature coefficient (°C / °C);

[0164] Ambient temperature (°C);

[0165] Reference temperature (usually 25℃).

[0166] Implementation steps: Collect standard temperature point data under different ambient temperatures, use the least squares method to fit and determine the compensation coefficient, calculate the compensation value in real time and correct the measurement results.

[0167] 2. The pressure value is calculated using a combined pressure linearity and temperature compensation model:

[0168]

[0169] In the formula:

[0170] : Compensated pressure value (MPa);

[0171] Sensor raw output (digital or mA);

[0172] Zero-point offset (MPa);

[0173] Sensitivity coefficient (MPa / unit);

[0174] β: Temperature effect coefficient (1 / ℃);

[0175] T: Current temperature (°C);

[0176] Calibration temperature (°C).

[0177] Signal-to-noise ratio optimization processing:

[0178]

[0179] For signal power, Noise power;

[0180] Digital filtering is enabled when SNR < 30dB:

[0181] ,

[0182] This represents the pressure value after the nth filtration.

[0183] This refers to the data collected by the sensor for the nth time.

[0184] This is the pressure value after the (n-1)th filtration.

[0185] The above method enables multi-sensor networking based on RS485 bus, reducing wiring complexity; it also enables intelligent compensation, with the PLC improving measurement accuracy by more than 30% through real-time temperature / nonlinear compensation algorithms.

[0186] Preferably, the host computer system is further used for:

[0187] The system collects the flow meter diameter of the flow meter under test, as well as the fluid temperature and fluid pressure of the pipeline loop where the flow meter under test is located, input by the user through the visual operation interface.

[0188] Based on the flow meter diameter of the flow meter under test, select a pipe loop from the fluid system that matches the flow meter diameter of the flow meter under test and control the pipe loop to be open.

[0189] as well as,

[0190] The flow configuration parameters, including the flow meter diameter, fluid temperature, and fluid pressure of the pipeline loop, are read from the relational database and executed by the PLC control cabinet. The control device operates according to the flow configuration parameters.

[0191] as well as,

[0192] Collect the standard flow rate output from the standard flow meter and determine whether the target flow rate value has been reached:

[0193] If so, then keep the device running continuously;

[0194] If not, the valve parameters of the pipeline loop are adjusted using the flow adjustment algorithm built into the flow control system until the target flow value is reached.

[0195] For the method of retrieving the flow configuration parameters of the flowmeter diameter and the fluid temperature and pressure of the pipeline loop corresponding to the flowmeter under test from the relational database, please refer to the previous description. By establishing and storing a mapping table of the flow configuration parameters of the flowmeter diameter and the fluid temperature and pressure of the pipeline loop corresponding to the flowmeter under test, a mapping retrieval can be performed to find the flow configuration parameters of the flowmeter diameter and the fluid temperature and pressure of the pipeline loop corresponding to the flowmeter under test.

[0196] This paper combines the previously proposed flow adjustment algorithm ΔV = K·e-βt·|1-Qc / Qt| with temperature and pressure compensation and adaptive control, and proposes a flow optimization adjustment algorithm:

[0197]

[0198] in:

[0199] The coefficient for temperature influence is 1 / ℃;

[0200] The pressure influence coefficient is 1 / MPa;

[0201] P represents the current fluid pressure, in MPa;

[0202] This is the reference pressure (usually taken as standard atmospheric pressure, 0.101325 MPa).

[0203] This solution introduces This item, based on a polynomial temperature compensation algorithm, reflects the impact of fluid temperature changes on valve adjustment.

[0204] Introduction This item, based on a pressure linearity and temperature composite compensation model, reflects the impact of fluid pressure changes on valve adjustment.

[0205] The temperature and pressure compensation terms are incorporated into the original formula in a linear superposition manner to form a comprehensive compensation mechanism.

[0206] The advantages of this optimization algorithm are as follows:

[0207] Dynamic compensation improves accuracy: Through real-time temperature and pressure compensation, the flow control accuracy is improved by more than 30%, which is especially suitable for the control of temperature and pressure sensitive media such as steam;

[0208] Enhanced system stability: The temperature and pressure compensation coefficient can effectively offset the control deviation caused by changes in operating conditions, enabling the system to maintain stable control under varying operating conditions;

[0209] Adaptive capability optimization: The algorithm automatically adapts to changes in flow characteristics under different temperature and pressure conditions, reducing the need for manual intervention;

[0210] Highly configurable parameters: and The coefficients can be calibrated and adjusted according to the specific characteristics of the medium, making them suitable for various industrial fluid control scenarios.

[0211] Parameter calibration process:

[0212] Test the flow characteristics at different temperature points (5℃ intervals recommended) to determine coefficient;

[0213] Test the flow characteristics at different pressure points (recommended interval of 0.1 MPa) to determine... coefficient;

[0214] The compensation coefficients are optimized by fitting using the least squares method.

[0215] Temperature sampling period is recommended to be ≤500ms;

[0216] The pressure sampling period is recommended to be ≤500ms;

[0217] Compensation calculations and flow control are performed simultaneously.

[0218] By systematically incorporating a temperature and pressure compensation mechanism, the adaptability and control accuracy of the flow control algorithm under varying operating conditions are improved, while maintaining the simplicity and real-time characteristics of the original algorithm.

[0219] Preferably, the host computer system is further used for:

[0220] Enable single-point testing:

[0221] Collect the standard flow rate output from the standard flow meter at this single point and the flow rate of the tested flow meter at this single point, and calculate the single-point error:

[0222] Single-point error = (Flow rate of the meter under test - Flow rate of the standard flow meter) / Flow rate of the standard flow meter * 100%;

[0223] Repeat the above steps and calculate the average of the multiple single-point errors to obtain the final error;

[0224] The flow coefficient of the flow meter under test at the single point is calculated based on the final error, and the flow coefficient is transmitted to the corresponding flow meter under test through the PLC control cabinet.

[0225] According to the preset verification conditions, at least 5 measurement points are automatically configured for the flow meter under test, and the flow configuration parameters of the pipeline loop where each measurement point is located are read from the relational database and executed through the PLC control cabinet. The final error of each measurement point is collected according to the single-point test steps described above.

[0226] Find the largest final error among all measurement points, and use it as the flow detection accuracy class of the flow meter under test. Then, determine whether the flow meter under test is qualified based on the class.

[0227] If the maximum final error is less than the flow detection accuracy class of the standard flow meter, the flow meter under test is deemed qualified.

[0228] Conversely, it is considered unqualified.

[0229] The conversion calculation of the flow coefficient is as follows:

[0230] Final error = ∑(single point error) / n, (n≥3 repetitions);

[0231] Flow coefficient K:

[0232] K = 1 / (1 + final error / 100).

[0233] The single-point test can be activated and run by the host computer according to a preset program. During the above inspection process, the switching of the inspection flow points is automatically carried out in the host computer. If the target flow rate is not reached, it will also be automatically adjusted. The calculation and setting of the flow coefficient are also executed on the host computer. After the inspection is completed, the host computer automatically outputs a table of inspection results, and the conclusion of whether it is qualified is given in the table. This greatly reduces the process of manual participation, is very convenient and fast, and is not prone to errors.

[0234] Preferably, the host computer system is further configured to:

[0235] Output the flow detection data during the detection process and the detection results of the inspected flowmeter, and write the flow detection data and the detection results of the inspected flowmeter into a preset detection table;

[0236] Store the detection table in the cloud server for preservation.

[0237] During the inspection process, the host computer will record the original flow data in an Excel table for subsequent query and archiving. After the inspection is completed, the operator uploads the inspection process data to the server for long-term preservation.

[0238] The host computer processing system writes the data into the table according to a preset program and uploads it to the cloud server to achieve cloud storage. Subsequently, users can log in to the cloud server to view the detection table.

[0239] On the other hand, a detection method for an electromagnetic flowmeter is provided, which is implemented based on the above-mentioned detection device for an electromagnetic flowmeter. The method includes:

[0240] The user inputs the flowmeter diameter of the inspected flowmeter through a visual operation interface;

[0241] The host computer system selects a pipeline loop that matches the flowmeter diameter of the inspected flowmeter from the fluid system according to the flowmeter diameter of the inspected flowmeter and controls the pipeline loop to conduct; and reads the flow configuration parameters corresponding to the flowmeter diameter of the inspected flowmeter from the relational database and executes through the PLC control cabinet, and the control device operates according to the flow configuration parameters; and collects the standard flowmeter output corresponding to the standard flowmeter flow and determines whether the target flow value is reached:

[0242] If so, keep the device running continuously;

[0243] If not, adjust the valve parameters of the pipeline loop through the flow adjustment algorithm built in the flow control system until the target flow value is reached;

[0244] The host computer system starts the single-point test:

[0245] Collect the standard flow rate output from the standard flow meter at this single point and the flow rate of the tested flow meter at this single point, and calculate the single-point error:

[0246] Single-point error = (Flow rate of the meter under test - Flow rate of the standard flow meter) / Flow rate of the standard flow meter × 100%;

[0247] Repeat the above steps and calculate the average of the multiple single-point errors to obtain the final error;

[0248] The flow coefficient of the flow meter under test at the single point is calculated based on the final error, and the flow coefficient is transmitted to the corresponding flow meter under test through the PLC control cabinet.

[0249] According to the preset verification conditions, at least 5 measurement points are automatically configured for the flow meter under test, and the flow configuration parameters of the pipeline loop where each measurement point is located are read from the relational database and executed through the PLC control cabinet. The final error of each measurement point is collected according to the single-point test steps described above.

[0250] Find the largest final error among all measurement points, and use it as the flow detection accuracy class of the flow meter under test. Then, determine whether the flow meter under test is qualified based on the class.

[0251] If the maximum final error is less than the flow detection accuracy class of the standard flow meter, the flow meter under test is deemed qualified.

[0252] Conversely, it is unqualified;

[0253] The host computer system outputs the flow detection data and the detection results of the flow meter under test during the detection process, and writes the flow detection data and the detection results of the flow meter under test into a preset detection table; and stores the detection table to the cloud server for safekeeping.

[0254] Please understand and implement the above methods and steps in conjunction with the application principles of the aforementioned device; they will not be repeated here.

[0255] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, such as... Figure 4 As shown, the electronic device may include the method described above. Optionally, the electronic device 410 may include a first processor 2001.

[0256] Optionally, the electronic device 410 may also include a memory 2002 and a transceiver 2003.

[0257] The first processor 2001, memory 2002, and transceiver 2003 can be connected via a communication bus.

[0258] The following is combined Figure 4A detailed description of each component of electronic device 410 is provided below:

[0259] The first processor 2001 is the control center of the electronic device 410. It can be a single processor or a collective term for multiple processing elements. For example, the first processor 2001 can be one or more central processing units (CPUs), application-specific integrated circuits (ASICs), or one or more integrated circuits configured to implement embodiments of the present invention, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).

[0260] Optionally, the first processor 2001 can perform various functions of the electronic device 410 by running or executing software programs stored in the memory 2002 and calling data stored in the memory 2002.

[0261] In a specific implementation, as one example, the first processor 2001 may include one or more CPUs, for example... Figure 4 CPU0 and CPU1 are shown in the diagram.

[0262] In a specific implementation, as one example, the electronic device 410 may also include multiple processors, for example... Figure 4 The first processor 2001 and the second processor 2004 are shown in the diagram. Each of these processors can be a single-core processor or a multi-core processor. Here, a processor can refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).

[0263] The memory 2002 is used to store the software program that executes the present invention, and is controlled by the first processor 2001 to execute it. The specific implementation method can be referred to the above method embodiment, and will not be repeated here.

[0264] Optionally, the memory 2002 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 2002 may be integrated with the first processor 2001 or may exist independently and be connected via the interface circuit of the electronic device 410. Figure 4 (Not shown in the image) is coupled to the first processor 2001, and this embodiment of the invention does not specifically limit this.

[0265] The transceiver 2003 is used to communicate with network devices or with terminal devices.

[0266] Alternatively, transceiver 2003 may include a receiver and a transmitter. Figure 4 (Not shown separately). The receiver is used to implement the receiving function, and the transmitter is used to implement the transmitting function.

[0267] Optionally, the transceiver 2003 can be integrated with the first processor 2001, or it can exist independently and be connected via the interface circuit of the electronic device 410. Figure 4 (Not shown in the image) is coupled to the first processor 2001, and this embodiment of the invention does not specifically limit this.

[0268] It should be noted that, Figure 4 The structure of the electronic device 410 shown does not constitute a limitation on the router. Actual knowledge structure identification devices may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0269] Furthermore, the technical effects of the electronic device 410 can be referred to the technical effects of the detection device and detection method of the electromagnetic flowmeter described in the above method embodiments, and will not be repeated here.

[0270] It should be understood that the first processor 2001 in the embodiments of the present invention may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0271] It should also be understood that the memory in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0272] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.

[0273] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. A and B can be singular or plural. Additionally, the character " / " in this article generally indicates an "or" relationship between the preceding and following related objects, but it can also represent an "and / or" relationship. Please refer to the context for a more accurate understanding.

[0274] In this invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be a single item or multiple items.

[0275] It should be understood that, in various embodiments of the present invention, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0276] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0277] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0278] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0279] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0280] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0281] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0282] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A detection device for an electromagnetic flowmeter, characterized in that, The device includes: The fluid system comprises several piping loops used to provide the fluid lines required for testing; The standard meter module includes at least one standard flow meter, which is used to perform standard detection on pipeline fluid through pre-deployed standard flow meters and output the corresponding standard flow meter flow to the data acquisition and control system. The test meter module includes at least one test flow meter, which is used to output the test meter flow rate when the pipeline fluid passes through the test flow meter to the data acquisition and control system. A data acquisition and control system is used to logically control the detection operation of the fluid system, the standard meter module, and the meter under test module, and to calculate the flow detection accuracy level of the meter under test based on the difference between the flow rate of the standard flow meter and the flow rate of the meter under test, and to determine whether the meter under test is qualified based on the accuracy level; the data acquisition and control system includes: PLC control cabinet; The host computer system includes a flow control system; the host computer system is used to execute and control the operation of the device through the PLC control cabinet; and, Collect the standard flow rate output from the standard flow meter and determine whether the target flow rate value has been reached: If so, then keep the device running continuously; If not, the valve parameters of the pipeline loop are adjusted using the flow adjustment algorithm built into the flow control system until the target flow value is reached; wherein, the flow adjustment algorithm can automatically adjust the valve parameters of the pipeline loop until the target flow value is reached, specifically: ΔV = K·e -βt ·|1-Qc / Qt|, ΔV: Valve opening adjustment amount (%); K: Dynamic gain coefficient 0.8-1.2, obtained by calibration test of the system's standard flow meter; Qc: Current standard flow value ; Qt: Target traffic value ; β: Attenuation factor Based on experience; t: Adjust the duration (s); Intelligent adjustment of dynamic gain and attenuation factor; The algorithm model is based on a dynamically adjusted formula with exponential decay: Introducing the exponential decay term e -βt The adjustment intensity can be intelligently reduced over time; The dynamic gain coefficient (K) is automatically adjusted according to the magnitude of the error to avoid over-adjustment; Relative error term Ensure linear response across different measurement ranges; The fluid system, the standard meter module, and the meter under test module are electrically connected to the data acquisition and control system, respectively.

2. The detection device for the electromagnetic flowmeter according to claim 1, characterized in that, The host computer system is also used to sample the flow rate, calculate and determine whether the flow meter under test is qualified; The host computer system also includes a relational database and a visual operation interface. The relational database is used to store flow configuration parameters corresponding to different detection modes. The flow control system is used to read the flow configuration parameters and execute and control the device through the PLC control cabinet to achieve the target flow value. The visual operation interface is used to display the operating parameters of the fluid system and provide an operation interface. The PLC control cabinet is communicatively connected to the host computer system.

3. The detection device for the electromagnetic flowmeter according to claim 2, characterized in that, The tested form module also includes: A temperature sensor is used to detect the fluid temperature in the pipeline loop where the flow meter under test is located and transmits the temperature to the host computer system via the PLC control cabinet. A pressure transmitter is used to detect the fluid pressure in the pipeline loop where the flow meter under test is located and transmit the data to the host computer system via the PLC control cabinet. The temperature sensor and the pressure transmitter are electrically connected to the PLC control cabinet, respectively.

4. The detection device for the electromagnetic flowmeter according to claim 3, characterized in that, The host computer system is also used for: The flow meter diameter of the flow meter under test is collected by the user through the visual operation interface; Based on the flowmeter diameter of the flowmeter under test, select a pipe loop from the fluid system that matches the flowmeter diameter of the flowmeter under test and control the pipe loop to be open. as well as, Read the flow configuration parameters of the flow meter diameter corresponding to the flow meter under test from the relational database; as well as, The flow configuration parameters, including the flow meter diameter, fluid temperature, and fluid pressure of the pipeline loop, are read from the relational database and executed by the PLC control cabinet. The control device operates according to the flow configuration parameters.

5. The detection device for the electromagnetic flowmeter according to claim 2, characterized in that, The host computer system is also used for: Enable single-point testing: Collect the standard flow rate output from the standard flow meter at this single point and the flow rate of the tested flow meter at this single point, and calculate the single-point error: Single-point error = (Flow rate of the tested meter - Flow rate of the standard flow meter) / Flow rate of the standard flow meter ; Repeat the above steps and calculate the average of the multiple single-point errors to obtain the final error; The flow coefficient of the flow meter under test at the single point is calculated based on the final error, and the flow coefficient is transmitted to the corresponding flow meter under test through the PLC control cabinet. According to the preset verification conditions, at least 5 measurement points are automatically configured for the flow meter under test, and the flow configuration parameters of the pipeline loop where each measurement point is located are read from the relational database and executed through the PLC control cabinet. The final error of each measurement point is collected according to the single-point test steps described above. Find the largest final error among all measurement points, and use it as the flow detection accuracy class of the flow meter under test. Then, determine whether the flow meter under test is qualified based on the class. If the maximum final error is less than the flow detection accuracy class of the standard flow meter, the flow meter under test is deemed qualified. Conversely, it is considered unqualified.

6. The detection device for the electromagnetic flowmeter according to claim 3, characterized in that, The host computer system is also used for: Output the flow detection data and the detection results of the flow meter under test during the detection process, and write the flow detection data and the detection results of the flow meter under test into a preset detection table; The detection table is stored on a cloud server for safekeeping.

7. A detection method for an electromagnetic flowmeter, implemented based on the detection device for the electromagnetic flowmeter according to any one of claims 1-6, characterized in that, The method includes: The user inputs the flow meter diameter of the flow meter under test through a visual operation interface; The host computer system selects a pipe loop matching the flowmeter diameter of the flowmeter under test from the fluid system and controls the pipe loop to be connected; it also reads the flow configuration parameters corresponding to the flowmeter diameter of the flowmeter under test from the relational database and executes them through the PLC control cabinet, and the control device operates according to the flow configuration parameters; and it collects the corresponding standard flowmeter output from the standard flowmeter and determines whether the target flow value has been reached. If so, then keep the device running continuously; If not, the valve parameters of the pipeline loop are adjusted using the flow adjustment algorithm built into the flow control system until the target flow value is reached; Enabling single-point testing on the host computer system: Collect the standard flow rate output from the standard flow meter at this single point and the flow rate of the flow meter under test output at this single point, and calculate the single-point error: Single-point error = (Flow rate of the meter under test - Flow rate of the standard flow meter) / Flow rate of the standard flow meter × 100%; Repeat the above steps and calculate the average of the multiple single-point errors to obtain the final error; The flow coefficient of the flow meter under test at the single point is calculated based on the final error, and the flow coefficient is transmitted to the corresponding flow meter under test through the PLC control cabinet. According to the preset verification conditions, at least 5 measurement points are automatically configured for the flow meter under test, and the flow configuration parameters of the pipeline loop where each measurement point is located are read from the relational database and executed through the PLC control cabinet. The final error of each measurement point is collected according to the single-point test steps described above. Find the largest final error among all measurement points, and use it as the flow detection accuracy class of the flow meter under test. Then, determine whether the flow meter under test is qualified based on the class. If the maximum final error is less than the flow detection accuracy class of the standard flow meter, the flow meter under test is deemed qualified. Conversely, it is unqualified; The host computer system outputs the flow detection data and the detection results of the flow meter under test during the detection process, and writes the flow detection data and the detection results of the flow meter under test into a preset detection table; and stores the detection table to the cloud server for safekeeping.

8. An electronic device, characterized in that, The electronic device includes: processor; A memory storing computer-readable instructions that, when executed by the processor, implement the method as described in claim 7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code that can be invoked by a processor to execute the method as described in claim 7.

Citation Information

Patent Citations

  • Flow control method and mass flow controller

    CN119105560A

  • Detection apparatus for many flowmeters of automatic calibration

    CN206095370U