A synchronous analog-to-digital conversion system based on the excitation timing of electromagnetic water meter and electromagnetic flowmeter

Through alternating sampling of two integrators and MCU timing control, the differential interference problem during excitation switching of electromagnetic water meter and electromagnetic flowmeter is solved, the system cost and power consumption are reduced, and the complete integration and accurate conversion of signals are achieved.

CN118214420BActive Publication Date: 2024-12-03ZHEJIANG DIYUAN INSTR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311863890.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-12-03
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

Existing electromagnetic water meters and electromagnetic flowmeters produce differential interference during excitation switching, resulting in incomplete signal integration, and special A/D chips are expensive and have large power consumption, so they cannot effectively overcome the impact of differential interference.

Method used

Two integrators are used to alternately sample flow signals and excitation current signals. Through positive, zero, negative, and zero excitation drive methods, combined with MCU timing control, synchronous integration of excitation switching is achieved, reducing sampling delay and power consumption.

Benefits of technology

The impact of differential and power frequency interference on the flow signal is eliminated, the procurement cost and power consumption of the system are reduced, and the accurate conversion of digital time signals and flow signals is realized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118214420B_ABST
    Figure CN118214420B_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of metering instruments, and specifically discloses a synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter, which eliminates the influence of differential and power frequency interference on a flow signal, reduces the purchase cost and power consumption of the system, and realizes long-term continuous integration of the flow signal by the integrator by using an analog-to-digital conversion device as an integrator and adopting positive, zero, negative and zero excitation driving modes, and by switching between positive and negative biases, a two-way integrator is used, and the difference of the integrator capacitance is compensated by integrating the excitation current signal, and a digital time signal positively correlated with the flow is obtained by performing specific calculations on the charging and discharging time of the two-way integrator, and finally the electromagnetic water meter and the electromagnetic flowmeter are calibrated online to obtain the conversion relationship between the flow signal and the digital time signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of metering instruments, and in particular to a synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flow meter. Background Art

[0002] The flow signals of electromagnetic water meters and electromagnetic flow meters are generally at the uV-mV level. At present, the analog-to-digital conversion system in the industry generally adopts a dedicated △-∑ architecture A / D chip. This type of chip has high resolution, and the converted digital signal has a clear conversion relationship with the voltage value. However, this type of chip is expensive. If you want to fully integrate the signal, you must increase the sampling rate, and the increase in the sampling rate will greatly increase the power consumption. Although this type of chip can complete data sampling once in a short time, from a microscopic analysis, combined with the chip delay problem, it is still impossible to fully integrate the signal. Compared with dedicated A / D chips, integrators have the advantage of low price. They are only composed of some op amps, resistors, capacitors, and analog switches; and there is no sampling delay. While fully integrating the signal, the transmission and operation speed of the processor are reduced, which reduces the power consumption of the analog-to-digital conversion system.

[0003] Electromagnetic water meters and electromagnetic flow meters will generate differential interference when switching excitation. The general practice is to extend the excitation cycle and sample the flow signal at a distance away from the differential interference. This method cannot completely overcome the influence of differential interference. Therefore, this sampling integrator is used to perform full-segment integration of positive and negative excitation and zero excitation. This method can completely overcome the influence of differential interference. Summary of the invention

[0004] The purpose of the present invention is to eliminate the influence of differential and power frequency interference on the flow signal, reduce the purchase cost and power consumption of the system, and finally obtain the conversion relationship between the digital time signal and the flow signal. To solve the above problems, the present invention provides the following technical solutions: A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter, comprising:

[0005] A measuring circuit, used for collecting flow signals and placing measuring electrodes to measure the flow of the conductive medium passing therethrough;

[0006] The excitation drive circuit adopts positive, zero, negative, and zero excitation drive modes to generate excitation current signals and serve as standard signals for two-way integrators;

[0007] Two-way integrating circuits are used to collect flow signals and excitation current signals.

[0008] There is also an MCU timing control circuit for controlling the excitation switching, the charge and discharge logic of the flow signal and the excitation current signal. There is an MCU timing circuit for measuring the charge and discharge time of the integrator. There is an MCU flow and excitation current calculation method. By collecting the charge and discharge time of the integrator, the compensated flow value is calculated.

[0009] The two-way integrator of the present invention alternately samples the flow signal and the excitation current signal. The two-way integrator adopts different working modes when sampling the flow signal and the excitation current signal. This is mainly because there is a large difference between the time of sampling the flow signal and the time of collecting the excitation current. The flow signal is generally collected in hundreds of ms to 1s, while the excitation current signal is generally sampled in a few ms. Therefore, when the present invention targets the flow signal, positive and negative biases are added to the flow signal to prevent the integrator from saturating. However, this method will result in that even if the integration of the flow signal is stopped, the discharge time of the last integrator still needs to be calculated. This is why the present invention requires two-way integrators. Adding two-way integrators will cause differences in the circuit, which requires a standard signal for calibration. The excitation current of the electromagnetic water meter and the electromagnetic flowmeter is controlled by a constant current source, and the two-way integrator can be calibrated by collecting the amplitude of the excitation current.

[0010] Preferably, the measuring circuit comprises a tube body and an excitation coil, and a first measuring electrode and a second measuring electrode are arranged in the tube body.

[0011] The first output signal generated by the electromagnetic water meter of the present invention on the two measuring electrodes is a flow signal generated by the conductive measuring medium under the action of the alternating magnetic field, wherein the alternating magnetic field is generated by exciting the excitation coil with a current signal of a specific excitation frequency, and the second signal is the excitation current flowing through the sampling resistor R S , the resulting excitation current signal.

[0012] Preferably, the excitation drive circuit includes a DC power supply, the positive electrode of the DC power supply is connected to a constant current source, the constant current source is connected to an H-bridge circuit, the H-bridge is composed of switches S1, S2, S3, and S4, one end of the coil is connected to the connection node of the S1 and S4 switches, and the other end is connected to the connection node of the S2 and S3 switches, the negative output end of the DC power supply is connected to the sampling resistor Rs, and the sampling resistor Rs is grounded.

[0013] Preferably, the two-way integration circuit includes an integrator A and an integrator B, each of which is composed of an integration circuit composed of an operational amplifier and a capacitor, a switch S31 for shorting the integration capacitor, and two comparators. The integrator A is connected to the positive bias through the switch S11, connected to the negative bias through the switch S12, and connected to the negative bias through the resistor R f The switch S13 is connected to the flow signal through the resistor R cand switch S14 are connected to the excitation current signal; integrator B is connected to the positive bias through switch S21, connected to the negative bias through switch S22, and connected to the integrator B through resistor R f The switch S23 is connected to the flow signal through the resistor R c And switch S24 is connected to the excitation current signal.

[0014] The present invention adopts the excitation driving mode of positive, positive zero, negative and negative zero excitation to offset the influence of differential interference and power frequency interference of electromagnetic flowmeter and electromagnetic water meter on flow signal, and the switch control timing of the integrator is synchronously driven by the excitation excitation timing.

[0015] Preferably, the specific sampling process of the integrator A and the integrator B is: when integrator A samples the flow signal, integrator B samples the excitation current; when integrator A samples the excitation current, integrator B samples the flow signal, integrator A is responsible for sampling the flow signal corresponding to positive excitation and zero excitation (positive zero excitation) following positive excitation and the excitation current signal corresponding to negative excitation and zero excitation following negative excitation, and the sampling timing of integrator B is opposite to that of integrator A.

[0016] Preferably, the specific working process of the two-way integration circuit is as follows: when positive excitation starts, integrator A is started to integrate the flow signal, and when positive zero excitation ends, integrator A is stopped, and the discharge of integrator A is waited to end; integrator B integrates the excitation current after the start of positive excitation, and stops integrating before the end of positive excitation, integrates the excitation current after the start of positive zero excitation, and stops integrating before the end of positive zero excitation; when negative excitation starts, integrator B is started synchronously to sample the flow signal, and integrator B sampling is stopped when negative zero excitation ends, and the discharge of integrator B is waited to end; integrator A samples the excitation current signal at the start of negative excitation, and stops sampling before the end of negative excitation, samples the excitation current after the start of negative zero excitation, and stops sampling before the end of negative zero excitation.

[0017] Preferably, the excitation drive circuit synchronously drives integrator A and integrator B to collect in an excitation drive mode of positive excitation, positive zero excitation, negative excitation, and negative zero excitation. Integrator A collects flow signals corresponding to positive excitation and positive zero excitation, and collects excitation current signals corresponding to negative excitation and negative zero excitation; integrator B collects flow signals corresponding to negative excitation and negative zero excitation, and collects excitation current signals corresponding to positive excitation and positive zero excitation.

[0018] This sampling method offsets the influence of differential interference and power frequency interference of electromagnetic flowmeter and electromagnetic water meter on flow signal, and takes into account the difference of integral capacitors of two integrators, increases the acquisition of standard signal excitation current for compensation, and samples flow signal and excitation current alternately.

[0019] The two-way integrator in the present invention works in the following cyclic mode when sampling the flow signal: a negative bias is added to the flow signal so that the integrator performs positive integration on the flow signal. However, in order to prevent the integrator from saturating, when the integrator approaches a certain threshold, a positive bias needs to be added to discharge the integrator, and the discharge is performed to a certain threshold. The forward bias is removed and the above steps are repeated until the sampling is completed. In order to normally complete the continuous charging and discharging process of the flow signal, the forward bias current must be greater than the negative bias current.

[0020] The two-way integrator sampling excitation current in the present invention works in the following mode: integrator B integrates the excitation current in the middle section of positive excitation and positive zero excitation, and discharges the integrator after integrating for a fixed time; integrator A integrates the excitation current in the middle section of negative excitation and negative zero excitation, and discharges the integrator after integrating for a fixed time.

[0021] The charge and discharge time of the integrator of the present invention is measured by the timer inside the MCU, and the timer counts the discharge time of the sampled flow signal and the excitation current signal of the integrator A, and also counts the discharge time of the sampled flow signal and the excitation current signal of the integrator B. The discharge time and the overall integration time are added, subtracted and compensated to obtain the final digital time signal that is positively correlated with the flow signal.

[0022] Preferably, after the two-way integration circuits finish sampling, the electrical signals are converted into digital signals, and the digital signals are calibrated to obtain instrument coefficients.

[0023] The digital signal obtained by the present invention does not need to be converted into a corresponding voltage value. The electromagnetic water meter and the electromagnetic flowmeter will be calibrated on a calibration bench before leaving the factory. By comparing with the standard flow, the instrument coefficient can be obtained. The instrument coefficient is the ratio of the flow signal to the digital time signal.

[0024] The beneficial effects of the present invention are as follows: 1. The present invention has the advantage of low price by replacing the dedicated A / D chip with an integrator, and is composed of only some operational amplifiers, resistors, capacitors, and analog switches; and there is no sampling delay, and the transmission and operation speed of the processor are reduced while the signal is fully integrated, thereby reducing the power consumption of the analog-to-digital conversion system; 2. The sampling integrator of the present invention performs full-segment integration of positive and negative excitation and zero excitation, which can eliminate the influence of differential and power frequency interference on the flow signal, reduce the procurement cost and power consumption of the system, and finally obtain the conversion relationship between the digital time signal and the flow signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a system block diagram of the present invention;

[0026] Figure 2 This is a diagram showing the influence of differential interference on flow signals of the present invention;

[0027] Figure 3 It is the excitation timing and integrator acquisition timing diagram of the present invention;

[0028] Figure 4 It is a timing diagram when the integrator of the present invention collects flow signals;

[0029] Figure 5 It is a timing diagram of the integrator of the present invention when collecting excitation current;

[0030] Figure 6 This is a switch control timing diagram of the analog-to-digital conversion system of the present invention;

[0031] Figure 7 is a circuit structure diagram of the integrator of the present invention;

[0032] In the figure: tube body-10; first measuring electrode-11a; second measuring electrode-11b; excitation coil-20; sampling resistor Rs-21; microprocessor-30. DETAILED DESCRIPTION

[0033] Electromagnetic water meters and electromagnetic flow meters will generate differential interference when the excitation is switched. The general practice is to extend the excitation cycle and sample the flow signal at a distance away from the differential interference. This method cannot completely overcome the influence of differential interference. The sampling method is as follows: Figure 2 The sampling integrator of the present invention performs full-segment integration on positive and negative excitation and zero excitation, which can completely overcome the influence of differential interference.

[0034] The specific implementation of the technical solution of the present invention is further described below through examples and in conjunction with the accompanying drawings.

[0035] Embodiment 1:

[0036] Embodiment 1 of the present invention introduces the system framework structure of the present invention, a synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter, comprising:

[0037] A measuring circuit, used for collecting flow signals and placing measuring electrodes to measure the flow of the conductive medium passing therethrough;

[0038] The excitation drive circuit adopts a positive, zero, negative, and zero excitation drive mode to generate an excitation current signal as a standard signal for two integrators; the excitation drive circuit includes a DC power supply, the positive pole of the DC power supply is connected to a constant current source, the constant current source is connected to an H-bridge circuit, the H-bridge is composed of switches S1, S2, S3, and S4, one end of the coil is connected to the connection node of the S1 and S4 switches, and the other end is connected to the connection node of the S2 and S3 switches, the negative output end of the DC power supply is connected to the sampling resistor Rs, and the sampling resistor Rs is grounded.

[0039] Two-way integration circuit, used for receiving flow signal and sampling excitation current to integrate flow signal; two-way integration circuit includes integrator A and integrator B, which are respectively composed of integration circuits composed of operational amplifier and capacitor, switch S31 for shorting integration capacitor and two comparators, integrator A is respectively connected with positive bias through switch S11, connected with negative bias through switch S12, connected with resistor R f The switch S13 is connected to the flow signal through the resistor R c and switch S14 are connected to the excitation current signal; integrator B is connected to the positive bias through switch S21, connected to the negative bias through switch S22, and connected to the integrator B through resistor R f The switch S23 is connected to the flow signal through the resistor R c The switch S24 is connected to the excitation current signal, and the integrator A and the integrator B are also connected to the microprocessor 30 .

[0040] The specific structure of the integrator of the present invention is as follows Figure 7 As shown, it includes three operational amplifiers, among which the positive input terminal of operational amplifier U1 is grounded, the reverse input terminal inputs a signal, and the output terminal is respectively connected to the positive input terminals of operational amplifiers U2 and U3. An integrating capacitor is connected across the output terminal and the reverse terminal of operational amplifier U1, and the two ends of the integrating capacitor are connected to the S31 switch for resetting the integrator. After the integration of the flow signal and the excitation current signal is completed, the integrator is reset by short-circuiting S31. Since the timing is relatively simple, it is not elaborated in detail in the patent. The reverse input terminal of comparator U2 inputs Vref, the reverse input terminal of comparator U3 is grounded, and the output terminals of comparators U2 and U3 are connected to the internal timer of the MCU.

[0041] MCU timing control circuit is used to control the excitation switching, the charge and discharge logic of the flow signal and the excitation current signal; MCU timing circuit is used to measure the charge and discharge time of the integrator;

[0042] The MCU flow and excitation current calculation method collects the charge and discharge time of the integrator and calculates the compensated flow value.

[0043] The measuring circuit comprises a tube body 10 and an excitation coil 20 . A first measuring electrode 11 a and a second measuring electrode 11 b are arranged in the tube body 10 .

[0044] Embodiment 2:

[0045] Embodiment 2 of the present invention is further described from the specific sampling process of a synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter. The present invention is composed of an excitation drive circuit, two-way integration circuits, an analog switch, an excitation current signal, a flow signal, etc. The two-way integration circuits are synchronously controlled by the excitation timing, and the flow signal and the excitation current are alternately sampled. When integrator A samples the flow signal, integrator B samples the excitation current; when integrator A samples the excitation current, integrator B samples the flow signal. Since the excitation current is controlled by a constant current source, it can be used as a standard signal for the two-way integrators. By sampling the standard signal, the flow values ​​sampled by the two-way integrators are corrected to compensate for the error caused by the integration capacitor.

[0046] Integrator A is responsible for sampling the flow signal corresponding to positive excitation and zero excitation (positive zero excitation) following positive excitation, and the excitation current signal corresponding to negative excitation and zero excitation following negative excitation. The sampling timing of integrator B is opposite to that of A. When positive excitation starts, start integrator A to integrate the flow signal. When positive zero excitation ends, stop integrator A and wait for the discharge of integrator A to end. Integrator B integrates the excitation current after the start of positive excitation and stops integrating before the end of positive excitation. Integrator B integrates the excitation current after the start of positive zero excitation and stops integrating before the end of positive zero excitation. When negative excitation starts, start integrator B synchronously to sample the flow signal. Stop integrator B sampling when negative zero excitation ends, and wait for the discharge of integrator B to end. Integrator A samples the excitation current signal at the start of negative excitation and stops sampling before the end of negative excitation. Sample the excitation current after the start of negative zero excitation and stops sampling before the end of negative zero excitation, as shown in the attached figure. Figure 3 shown.

[0047] The way of integrating the flow signal with two-way integrators and the excitation driving mode of positive excitation, zero excitation, negative excitation and zero excitation are just to offset the influence of differential interference and power frequency interference of electromagnetic flowmeter and electromagnetic water meter on the flow signal.

[0048] When the two integrators sample the flow signal, they work in the following cyclic mode: negative bias is added to the flow signal so that the integrator performs positive integration on the flow signal. However, in order to prevent the integrator from saturating, when the integrator approaches a certain threshold, a positive bias needs to be added to discharge the integrator. When the integrator is discharged to a certain threshold, the forward bias is removed and the above steps are repeated until the sampling is completed. In order to complete the continuous charge and discharge process of the flow signal normally, the forward bias current must be greater than the negative bias current.

[0049] The two-way integrator sampling excitation current works in the following mode: Integrator B integrates the excitation current in the middle section of positive excitation and positive zero excitation, and discharges the integrator after integrating for a fixed time; Integrator A integrates the excitation current in the middle section of negative excitation and negative zero excitation, and discharges the integrator after integrating for a fixed time;

[0050] The timer counts the discharge time of the flow signal and the excitation current signal sampled by integrator A, and also counts the discharge time of the flow signal and the excitation current signal sampled by integrator B. Addition, subtraction and compensation operations are performed on the discharge time and the overall integration time to obtain the final digital time signal that is positively correlated with the flow signal;

[0051] The obtained digital signal does not need to be converted into the corresponding voltage value. The electromagnetic water meter and electromagnetic flowmeter will be calibrated on the calibration bench before leaving the factory. By comparing with the standard flow, we can get the instrument coefficient, which is the ratio of the flow signal to the digital time signal.

[0052] Embodiment 3:

[0053] Embodiment 3 of the present invention further describes the present invention from the specific working process of a method for calculating MCU flow and excitation current of a synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter.

[0054] See also Figure 1 , the first step: Integrator A integrates the flow signal under positive excitation and positive zero excitation, where the switch control timing of S1, S2, S3, S4, S11, S12, S13 is shown in Figure 6 Integrator A is responsible for sampling the flow signal in the T1 time period, while integrator B is responsible for sampling the flow signal in the T2 time period. When sampling the excitation current signal, integrator A is responsible for sampling the excitation current signal in the T21 and T22 time periods, and integrator B is responsible for sampling the excitation current signal in the T11 and T12 time periods. When it is necessary to collect positive excitation signals, switches S1 and S3 are closed to generate positive excitation signals, and the closing time is T in this embodiment. When it is necessary to collect negative excitation signals, switches S2 and S4 are closed to generate negative excitation signals, and the closing time is T in this embodiment. When integrator A collects flow signals, switches S12 and S13 are closed, and the closing time is the duration of positive excitation and positive zero excitation. The flow signal of time period T1 is collected, where T1=2T. Integrator B samples excitation current, and the switch samples excitation current signals of time periods T11 and T12, where T11=T12=1 / 4T. When integrator B collects flow signals, switches S22 and S23 are closed to collect flow signals of time period T2, where T2=T1=2T. Integrator A samples excitation current, and samples excitation current signals of time periods T21 and T22, where T21=T22=T11=T12=1 / 4T.

[0055] During the charging process Figure 4 As shown, when the integrator reaches the amplitude V refWhen the integrator is discharged, the S11 switch needs to be closed; when the discharge reaches 0V, the S11 switch is disconnected. At this time, the flow signal is in the reverse bias current I c Under the action of , the integrator continues to be charged, and the process is repeated. After the integration time reaches T1, the S12 and S13 switches are disconnected, and the S11 switch is closed (if the original state of S11 is closed, then this state remains unchanged), and the integrator is waited for to discharge to 0V, and finally the following is obtained:

[0056]

[0057] Formula (1) shows the mathematical expression of the flow signal after integration. It can be seen from the formula that I e 、T1、I c , R f are all constants, and the final integral value is only related to the variable ΔT1, the total discharge time.

[0058] In the second step, integrator B is responsible for integrating the flow signal under negative excitation and negative zero excitation. The timing is similar to that of integrator A. Finally, we get

[0059] Step 3: Integrator A integrates the excitation current signal at negative excitation and negative zero excitation, such as Figure 3 and Figure 5 The switch control of the integrator and excitation part is shown in Figure 6 , in the figure, the time period when switch S11 is closed is T1+Δt 11 , where Δt 11 =1 / 16T, switch S11 is closed for 11 / 16T and then closed again ΔT 11 time, where ΔT 11 =1 / 16T, then close ΔT after 15 / 16T 11 The time period of switch S12 closing is 3 / 4T to 13 / 16T, 7 / 4T to 29 / 16T, and T2+Δt 11 The time period, Δt 11 =ΔT 11 =1 / 16T, integrator A adopts a fixed time charging method to integrate the excitation current signal, and then the signal amplitude can be determined by the length of the discharge time, as shown in formula (2):

[0060]

[0061] Formula (2) shows the mathematical expression of the flow signal after integration. It can be seen from the formula that ΔT 11 ,I c , R c are all constants, and the final integral value only depends on the variable ΔT11 , which is related to the total discharge time. Similarly, we can get the integrator A at T 12 The integral value of the time period

[0062] Step 4: Integrator B integrates the excitation current signal at negative excitation and negative zero excitation, such as Figure 3 and Figure 5 The switch control of the integrator and excitation part is shown in Figure 6 Integrator B is similar to A, and finally we get T 12 Time period With T 22 Time period

[0063] Step 5: Calculate the excitation current of positive excitation. Here, the current integral value under positive excitation is subtracted from the current integral value under positive zero excitation. This method can overcome the influence of DC bias on the signal when the excitation current has a DC bias. The excitation current of negative excitation can be calculated in the same way.

[0064] The positive excitation current is expressed as:

[0065] The negative excitation current is expressed as:

[0066] The difference between the two integrators can be obtained by the ratio of the positive excitation current to the negative excitation current K c To make compensation,

[0067]

[0068] Step 6: Electromagnetic water meters and electromagnetic flowmeters generally use the difference between positive excitation and negative excitation to calculate the flow rate, while the present invention uses the values ​​of the A and B integrators to calculate the flow rate by difference after compensation. This method can effectively overcome the influence of power frequency and differential interference. The specific calculation method is shown in the following formula:

[0069]

[0070] Step 7: Collect the digital signal F c On the standard flow device with standard flow F s By comparison, we can finally get the conversion relationship between digital time signal and actual flow, and the conversion coefficient K p It can be expressed as:

[0071] K p =F C / F S (5).

[0072] The following conclusions can be drawn from the above embodiments. The two-way integrators of the present invention alternately sample the flow signal and the excitation current signal. When sampling the flow signal, integrator A is responsible for sampling the flow signal in the T1 time period, and integrator B is responsible for sampling the flow signal in the T2 time period. When sampling the excitation current signal, integrator A is responsible for sampling the excitation current signal in the T21 and T22 time periods, and integrator B is responsible for sampling the excitation current signal in the T11 and T12 time periods. The two-way integrators use different working modes when sampling the flow signal and the excitation current signal, mainly because there is a large difference between the time for sampling the flow signal and the time for sampling the excitation current. The flow signal is generally collected in hundreds of ms to 1s, while the excitation current signal is generally sampled in a few ms. Therefore, when the present invention targets the flow signal, positive and negative biases are added to the flow signal to prevent the integrator from saturating. However, this method will result in that even if the integration of the flow signal is stopped, the discharge time of the last integrator still needs to be calculated. This is why the present invention requires two integrators. Adding two integrators will cause differences in the circuit, which requires a standard signal for calibration. The excitation current of the electromagnetic water meter and the electromagnetic flowmeter is controlled by a constant current source, and the two integrators can be calibrated by collecting the amplitude of the excitation current.

[0073] The present invention has the advantage of low price by using an integrator to replace a dedicated A / D chip, and is composed of only some operational amplifiers, resistors, capacitors, and analog switches; and there is no sampling delay. While completely integrating the signal, the transmission and operation speed of the processor is reduced, thereby reducing the power consumption of the analog-to-digital conversion system.

[0074] The sampling integrator of the present invention performs full-segment integration on positive and negative excitation and zero excitation, which can eliminate the influence of differential and power frequency interference on the flow signal, reduce the purchase cost and power consumption of the system, and finally obtain the conversion relationship between the digital time signal and the flow signal.

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

Claims

1. A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter, characterized in that: include: A measuring circuit, which is a circuit for collecting flow signals and placing measuring electrodes to measure the flow of the conductive medium passing therethrough; The excitation drive circuit adopts positive, zero, negative, zero excitation drive mode as the standard signal for generating excitation current signal and serving as the two-way integrator; The two-way integration circuit, as a circuit for collecting flow signals and excitation current signals, includes integrator A and integrator B. When integrator A samples the flow signal, integrator B samples the excitation current; when integrator A samples the excitation current, integrator B samples the flow signal. Integrator A is responsible for sampling the flow signal corresponding to positive excitation and zero excitation following positive excitation, and the excitation current signal corresponding to negative excitation and zero excitation following negative excitation. The sampling timing of integrator B is opposite to that of integrator A.

2. A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter according to claim 1, characterized in that: The measuring circuit comprises a tube body (10) and an excitation coil (20), and a first measuring electrode (11a) and a second measuring electrode (11b) are arranged in the tube body (10).

3. A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter according to claim 1, characterized in that: The excitation drive circuit includes a DC power supply, the positive electrode of the DC power supply is connected to a constant current source, the constant current source is connected to an H-bridge circuit, the H-bridge is composed of switches S1, S2, S3, and S4, one end of the coil is connected to the connection node of the S1 and S4 switches, and the other end is connected to the connection node of the S2 and S3 switches, the negative output end of the DC power supply is connected to the sampling resistor Rs, and the sampling resistor Rs is grounded.

4. A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter according to claim 1, characterized in that: The two-way integration circuit includes an integrator A and an integrator B, each of which is composed of an integration circuit composed of an operational amplifier and a capacitor, a switch S31 used to short-circuit the integration capacitor, and two comparators. The integrator A is connected to the positive bias through the switch S11, connected to the negative bias through the switch S12, and connected to the negative bias through the resistor R f The switch S13 is connected to the flow signal through the resistor R c and switch S14 are connected to the excitation current signal; integrator B is connected to the positive bias through switch S21, connected to the negative bias through switch S22, and connected to the integrator B through resistor R f The switch S23 is connected to the flow signal through the resistor R c And switch S24 is connected to the excitation current signal.

5. A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter according to claim 4, characterized in that: The specific sampling process of the integrator A and the integrator B of the two-way integration circuit is as follows: when the integrator A samples the flow signal, the integrator B samples the excitation current; when the integrator A samples the excitation current, the integrator B samples the flow signal. The integrator A is responsible for sampling the flow signal corresponding to the positive excitation and the zero excitation (positive zero excitation) following the positive excitation and the excitation current signal corresponding to the negative excitation and the zero excitation following the negative excitation. The sampling timing of the integrator B is opposite to that of the integrator A.

6. A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter according to claim 5, characterized in that: The specific working process of the two-way integration circuit is as follows: when positive excitation starts, integrator A is started to integrate the flow signal, and when positive zero excitation ends, integrator A is stopped, and the discharge of integrator A is waited to end; integrator B integrates the excitation current after positive excitation starts, and stops integrating before the positive excitation ends, integrates the excitation current after positive zero excitation starts, and stops integrating before the positive zero excitation ends; when negative excitation starts, integrator B is synchronously started to sample the flow signal, and sampling of integrator B is stopped when negative zero excitation ends, and the discharge of integrator B is waited to end; Integrator A samples the excitation current signal at the beginning of negative excitation and stops sampling before the end of negative excitation, samples the excitation current after the beginning of negative zero excitation and stops sampling before the end of negative zero excitation.

7. A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter according to claim 1, characterized in that: The system synchronously drives integrator A and integrator B to collect data in the excitation driving mode of positive excitation, positive zero excitation, negative excitation, and negative zero excitation.

8. A synchronous analog-to-digital conversion system based on the excitation timing of an electromagnetic water meter and an electromagnetic flowmeter according to claim 1, 4 or 6, characterized in that: After sampling, the two-way integrating circuit converts the electrical signal into a digital signal. The digital signal does not need to be converted into a corresponding voltage value. The electromagnetic water meter and the electromagnetic flow meter will be calibrated on the calibration bench before leaving the factory. By comparing with the standard flow, the instrument coefficient is obtained. The instrument coefficient is the ratio of the flow signal to the digital time signal.

Citation Information

Patent Citations

  • Excitation coil insulation property detection method in electromagnetic flowmeter

    CN103792457A

  • Method for eliminating noise in electromagnetic flowmeter and converter

    JP1995091994A