Electromagnetic flowmeter blank pipe detection method and system based on power frequency signal proportion

Through the specific gravity detection method of the power frequency signal, the amplitude ratio of the power frequency interference signal and the excitation switching frequency point is used to determine the status of the electromagnetic flowmeter pipeline, which solves the problem that the cost and accuracy of the existing hollow tube detection are difficult to take into account, and the accuracy is achieved. Reliable air traffic control inspection.

CN119085804AActive Publication Date: 2024-12-06CHINA ELECTRONIC TECH GRP CORP NO 38 RES INST
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411290994.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-06
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

The existing electromagnetic flowmeter air-tube detection method cannot take into account both cost and accuracy, and cannot accurately determine whether the sensor pipeline is in air-tube state, resulting in large deviations in the measurement results.

Method used

Using a detection method based on the specific gravity of the power frequency signal, the sensor electrode output signal is obtained, converted into a frequency domain signal, and the amplitude ratio of the power frequency interference signal and the excitation switching frequency point are read, and whether the pipeline is in the empty tube state is determined by sliding. Update processing signals to achieve accurate detection.

Benefits of technology

It realizes accurate and reliable detection of electromagnetic flowmeter pipeline status without adding additional circuit complexity and cost, effectively taking into account both accuracy and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119085804A_ABST
    Figure CN119085804A_ABST
Patent Text Reader

Abstract

The invention provides an electromagnetic flowmeter blank pipe detection method and system based on power frequency signal proportion, and relates to the technical field of electromagnetic flowmeters. Signals output by the electrodes in an air traffic control state are mainly power frequency interference and excitation switching noise, and the power frequency interference is far larger than the excitation switching noise; under the zero-flow full pipe, power frequency interference and excitation switching noise are mainly generated, and the power frequency interference is obviously smaller than the excitation switching noise; the electromagnetic flowmeter empty pipe detection method has the advantages that the electromagnetic flowmeter empty pipe detection method has the advantages that potential signals are mainly induced when flow is full, power frequency interference is almost not observed, accurate and reliable empty pipe detection is achieved, additional circuits do not need to be added for empty pipe detection, and the electromagnetic flowmeter empty pipe detection method can effectively give consideration to accuracy and cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electromagnetic flowmeters, and specifically to an electromagnetic flowmeter empty pipe detection method and system based on industrial frequency signal specific gravity. Background Art

[0002] Electromagnetic flowmeter is an instrument that uses Faraday's law of electromagnetic induction to measure the flow rate of conductive liquids. It is widely used in water supply, petroleum, chemical, papermaking, metallurgy and other industries. When the electromagnetic flowmeter is measuring, the transmitter provides current to the excitation coil of the sensor. The current flows through the excitation coil to generate a magnetic field. The magnetic field causes the conductive liquid to generate an induced potential. Finally, an induced potential signal proportional to the flow rate is obtained from the sensor's electrode, and the induced potential signal is converted into the actual flow rate. The premise for the electromagnetic flowmeter to measure reliably is that the pipe part of the sensor is filled with conductive liquid. If the electrode of the electromagnetic flowmeter sensor is exposed to the air, the signal output on the electrode is no longer an induced potential signal. At this time, the signal output on the electrode has nothing to do with the flow rate of the conductive liquid, but the flowmeter will still randomly output a signal and still accumulate, which will cause a large deviation in the measurement result. However, in actual use, it is difficult to ensure that the sensor pipe is always full of liquid and the electrodes of the electromagnetic flowmeter sensor are in full contact with the conductive liquid. Therefore, accurately detecting whether the pipe is in an empty pipe state (the electromagnetic flowmeter sensor's electrodes are not in contact with the conductive liquid) is a prerequisite for ensuring accurate measurement of the electromagnetic flowmeter.

[0003] The current methods for electromagnetic flowmeter empty pipe detection mainly include directly observing the amplitude of the sensor output signal and monitoring the conductivity of the liquid. However, research has found that the amplitude of the power frequency interference signal output by the sensor when the pipe is empty is not always greater than the amplitude of the induced potential output by the sensor when the electromagnetic flowmeter is at the upper limit of the range. In this case, the method of directly observing the amplitude of the sensor output signal cannot accurately achieve empty pipe detection. The method of monitoring the conductivity of the liquid will increase the complexity and cost of the circuit on the one hand, and on the other hand, the threshold for empty pipe judgment must be carefully selected according to the conductivity of the conductive liquid.

[0004] From the above description, it can be seen that the existing electromagnetic flowmeter empty pipe detection method cannot take into account both cost and accuracy. Summary of the invention

[0005] 1. Technical issues to be solved

[0006] In view of the deficiencies in the prior art, the present invention provides an electromagnetic flowmeter empty pipe detection method and system based on the power frequency signal specific gravity, which solves the technical problem that the existing electromagnetic flowmeter empty pipe detection method cannot take into account both cost and accuracy.

[0007] (II) Technical solution

[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0009] In a first aspect, the present invention provides an electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity, comprising:

[0010] S1. Obtain the sensor electrode output signal of the electromagnetic flowmeter within a period of time, select the sensor electrode output signal of n excitation cycles, the sensor electrode output signal of n excitation cycles is the time domain signal of n excitation cycles, n≥2, n is a positive integer;

[0011] S2, converting the time domain signal of n excitation cycles into a frequency domain signal to obtain a spectrum diagram;

[0012] S3, reading the amplitude of the power frequency interference signal frequency point and the amplitude of the excitation switching frequency point in the spectrum diagram, and calculating the ratio of the two amplitudes;

[0013] S4. judging whether the pipe of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point;

[0014] S5. Sliding update is performed on the time domain signals of the selected n excitation cycles, that is, the signal of the first excitation cycle among the n excitation cycle signals is discarded, and an updated signal of an excitation cycle is added to the end of the signal to recompose the time domain signals of n excitation cycles, and S2 to S5 are repeated until the signal processing of the excitation cycles within the time period is completed.

[0015] Preferably, the step of converting the time domain signals of n excitation cycles into frequency domain signals comprises:

[0016] The output signals of the sensor of the selected n excitation cycles are subjected to Fourier transformation to convert the time domain signals into frequency domain signals.

[0017] Preferably, judging whether the pipe of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point includes:

[0018] A threshold is set according to the distribution of the amplitude of the power frequency interference signal and the amplitude ratio signal at the excitation switching frequency point. When the ratio is greater than the threshold, it is determined that the pipeline of the sensor is in an empty pipe state.

[0019] Preferably, the conditioning circuit in the electromagnetic flowmeter includes a differential amplifier circuit, a low-pass filter circuit and an analog-to-digital conversion circuit. The sensor electrodes of the electromagnetic flowmeter are connected to the differential amplifier circuit, and the amplified signal is filtered by the low-pass filter circuit. The filtered signal is converted into a digital signal by the analog-to-digital conversion circuit. The input impedance of the differential amplifier circuit is greater than or equal to 1000GΩ.

[0020] In a second aspect, the present invention provides an electromagnetic flowmeter empty pipe detection system based on power frequency signal specific gravity, comprising:

[0021] A data acquisition module is used to execute S1, obtain the sensor electrode output signal of the electromagnetic flowmeter within a period of time, select the sensor electrode output signal of n excitation cycles, the sensor electrode output signal of n excitation cycles is the time domain signal of n excitation cycles, n≥2, n is a positive integer;

[0022] A time-frequency conversion module is used to execute S2, convert the time domain signal of n excitation cycles into a frequency domain signal to obtain a spectrum diagram;

[0023] An amplitude reading module is used to execute S3, read the amplitude of the power frequency interference signal frequency point and the amplitude of the excitation switching frequency point in the spectrum diagram, and calculate the ratio of the two amplitudes;

[0024] A judgment module is used to execute S4, and judge whether the pipeline of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point;

[0025] The sliding update module is used to execute 5. Sliding update of the time domain signals of the selected n excitation cycles, that is, discarding the signal of the first excitation cycle among the n excitation cycle signals, and adding an updated signal of an excitation cycle at the end of the signal, re-forming the time domain signals of n excitation cycles, and repeating S2 to S5 until the signal processing of the excitation cycles in the time period is completed.

[0026] Preferably, the time domain signals of the n excitation cycles are converted into frequency domain signals, comprising:

[0027] The output signals of the sensor of the selected n excitation cycles are subjected to Fourier transformation to convert the time domain signals into frequency domain signals.

[0028] Preferably, judging whether the pipe of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point includes:

[0029] A threshold is set according to the distribution of the amplitude of the power frequency interference signal and the amplitude ratio signal at the excitation switching frequency point. When the ratio is greater than the threshold, it is determined that the pipeline of the sensor is in an empty pipe state.

[0030] Preferably, the conditioning circuit in the electromagnetic flowmeter includes a differential amplifier circuit, a low-pass filter circuit and an analog-to-digital conversion circuit. The sensor electrodes of the electromagnetic flowmeter are connected to the differential amplifier circuit, and the amplified signal is filtered by the low-pass filter circuit. The filtered signal is converted into a digital signal by the analog-to-digital conversion circuit. The input impedance of the differential amplifier circuit is greater than or equal to 1000GΩ.

[0031] In a third aspect, the present invention provides a computer-readable storage medium storing a computer program for empty pipe detection of an electromagnetic flowmeter based on the proportion of an industrial frequency signal, wherein the computer program enables a computer to execute the empty pipe detection method of an electromagnetic flowmeter based on the proportion of an industrial frequency signal as described above.

[0032] In a fourth aspect, the present invention provides an electronic device, comprising:

[0033] One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the programs include methods for executing the electromagnetic flowmeter empty pipe detection method based on the power frequency signal specific gravity as described above.

[0034] (III) Beneficial effects

[0035] The present invention provides an electromagnetic flowmeter empty pipe detection method and system based on power frequency signal specific gravity. Compared with the prior art, it has the following beneficial effects:

[0036] The present invention effectively utilizes the equivalent circuit model of the electromagnetic flowmeter pipeline under different working conditions, and while achieving accurate and reliable empty pipe detection, there is no need to add additional circuits for empty pipe detection. The electromagnetic flowmeter empty pipe detection method can effectively balance accuracy and cost. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0038] Figure 1 This is a flow chart of an electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity according to an embodiment of the present invention;

[0039] Figure 2 It is a schematic diagram of the equivalent circuit model of the electrodes of the electromagnetic flowmeter in the full pipe state;

[0040] Figure 3 It is a schematic diagram of the equivalent circuit model of the electrodes of the electromagnetic flowmeter in the empty pipe state;

[0041] Figure 4 It is a schematic diagram of a capacitor coupled with an amplifier circuit with extremely high input impedance to couple the electromagnetic interference source;

[0042] Figure 5It is a schematic diagram of the conditioning circuit for collecting the electrode signal of the sensor;

[0043] Figure 6 It is the signal waveform output by the electrode of the sensor in different states;

[0044] Figure 7 It is a detailed diagram of the signal waveform output by the sensor electrode in different states;

[0045] Figure 8 It is the spectrum diagram of the electrode output signal of the electromagnetic flowmeter in the empty pipe state;

[0046] Fig. 9 It is the spectrum diagram of the electrode output signal of the electromagnetic flowmeter in the state of zero flow and full pipe;

[0047] Fig.10 It is the spectrum diagram of the electrode output signal of the electromagnetic flowmeter in the state of full pipe with flow;

[0048] Fig.11 It is the processing result of the empty pipe detection method based on the proportion of power frequency signals. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] The embodiments of the present application provide an electromagnetic flowmeter empty pipe detection method and system based on the specific gravity of an industrial frequency signal, thereby solving the technical problem that the existing electromagnetic flowmeter empty pipe detection method cannot take into account both cost and accuracy. The equivalent circuit model of the electromagnetic flowmeter pipeline under different working conditions is effectively utilized, and accurate and reliable empty pipe detection is achieved without adding additional circuits for empty pipe detection.

[0051] The technical solution in the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:

[0052] The equivalent circuit model of the electrode can be equivalent to a resistor in the full pipe state and to a capacitor in the empty pipe state. According to the equivalent circuit model of the electrode, a signal conditioning acquisition circuit with extremely high input impedance is designed, which can effectively pick up the induced potential signal of the electrode during full pipe measurement, and effectively pick up the electromagnetic interference source in the circuit working environment in the empty pipe state. At the same time, there is no need to add additional circuits for empty pipe detection. The output signal of the electrode in the empty pipe state is mainly power frequency interference and excitation switching noise, and the power frequency interference is much greater than the excitation switching noise; in the full pipe with zero flow, it is mainly power frequency interference and excitation switching noise, and the power frequency interference is significantly smaller than the excitation switching noise; in the full pipe with flow, it is mainly the induced potential signal, and almost no power frequency interference is observed. Therefore, an electromagnetic flowmeter empty pipe detection method based on the power frequency signal proportion is proposed, which can effectively realize empty pipe detection.

[0053] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0054] The embodiment of the present invention provides an electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity, such as Figure 1 As shown, the method includes:

[0055] S1. Obtain the sensor electrode output signal of the electromagnetic flowmeter within a period of time, select the sensor electrode output signal of n excitation cycles, the sensor electrode output signal of n excitation cycles is the time domain signal of n excitation cycles, n≥2, n is a positive integer;

[0056] S2, converting the time domain signal of n excitation cycles into a frequency domain signal to obtain a spectrum diagram;

[0057] S3, reading the amplitude of the power frequency interference signal frequency point and the amplitude of the excitation switching frequency point in the spectrum diagram, and calculating the ratio of the two amplitudes;

[0058] S4. judging whether the pipe of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point;

[0059] S5. Sliding update is performed on the time domain signals of the selected n excitation cycles, that is, the signal of the first excitation cycle among the n excitation cycle signals is discarded, and an updated signal of an excitation cycle is added to the end of the signal to recompose the time domain signals of n excitation cycles, and S2 to S5 are repeated until the signal processing of the excitation cycles within the time period is completed.

[0060] The embodiment of the present invention effectively utilizes the equivalent circuit model of the electromagnetic flowmeter pipeline under different working conditions, and while achieving accurate and reliable empty pipe detection, there is no need to add additional circuits for empty pipe detection. The electromagnetic flowmeter empty pipe detection method can effectively balance accuracy and cost.

[0061] Before describing each step in detail, some knowledge about electromagnetic flowmeter is explained:

[0062] Figure 2 This is a schematic diagram of the equivalent circuit model of the electrode of the electromagnetic flowmeter in the full pipe state. When the pipe is full of conductive liquid, the model of the electrode in the circuit can be equivalent to a resistor. The size of the equivalent resistance value is related to the diameter of the sensor pipe, the conductivity and the area of ​​the electrode.

[0063] Figure 3 This is a schematic diagram of the equivalent circuit model of the electrodes of the electromagnetic flowmeter in the empty pipe state. When the pipeline is in the empty pipe state, the model of the electrode in the circuit can be equivalent to a capacitor. The two electrodes can be roughly regarded as the two plates of a capacitor, with air in between to form a capacitor.

[0064] Figure 4 This is a schematic diagram of coupling electromagnetic interference sources with capacitors and amplifier circuits with extremely high input impedance. When connected to an amplifier circuit with extremely high input resistance, it will couple electromagnetic interference sources in the circuit working environment, the most common of which is power frequency interference. The higher the input impedance of the differential amplifier circuit, the easier it is to couple electromagnetic interference sources.

[0065] Figure 5 This is a schematic diagram of the conditioning circuit for collecting electrode signals in an electromagnetic flowmeter. The sensor's electrodes are connected to a differential amplifier circuit, and the amplified signal is converted into a digital signal through a low-pass filter circuit and saved. The data is collected by a computer for empty pipe detection of the electromagnetic flowmeter. The input impedance of the differential amplifier circuit in this conditioning circuit is as high as 1000GΩ. On the one hand, it can effectively pick up the induced potential signal during measurement, and on the other hand, it can effectively couple the electromagnetic interference source when the pipe is empty. At the same time, this conditioning circuit does not add other circuits for empty pipe detection, and does not increase the complexity and cost of the circuit.

[0066] Figure 6 The above conditioning circuit is used to collect the output signals of the sensor in the empty pipe state, the full pipe state at zero flow rate, and the full pipe state with increasing flow rate (i.e. with flow rate), and draw the time domain graph.

[0067] Figure 7 This is a detailed diagram of the signal waveform output by the sensor electrode under different states. Obviously, in the empty pipe state, the signal output by the electrode is mainly the power frequency interference signal; while in the full pipe state, no obvious power frequency interference signal can be seen in the signal output by the electrode. The amplitude of the power frequency interference signal is smaller than the amplitude of the induced potential when the flow rate is large. It can be seen that the power frequency interference cannot make the conditioning circuit reach the saturated output state. Therefore, it is impossible to judge whether the sensor pipeline is empty by whether the voltage amplitude output by the conditioning circuit is saturated.

[0068] Figure 8 This is the spectrum of the output signal of the electrode of the electromagnetic flowmeter in the empty pipe state. The signal output by the sensor electrode in the empty pipe state is mainly the excitation switching noise and the power frequency interference signal. The excitation switching noise is generated by the excitation coil releasing a sudden magnetic field into the environment when the excitation current changes direction, and is coupled by the signal conditioning circuit.

[0069] Fig. 9 This is the spectrum diagram of the electrode output signal of the electromagnetic flowmeter in the zero flow full pipe state. The excitation switching noise and power frequency interference signal in the output signal of the sensor electrode in the zero flow full pipe state are significantly reduced.

[0070] Fig.10 This is the frequency spectrum of the electromagnetic flowmeter electrode output signal when the pipe is full of flow. The output signal of the sensor electrode when the pipe is full of flow is mainly the flow signal.

[0071] contrast Figure 7 and Figure 8 It can be seen that the equivalent model of the sensor electrode in the circuit is different when it is in the empty pipe state and the full pipe state, which also shows that the model that the electrode is equivalent to a capacitor in the empty pipe state and a resistor in the full pipe state is valid. When the sensor is in the empty pipe state and the full pipe state with zero flow, there is no induced potential signal on the electrode, but the output signal on the electrode is obviously different. In the empty pipe state, the amplitude of the excitation switching noise and power frequency interference output on the electrode is much larger than the amplitude of the excitation switching noise and power frequency interference when the full pipe is zero flow. On the one hand, it shows that the principle of the noise in the working environment of the coupling circuit of the sensor electrode in the empty pipe state and the full pipe state with zero flow is different, and on the other hand, it also shows that the noise capacity of the capacitive coupling circuit working environment is stronger.

[0072] contrast Figure 8 and Fig. 9 It can be seen that the sensor electrode has the same noise capability in the working environment of the electrode coupling circuit when it is in the full pipe state with zero flow and the full pipe state with flow. Whether the sensor electrode is in the full pipe state with zero flow or the full pipe state with flow, its role in the circuit is equivalent to a resistor. At this time, the conductive liquid, electrode, and electrode lead wire form a closed loop, coupling the noise in the working environment of the circuit. Therefore, the power frequency interference noise amplitude in the output signal of the sensor electrode in the full pipe state with zero flow and the full pipe state with flow is almost the same.

[0073] The following is a detailed description of each step:

[0074] In one embodiment, S1, obtaining the sensor electrode output signal of the electromagnetic flowmeter within a period of time, selecting the sensor electrode output signal of n excitation cycles, wherein the sensor electrode output signal of n excitation cycles is a time domain signal of n excitation cycles, n≥2, and n is a positive integer. Specifically including:

[0075] The sensor electrode output signal of the electromagnetic flowmeter when measuring the flow of the conductive fluid is collected, and the sensor electrode output signals of n excitation cycles are selected from the sensor electrode output signals of the electromagnetic flowmeter within a period of time.

[0076] S2. Select the sensor electrode output signal of n excitation cycles according to time, convert the time domain signal into the frequency domain signal, and obtain the spectrum diagram. Specifically including:

[0077] The sensor output signal of the selected n excitation cycles is subjected to Fourier transform, and the time domain signal is converted to the frequency domain, and the spectrum diagram of the sensor electrode output signal is obtained. In the embodiment of the present invention, n=2. After the time domain signal is converted to the frequency domain, the spectrum diagram of the sensor electrode output signal is obtained. The spectrum diagram of the electrode output signal of the electromagnetic flowmeter in different states is as follows Figures 8 to 10 shown.

[0078] It should be noted that, in a specific implementation process, other methods may be used to convert a time domain signal into a frequency domain signal, such as Laplace transform, Z transform, etc.

[0079] In one embodiment, S3, reading the amplitude of the power frequency interference signal frequency point and the amplitude of the excitation switching frequency point in the spectrum diagram, and calculating the ratio of the two amplitudes. Specifically including:

[0080] The amplitude of the power frequency interference signal frequency point and the amplitude of the excitation switching frequency point in the spectrum diagram of the sensor electrode output signal are read, and the ratio of the two amplitudes is calculated.

[0081] In one embodiment, S4, judging whether the pipe of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point. Specifically including:

[0082] A threshold is set according to the distribution of the amplitude of the power frequency interference signal and the amplitude ratio signal at the excitation switching frequency point, such as Fig.11 As shown, the threshold is set to 2, and data greater than 2 is an empty pipe signal.

[0083] according to Fig.11From the schematic diagram of the processing results of the empty pipe detection method based on the power frequency signal ratio, it can be seen that the ratio of the power frequency interference signal amplitude to the excitation switching frequency point amplitude in the output signal of the electrode in the empty pipe state is significantly greater than the ratio of the power frequency interference signal amplitude to the excitation switching frequency point amplitude in the output signal in the full pipe state. Therefore, the ratio of the power frequency interference signal amplitude to the excitation switching frequency point amplitude can be effectively used as the basis for empty pipe detection.

[0084] In one embodiment, S5, sliding update is performed on the time domain signals of the selected n excitation cycles, that is, the signal of the first excitation cycle among the n excitation cycle signals is discarded, and an updated signal of an excitation cycle is added to the end of the signal, and the time domain signals of n excitation cycles are recomposed, and S2 to S5 are repeated until the signal processing of the excitation cycles in the time period is completed. Specifically, it includes:

[0085] In the embodiment of the present invention, since n is preferably 2, the time domain signals of the two selected excitation cycles are slidingly updated, that is, the signal of the previous excitation cycle of the two excitation cycle signals is discarded, and an updated signal of an excitation cycle is added to the end of the signal to reconstruct the time domain signals of the two excitation cycles, and S2 to S5 are repeated until the signal processing of the excitation cycles within the time period is completed.

[0086] The embodiment of the present invention further provides an electromagnetic flowmeter empty pipe detection system based on power frequency signal specific gravity, comprising:

[0087] A data acquisition module is used to execute S1, obtain the sensor electrode output signal of the electromagnetic flowmeter within a period of time, select the sensor electrode output signal of n excitation cycles, the sensor electrode output signal of n excitation cycles is the time domain signal of n excitation cycles, n≥2, n is a positive integer;

[0088] A time-frequency conversion module is used to execute S2, convert the time domain signal of n excitation cycles into a frequency domain signal to obtain a spectrum diagram;

[0089] An amplitude reading module is used to execute S3, read the amplitude of the power frequency interference signal frequency point and the amplitude of the excitation switching frequency point in the spectrum diagram, and calculate the ratio of the two amplitudes;

[0090] A judgment module is used to execute S4, and judge whether the pipeline of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point;

[0091] The sliding update module is used to execute 5. Sliding update of the time domain signals of the selected n excitation cycles, that is, discarding the signal of the first excitation cycle among the n excitation cycle signals, and adding an updated signal of an excitation cycle at the end of the signal, re-forming the time domain signals of n excitation cycles, and repeating S2 to S5 until the signal processing of the excitation cycles in the time period is completed.

[0092] It can be understood that the electromagnetic flowmeter empty pipe detection system based on the proportion of industrial frequency signals provided in the embodiment of the present invention corresponds to the above-mentioned electromagnetic flowmeter empty pipe detection method based on the proportion of industrial frequency signals. The explanations, examples, beneficial effects and other parts of the relevant contents can refer to the corresponding contents in the electromagnetic flowmeter empty pipe detection method based on the proportion of industrial frequency signals, and will not be repeated here.

[0093] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program for electromagnetic flowmeter empty pipe detection based on power frequency signal specific gravity, wherein the computer program enables a computer to execute the electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity as described above.

[0094] An embodiment of the present invention also provides an electronic device, comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the programs include a method for executing the electromagnetic flowmeter empty pipe detection method based on the industrial frequency signal specific gravity as described above.

[0095] In summary, compared with the prior art, the present invention has the following beneficial effects:

[0096] The embodiment of the present invention utilizes the equivalent circuit model of the electrode to be equivalent to a resistor in a full pipe state and to be equivalent to a capacitor in an empty pipe state. According to the equivalent circuit model of the electrode, a signal conditioning and acquisition circuit with extremely high input impedance is designed, which can effectively pick up the induced potential signal of the electrode when measuring the full pipe, and can effectively pick up the electromagnetic interference source in the circuit working environment in the empty pipe state, and at the same time, there is no need to add additional circuits for empty pipe detection. The output signal of the electrode in the empty pipe state is mainly power frequency interference and excitation switching noise, and the power frequency interference is much greater than the excitation switching noise; in the full pipe with zero flow, it is mainly power frequency interference and excitation switching noise, and the power frequency interference is significantly less than the excitation switching noise; in the full pipe with flow, it is mainly the induced potential signal, and almost no power frequency interference is observed. The embodiment of the present invention effectively utilizes the equivalent circuit model of the electromagnetic flowmeter pipeline in different working states, and while realizing accurate and reliable empty pipe detection, there is no need to add additional circuits for empty pipe detection. The electromagnetic flowmeter empty pipe detection method can effectively take into account both accuracy and cost.

[0097] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0098] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity, characterized in that: include: S1. Obtain the sensor electrode output signal of the electromagnetic flowmeter within a period of time, select the sensor electrode output signal of n excitation cycles, the sensor electrode output signal of n excitation cycles is the time domain signal of n excitation cycles, n≥2, n is a positive integer; S2, converting the time domain signal of n excitation cycles into a frequency domain signal to obtain a spectrum diagram; S3, reading the amplitude of the power frequency interference signal frequency point and the amplitude of the excitation switching frequency point in the spectrum diagram, and calculating the ratio of the two amplitudes; S4. judging whether the pipe of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point; S5. Sliding update is performed on the time domain signals of the selected n excitation cycles, that is, the signal of the first excitation cycle among the n excitation cycle signals is discarded, and an updated signal of an excitation cycle is added to the end of the signal to recompose the time domain signals of n excitation cycles, and S2 to S5 are repeated until the signal processing of the excitation cycles within the time period is completed.

2. The electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity according to claim 1, characterized in that: The step of converting the time domain signals of n excitation cycles into frequency domain signals comprises: The output signals of the sensor of the selected n excitation cycles are subjected to Fourier transformation to convert the time domain signals into frequency domain signals.

3. The electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity as claimed in claim 1, characterized in that: According to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point, it is judged whether the sensor pipeline is in an empty pipe state, including: A threshold is set according to the distribution of the amplitude of the power frequency interference signal and the amplitude ratio signal at the excitation switching frequency point. When the ratio is greater than the threshold, it is determined that the pipeline of the sensor is in an empty pipe state.

4. The electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity according to any one of claims 1 to 3, characterized in that: The conditioning circuit in the electromagnetic flowmeter includes a differential amplifier circuit, a low-pass filter circuit and an analog-to-digital conversion circuit. The sensor electrodes of the electromagnetic flowmeter are connected to the differential amplifier circuit, and the amplified signal is filtered by the low-pass filter circuit. The filtered signal is converted into a digital signal by the analog-to-digital conversion circuit. The input impedance of the differential amplifier circuit is greater than or equal to 1000GΩ.

5. An electromagnetic flowmeter empty pipe detection system based on power frequency signal specific gravity, characterized in that: include: A data acquisition module is used to execute S1, obtain the sensor electrode output signal of the electromagnetic flowmeter within a period of time, select the sensor electrode output signal of n excitation cycles, the sensor electrode output signal of n excitation cycles is the time domain signal of n excitation cycles, n≥2, n is a positive integer; A time-frequency conversion module is used to execute S2, convert the time domain signal of n excitation cycles into a frequency domain signal to obtain a spectrum diagram; An amplitude reading module is used to execute S3, read the amplitude of the power frequency interference signal frequency point and the amplitude of the excitation switching frequency point in the spectrum diagram, and calculate the ratio of the two amplitudes; A judgment module is used to execute S4 and judge whether the pipeline of the sensor is in an empty pipe state according to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point; The sliding update module is used to execute 5. Sliding update of the time domain signals of the selected n excitation cycles, that is, discarding the signal of the first excitation cycle among the n excitation cycle signals, and adding an updated signal of an excitation cycle at the end of the signal, re-forming the time domain signals of n excitation cycles, and repeating S2 to S5 until the signal processing of the excitation cycles in the time period is completed.

6. The electromagnetic flowmeter empty pipe detection system based on power frequency signal specific gravity as claimed in claim 5, characterized in that: The time domain signals of the n excitation cycles are converted into frequency domain signals, including: The output signals of the sensor of the selected n excitation cycles are subjected to Fourier transformation to convert the time domain signals into frequency domain signals.

7. The electromagnetic flowmeter empty pipe detection system based on power frequency signal specific gravity as claimed in claim 5, characterized in that: According to the ratio of the amplitude of the power frequency interference signal to the amplitude at the excitation switching frequency point, it is judged whether the sensor pipeline is in an empty pipe state, including: A threshold is set according to the distribution of the amplitude of the power frequency interference signal and the amplitude ratio signal at the excitation switching frequency point. When the ratio is greater than the threshold, it is determined that the pipeline of the sensor is in an empty pipe state.

8. The electromagnetic flowmeter empty pipe detection system based on power frequency signal specific gravity as claimed in any one of claims 5 to 7, characterized in that: The conditioning circuit in the electromagnetic flowmeter includes a differential amplifier circuit, a low-pass filter circuit and an analog-to-digital conversion circuit. The sensor electrodes of the electromagnetic flowmeter are connected to the differential amplifier circuit, and the amplified signal is filtered by the low-pass filter circuit. The filtered signal is converted into a digital signal by the analog-to-digital conversion circuit. The input impedance of the differential amplifier circuit is greater than or equal to 1000GΩ.

9. A computer-readable storage medium, characterized in that: It stores a computer program for electromagnetic flowmeter empty pipe detection based on power frequency signal specific gravity, wherein the computer program enables the computer to execute the electromagnetic flowmeter empty pipe detection method based on power frequency signal specific gravity as described in any one of claims 1 to 4.

10. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the programs include a method for executing the electromagnetic flowmeter empty pipe detection method based on the power frequency signal specific gravity as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method for detecting signal faults of electromagnetic flow meter

    CN103743443A

  • Coal-water slurry electromagnetic flow meter signal processing method based on excitation frequency high-order harmonic analysis

    CN107478280A

  • Electromagnetic water meter transmitter based on intermittent excitation and digital signal processing

    CN109186698A

  • Intelligent electromagnetic flowmeter

    CN110207768A

  • Electromagnetic flowmeter frequency tracking method based on phase feedback

    CN117091676A