Ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis and diagnosis method
By introducing a waveform detection circuit and a single-chip microcomputer control system into the ultrasonic flow meter, the sensitivity of the transducer can be detected in real time, which solves the problem that the existing technology cannot diagnose the sensitivity of the transducer, and realizes real-time status monitoring and maintenance reminders of the ultrasonic flow meter. , improve product reliability.
Patent Information
- Application Number
- CN202410492902.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-23
- Publication Date
- 2024-08-27
AI Technical Summary
Existing ultrasonic flowmeters cannot diagnose the sensitivity of the transducer in real time at industrial sites, resulting in the inability to evaluate the working status of the flowmeter, resulting in maintenance difficulties and production shutdown issues.
An ultrasonic flowmeter including an automatic gain amplification circuit, a control system and a waveform detection circuit is designed. The microcontroller and waveform detection circuit are used to detect the transducer sensitivity in real time through the automatic gain value and sensor sensitivity coefficient formula to realize the transducer sensitivity. diagnosis.
It realizes real-time detection of the sensitivity of the ultrasonic flowmeter transducer, promptly reminds users to perform maintenance, and improves product reliability and continuity of use.
Smart Images

Figure CN118548946A
Abstract
Description
Technical Field
[0001] The invention relates to an ultrasonic flowmeter, and in particular to an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis and a diagnosis method. Background Art
[0002] In ultrasonic flowmeter products, the transducer is the core device for flow measurement, and its sensitivity is directly related to the service life of ultrasonic flowmeter products. Ideally, the sensitivity of the transducer will slowly decay naturally over time, causing the signal to become weaker and weaker until it cannot support the normal operation of the ultrasonic flowmeter. However, in actual industrial field conditions, the transducer is affected by water vapor, impurity impact, etc., and there is no fixed attenuation law. Therefore, it is very difficult to accurately diagnose the sensitivity of the transducer in the industrial field. Since the ultrasonic flowmeter does not have the conditions for repairing or testing the sensor when it is used on site, it is easy to disrupt the user's production rhythm by periodically sending it back to the manufacturer for repair, and at the same time incur unnecessary repair and transportation costs. Based on this, users can usually only passively wait for various faults to occur in the ultrasonic flowmeter before repairing it. Once a problem occurs, it will face the problem of suspension of production, which will bring great trouble to the maintenance manufacturer and the user. Therefore, it is urgent to design an ultrasonic flowmeter and a diagnostic method that can realize transducer sensitivity diagnosis. Summary of the invention
[0003] The purpose of the present invention is to solve the technical problem that the existing ultrasonic flowmeter cannot diagnose the sensitivity of the transducer in real time on site, resulting in the inability to evaluate whether the ultrasonic flowmeter is in good working condition, and to provide an ultrasonic flowmeter and a diagnostic method that can realize transducer sensitivity diagnosis.
[0004] The technical solution of the present invention is:
[0005] The present invention discloses an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis, comprising an automatic gain amplification circuit, a control system and a flowmeter, and the special features thereof are: a waveform detection circuit is also included;
[0006] The waveform detection circuit includes a diode D1, a capacitor C8, a first resistor R5 and a second resistor R6;
[0007] The capacitor C8 is connected in parallel with the first resistor R5, one end of which is connected to the cathode of the diode D1 and the other end is grounded;
[0008] The anode of the diode D1 is connected to the output signal of the amplifier U1, and the cathode of the diode D1 outputs the signal amplitude after passing through the second resistor R6;
[0009] The control system adopts a single chip microcomputer as a control core, which is used to cooperate with an automatic gain amplification circuit and a waveform detection circuit to complete the detection of the flow meter.
[0010] At the same time, the present invention also provides a diagnostic method for an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis, which is special in that it includes the following steps:
[0011] 1) Preset the automatic gain value Ag_x corresponding to the flow meter under different gas pressures in the control program of the single chip microcomputer;
[0012] 2) Obtain the actual signal amplitude of the voltage under the current pressure through the waveform detection circuit; compare the actual signal amplitude of the voltage with the voltage signal amplitude corresponding to the preset automatic gain value Ag_x under the pressure, if they are consistent, the preset automatic gain value Ag_x is used as the current automatic gain value Ag_n; if they are inconsistent, adjust the preset automatic gain value Ag_x so that the actual signal amplitude of the voltage is consistent with the voltage signal amplitude corresponding to the preset automatic gain value Ag_x after adjustment, and use the adjusted automatic gain value Ag_x as the current automatic gain value Ag_n;
[0013] 3) reading the automatic gain value Ag_x preset in step 1) and the current automatic gain value Ag_n obtained in step 2) under the current pressure through the control program, and obtaining the calculated value of the sensor sensitivity coefficient Rn using the sensor sensitivity coefficient formula;
[0014] 4) Compare the calculated value of the sensor sensitivity coefficient Rn with the set value of the sensor sensitivity coefficient Rn. If the calculated value of Rn is ≤ the set value of Rn, the total count is zero and returns to step 2; if the calculated value of Rn is > the set value of Rn, the total count is increased by 1 and step 5 is executed;
[0015] 5) Determine whether the total count exceeds the threshold. If not, return to step 2; if so, it is considered that the sensitivity of the ultrasonic transducer has been reduced to an unhealthy state, an alarm is issued, and return to step 2).
[0016] Furthermore, in step 3), the sensor sensitivity coefficient formula is:
[0017]
[0018] k1 represents proportional operation on the operation result, enlarging or reducing the proportion;
[0019] d represents adding and subtracting the calculation result to fine-tune the calculation result.
[0020] Furthermore, in step 3), the sensor sensitivity coefficient formula is:
[0021] Rn=k1×(Ag_n-Ag_x)-d.
[0022] Furthermore, in step 5), the threshold is 3600.
[0023] Beneficial effects of the present invention:
[0024] 1. The ultrasonic flowmeter of the present invention can realize transducer sensitivity diagnosis. A waveform detection circuit is added on the basis of the original automatic gain amplifier circuit, and the continuously changing sinusoidal signal is converted into a gradually increasing "step" signal, which is an observable signal amplitude. The sensitivity of the ultrasonic flowmeter transducer can be detected in real time, so that the user can be informed of the status of the ultrasonic flowmeter in time. In case of a fault, the user can be informed in advance to perform maintenance and repair work on the ultrasonic flowmeter product, so as to ensure continuous and reliable gas use by the user.
[0025] 2. The present invention can realize a diagnostic method for an ultrasonic flowmeter for transducer sensitivity diagnosis. The current automatic gain value can be accurately obtained by using a waveform detection circuit. The sensor sensitivity coefficient can be accurately calculated by the current automatic gain value and a preset value. By comparing it with the set value, the status of the ultrasonic flowmeter product can be understood in time, thereby improving product reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a structural schematic diagram of an automatic gain amplifier circuit of an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis according to the present invention;
[0027] Figure 2 It is a connection diagram of an automatic gain amplifier circuit and a waveform detection circuit of an ultrasonic flow meter capable of realizing transducer sensitivity diagnosis of the present invention;
[0028] Figure 3 The present invention is a flowchart of a diagnostic method for an ultrasonic flow meter capable of realizing transducer sensitivity diagnosis. DETAILED DESCRIPTION
[0029] The present invention is described in detail below through the accompanying drawings and embodiments.
[0030] The present invention provides an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis, including an automatic gain amplifier circuit, a control system, a flowmeter and a waveform detection circuit. The design of the circuit module in the present invention is as follows: Figure 2 As shown in the figure, a waveform detection circuit is added to the original automatic gain amplifier circuit on the ultrasonic flow meter circuit. This circuit function module converts the continuously changing sinusoidal signal into a gradually increasing "step" signal, which becomes an observable signal amplitude. Figure 1 As shown, the waveform detection circuit is as follows Figure 2As shown in the small and medium boxes. The waveform detection circuit includes a diode D1, a capacitor C8, a first resistor R5 and a second resistor R6. The capacitor C8 is connected in parallel with the first resistor R5, one end of which is connected to the cathode of the diode D1 and the other end is grounded; the anode of the diode D1 is connected to the output signal of the amplifier U1, and the cathode of the diode D1 outputs the signal amplitude after passing through the second resistor R6. The control system uses a single-chip microcomputer as the control core, which is used to cooperate with the automatic gain amplifier circuit and the waveform detection circuit to complete the detection of the flow meter.
[0031] The ultrasonic signal of the ultrasonic flowmeter will be continuously lost during the gas transmission process, so the received signal will show different degrees of attenuation under the influence of factors such as gas pressure and transducer sensitivity. Therefore, when using an ultrasonic flowmeter for flow measurement, it is necessary to continuously adjust the preset automatic gain value Ag, that is, increase the automatic gain value when the signal becomes smaller, and reduce the automatic gain value when the signal becomes larger. The current automatic gain value Ag_n is related to the transducer sensitivity.
[0032] The present invention also provides a diagnostic method for an ultrasonic flowmeter that can realize transducer sensitivity diagnosis. The main concept is to store the preset automatic gain value Ag_x corresponding to different gas pressures when the product leaves the factory in the control system, continuously collect the actual signal amplitude of the voltage during operation and obtain the current automatic gain value Ag_n at the current signal amplitude, and compare the current automatic gain value Ag_n with the preset automatic gain value Ag_x, that is, Ag_n / Ag_x. When the ratio is greater than 1, and the system determines that the current automatic gain value Ag_n is greater than the preset automatic gain value Ag_x for a long time (that is, Ag_n>Ag_x), it means that the sensitivity of the ultrasonic transducer begins to decrease. When the sensitivity drops to a certain level, the user is alerted. Figure 3 As shown, the specific steps of the method of the present invention are as follows:
[0033] 1) The automatic gain value Ag_x corresponding to the flow meter under different gas pressures is preset in the control program of the single-chip microcomputer.
[0034] 2) Introduce the signal into the analog measurement I / O port of the single-chip computer for voltage detection, and obtain the actual signal amplitude of the voltage under the current pressure through the waveform detection circuit. Compare the actual signal amplitude of the voltage with the voltage signal amplitude corresponding to the preset automatic gain value Ag_x under the pressure. If they are consistent, the preset automatic gain value Ag_x is used as the current automatic gain value Ag_n; if they are inconsistent, the preset automatic gain value Ag_x is adjusted to make the actual signal amplitude of the voltage consistent with the voltage signal amplitude corresponding to the preset automatic gain value Ag_x after adjustment, and the adjusted automatic gain value Ag_x is used as the current automatic gain value Ag_n. In this way, the current signal gain Ag_n can be accurately given.
[0035] 3) The automatic gain value Ag_x preset in step 1) and the current automatic gain value Ag_n obtained in step 2) under the current pressure are read through the control program, and the calculated value of the sensor sensitivity coefficient Rn is obtained using the sensor sensitivity coefficient formula.
[0036] Among them, the sensor sensitivity coefficient can be calculated by the following two formulas, formula 1 is:
[0037]
[0038] Rn represents the sensor sensitivity coefficient;
[0039] Ag_n represents the current automatic gain value;
[0040] Ag_x represents the preset automatic gain value under the current pressure;
[0041] k1 represents the proportional operation of the operation result, which can be enlarged or reduced;
[0042] d represents adding and subtracting the calculation result, which can fine-tune the calculation result.
[0043] Formula 2 is:
[0044] Rn=k1×(Ag_n-Ag_x)-d.
[0045] The smaller the calculated Rn value is, the more sensitive the ultrasonic transducer is, and the larger the Rn value is, the slower the ultrasonic transducer is. If formula 1 is used, the minimum Rn value is close to 1, and if formula 2 is used, the minimum Rn value is close to 0.
[0046] 4) Compare the calculated value of the sensor sensitivity coefficient Rn with the set value of the sensor sensitivity coefficient Rn. If the calculated value of Rn is ≤ the set value of Rn, the total count is zero and returns to step 2; if the calculated value of Rn is > the set value of Rn, the total count is increased by 1 and step 5 is executed.
[0047] The Rn setting value is a modifiable setting value in the program. It can be set when the program is downloaded or changed through external communication. When the calculated Rn value exceeds the Rn setting value in the program, the program counts once and accumulates the previous count. However, if the Rn calculated value is less than the Rn setting value in the middle of the process, the count accumulation is cleared.
[0048] 5) Determine whether the total count exceeds the threshold value of 3600. If not, return to step 2; if so, it is considered that the sensitivity of the ultrasonic transducer has been reduced to an unhealthy state, an alarm is issued, and the process returns to step 2).
Claims
1. An ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis, comprising an automatic gain amplifier circuit, a control system and a flowmeter, characterized in that: Also included is a waveform detection circuit; The waveform detection circuit includes a diode D1, a capacitor C8, a first resistor R5 and a second resistor R6; The capacitor C8 is connected in parallel with the first resistor R5, one end of which is connected to the cathode of the diode D1 and the other end is grounded; The anode of the diode D1 is connected to the output signal of the amplifier U1, and the cathode of the diode D1 outputs the signal amplitude after passing through the second resistor R6; The control system adopts a single chip microcomputer as a control core, which is used to cooperate with an automatic gain amplification circuit and a waveform detection circuit to complete the detection of the flow meter.
2. A diagnostic method for an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis according to claim 1, characterized in that: The following steps are involved: 1) Preset the automatic gain value Ag_x corresponding to the flow meter under different gas pressures in the control program of the single chip microcomputer; 2) Obtain the actual signal amplitude of the voltage under the current pressure through the waveform detection circuit; compare the actual signal amplitude of the voltage with the voltage signal amplitude corresponding to the preset automatic gain value Ag_x under the pressure, if they are consistent, the preset automatic gain value Ag_x is used as the current automatic gain value Ag_n; if they are inconsistent, adjust the preset automatic gain value Ag_x so that the actual signal amplitude of the voltage is consistent with the voltage signal amplitude corresponding to the preset automatic gain value Ag_x after adjustment, and use the adjusted automatic gain value Ag_x as the current automatic gain value Ag_n; 3) reading the automatic gain value Ag_x preset in step 1) and the current automatic gain value Ag_n obtained in step 2) under the current pressure through the control program, and obtaining the calculated value of the sensor sensitivity coefficient Rn using the sensor sensitivity coefficient formula; 4) Compare the calculated value of the sensor sensitivity coefficient Rn with the set value of the sensor sensitivity coefficient Rn. If the calculated value of Rn is ≤ the set value of Rn, the total count is zero and returns to step 2; if the calculated value of Rn is > the set value of Rn, the total count is increased by 1 and step 5 is executed; 5) Determine whether the total count exceeds the threshold. If not, return to step 2; if so, it is considered that the sensitivity of the ultrasonic transducer has been reduced to an unhealthy state, an alarm is issued, and return to step 2).
3. The diagnostic method for an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis according to claim 2, characterized in that: In step 3), the sensor sensitivity coefficient formula is: k1 represents proportional operation on the operation result, enlarging or reducing the proportion; d represents adding and subtracting the calculation result to fine-tune the calculation result.
4. The diagnostic method for an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis according to claim 2, characterized in that: In step 3), the sensor sensitivity coefficient formula is: Rn=k1×(Ag_n-Ag_x)-d.
5. The diagnostic method for an ultrasonic flowmeter capable of realizing transducer sensitivity diagnosis according to any one of claims 2 to 4, characterized in that: In step 5), the threshold is 3600.
