A precise electromagnetic flow measurement method with pressure compensation

By collecting and processing pressure signals in electromagnetic flow measurement, combined with Kalman filter algorithm and analog circuit technology, adaptively adjusting the time window size solves the problem of low signal noise and impurity influence, improves measurement accuracy and response speed, and enhances improve the reliability of instrument data.

CN118010119BActive Publication Date: 2024-10-11FUJIAN LEAD AUTOMATION EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410194019.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-21
Publication Date
2024-10-11
Estimated Expiration
2044-02-21

AI Technical Summary

Technical Problem

The existing electromagnetic flow measurement technology has low measurement accuracy due to the small signal-to-noise ratio and the influence of impurities in the liquid, and has slow response speed and is susceptible to external interference.

Method used

By acquiring the pressure signal and flow signal in the pipeline, combined with the Kalman filter algorithm and analog circuit signal processing, the time window size is adaptively adjusted, and the pressure signal is used for signal correction and denoising.

Benefits of technology

It improves the reliability and robustness of measurements, reduces estimation errors, tracks and updates noise changes in real time, and improves measurement quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118010119B_ABST
    Figure CN118010119B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of electromagnetic flow measurement technology, and specifically to a precise electromagnetic flow measurement method with pressure compensation, the method comprising: obtaining a pressure signal and a flow signal in a pipeline; setting a reference signal segment of a signal point; analyzing the numerical distribution differences of the flow signal and the pressure signal in the reference signal segment of the signal point respectively, and constructing a first mutation degree of the signal point flow signal and a first mutation degree of the pressure signal; correcting the signal point flow signal according to the distribution characteristics of the pressure change and the flow change between all adjacent signal points in the reference signal segment of the signal point; constructing a second mutation degree of the signal point; obtaining the adaptive time window size of the flow signal of each signal point, and obtaining the denoised flow signal in combination with the Kalman filter algorithm. The present invention aims to track the measurement noise in real time and measure the electromagnetic flow more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electromagnetic flow measurement, and in particular to a method for accurately measuring electromagnetic flow with pressure compensation. Background Art

[0002] Electromagnetic flow measurement is based on Faraday's law of electromagnetic induction and has certain requirements for fluid conductivity. The general equipment is divided into two parts: sensor and converter. It generates a magnetic field by applying an excitation current to the sensor coil. The fluid in the pipeline cuts the magnetic lines of force to generate an induced electromotive force, and the induced electromotive force signal is processed and amplified, and the flow rate is obtained based on the algorithm. Electromagnetic flow measurement has the advantages of wide measurement range, small starting flow, high measurement accuracy, and long service life. It is widely used in instrumentation and process control fields.

[0003] The current electromagnetic flow measurement signal size is determined by the current applied to the sensor excitation coil. The common electromagnetic flowmeter excitation current is 100-250mA to make the signal-to-noise ratio large, which makes the principle power consumption large; and the induced electromotive force voltage is very small and easily affected by external interference. Many factors will affect the signal, such as electromagnetic interference in the environment, or impurities in the liquid. When the impurities touch the sensor electrode, the signal will jump and affect the measurement accuracy; on the other hand, instruments using the electromagnetic flow measurement principle usually use long-term filtering to deal with signal interference, which will cause signal lag and slow response. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides an electromagnetic flow accurate measurement method with pressure compensation to solve the existing problems.

[0005] The electromagnetic flow accurate measurement method with pressure compensation of the present invention adopts the following technical scheme:

[0006] An embodiment of the present invention provides a method for accurate electromagnetic flow measurement with pressure compensation, the method comprising the following steps:

[0007] Obtain pressure signal and flow signal in the pipeline;

[0008] Set a reference signal segment for each signal point; obtain the first mutation degree of the flow signal of each signal point according to the difference in the numerical distribution of the flow signal of the reference signal segment of each signal point; use the same calculation method as the first mutation degree of the flow distribution of each signal point to obtain the first mutation degree of the pressure signal of each signal point; obtain the pressure change correction factor of each signal point according to the distribution characteristics of the pressure change and flow change between all adjacent signal points in the reference signal segment of each signal point combined with the first mutation degree of the flow signal of each signal point; obtain the change correction factor of each signal point according to the pressure change correction factor of each signal point combined with the change of the pressure signal of each signal point; correct the flow signal of each signal point according to the change correction factor of each signal point to obtain the corrected flow value of each signal point; obtain the second mutation degree of each signal point according to the difference characteristics of the first mutation degree of the flow signal and the pressure signal of each signal point and the difference characteristics of the flow signal distribution of each signal point and its reference signal segment before and after correction;

[0009] The adaptive time window size of the flow signal of each signal point is obtained according to the second mutation degree of each signal point; and the denoised flow signal is obtained according to the adaptive window size of each signal point combined with the Kalman filter algorithm.

[0010] Preferably, the setting of the reference signal of each signal point is specifically:

[0011] Take each signal point as the center;

[0012] When the number of signal points before each signal point is greater than or equal to N and the number of signal points after each signal point is greater than or equal to N-1, each signal point and its preceding and succeeding N signal points together form a reference signal segment for each signal point, where N is a preset value.

[0013] Preferably, the first mutation degree of the flow signal at each signal point is obtained according to the numerical distribution difference of the flow signal of the reference signal segment of each signal point, specifically:

[0014] For each signal point;

[0015] Obtain the maximum value of the flow signal, the minimum value of the flow signal, and the mean value of the flow signal in the reference signal segment of each signal point; take the absolute value of the difference between each signal point and the mean value of the flow signal as the first absolute value of the difference; obtain the change amount of the flow signal of each signal point;

[0016] Obtaining the mean of all flow signal changes in the reference signal segment of each signal point; taking the absolute value of the difference between the flow signal change at each signal point and the mean as the second absolute value of the difference; calculating the ratio of the maximum value of the flow signal to the minimum value of the flow signal;

[0017] The result of multiplying the first absolute value of the difference, the second absolute value of the difference and the ratio is used as the first mutation degree of the flow signal of each signal point.

[0018] Preferably, the flow signal change amount of each signal point is specifically the absolute value of the flow signal difference between each signal point and the previous signal point.

[0019] Preferably, the pressure change correction factor of each signal point is obtained according to the distribution characteristics of the pressure change and flow change between all adjacent signal points in the reference signal segment of each signal point combined with the first mutation degree of the flow signal of each signal point, specifically:

[0020] The same calculation method as the flow signal change is used to obtain the u-th pressure signal change ΔY in the reference signal segment of the x-th signal point. x,u ; Calculate the sum of the first mutation degree of the flow signal of the uth flow signal change corresponding to the two adjacent signal points in the reference signal segment of the xth signal point FT xd,u , the pressure change correction factor YB of the xth signal point x , the expression is:

[0021]

[0022] In the formula, U represents the number of flow signal changes, ΔL x,u Indicates the change in the u-th flow signal in the reference signal segment of the x-th signal point.

[0023] Preferably, the change correction factor of each signal point is specifically the product of the pressure signal change of each signal point and the pressure change correction factor of each signal point.

[0024] Preferably, the corrected flow value of each signal point is specifically the sum of the flow signal of the previous signal point of each signal point and the change correction factor of each signal point.

[0025] Preferably, the second mutation degree of each signal point is obtained according to the difference characteristics of the first mutation degree of the flow signal and the pressure signal at each signal point and the difference characteristics of the flow signal distribution of each signal point and its reference signal segment before and after correction. The specific expression is:

[0026]

[0027] In the formula, ST x Indicates the second mutation degree of the xth signal point, FT x Indicates the first mutation degree of the flow signal at the xth signal point, YT x Indicates the first mutation degree of the pressure signal at the xth signal point, L x Indicates the flow signal of the xth signal point, Lx,y Indicates the corrected flow value for the x-th signal point, Represents the average value of all flow signals in the reference signal segment of the x-th signal point.

[0028] Preferably, the adaptive time window size of the flow signal of each signal point is obtained according to the second mutation degree of each signal point, specifically:

[0029] Preset the initial time window size of each signal point; obtain the normalized value of the second mutation degree of each signal point; calculate the product of the normalized value and the initial time window size; calculate the sum of the product and 0.5; and use the rounded value of the sum as the adaptive window size of each signal point.

[0030] Preferably, the adaptive window size of each signal point is combined with a Kalman filter algorithm to obtain the denoised flow signal, specifically:

[0031] The flow signals of all signal points are used as the input of Kalman filter. Combined with the adaptive time window size of the flow signals of each signal point, the output of the Kalman filter algorithm is the denoised flow signal.

[0032] The present invention has at least the following beneficial effects:

[0033] The present invention mainly adds the collection of pressure signals in the pipeline on the basis of the original electromagnetic flow measurement principle. Through the signal processing of analog circuits and the digital signal algorithm processing of single-chip microcomputers, it can effectively solve the problems of small signal-to-noise ratio and the influence of impurities in the measuring liquid under special working conditions, and can improve the reliability of instrument data.

[0034] At the same time, due to the uncertainty of environmental conditions, the measurement noise of different flow data points may be different in actual applications. By adaptively adjusting the time window size of the Kalman filter for the flow signal at each signal point, the distribution characteristics of the measurement noise can be more accurately described and the estimation error can be reduced. The measurement noise can be tracked and updated in real time, and the changes in the measurement noise can be reflected in a timely manner to maintain the quality of the measurement, with stronger robustness and applicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1A flow chart of a method for accurate electromagnetic flow measurement with pressure compensation provided by the present invention;

[0037] Figure 2 This is a simplified diagram of the improved flow measurement equipment.

[0038] Figure 3 Diagram of the steps for obtaining the adaptive time window size. DETAILED DESCRIPTION

[0039] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation method, structure, features and effects of a precise electromagnetic flow measurement method with pressure compensation proposed by the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0040] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0041] The specific scheme of the electromagnetic flow accurate measurement method with pressure compensation provided by the present invention is described in detail below with reference to the accompanying drawings.

[0042] An embodiment of the present invention provides a method for accurately measuring electromagnetic flow with pressure compensation.

[0043] Specifically, the following electromagnetic flow accurate measurement method with pressure compensation is provided, please refer to Figure 1 , the method comprises the following steps:

[0044] Step S001: Collect the pressure signal and flow signal in the pipeline.

[0045] Common electromagnetic flow measurement devices are divided into two parts: flow sensor and converter. This embodiment adds a pressure sensor on the basis of the original hardware. The pressure sensor is protected by a stainless steel shell and can collect pressure signals in real time. The pressure sensor is electrically connected to the converter to ensure pressure signal transmission. To ensure reliability, the pressure sensor can use a diffused silicon kit. This embodiment collects pressure and flow signals synchronously. The collection time is thirty minutes and the collection frequency is once per second. The converter provides excitation current and voltage for the flow and pressure sensors. Among them, see the simplified diagram of the improved flow measurement equipment. Figure 2 .

[0046] The signals generated by the flow sensor and the pressure sensor pass through the signal amplification circuit of the converter, and the differential input channel design is composed of a high common mode rejection ratio instrument amplifier. The filter circuit passes the synthetic signal output by the previous stage through a bandpass filter to filter out high-frequency interference and low-frequency differential interference signals generated by polarization voltage. It is converted into a digital signal by a 24-bit ∑-Δ ADC and finally processed by the single-chip microcomputer software algorithm.

[0047] At this point, the pressure signal and flow signal in the pipeline at each moment are obtained.

[0048] Step S002: Analyze the distribution characteristics of the flow signal and pressure signal of each signal point respectively to obtain the first mutation degree of the flow signal and pressure signal of each signal point; correct the flow signal of the signal point in combination with the pressure signal; analyze the difference in the first mutation degree of the flow signal and pressure signal in the reference signal segment of each signal point and the difference distribution characteristics of the flow signal before and after correction to construct the second mutation degree of the signal point; and adaptively adjust the time window size of the Kalman filter for the flow signal of each signal point in the signal segment in combination with the second mutation degree.

[0049] This embodiment mainly analyzes the change characteristics of the flow signal and pressure signal of the signal point at each moment, and adaptively adjusts the size of the time window of the flow signal of each signal point in the signal segment, so as to achieve more accurate measurement and denoising of the flow signal. First, the flow value of each signal point and the change characteristics of the surrounding signal points are analyzed to obtain the first mutation degree of the flow signal of each signal point.

[0050] Specifically, for each signal point; take the signal point as the center, select N signal points forward and N signal points backward. Analyze the signal point and the N signal points before and after it as the reference signal segments of the signal point. In this embodiment, N is set to 50, and the implementer can set it according to the actual situation. It should be noted that if there are less than N signal points before and after the signal point, the mean interpolation method can be used to make up for the shortfall. It should be noted that the mean interpolation method is an existing well-known technology and will not be described in detail in this embodiment. Calculate the first mutation degree of the flow signal of each signal point, and the expression is:

[0051]

[0052] In the formula, FT x Indicates the first mutation degree of the flow signal at the xth signal point, L x represents the flow signal of the x-th signal point, Indicates the average value of all flow signals in the reference signal segment of the x-th signal point, ΔL x represents the flow signal change between the xth signal point and the x-1th signal point, U represents the number of flow signal changes, ΔLx,u Indicates the change in the u-th flow signal in the reference signal segment of the x-th signal point, Respectively represent the maximum flow rate and minimum flow rate in the reference signal segment of the x-th signal point, and || represents the absolute value. Save as the absolute value of the first difference, Save as the absolute value of the second difference.

[0053] The greater the difference between the value of each signal point and the average value of the flow signals of the surrounding signal points, the This means that the greater the possibility of mutation at the signal point, the greater the first mutation degree of the point should be; The mean value of all flow signal changes in the reference signal segment of the x-th signal point is represented. The greater the difference between the change of each flow signal value compared with the value of the previous signal point and the mean value of all flow signal changes in the reference signal segment where it is located, that is, This means that the greater the possibility of abnormal mutation of the signal point, the greater the first mutation degree of the point; It represents the polarization degree of the signal point in the signal segment. The greater the polarization degree of the values ​​of all signal points in the signal segment corresponding to each signal point, the greater the possibility of mutation in the signal segment where the signal point is located, and the greater the first mutation degree of the signal point.

[0054] Since the electromagnetic flow measurement instrument usually uses a long-term filtering method to deal with signal interference, it causes the signal to lag and respond slowly, which will cause a large error in the measured value of the flow signal. Therefore, it is necessary to introduce a pressure signal to compensate the flow signal to a certain extent and correct the flow value of each signal point. The expression is:

[0055]

[0056] L x,y =L x-1 +YB x ×ΔY x

[0057] Where, L x,y Indicates the corrected flow value for the xth signal point, L x-1 Indicates the flow value of the x-1th signal point, YB x represents the pressure change correction factor of the xth signal point, U represents the number of flow signal changes, ΔL x,u , ΔY x,u They represent the change in the uth flow signal and the change in the pressure signal in the reference signal segment of the xth signal point, respectively. xd,uIndicates the sum of the first mutation degree of the flow signal of the u-th signal point in the reference signal segment of the x-th signal point and the flow signal of the previous signal point, ΔY x represents the change in the pressure signal at the xth signal point, and exp() represents an exponential function with a natural constant as the base. Save as the change correction factor. It should be noted that the flow signal change of each signal point is the absolute value of the difference between the flow signal of each signal point and the previous signal point; the pressure signal change of each signal point is obtained by the same calculation method as the flow signal change.

[0058] The ratio of the flow change to the pressure change of each signal point in the reference signal segment representing the x-th signal point is used to correct the flow value of each signal point. It is necessary to perform a weighted average on all the ratios. When performing the weighted average, the weight corresponding to each ratio is determined by the first mutation degree of the flow signal in the corresponding adjacent signal points. If the sum of the first mutation degrees of the corresponding two signal points is larger, it means that the group of adjacent flow signals is more abnormal, and the weight it occupies is, that is, By setting ΔY x and The change in the flow value of the xth signal point compared with the previous signal point can be obtained by multiplying them. x-1 Add them together to get the corrected flow value of the x-th signal point.

[0059] Then, the correlation between the changes of the two is analyzed to obtain the second mutation degree of each signal point. First, the first mutation degree of the pressure signal of each signal point is obtained by the same calculation method as the first mutation degree of the flow signal of each signal point. According to the Bernoulli principle, when the liquid flows through the pipe, because the cross-sectional area inside the pipe is certain, the speed of the liquid will increase accordingly when the flow rate increases. Then, the first mutation degree of the flow signal of the signal point and the first mutation degree of the pressure signal at the same time are analyzed to obtain the second mutation degree of each signal point. The expression is:

[0060]

[0061] In the formula, ST x Indicates the second mutation degree of the xth signal point, FT x Indicates the first mutation degree of the flow signal at the xth signal point, YT x Indicates the first mutation degree of the pressure signal at the xth signal point, L x Indicates the flow signal of the xth signal point, L x,y Indicates the corrected flow value for the x-th signal point, Represents the average value of all flow signals in the reference signal segment of the x-th signal point.

[0062] |FT x -YT x | represents the difference between the first mutation degree of the flow signal and the pressure signal at the xth signal point. The greater the difference between the first mutation degree of each signal point and the first mutation degree of the pressure signal at the same moment, the greater the possibility that the signal point is a noise point caused by environmental interference, and the greater the second mutation degree of the signal point; the greater the difference between the flow value of each signal point after pressure data compensation and the average value of the flow signal of the signal segment where the signal point is located and the difference between the flow measurement value of the signal point and the average value of the flow signal of the signal segment where the signal point is located, the greater the difference between the corrected flow and the average value of the flow signal of the signal segment, the more abnormal the corrected flow value is, and the greater the second mutation degree corresponding to the signal point will be.

[0063] At this point, the second mutation degree of each signal point is obtained.

[0064] Step S003: Obtain the time window size of Kalman filtering for each signal point through the second mutation degree of each signal point, and complete the flow signal denoising of the signal point through the Kalman filtering algorithm.

[0065] The second mutation degree of each signal point is obtained through the above steps. Then the adjustment of the time window size of each signal point in the entire flow signal segment is realized based on the second mutation degree of each signal point. Starting from the flow signal of the first signal point in the entire signal segment, the reference signal segment of each signal point is used as the initial time window for Kalman filtering, and the adaptive time window size of the flow signal of each signal point is obtained in combination with the second mutation degree. The expression is:

[0066] C x =Round([C o ×norm(ST x )]+0.5)

[0067] In the formula, C x Indicates the time window size of the Kalman filter for the traffic signal at the xth signal point, C o Indicates the initial time window size, ST x represents the second mutation degree of the xth signal point, norm() represents the normalization function, and Round() represents the rounding function. The steps for obtaining the adaptive time window size are as follows: Figure 3 shown.

[0068] The greater the degree of the second mutation corresponding to the signal point, the greater the possibility that the current data point to be filtered belongs to noise data, so a smaller time window is needed to respond to changes in the system state more quickly, thereby reducing the cumulative effect of noise, so it is necessary to reduce the Kalman filter time window size.

[0069] The optimized Kalman filter algorithm is used to denoise the flow signal, and the flow signals of all signal points are used as the input of the Kalman filter. Combined with the adaptive time window size of the flow signals of each signal point, the output of the Kalman filter algorithm is the denoised flow signal. It should be noted that the Kalman filter algorithm is an existing well-known technology and will not be described in detail in this embodiment.

[0070] At this point, the measurement of electromagnetic flow based on pressure compensation is completed.

[0071] To sum up, the embodiments of the present invention mainly increase the collection of pressure signals in the pipeline based on the original electromagnetic flow measurement principle. Through the signal processing of the analog circuit and the digital signal algorithm processing of the single-chip microcomputer, it can effectively solve the problem of small signal-to-noise ratio and the influence of impurities in the measuring liquid under special working conditions, and can improve the reliability of the instrument data.

[0072] At the same time, due to the uncertainty of environmental conditions, the measurement noise of different flow data points may be different in actual applications. By adaptively adjusting the time window size of the Kalman filter for the flow signal at each signal point, the distribution characteristics of the measurement noise can be more accurately described and the estimation error can be reduced. The measurement noise can be tracked and updated in real time, and the changes in the measurement noise can be reflected in a timely manner to maintain the quality of the measurement, with stronger robustness and applicability.

[0073] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0074] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0075] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Modifications to the technical solutions recorded in the aforementioned embodiments, or equivalent replacement of some of the technical features therein, do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for accurate electromagnetic flow measurement with pressure compensation, characterized in that: The method comprises the following steps: Obtain pressure signal and flow signal in the pipeline; Set a reference signal segment for each signal point; obtain the first mutation degree of the flow signal of each signal point according to the difference in the numerical distribution of the flow signal of the reference signal segment of each signal point; use the same calculation method as the first mutation degree of the flow distribution of each signal point to obtain the first mutation degree of the pressure signal of each signal point; obtain the pressure change correction factor of each signal point according to the distribution characteristics of the pressure change and flow change between all adjacent signal points in the reference signal segment of each signal point combined with the first mutation degree of the flow signal of each signal point; obtain the change correction factor of each signal point according to the pressure change correction factor of each signal point combined with the change of the pressure signal of each signal point; correct the flow signal of each signal point according to the change correction factor of each signal point to obtain the corrected flow value of each signal point; obtain the second mutation degree of each signal point according to the difference characteristics of the first mutation degree of the flow signal and the pressure signal of each signal point and the difference characteristics of the flow signal distribution of each signal point and its reference signal segment before and after correction; According to the second mutation degree of each signal point, the adaptive time window size of the flow signal of each signal point is obtained; according to the adaptive window size of each signal point, the Kalman filter algorithm is combined to obtain the denoised flow signal; The first mutation degree of the flow signal of each signal point is obtained according to the numerical distribution difference of the flow signal of the reference signal segment of each signal point, specifically: For each signal point; Obtain the maximum value, minimum value and mean value of the flow signal in the reference signal segment of each signal point; take the absolute value of the difference between each signal point and the mean value of the flow signal as the first absolute value of the difference; obtain the change amount of the flow signal of each signal point; Obtaining the mean of all flow signal changes in the reference signal segment of each signal point; taking the absolute value of the difference between the flow signal change at each signal point and the mean as the second absolute value of the difference; calculating the ratio of the maximum value of the flow signal to the minimum value of the flow signal; The result of multiplying the first absolute value of the difference, the second absolute value of the difference and the ratio is used as the first mutation degree of the flow signal of each signal point; The flow signal change amount of each signal point is specifically the absolute value of the flow signal difference between each signal point and the previous signal point; The pressure change correction factor of each signal point is obtained based on the distribution characteristics of the pressure change and flow change between all adjacent signal points in the reference signal segment of each signal point and the first mutation degree of the flow signal of each signal point, specifically: The same calculation method as the flow signal change is used to obtain the u-th pressure signal change in the reference signal segment of the x-th signal point. ; Calculate the sum of the first mutation degree of the flow signal of the two adjacent signal points corresponding to the change of the u-th flow signal in the reference signal segment of the x-th signal point , correction factor for pressure change at the xth signal point , the expression is: ; In the formula, Indicates the number of flow signal changes. represents the change in the u-th flow signal in the reference signal segment of the x-th signal point; The change correction factor of each signal point is specifically the product of the pressure signal change of each signal point and the pressure change correction factor of each signal point; The second mutation degree of each signal point is obtained according to the difference characteristics of the first mutation degree of the flow signal and the pressure signal at each signal point and the difference characteristics of the flow signal distribution of each signal point and its reference signal segment before and after correction. The specific expression is: ; In the formula, Indicates the second mutation degree of the xth signal point, Indicates the first mutation degree of the flow signal at the xth signal point, Indicates the first mutation degree of the pressure signal at the xth signal point, represents the flow signal of the xth signal point, Indicates the corrected flow value for the x-th signal point, Represents the average value of all flow signals in the reference signal segment of the x-th signal point.

2. A method for accurate electromagnetic flow measurement with pressure compensation as claimed in claim 1, characterized in that: The reference signal of each signal point is specifically set as follows: Take each signal point as the center; When the number of signal points before each signal point is greater than or equal to N and the number of signal points after each signal point is greater than or equal to N-1, each signal point and its preceding and succeeding N signal points together form a reference signal segment for each signal point, where N is a preset value.

3. The electromagnetic flow accurate measurement method with pressure compensation as claimed in claim 1, characterized in that: The corrected flow value of each signal point is specifically the sum of the flow signal of the previous signal point of each signal point and the change correction factor of each signal point.

4. The electromagnetic flow accurate measurement method with pressure compensation as claimed in claim 1, characterized in that: The adaptive time window size of the flow signal of each signal point is obtained according to the second mutation degree of each signal point, specifically: Preset the initial time window size of each signal point; obtain the normalized value of the second mutation degree of each signal point; calculate the product of the normalized value and the initial time window size; calculate the sum of the product and 0.5; and use the rounded value of the sum as the adaptive window size of each signal point.

5. The electromagnetic flow accurate measurement method with pressure compensation as claimed in claim 1, characterized in that: The method of obtaining the denoised traffic signal based on the adaptive window size of each signal point in combination with the Kalman filter algorithm is as follows: The flow signals of all signal points are used as the input of Kalman filter. Combined with the adaptive time window size of the flow signals of each signal point, the output of the Kalman filter algorithm is the denoised flow signal.