vortex flowmeter
By introducing a dynamic gain adjustment mechanism controlled by a microcontroller unit into the vortex flow meter, the problem of small measurement range is solved, enabling wide-range, high-precision flow measurement and improving the reliability and accuracy of the measurement.
Patent Information
- Application Number
- CN202522826921.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2035-12-31
Smart Images

Figure CN225017489U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of flow measurement technology, specifically to vortex flow meters. Background Technology
[0002] When a triangular prism-shaped vortex generator is placed in a fluid, regular vortices are generated alternately from both sides of the vortex generator. These vortices are called karman vortices, and the vortex train is arranged asymmetrically downstream of the vortex generator.
[0003] A vortex flow meter is a volumetric flow meter that measures the volumetric flow rate, standard volumetric flow rate, or mass flow rate of gases, steam, or liquids based on the Kármán vortex street principle. It can also be used as a flow transmitter in automated control systems.
[0004] Vortex flow meters measure flow rate using the principle of fluid oscillation. When fluid passes through a vortex flow transmitter in a pipe, two rows of vortices, proportional to the flow velocity, are alternately generated behind the vortex generator of a triangular prism. The release frequency of the vortices is related to the average velocity of the fluid flowing through the vortex generator and the characteristic width of the vortex generator, and can be expressed by the following formula: In the formula, The vortex release frequency is expressed in Hz. The average velocity of the fluid flowing through the vortex generator is expressed in m / s. The characteristic width of the vortex generator is expressed in meters (m). This is the Strouhal number, a dimensionless number with a numerical range of 0.14–0.27.
[0005] It can be expressed as a function of the Reynolds number: The Reynolds number is in the range of 10² to 10⁵. The value is approximately 0.2. During measurement, the Reynolds number of the fluid should be satisfied as much as possible. Within the range of 102-105, the vortex frequency is: Therefore, the average velocity of the fluid flowing through the vortex generator can be calculated by measuring the vortex frequency. .
[0006] The flow rate can then be calculated using the following formula: In the formula, Let A be the flow rate, and A be the cross-sectional area of the fluid flowing through the vortex generator.
[0007] In order to obtain the vortex release frequency The probe, which integrates piezoelectric ceramics, is used to collect liquid vibration signals downstream of the vortex generator. When subjected to external force, the piezoelectric ceramics output a weak charge signal. With the help of subsequent signal processing circuits, the weak electrical signal output by the piezoelectric ceramics is processed to obtain an electrical signal corresponding to the release frequency f, and the flow rate is calculated based on this electrical signal.
[0008] In the existing technology, the signal processing circuit often uses a charge amplifier circuit combined with a low-pass filter circuit to amplify the signal output by the piezoelectric ceramic. However, due to the limited gain of the amplifier circuit, the range of the vortex flow meter is also relatively small. Utility Model Content
[0009] The purpose of this application is to provide a vortex flow meter to expand the flow range of the vortex flow meter.
[0010] This application provides a vortex flow meter, which includes: Piezoelectric ceramic sensors are used to sense the Karman vortex vibrations generated when fluid flows through a vortex generator in order to obtain an initial charge signal. A charge amplification module is used to convert an initial charge signal into a voltage signal and introduce a first reference voltage from a reference voltage module to superimpose the voltage signal onto a DC level to obtain a unipolar primary voltage signal. The charge amplification module includes a first range adjustment unit for dynamically adjusting the amplification factor according to the magnitude of the initial charge signal. The proportional amplifier module is used to proportionally amplify the primary voltage signal to obtain the amplified signal. A signal follower module is used for cascade isolation and impedance matching to ensure that the amplified signal does not attenuate when it is transmitted to the next stage. The filtering module is used to perform low-pass filtering on the amplified signal to obtain a filtered analog signal. The hysteresis comparison module is used to convert the filtered analog signal into a square wave signal by comparing it with a preset threshold. The microcontroller unit is used to calculate the frequency of the square wave signal and, in conjunction with the Strouhal number and the pipe cross-sectional area, calculate the fluid flow rate.
[0011] In one embodiment of the vortex flowmeter according to this application, the piezoelectric ceramic sensor is electrically connected to the charge amplification module. The signal output terminal of the charge amplification module is connected to the input terminal of the proportional amplification module. The output terminal of the proportional amplification module is connected to the input terminal of the signal follower module. The output terminal of the signal follower module is connected to the input terminal of the filter module. The output terminal of the filter module is connected to the input terminal of the hysteresis comparator module. The output terminal of the hysteresis comparator module is connected to the GPIO input pin of the microcontroller unit.
[0012] In one embodiment of the vortex flowmeter according to this application, the first range adjustment unit includes a first programmable switch chip, and the charge amplification module further includes a first operational amplifier and a first feedback impedance network element. The two signal lines of the piezoelectric ceramic sensor are respectively connected to the inverting input terminal and the non-inverting input terminal of the first operational amplifier, and the non-inverting input terminal of the first operational amplifier is connected to the reference voltage output by the reference voltage module. The first feedback impedance network element is connected between the inverting input terminal and the output terminal of the first operational amplifier. The control terminal of the first programmable switch chip is electrically connected to the GPIO output pin of the microcontroller unit for receiving logic control signals.
[0013] In one embodiment of the vortex flowmeter according to this application, the microcontroller controls a first programmable switch chip to switch the impedance of a first feedback impedance network element.
[0014] In one embodiment of the vortex flowmeter according to this application, the signal follower module includes a third operational amplifier, an output-to-ground resistor, and an output-to-ground capacitor. The output-to-ground resistor and the output-to-ground capacitor are connected between the signal output terminal of the third operational amplifier and ground. The output terminal of the proportional amplifier module is connected to the non-inverting input terminal of the third operational amplifier. The signal output terminal of the third operational amplifier is shorted to its inverting input terminal. The signal output terminal of the third operational amplifier is connected to the input terminal of the filter module.
[0015] In one embodiment of the vortex flowmeter according to this application, the filtering module includes a fourth operational amplifier, a programmable switch chip array, a switchable capacitor array, and a resistor array, wherein multiple capacitors in the switchable capacitor array are switchably connected to the fourth operational amplifier through the programmable switch chip array, and form a filtering circuit with the resistor array.
[0016] In one embodiment of the vortex flowmeter according to this application, the hysteresis comparison module includes a voltage comparator, a positive feedback resistor, and a voltage divider resistor. The positive feedback resistor is connected between the signal output terminal and the non-inverting input terminal of the voltage comparator. The voltage divider resistor introduces a second reference voltage from the reference voltage module. The signal output terminal of the voltage comparator is connected to the GPIO input pin of the microcontroller unit.
[0017] In one embodiment of the vortex flowmeter according to this application, a voltage divider resistor is connected between one end of the output second reference voltage of the reference voltage module and the inverting input of the voltage comparator. Attached Figure Description
[0018] Figure 1 This is a schematic block diagram of a vortex flow meter disclosed in an embodiment of this application.
[0019] Figure 2 This is a schematic diagram of a vortex flow meter disclosed in an embodiment of this application.
[0020] Figure 3 This is a schematic diagram of the charge amplification module circuit of a vortex flowmeter disclosed in an embodiment of this application.
[0021] Figure 4 This is a schematic circuit diagram of a reference voltage module connected to the charge amplification module of a vortex flowmeter disclosed in an embodiment of this application.
[0022] Figure 5 A diagram of Henry's Law Figure 1 A schematic diagram of the proportional amplifier module and the connected gain adjustment module of a vortex flowmeter.
[0023] Figure 6 This is a circuit diagram of a signal following module for a vortex flowmeter disclosed in an embodiment of this application.
[0024] Figure 7 This is a schematic circuit diagram of a filter module for a vortex flowmeter disclosed in an embodiment of this application.
[0025] Figure 8 This is a schematic circuit diagram of a hysteresis comparison module and a connected gain adjustment module of a vortex flowmeter disclosed in an embodiment of this application. Detailed Implementation
[0026] Hereinafter, exemplary embodiments according to this application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments of this application. It should be understood that this application is not limited to the exemplary embodiments described herein.
[0027] It is understood that the term "a" should be understood as "at least one" or "one or more," meaning that in one embodiment, the number of an element can be one, while in another embodiment, the number of the element can be multiple. The term "a" should not be construed as a limitation on the quantity. "Multiple" means two or more.
[0028] While ordinal numbers such as “first,” “second,” etc., will be used to describe various components, there is no limitation on those components herein. The term is used only to distinguish one component from another; for example, a first component may be referred to as a second component, and similarly, a second component may be referred to as a first component, without departing from the teachings of this application. The term “and / or” as used herein includes any and all combinations of one or more of the associated listed items.
[0029] The terminology used herein is for the purpose of describing various embodiments only and is not intended to be limiting. As used herein, the singular form also includes the plural form, unless the context clearly indicates otherwise. It will also be understood that the terms “comprising” and / or “having” as used in this specification specify the presence of the described features, numbers, operations, components, elements or combinations thereof, without excluding the presence or addition of one or more other features, numbers, operations, components, elements or combinations thereof.
[0030] As mentioned above, in the prior art, the signal processing circuit often uses a charge amplifier circuit combined with a low-pass filter circuit to amplify the signal output by the piezoelectric ceramic. However, due to the limited gain of the amplifier circuit, the range of the vortex flow meter is also relatively small.
[0031] Based on this, this invention proposes to abandon the traditional fixed-gain amplification mode and instead construct an intelligent, adaptive signal conditioning scheme. Specifically, a dynamic adjustment mechanism controlled by a microcontroller unit (MCU) is introduced into the key stage of signal processing, especially in the charge amplification module that converts weak charge signals into voltage signals. More specifically, this mechanism uses a programmable switch to dynamically change the feedback network impedance of the amplifier circuit, thereby adjusting its amplification factor in real time. When the input signal amplitude is detected to be small (corresponding to low flow rate), the MCU instructs the system to switch to high-gain mode to ensure that the weak vortex signal can be effectively amplified; while when the signal amplitude increases (corresponding to high flow rate), the gain is reduced accordingly to prevent the signal from saturating and distorting due to over-amplification. In this way, a collaborative dynamic gain control system covering the entire signal link is formed.
[0032] By implementing the above-described technical concept, this application can bring significant and beneficial technical effects. Most directly, because the signal processing circuit can automatically adjust its amplification capability according to the strength of the input signal, the flow meter can accurately capture and process extremely weak Karman vortex signals at low flow rates, while effectively avoiding clipping distortion caused by strong signals at high flow rates. This ensures that the signal remains within the ideal amplitude range for optimal processing before being sent to the final frequency calculation unit. The effective measurement range of the vortex flow meter described in this application is significantly expanded, significantly improving the measurement accuracy and reliability of the instrument under different operating conditions, and increasing the instrument's range, thereby better meeting the complex requirements of wide-range, high-precision flow measurement in modern industrial process control.
[0033] like Figures 1 to 8 As shown, a vortex flow meter according to an embodiment of this application is illustrated. As Figure 1 As shown, the vortex flowmeter includes a piezoelectric ceramic sensor PZT, a charge amplification module 10, a proportional amplification module 20, a signal following module 30, a filtering module 40, a hysteresis comparison module 50, and a microcontroller unit 60. The piezoelectric ceramic sensor PZT is used to sense the Karman vortex vibration generated when fluid flows through the vortex generator to obtain an initial charge signal; the charge amplification module 10 is used to convert the initial charge signal into a voltage signal and introduce a first reference voltage Vref1 from the reference voltage module to superimpose the voltage signal on a DC level to obtain a unipolar primary voltage signal. The charge amplification module 10 includes a first range adjustment unit 11, which is used to dynamically adjust the amplification factor according to the magnitude of the initial charge signal; the proportional amplification module 20 is used to proportionally amplify the primary voltage signal to obtain an amplified signal; the signal follower module 30 is used for cascade isolation and impedance matching to ensure that the amplified signal does not attenuate when transmitted to the next stage; the filtering module 40 is used to perform low-pass filtering on the amplified signal to obtain a filtered analog signal; the hysteresis comparison module 50 is used to convert the filtered analog signal into a square wave signal by comparing it with a preset threshold; the microcontroller unit 60 is used to calculate the frequency of the square wave signal and, in combination with the Strouhal number and the pipe cross-sectional area, calculate the fluid flow rate.
[0034] Specifically, the piezoelectric ceramic sensor PZT is electrically connected to the charge amplification module 10. The signal output terminal of the charge amplification module 10 is connected to the input terminal of the proportional amplification module 20. The output terminal of the proportional amplification module 20 is connected to the input terminal of the signal follower module 30. The output terminal of the signal follower module 30 is connected to the input terminal of the filter module 40. The output terminal of the filter module 40 is connected to the input terminal of the hysteresis comparator module 50. The output terminal of the hysteresis comparator module 50 is connected to the GPIO input pin of the microcontroller unit 60. GPIO stands for General Purpose Input / Output. GPIO input pins refer to the input pins in general purpose input / output pins.
[0035] When the piezoelectric ceramic sensor PZT senses the Karman vortex vibration, it generates differential initial charge signals SIN+ and SIN- corresponding to the vibration frequency and intensity.
[0036] The charge amplification module 10 is mainly used to convert the weak, initial charge signal output by the piezoelectric ceramic sensor PZT into a unipolar voltage signal with a certain amplitude that is boosted by a DC level, and has dynamic gain adjustment capability to broaden the measurement range of the flowmeter. The first range adjustment unit 11 of the charge amplification module 10 includes a first programmable switch chip S1. The charge amplification module 10 also includes a first operational amplifier A1 and a first feedback impedance network element Z1.
[0037] The first programmable switch chip S1, serving as the execution core of the first range adjustment unit 11, is a multi-channel analog switch. Its function is to receive digital logic control signals from the microcontroller unit 60 and dynamically select the specific first feedback impedance network element Z1 connected to the feedback loop of the first operational amplifier A1 by physically switching the on / off state of its internal switches. The first programmable switch chip S1 has a first control terminal 1E, a second control terminal 2E, a third control terminal 3E, and a fourth control terminal 4E; a first controlled terminal 1Y, a second controlled terminal 2Y, a third controlled terminal 3Y, and a fourth controlled terminal 4Y; a first corresponding controlled terminal 1Z, a second corresponding controlled terminal 2Z, a third corresponding controlled terminal 3Z, and a fourth corresponding controlled terminal 4Z; a ground terminal GND; and a power supply terminal VCC. The circuit between the first controlled terminal 1Y and the first corresponding controlled terminal 1Z forms the first switching channel 1Y-1Z; the circuit between the second controlled terminal 2Y and the second corresponding controlled terminal 2Z forms the second switching channel 2Y-2Z; the circuit between the third controlled terminal 3Y and the third corresponding controlled terminal 3Z forms the third switching channel 3Y-3Z; and the circuit between the fourth controlled terminal 4Y and the fourth corresponding controlled terminal 4Z forms the fourth switching channel 4Y-4Z. The ground terminal GND is connected to the analog ground wire AGND, and the power supply terminal VCC is connected to the working voltage terminal VDD.
[0038] The control terminal of the first programmable switch chip S1 is electrically connected to the GPIO output pin of the microcontroller unit 60 to receive logic control signals. GPIO output pins refer to the output pins in the general purpose input / output pins. Correspondingly, the first control terminal 1E, the second control terminal 2E, the third control terminal 3E, and the fourth control terminal 4E of the first programmable switch chip S1 are used to receive logic level signals from the microcontroller unit 60 to determine the on / off state of each internal switch channel. The first control terminal 1E of the first programmable switch chip S1 receives the first control signal MCU1-1 from the microcontroller unit 60, specifically for controlling the on / off state of the first switch channel 1Y-1Z. The second control terminal 2E of the first programmable switch chip S1 receives the second control signal MCU1-2 from the microcontroller unit 60, specifically for controlling the on / off state of the second switch channel 2Y-2Z. The third control terminal 3E of the first programmable switch chip S1 receives the third control signal MCU1-3 from the microcontroller unit 60, specifically for controlling the on / off state of the third switch channel 3Y-3Z. The fourth control terminal 4E of the first programmable switch chip S1 is used to receive the fourth control signal MCU1-4 from the microcontroller unit 60, which is specifically used to control the on / off state of the fourth switch channel 4Y-4Z.
[0039] The first feedback impedance network element Z1 is a capacitor C and / or a resistor R. In this application, multiple first feedback impedance network elements Z1 are provided. These multiple first feedback impedance network elements Z1 are connected to the controlled terminals of the first programmable switch chip S1. The first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the first programmable switch chip S1 are respectively connected to first feedback impedance network elements Z1 with different impedances. Thus, different switching channels of the first programmable switch chip S1 correspond to different impedances.
[0040] The microcontroller unit 60 sends a logic high-level signal (e.g., MCU1-1) to a specific control terminal (e.g., the first control terminal 1E of the first programmable switch chip S1), causing the corresponding switch inside the first programmable switch chip S1 to close, thereby establishing an electrical connection between the controlled terminal and the corresponding controlled terminal (e.g., the first controlled terminal 1Y and the first corresponding controlled terminal 1Z). This action effectively connects the specific first feedback impedance network element Z1 connected between the controlled terminal and the corresponding controlled terminal (e.g., the first controlled terminal 1Y and the first corresponding controlled terminal 1Z) into the feedback loop of the first operational amplifier A1, thereby changing the overall gain of the circuit. By selectively activating the four control terminals (the first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y), the microcontroller unit 60 can precisely connect one of four different impedances to the circuit, realizing dynamic and programmable control of the amplification factor. In other words, the microcontroller unit 60 switches the impedance of the first feedback impedance network element Z1 by controlling the switching channel of the first programmable switch chip S1.
[0041] The first operational amplifier A1 is the core active device for signal conversion and amplification. It is configured as a variable gain charge-to-voltage converter, and its performance directly determines the signal-to-noise ratio and fidelity of the entire signal processing front end. The first operational amplifier A1 has an inverting input terminal, a non-inverting input terminal, and a signal output terminal.
[0042] The inverting input of the first operational amplifier A1 is the main receiving terminal of the first initial charge signal SIN-. It is electrically connected to one signal line of the piezoelectric ceramic sensor PZT and to one end of the first feedback impedance network element Z1. Its working principle is to use the extremely high input impedance characteristic of the inverting input terminal to forcibly guide the charge signal from the piezoelectric ceramic sensor PZT to the first feedback impedance network element Z1. At the same time, based on the virtual short working characteristic of the first operational amplifier A1, its potential will be dynamically adjusted to be consistent with the potential of the non-inverting input terminal.
[0043] The non-inverting input of the first operational amplifier A1, which works in conjunction with the inverting input, is the main receiving terminal of the second initial charge signal SIN+. It is electrically connected to another signal line of the piezoelectric ceramic sensor PZT and simultaneously connected to the output of the reference voltage module to receive a stable first reference voltage Vref1. Its working principle is that the first reference voltage Vref1 provided by the reference voltage module clamps the potential of the non-inverting input to a preset DC level. This level not only serves as the reference for the internal amplification of the first operational amplifier A1, but also determines the DC bias center of the final output signal to ensure that the output is a unipolar signal.
[0044] The function of the signal output terminal of the first operational amplifier A1 is to output a converted and amplified voltage signal. This pin output is connected to the input terminal of the subsequent proportional amplifier module 20, and simultaneously connected back to the inverting input terminal of the first operational amplifier A1 itself through the first feedback impedance network element Z1 to form a negative feedback loop. Its working principle is that the first operational amplifier A1 continuously adjusts the voltage at this signal output terminal to maintain the consistency of the potentials at the two input terminals. The voltage signal generated at this signal output terminal is a composite voltage signal with the first reference voltage Vref1 as its DC center, superimposed with an AC signal proportional to the input charge signal and whose amplitude is determined by the impedance value of the first feedback impedance network element Z1. The signal output from the signal output terminal of the first operational amplifier A1 is the charge amplification module output signal SIN1, i.e., a unipolar primary voltage signal.
[0045] When the switching channel between the control terminal of the first programmable switch chip S1 and its corresponding control terminal is turned on, the first feedback impedance network element Z1 connected to the control terminal of the first programmable switch chip S1 is connected between the inverting input terminal and the output terminal of the first operational amplifier A1. In other words, the first feedback impedance network element Z1 is connected across the inverting input terminal and the output terminal of the first operational amplifier A1. When different switching channels of the first programmable switch chip S1 (first switching channel 1Y-1Z, second switching channel 2Y-2Z, third switching channel 3Y-3Z, and fourth switching channel 4Y-4Z) are switched on, the first feedback impedance network element Z1 with different impedances is switched between the inverting input and output terminals of the first operational amplifier A1. This results in different impedances in the negative feedback loop between the inverting input and output terminals of the first operational amplifier A1 when different switching channels of the first programmable switch chip S1 are switched on, thereby realizing the function of adjusting the gain of the charge amplification circuit of the charge amplification module 10. Based on the magnitude of the initial charge signals SIN+ and SIN- input to the two input terminals of the charge amplification module 10, the amplification factor of the charge amplification module 10 is adjusted to expand the signal range that it can process, thereby increasing the instrument's measuring range.
[0046] In general, the two signal lines of the piezoelectric ceramic sensor PZT are directly coupled to the inverting and non-inverting inputs of the first operational amplifier A1, respectively. The non-inverting input of the first operational amplifier A1 is connected to the first reference voltage Vref1 output by the reference voltage module, thus biasing the input signal and making the output signal of the charge amplifier circuit a DC signal. The output of the first operational amplifier A1 is connected back to its own inverting input through the first feedback impedance network element Z1 selected by the first programmable switch chip S1. This path from the output to the inverting input constitutes the negative feedback that determines the core function of the circuit.
[0047] The proportional amplifier module 20 further amplifies the signal output from the charge amplifier circuit in the charge amplifier module 10 (i.e., the charge amplifier module output signal SIN1) through a proportional amplifier circuit, and achieves impedance matching through the subsequent signal follower module 30. The proportional amplifier module 20 includes a second operational amplifier A2. The second operational amplifier A2 has an inverting input terminal, a non-inverting input terminal, and a signal output terminal. In one embodiment of this application, the proportional amplifier module 20 is connected to a gain adjustment circuit 300. The inverting input terminal of the second operational amplifier A2 is connected to the gain adjustment circuit 300. The non-inverting input terminal of the second operational amplifier A2 is the main receiving terminal of the charge amplifier module output signal SIN1, and it is electrically connected to the signal output terminal of the first operational amplifier A1. The signal output terminal of the second operational amplifier A2 is the output terminal of the proportional amplifier module 20, and the signal output from the signal output terminal of the second operational amplifier A2 is the proportional amplifier module output signal SIN2, i.e., the amplified signal.
[0048] The signal follower module 30 includes a third operational amplifier A3, an output-to-ground resistor R31, and an output-to-ground capacitor C32. The third operational amplifier A3 has an inverting input, a non-inverting input, and a signal output. The output-to-ground resistor R31 and the output-to-ground capacitor C32 are connected between the signal output of the third operational amplifier A3 and ground. The non-inverting input of the second operational amplifier A2 is the main receiving terminal for the output signal SIN2 of the proportional amplifier module, and it is electrically connected to the signal output of the second operational amplifier A2. The signal output of the third operational amplifier A3 is the output terminal of the signal follower module 30, and the signal output from the signal output of the third operational amplifier A3 is the output signal SIN3 of the signal follower module. The signal output of the third operational amplifier A3 is shorted to its inverting input to form a unity-gain negative feedback structure. Simultaneously, the signal output of the third operational amplifier A3 also serves as the output terminal of the signal follower module 30, connected to the input terminal of the subsequent filter module 40. The high input impedance and low output impedance characteristics of the third operational amplifier A3 ensure that the output signal of the preceding stage can drive the subsequent circuit without attenuation. The output-to-ground resistor R31 and the output-to-ground capacitor C32 are connected to the third operational amplifier A3 to form an RC damping / low-pass network at the output end. This network is used to absorb high-frequency interference, reduce output noise spikes, and improve the stability when driving the subsequent stage (the input network of the filter module).
[0049] The filtering module 40 is mainly used for low-pass filtering of the output signal SIN3 of the signal follower module. In one embodiment of this application, the filtering module 40 is a second-order low-pass filter module. Corresponding to its front-stage adjustable gain amplifier circuit, the second-order filter amplifier circuit of the filtering module 40 is also provided with a programmable switch chip to adjust the signal gain of the filter circuit. The filtering module 40 includes a fourth operational amplifier A4, a programmable switch chip array SS, a switchable capacitor array CC, and a filter resistor group RR. Multiple capacitors C in the switchable capacitor array CC are switchably connected to the fourth operational amplifier A4 through the programmable switch chip array SS, and together with the filter resistor group RR, form a filter circuit.
[0050] The fourth operational amplifier A4 provides programmable gain for the filtered signal and introduces a second reference voltage Vref2 from the reference voltage module, causing the filter network to operate near the second reference voltage Vref2. Multiple capacitors C in the switchable capacitor array CC, while forming a filter circuit with the resistors in the filter resistor group RR, also serve as second feedback impedance network elements for setting the passband gain of the filter module 40. Multiple programmable switch chips in the programmable switch chip array SS receive instructions from the microcontroller unit 60 to physically switch the impedance of the second feedback impedance network elements.
[0051] The fourth operational amplifier A4 has an inverting input terminal, a non-inverting input terminal, and a signal output terminal. The non-inverting input terminal of the fourth operational amplifier A4 is connected to one end of the output second reference voltage Vref2 of the reference voltage module. The signal output terminal of the fourth operational amplifier A4 is the output terminal of the filter module 40. The signal output from the signal output terminal of the fourth operational amplifier A4 is the output signal SIN4 of the filter module. In one embodiment of this application, the programmable switch chip array SS of the filter module 40 includes a second programmable switch chip S2, a third programmable switch chip S3, a fourth programmable switch chip S4, and a fifth programmable switch chip S5. The second programmable switch chip S2 and the third programmable switch chip S3 form a first programmable switch group; the fourth programmable switch chip S4 and the fifth programmable switch chip S5 form a second programmable switch group. The pin settings (e.g., control terminal, controlled terminal, corresponding controlled terminal) and the formation of each switch channel of the second programmable switch chip S2, the third programmable switch chip S3, the fourth programmable switch chip S4, and the fifth programmable switch chip S5 are the same as those of the first programmable switch chip S1, and will not be described again.
[0052] The switchable capacitor array CC includes sixteen capacitors C, which are respectively connected between the controlled terminals of the second programmable switch chip S2, the third programmable switch chip S3, the fourth programmable switch chip S4 and the fifth programmable switch chip S5 and the inverting input terminal of the fourth operational amplifier A4.
[0053] The filter resistor group RR includes a first filter resistor R41 and a second filter resistor R42. The first filter resistor R41 is connected between the output terminal of the signal follower module 30 and the inverting output terminal of the fourth operational amplifier A4. The second filter resistor R42 is connected between the signal output terminal and the inverting input terminal of the fourth operational amplifier A4. The first filter resistor R41, together with the capacitor C connected in the switchable capacitor array CC to the second programmable switch chip S2 and the third programmable switch chip S3, forms a first-order filter structure. The second filter resistor R42, together with the capacitor C connected in the switchable capacitor array CC to the fourth programmable switch chip S4 and the fifth programmable switch chip S5, forms a second-order filter structure.
[0054] The control terminals of the second programmable switch chip S2, the third programmable switch chip S3, the fourth programmable switch chip S4, and the fifth programmable switch chip S5 are electrically connected to the GPIO output pins of the microcontroller unit 60 to receive logic control signals. Correspondingly, the control terminal of the second programmable switch chip S2 is used to receive the logic control signals MCU3-1, MCU3-2, MCU3-3, and MCU3-4 from the microcontroller unit 60. The four capacitors C in the switchable capacitor array CC are respectively connected to the first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the second programmable switch chip S2, and have different impedances.
[0055] Similarly, the control terminal of the third programmable switch chip S3 is used to receive the logic control signals MCU3-5, MCU3-6, MCU3-7, and MCU3-8 from the microcontroller unit 60. The four capacitors C in the switchable capacitor array CC are respectively connected to the first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the third programmable switch chip S3, and have different impedances.
[0056] The control terminal of the fourth programmable switch chip S4 is used to receive the logic control signals MCU4-1, MCU4-2, MCU4-3, and MCU4-4 from the microcontroller unit 60. The four capacitors C in the switchable capacitor array CC are respectively connected to the first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the fourth programmable switch chip S4, and have different impedances.
[0057] The control terminal of the fifth programmable switch chip S5 is used to receive the logic control signals MCU4-5, MCU4-6, MCU4-7, and MCU4-8 from the microcontroller unit 60. The four capacitors C in the switchable capacitor array CC are respectively connected to the first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the fifth programmable switch chip S5, and have different impedances.
[0058] The microcontroller unit 60 sends a logic high-level signal to specific control terminals of the second programmable switch chip S2, the third programmable switch chip S3, the fourth programmable switch chip S4, and the fifth programmable switch chip S5, causing the corresponding switches to close and thus establishing an electrical connection between the controlled terminal and the corresponding controlled terminal. This action effectively connects the specific capacitor C connected between the controlled terminal and the corresponding controlled terminal into the feedback loop of the fourth operational amplifier A4, thereby changing the overall gain of the circuit; and causes the specific capacitor C to form a filter structure with the first filter resistor R41 or the second filter resistor R42.
[0059] When the signal SIN3 output from the signal follower module enters the filter module 40, it first flows through the first filter resistor R41. The microcontroller unit 60 controls the conduction of one of the second programmable switch chips S2 and the third programmable switch chip S3, so that the capacitor C on the switch channel is connected to the fourth operational amplifier A4, and the signal SIN3 output from the signal follower module passes through the first stage of filtering. The microcontroller unit 60 controls the conduction of one of the fourth programmable switch chips S4 and the fifth programmable switch chip S5, so that the capacitor C on the switch channel is connected to the fourth operational amplifier A4, and the signal that has passed through the first stage of filtering passes through the second stage of filtering and is output from the signal output terminal of the fourth operational amplifier A4.
[0060] The filter resistor group RR also includes a series resistor R43, a current-limiting resistor R44, and two diodes D. The series resistor R43, together with the second filter resistor R42, determines the closed-loop gain. One end of the series resistor R43 is connected to the inverting input of the fourth operational amplifier A4, and the other end is connected to the capacitor C in the switchable capacitor array CC, which is connected to the first programmable switch group. The two diodes D form a bidirectional limiting clamp. When a positive / negative overshoot occurs at the signal output of the fourth operational amplifier A4, the corresponding diode conducts, dissipating the overvoltage energy through the current-limiting resistor, thereby limiting the output amplitude, shortening the op-amp's saturation recovery, and protecting the input of the subsequent comparator. The current-limiting resistor R44 provides current limiting for the output clamp, preventing excessive inrush current when diode D conducts. The current-limiting resistor R44 is connected between the series resistor R43 and the diodes D. The positive terminal of one diode D is connected to the signal output terminal of the fourth operational amplifier A4, and the negative terminal is connected to the current limiting resistor R44; the negative terminal of the other diode D is connected to the signal output terminal of the fourth operational amplifier A4, and the positive terminal is connected to the current limiting resistor R44.
[0061] The hysteresis comparator module 50 can accurately convert the filtered analog signal into a square wave signal that can be counted by the microcontroller unit 60, and output the square wave signal to the microcontroller unit 60 so that the microcontroller unit 60 can calculate the frequency of the square wave signal and thus calculate the flow rate. The hysteresis comparator module 50 includes a voltage comparator A5, a positive feedback resistor R51, and a voltage divider resistor R52.
[0062] Specifically, voltage comparator A5 has a non-inverting input, an inverting input, and a signal output. As the core of the analog-to-digital signal conversion, voltage comparator A5's function is to compare the voltage magnitudes of its two input terminals (non-inverting and inverting) in real time and output a high or low level digital signal based on the comparison result. The signal output of voltage comparator A5 is the hysteresis comparator module output signal, a square wave signal, which is output to the microcontroller unit 60. Correspondingly, the signal output of voltage comparator A5 is connected to the GPIO input pin of the microcontroller unit 60.
[0063] A positive feedback resistor R51 is connected between the signal output and non-inverting input of voltage comparator A5, thereby dynamically adjusting the switching threshold of voltage comparator A5. Accordingly, one end of the positive feedback resistor R51 is connected to the signal output of voltage comparator A5, and the other end is connected to the non-inverting input of voltage comparator A5. A voltage divider resistor R52 introduces a second reference voltage Vref2 from the reference voltage module. Accordingly, one end of the voltage divider resistor R52 is connected to one end of the output second reference voltage Vref2 of the reference voltage module, and the other end is connected to the inverting input of voltage comparator A5. The non-inverting input of voltage comparator A5 is connected to the gain adjustment circuit 300.
[0064] As previously described, in one embodiment of this application, the proportional amplification module 20 is connected to a gain adjustment circuit 300. Thus, the charge amplification module 10 dynamically adjusts the amplification factor according to the magnitude of the initial charge signal via the first range adjustment unit 11, and the proportional amplification module 20 further dynamically adjusts the amplification factor via the gain adjustment circuit 300. The charge amplification module 10 and the proportional amplification module 20 can be adjusted in stages to a certain extent, ensuring that the signal amplitude sent to the back-end processing unit (e.g., the hysteresis comparison module 50) is always within the ideal window of optimal signal-to-noise ratio and anti-clipping distortion over an extremely wide flow measurement range.
[0065] Specifically, vortex flow meters need to measure a very wide range of fluid velocities, potentially ranging from near-stagnant trickles to the maximum allowable flow rate in the pipe. According to fluid mechanics principles, the strength of the Karman vortex (and the intensity of the charge signal generated by the piezoelectric ceramic sensor PZT) is roughly proportional to the square of the flow velocity. This means that at low flow rates, the signal is extremely weak and easily drowned out by the circuit's own noise; at high flow rates, the signal is very strong, and without control, it can easily lead to amplifier output saturation (i.e., clipping), causing severe distortion of the signal waveform and resulting in the loss of crucial frequency information.
[0066] The charge amplification module 10 is the front end of signal processing. Its primary task is to prevent saturation distortion from occurring in the first stage and to provide preliminary and effective boosting of weak signals, roughly adjusting the signal to a suitable intensity range. For example, switching from a low flow rate setting to a medium flow rate setting.
[0067] The proportional amplifier module 20 receives the voltage signal from the first stage, which has already undergone coarse adjustment, and can use the gain adjustment circuit 300 to perform smoother and finer gain fine-tuning based on the range selected in the first stage.
[0068] This graded design allows the vortex flow meter to not only adapt to different flow velocities, but also to compensate for sensitivity drift caused by factors such as sensor aging and temperature changes, thereby improving the robustness and measurement accuracy of the vortex flow meter.
[0069] Specifically, the gain adjustment circuit 300 includes a sixth programmable switch chip S6 and a third feedback impedance network element Z3. The pin configuration (e.g., control terminal, controlled terminal, corresponding controlled terminal) and the formation of each switch channel of the sixth programmable switch chip S6 are consistent with those of the first programmable switch chip S1, and will not be described further. The control terminal of the sixth programmable switch chip S6 is electrically connected to the GPIO output pin of the microcontroller unit 60 for receiving logic control signals.
[0070] Accordingly, the control terminal of the sixth programmable switch chip S6 is used to receive the logic control signals MCU2-1, MCU2-2, MCU2-3, and MCU2-4 from the microcontroller unit 60. The third feedback impedance network element Z3 is a capacitor C or a resistor R. In this application, multiple third feedback impedance network elements Z3 are provided. The multiple third feedback impedance network elements Z3 are connected to the controlled terminals of the sixth programmable switch chip S6. The first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the sixth programmable switch chip S6 are respectively connected to the third feedback impedance network elements Z3 with different impedances. One end of the third feedback impedance network elements Z3 with different impedances is connected to the first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the sixth programmable switch chip S6, and the other end is connected to the inverting input terminal of the second operational amplifier A2 of the proportional amplifier module 20, and simultaneously connected to the non-inverting input terminal of the voltage comparator A5 of the hysteresis comparator module 50. The first corresponding controlled terminal 1Z, the second corresponding controlled terminal 2Z, the third corresponding controlled terminal 3Z and the fourth corresponding controlled terminal 4Z of the sixth programmable switch chip S6 are connected to one end of the output second reference voltage Vref2 of the reference voltage module, and the second reference voltage Vref2 from the reference voltage module is introduced.
[0071] The microcontroller unit 60 sends a logic high-level signal to a specific control terminal of the sixth programmable switch chip S6, which closes the corresponding switch, thereby establishing an electrical connection between the controlled terminal and the corresponding controlled terminal. This action effectively connects the specific third feedback impedance network element Z3 connected between the controlled terminal and the corresponding controlled terminal into the feedback loop of the second operational amplifier A2, thereby changing the overall gain of the circuit.
[0072] The reference voltage module provides a first reference voltage Vref1 to the charge amplification module 10 and a second reference voltage Vref2 to the gain adjustment circuit 300. The reference voltage module includes a seventh programmable switch chip S7, a fifth operational amplifier A6, and a fourth feedback impedance network element Z4. The fifth operational amplifier A6 has an inverting input, a non-inverting input, and a signal output. The fourth feedback impedance network element Z4 is connected between the inverting input and output of the fifth operational amplifier A6. The pin configuration (e.g., control terminal, controlled terminal, corresponding controlled terminal) and the formation of each switch channel of the seventh programmable switch chip S7 are consistent with those of the first programmable switch chip S1, and will not be described further. The control terminal of the seventh programmable switch chip S7 is electrically connected to the GPIO output pin of the microcontroller unit 60 for receiving logic control signals.
[0073] Accordingly, the control terminal of the seventh programmable switch chip S7 is used to receive the logic control signals MCU1-5, MCU1-6, MCU1-7, and MCU1-8 from the microcontroller unit 60. The fourth feedback impedance network element Z4 is a capacitor C or a resistor R. In this application, multiple fourth feedback impedance network elements Z4 are provided. The multiple fourth feedback impedance network elements Z4 are connected to the controlled terminals of the seventh programmable switch chip S7. The first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the seventh programmable switch chip S7 are respectively connected to third feedback impedance network elements Z3 with different impedances. One end of the third feedback impedance network element Z3 with different impedances is connected to the first controlled terminal 1Y, the second controlled terminal 2Y, the third controlled terminal 3Y, and the fourth controlled terminal 4Y of the seventh programmable switch chip S7, and the other end is connected to the inverting input terminal of the fifth operational amplifier A6.
[0074] The microcontroller unit 60 sends a logic high-level signal to a specific control terminal of the sixth programmable switch chip S6, which closes the corresponding switch, thereby establishing an electrical connection between the controlled terminal and the corresponding controlled terminal. This action effectively connects the specific third and fourth feedback impedance network element connected between the controlled terminal and the corresponding controlled terminal into the feedback loop of the fifth operational amplifier A6, thereby changing the first reference voltage Vref1 and the second reference voltage Vref2 output by the signal output terminal of the fifth operational amplifier A6.
[0075] In summary, the vortex flow meter has been explained. The vortex flow meter incorporates a dynamic adjustment mechanism in its charge amplification module, significantly expanding its effective measurement range. This substantially improves the instrument's measurement accuracy and reliability under different operating conditions, and increases its range, thereby better meeting the complex requirements of modern industrial process control for wide-range, high-precision flow measurement.
[0076] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A vortex flowmeter characterized by, include: Piezoelectric ceramic sensors are used to sense the Karman vortex vibrations generated when fluid flows through a vortex generator in order to obtain an initial charge signal. A charge amplification module is used to convert an initial charge signal into a voltage signal and introduce a first reference voltage from a reference voltage module to superimpose the voltage signal onto a DC level to obtain a unipolar primary voltage signal. The charge amplification module includes a first range adjustment unit for dynamically adjusting the amplification factor according to the magnitude of the initial charge signal. The proportional amplifier module is used to proportionally amplify the primary voltage signal to obtain the amplified signal. A signal follower module is used for cascade isolation and impedance matching to ensure that the amplified signal does not attenuate when it is transmitted to the next stage. The filtering module is used to perform low-pass filtering on the amplified signal to obtain a filtered analog signal. The hysteresis comparison module is used to convert the filtered analog signal into a square wave signal by comparing it with a preset threshold. The microcontroller unit is used to calculate the frequency of the square wave signal and, in conjunction with the Strouhal number and the pipe cross-sectional area, calculate the fluid flow rate.
2. The vortex flowmeter of claim 1, wherein, The piezoelectric ceramic sensor is electrically connected to the charge amplification module. The signal output terminal of the charge amplification module is connected to the input terminal of the proportional amplification module. The output terminal of the proportional amplification module is connected to the input terminal of the signal follower module. The output terminal of the signal follower module is connected to the input terminal of the filter module. The output terminal of the filter module is connected to the input terminal of the hysteresis comparator module. The output terminal of the hysteresis comparator module is connected to the GPIO input pin of the microcontroller unit.
3. The vortex flowmeter of claim 1, wherein, The first range adjustment unit includes a first programmable switch chip, and the charge amplification module includes a first operational amplifier and a first feedback impedance network element. The two signal lines of the piezoelectric ceramic sensor are respectively connected to the inverting input terminal and the non-inverting input terminal of the first operational amplifier, and the non-inverting input terminal of the first operational amplifier is connected to the reference voltage output by the reference voltage module. The first feedback impedance network element is connected between the inverting input terminal and the output terminal of the first operational amplifier. The control terminal of the first programmable switch chip is electrically connected to the GPIO output pin of the microcontroller unit for receiving logic control signals.
4. The vortex flowmeter of claim 3, wherein, The microcontroller unit controls the first programmable switch chip to switch the impedance of the first feedback impedance network element.
5. The vortex flowmeter of claim 1, wherein, The signal follower module includes a third operational amplifier, an output-to-ground resistor, and an output-to-ground capacitor. The output-to-ground resistor and the output-to-ground capacitor are connected between the signal output terminal of the third operational amplifier and ground. The output terminal of the proportional amplifier module is connected to the non-inverting input terminal of the third operational amplifier. The signal output terminal of the third operational amplifier is shorted to its inverting input terminal. The signal output terminal of the third operational amplifier is connected to the input terminal of the filter module.
6. The vortex flowmeter of claim 1, wherein, The filtering module includes a fourth operational amplifier, a programmable switch chip array, a switchable capacitor array, and a resistor array. Multiple capacitors in the switchable capacitor array are switchably connected to the fourth operational amplifier through the programmable switch chip array, and together with the resistor array, they form a filtering circuit.
7. The vortex flowmeter of claim 1, wherein, The hysteresis comparator module includes a voltage comparator, a positive feedback resistor, and a voltage divider resistor. The positive feedback resistor is connected between the signal output terminal and the non-inverting input terminal of the voltage comparator. The voltage divider resistor introduces a second reference voltage from the reference voltage module. The signal output terminal of the voltage comparator is connected to the GPIO input pin of the microcontroller unit.
8. The vortex flowmeter of claim 7, wherein, The voltage divider resistor is connected between one end of the second reference voltage output of the reference voltage module and the inverting input of the voltage comparator.
