CN104121956A - Time difference measuring method of time difference type ultrasonic flow meter - Google Patents

Time difference measuring method of time difference type ultrasonic flow meter Download PDF

Info

Publication number
CN104121956A
CN104121956A CN201410366627.9A CN201410366627A CN104121956A CN 104121956 A CN104121956 A CN 104121956A CN 201410366627 A CN201410366627 A CN 201410366627A CN 104121956 A CN104121956 A CN 104121956A
Authority
CN
China
Prior art keywords
time difference
signal
flow meter
ultrasonic flow
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410366627.9A
Other languages
Chinese (zh)
Other versions
CN104121956B (en
Inventor
刘桂雄
唐木森
陈国宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201410366627.9A priority Critical patent/CN104121956B/en
Publication of CN104121956A publication Critical patent/CN104121956A/en
Application granted granted Critical
Publication of CN104121956B publication Critical patent/CN104121956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a time difference measuring method of a time different type ultrasonic flow meter. According to the method, on the basis of measuring the time difference through pulse counting, conversion measuring is performed on the error part of the pulse counting through a phase discriminator, an integrating circuit and an ADC, so that the time difference is measured accurately through the flow meter. According to the method, a clock signal which is output by a flow meter control unit MSP430 is adopted as a pulse counting signal. Counting errors exist in the pulse counting and are converted into voltage through the integrating circuit after being recognized by the phase discriminator. The voltage is transmitted to the ADC inside the flow meter control unit MSP430, and through the combination of an ADC conversion result and a pulse counting result, the time difference of the time difference type ultrasonic flow meter can be finally obtained. According to the method, by the utilization of the ADC inside the time difference type ultrasonic flow meter control unit MSP430 and the clock signal, a timing chip of an existing time difference type ultrasonic flow meter can be omitted, and therefore cost is well reduced.

Description

A kind of transit-time ultrasonic flow meter time difference measurement method
Technical field
The present invention relates to flow measurement technical field, relate in particular to a kind of transit-time ultrasonic flow meter time difference measurement method.
Background technology
Transit-time ultrasonic flow meter requires high to TOA measurement accuracy in the time of the flow metering of rill speed, the pulse timing circuit that existing employing FPGA or CPLD circuit collocation crystal oscillator form cannot be applied to the flow metering of rill speed, only can be used for the low occasion of large flow velocity or accuracy requirement.Convection current measures accuracy of measurement and requires the high or fast occasion of rill, improve flow measurement precision, the corresponding raising counting pulse frequency of palpus, but counting pulse frequency later stage lifting difficulty is large, cost is also higher.
In transit-time ultrasonic flow meter, to improving the research and application comparative maturity of flow measurement precision.Existing research also has the flow measurement precision problem of considering that above existing transit-time ultrasonic flow meter exists, if the applying date is on 04 25th, 2011, application number is 201110103079.7 a kind of high precision time difference formula ultrasonic flow meter and measuring method thereof, the timing circuit that this patent of invention is told about utilizes flowmeter timing chip (as TDC-GP2) exploitation, clocking scheme timing resolution 65ps, but the timing chip that this scheme adopts is market product on sale, expensive, account for flowmeter cost proportion larger, also having an applying date is on 07 10th, 2012, application number is 201210236748.2 high precision time difference formula monopulse ultrasonic flowmeter system and measuring flow method thereof, this patent of invention is utilized the timing circuit of integrating circuit and micro-processing controls chip A/D functional development, eliminate the error in dipping of step-by-step counting, but this patent of invention is not considered the non-linear effects of ADC transformed error and integrating circuit, employing time is converted to the single-measurement method of magnitude of voltage, therefore integrating circuit amasss the saturated time and must choose by maximum range 2000ns, quantize the time difference of 2000ns with 12 ADC, be limited by ADC transformed error and integrating circuit non-linear, there is error in time difference measurement.
To sum up, in prior art, there is following shortcoming:
1) adopt FPGA or CPLD circuit collocation crystal oscillator, system complex and timing resolution are only 5-10ns, and flow measurement precision is low, and the scope of application is little;
2) adopt timing chip TDC-GP2 exploitation timing circuit, resolution 65ps, but the timing chip that this scheme adopts is market product on sale, expensive, account for flowmeter cost proportion larger;
3) utilize the timing circuit of integrating circuit and micro-processing controls chip A/D functional development, eliminate the error in dipping of step-by-step counting, but only the employing time is converted to the single-measurement method of magnitude of voltage, is limited by ADC transformed error and integrating circuit non-linear, and time difference measurement exists error.
Summary of the invention
For solving the problems of the technologies described above, the object of this invention is to provide one and the invention provides a kind of low cost, high precision time difference formula ultrasonic flow meter time difference measurement method.The method is utilized the inner ADC of transit-time ultrasonic flow meter control module MSP430 and clock signal, use clock signal to carry out step-by-step counting to suitable, the adverse current time difference, the error in dipping of the not enough one-period that cannot measure for step-by-step counting, to the time be converted to voltage, in conjunction with MSP430 inside ADC, obtain this part time difference numerical value, thereby obtain finally suitable, the adverse current time difference.The method, owing to utilizing flowmeter control module MSP430 internal hardware resources, improves hardware utilization factor, exempts existing flowmeter high frequency clock circuit or expensive timing chip, with low cost; The method only need be carried out integration to the time difference of not enough one-period, has greatly reduced the nonlinear impact of ADC transformed error and integrating circuit, in the situation that only considering ADC transformed error, and time difference measurement resolution 30 psecs.
Object of the present invention realizes by following technical scheme:
A kind of transit-time ultrasonic flow meter time difference measurement method, described method comprises:
Make the hyperacoustic process of sending/receiving in following current state;
Produce following current by transmitter driving circuit and send driving signal, described signal is delivered to phase detector, drive simultaneously and send transducer generation ultrasound wave;
Differentiate the pulse width of first rising edge of control module MSP430 clock signal after described driving signal rising edge and described rising edge, produce following current phase discrimination signal pulse P s1, use described pulse, control the closure of integral restrictor, make integrating circuit carry out forward integration, starting impulse counting, utilizes clock signal to carry out timing simultaneously;
Ultrasonic signal is converted to electric signal by receiving transducer, processes to form after described electric signal receiving signal and be sent to phase detector by signal pre-processing circuit, stops count pulse simultaneously, calculates pulse number, is multiplied by clock signal period T 0, obtain up time poor in the time difference value of non-integration phase;
Identify the pulse width that receives first rising edge of control module MSP430 clock signal after signal rising edge and rising edge, produce following current phase discrimination signal pulse P s2, use the closure of described pulse control integral restrictor, make integrating circuit carry out reverse integral;
Integrating circuit integral result is delivered to the inner ADC of control module MSP430, be converted to the time difference value (T of the unmeasurable not enough one-period part of step-by-step counting in the following current time difference by ADC s1-T s2), and according to the time difference value of non-integration phase in following current time difference value, obtain following current time difference T s;
According to above-mentioned following current time difference measurement step, obtain adverse current time difference T n;
The adverse current time difference is deducted to the following current time difference, obtain final transit-time ultrasonic flow meter time difference value Δ T.
Compared with prior art, one or more embodiment of the present invention can have the following advantages by tool:
When measuring the time difference, the present invention utilizes the inner ADC of transit-time ultrasonic flow meter control module MSP430 and clock signal, utilize fully flowmeter control module MSP430 internal hardware resources, improve hardware utilization factor, high frequency clock circuit or the expensive timing chip of exempting existing flowmeter, timing circuit cost can be down to 18% of existing flowmeter timing circuit cost;
The clock signal that obtains system with the external 8M crystal oscillator of MSP430, integrating circuit of the present invention can be reduced to for 125 nanoseconds from nil product to the saturated time, and the inner ADC of control module MSP430 can be with 12 125 nanoseconds of quantification, and therefore quantization error can reach greatly reduce ADC transformed error, also can greatly reduce the non-linear impact on time difference measurement of integrating circuit simultaneously.
Brief description of the drawings
Fig. 1 is transit-time ultrasonic flow meter time difference measurement method flow diagram;
Fig. 2 degree of being transit-time ultrasonic flow meter time difference measurement sequential chart;
Fig. 3 is transit-time ultrasonic flow meter time difference measurement system construction drawing.
Embodiment
Easily understand, according to technical scheme of the present invention, do not changing under connotation of the present invention, one of ordinary skill in the art can propose multiple frame mode of the present invention and method for making.Therefore following embodiment and accompanying drawing are only illustrating of technical scheme of the present invention, and should not be considered as of the present invention all or be considered as restriction or the restriction of technical solution of the present invention.
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail.
Shown in Fig. 1, provide low cost, high precision time difference formula ultrasonic flow meter time difference measurement sequential chart, in conjunction with Fig. 1, Fig. 2, low cost, high precision time difference formula ultrasonic flow meter time difference measurement method be described further, said method comprising the steps of:
A controls sending/receiving change-over switch, makes transducer A, the hyperacoustic process of transducer B sending/receiving in following current state;
B transmitter driving circuit produces following current and sends driving signal, and described signal is delivered to phase detector, drives transmission transducer to produce ultrasound wave simultaneously;
C phase detector identifies following current and sends the pulse width that drives first rising edge of control module MSP430 clock signal after signal rising edge and described rising edge, produces following current phase discrimination signal pulse (P s1), use described pulse, control the closure of integral restrictor, make integrating circuit carry out forward integration, starting impulse counting, utilizes clock signal to carry out timing afterwards;
D ultrasound wave is propagated and is arrived receiving transducer in fluid, and ultrasonic signal is converted to electric signal by receiving transducer, delivers to signal pre-processing circuit, obtain and receive signal, reception signal is delivered to phase detector, stop count pulse simultaneously, calculate pulse number, be multiplied by clock signal period (T 0), obtain the time difference value of non-integration phase in the following current time difference;
E phase detector identifies the pulse width that receives first rising edge of control module MSP430 clock signal after signal rising edge and described rising edge, produces following current phase discrimination signal pulse (P s2), use the closure of described pulse control integral restrictor, make integrating circuit carry out reverse integral;
Integrating circuit integral result is delivered to the inner ADC of control module MSP430 by F, obtained the time difference value (T of the unmeasurable not enough one-period part of step-by-step counting in the following current time difference by ADC transformation result s1-T s2), the time difference value of non-integration phase in the following current time difference in integrating step D, finally can obtain respectively the following current time difference (T s);
G control transmission change-over switch/. receive change-over switch, make transducer A, the hyperacoustic process of transducer B sending/receiving in adverse current state;
H, according to following current time difference measurement step, obtains the adverse current time difference (T n);
The adverse current time difference is deducted the following current time difference by I, obtains final transit-time ultrasonic flow meter time difference value (Δ T).
Described method is measured on the basis of the time difference in step-by-step counting, carries out converted measurement by the error part of phase detector, integrating circuit and ADC pulse count, realizes the accurate measurement of the flowmeter time difference; In described method, pulse counting signal source adopts the clock signal of flowmeter control module MSP430 output, there is error in dipping in described step-by-step counting, described error in dipping is converted to voltage by integrating circuit after phase detector identification, described voltage is delivered to the inner ADC of flowmeter control module MSP430, in conjunction with step-by-step counting result, finally can obtain the transit-time ultrasonic flow meter time difference by described ADC transformation result.Said method utilizes the inner ADC of transit-time ultrasonic flow meter control module MSP430 and clock signal, can exempt the timing chip of existing transit-time ultrasonic flow meter, reduces costs well; For inner 12 ADC of transit-time ultrasonic flow meter control module MSP430 and the output of 8M clock signal, integrating circuit can be down to for 125 nanoseconds by microsecond rank from nil product to the saturated time, in the situation that only considering ADC transformed error, described method precision can reach 30 psecs.
As shown in Figure 3, said method is to obtain by transit-time ultrasonic flow meter time difference measurement system, and described system comprises: control module, transmitter driving circuit, transmission change-over switch, transducer, reception change-over switch, signal pre-processing circuit, phase detector, integral restrictor and integrating circuit; Described control module, for changing integrating circuit integral result and the clock signal of drawing being acted on to the timing of concurrent-countercurrent time difference measurement step-by-step counting part; Transmitter driving circuit, drives signal for generation of sending, and drives and sends transducer transmission ultrasound wave; Transducer, for sending/receiving ultrasound wave; Send change-over switch, can send hyperacoustic transducer for selecting; Receive change-over switch, can receive hyperacoustic transducer for selecting; Signal pre-processing circuit, the signal receiving for the treatment of described transducer, makes to form reception signal; Phase detector, for sending the pulse width that drives signal and clock signal, reception signal and clock signal; Integral restrictor, under the control of phase detector phase discrimination signal, controls the conducting closure state of integrating circuit; Integrating circuit carries out integration to standard input under described integral restrictor conducting state.
Although the disclosed embodiment of the present invention as above, the embodiment that described content just adopts for the ease of understanding the present invention, not in order to limit the present invention.Technician in any the technical field of the invention; do not departing under the prerequisite of the disclosed spirit and scope of the present invention; can do any amendment and variation what implement in form and in details; but scope of patent protection of the present invention, still must be as the criterion with the scope that appending claims was defined.

Claims (4)

1. a transit-time ultrasonic flow meter time difference measurement method, is characterized in that, described method comprises:
Make the hyperacoustic process of sending/receiving in following current state;
Produce following current by transmitter driving circuit and send driving signal, described signal is delivered to phase detector, drive simultaneously and send transducer generation ultrasound wave;
Differentiate the pulse width of first rising edge of control module MSP430 clock signal after described driving signal rising edge and described rising edge, produce following current phase discrimination signal pulse P s1, use the closure of described pulse control integral restrictor, make integrating circuit carry out forward integration, starting impulse counting, utilizes clock signal to carry out timing simultaneously;
Ultrasonic signal is converted to electric signal by receiving transducer, processes to form after described electric signal receiving signal and be sent to phase detector by signal pre-processing circuit, stops count pulse simultaneously, calculates pulse number, is multiplied by clock signal period T 0, obtain up time poor in the time difference value of non-integration phase;
Identify the pulse width that receives first rising edge of control module MSP430 clock signal after signal rising edge and rising edge, produce following current phase discrimination signal pulse P s2, use the closure of described pulse control integral restrictor, make integrating circuit carry out reverse integral;
Integrating circuit integral result is delivered to the inner ADC of control module MSP430, be converted to the time difference value T of the unmeasurable not enough one-period part of step-by-step counting in the following current time difference by ADC s1-T s2, and according to the time difference value of non-integration phase in following current time difference value, obtain following current time difference T s;
According to above-mentioned following current time difference measurement step, obtain adverse current time difference T n;
The adverse current time difference is deducted to the following current time difference, obtain final transit-time ultrasonic flow meter time difference value Δ T.
2. transit-time ultrasonic flow meter time difference measurement method according to claim 1, is characterized in that, the part that described method adopts clock signal to carry out step-by-step counting and the unmeasurable not enough one-period of integrating circuit pulse count is carried out converted measurement.
3. transit-time ultrasonic flow meter time difference measurement method according to claim 1, it is characterized in that, that described phase detector is differentiated is suitable, send the pulse width that drives/receive first rising edge of control module MSP430 clock signal after signal rising edge and described rising edge in adverse current.
4. transit-time ultrasonic flow meter time difference measurement method according to claim 1, is characterized in that, clock signal and ADC that described method adopts are the internal resources of control module MSP430.
CN201410366627.9A 2014-07-29 2014-07-29 Time difference measuring method of time difference type ultrasonic flow meter Active CN104121956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410366627.9A CN104121956B (en) 2014-07-29 2014-07-29 Time difference measuring method of time difference type ultrasonic flow meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410366627.9A CN104121956B (en) 2014-07-29 2014-07-29 Time difference measuring method of time difference type ultrasonic flow meter

Publications (2)

Publication Number Publication Date
CN104121956A true CN104121956A (en) 2014-10-29
CN104121956B CN104121956B (en) 2017-05-10

Family

ID=51767464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410366627.9A Active CN104121956B (en) 2014-07-29 2014-07-29 Time difference measuring method of time difference type ultrasonic flow meter

Country Status (1)

Country Link
CN (1) CN104121956B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105628115A (en) * 2015-12-30 2016-06-01 浙江大学 Impulse noise filtering method applied to time-difference-type ultrasonic flowmeter
CN106932037A (en) * 2015-12-30 2017-07-07 浙江大学 A kind of transit-time ultrasonic flow meter receives signal wave crest sequence location decision method
CN107621292A (en) * 2017-07-25 2018-01-23 辽宁航宇星物联仪表科技有限公司 A kind of ultrasonic water meter mistake ripple compensation method of family
CN107843773A (en) * 2017-10-24 2018-03-27 中国电子科技集团公司第二十研究所 The measurement method of pulse per second (PPS) precision
CN111157066A (en) * 2019-12-31 2020-05-15 浙江大学 Gas ultrasonic flowmeter transit time calculation method based on first envelope contact ratio
CN113340363A (en) * 2021-06-09 2021-09-03 河北大学 High-precision wide-range ultrasonic flow measurement device and measurement method
US11243558B2 (en) * 2017-06-12 2022-02-08 Renesas Electronics Corporation Ultrasonic flow measurement system including a signal generator exciting the transducers and a phase differentiator

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4384491A (en) * 1981-01-22 1983-05-24 Bestobell Sparling Ltd. Analog ultrasonic flowmeter
JPH10170319A (en) * 1996-12-13 1998-06-26 Osaka Gas Co Ltd Ultrasonic flow-velocity measuring method
JP2002116073A (en) * 2000-10-10 2002-04-19 Osaka Gas Co Ltd Method for measuring flow rate
JP3750423B2 (en) * 1999-06-25 2006-03-01 富士電機機器制御株式会社 Gas meter
CN1977149A (en) * 2004-03-12 2007-06-06 帕纳米特里科斯股份有限公司 Method and system for calculating the transit time of an ultrasonic pulse
JP2010014690A (en) * 2008-06-03 2010-01-21 Toflo Corporation Kk Ultrasonic flowmeter and flow measuring method
JP4518120B2 (en) * 2007-08-08 2010-08-04 パナソニック株式会社 Flowmeter
CN102749107A (en) * 2012-07-10 2012-10-24 广州柏诚智能科技有限公司 High-precision time difference type single-pulse ultrasonic flowmeter system and flow measurement method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4384491A (en) * 1981-01-22 1983-05-24 Bestobell Sparling Ltd. Analog ultrasonic flowmeter
JPH10170319A (en) * 1996-12-13 1998-06-26 Osaka Gas Co Ltd Ultrasonic flow-velocity measuring method
JP3750423B2 (en) * 1999-06-25 2006-03-01 富士電機機器制御株式会社 Gas meter
JP2002116073A (en) * 2000-10-10 2002-04-19 Osaka Gas Co Ltd Method for measuring flow rate
CN1977149A (en) * 2004-03-12 2007-06-06 帕纳米特里科斯股份有限公司 Method and system for calculating the transit time of an ultrasonic pulse
JP4518120B2 (en) * 2007-08-08 2010-08-04 パナソニック株式会社 Flowmeter
JP2010014690A (en) * 2008-06-03 2010-01-21 Toflo Corporation Kk Ultrasonic flowmeter and flow measuring method
CN102749107A (en) * 2012-07-10 2012-10-24 广州柏诚智能科技有限公司 High-precision time difference type single-pulse ultrasonic flowmeter system and flow measurement method thereof

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105628115A (en) * 2015-12-30 2016-06-01 浙江大学 Impulse noise filtering method applied to time-difference-type ultrasonic flowmeter
CN106932037A (en) * 2015-12-30 2017-07-07 浙江大学 A kind of transit-time ultrasonic flow meter receives signal wave crest sequence location decision method
CN105628115B (en) * 2015-12-30 2018-11-02 浙江大学 A kind of Impulse Noise Denoising Method applied to transit-time ultrasonic flow meter
CN106932037B (en) * 2015-12-30 2019-04-02 浙江大学 A kind of transit-time ultrasonic flow meter reception signal wave crest sequence location determination method
US11243558B2 (en) * 2017-06-12 2022-02-08 Renesas Electronics Corporation Ultrasonic flow measurement system including a signal generator exciting the transducers and a phase differentiator
CN107621292A (en) * 2017-07-25 2018-01-23 辽宁航宇星物联仪表科技有限公司 A kind of ultrasonic water meter mistake ripple compensation method of family
CN107843773A (en) * 2017-10-24 2018-03-27 中国电子科技集团公司第二十研究所 The measurement method of pulse per second (PPS) precision
CN111157066A (en) * 2019-12-31 2020-05-15 浙江大学 Gas ultrasonic flowmeter transit time calculation method based on first envelope contact ratio
CN111157066B (en) * 2019-12-31 2020-11-20 浙江大学 Gas ultrasonic flowmeter transit time calculation method based on first envelope contact ratio
CN113340363A (en) * 2021-06-09 2021-09-03 河北大学 High-precision wide-range ultrasonic flow measurement device and measurement method

Also Published As

Publication number Publication date
CN104121956B (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN104121956A (en) Time difference measuring method of time difference type ultrasonic flow meter
CN206147097U (en) Laser distance measurement device
CN102313587B (en) Distance measuring equipment and calibration steps thereof
CN101334308B (en) Artificial circuit for checking flow gauge
CN104460304B (en) High-resolution time interval measurer with function of automatic correction
CN104614028B (en) Split-second precision calibration method for ultrasonic flowmeter
CN105890685B (en) A kind of device for measuring ultrasonic wave flow based on accumulated phase difference
CN104216279A (en) Time interval measuring device based on FPGA (Field Programmable Gate Array)
CN102749107A (en) High-precision time difference type single-pulse ultrasonic flowmeter system and flow measurement method thereof
CN104502684A (en) Method for identifying full-digital peak value arrival time
CN203275520U (en) Pilot frequency signal phase coincidence detection system based on coincidence pulse counting
CN102565673A (en) Highly-reliable pulse counting test system based on FPGA (Field Programmable Gate Array)
CN109945950B (en) Precise ADC sampling clock for high-precision wireless guided wave radar
CN103995263A (en) Timeline-based ultrasonic ranging method
CN104406642A (en) Time-difference method ultrasonic flowmeter accurate measurement method
CN103176045A (en) Method and system for pilot frequency bi-phase coincidence detection based on coincidence pulse counting
CN114442078A (en) Method for detecting flight time, ultrasonic flowmeter and optical equipment
CN103135650A (en) Current/frequency conversion circuit linearity and symmetry digital compensation method
CN203950131U (en) A kind of high precision time interval measurement device based on FPGA
CN104111481A (en) Synchronous clock phase difference measuring system and method
CN205091393U (en) Take time interval measurement function's digital frequency meter
CN103412474B (en) Range high-precision expanded circuit when TDC-GP2 based on FPGA surveys
CN110873864B (en) Linear array laser radar range profile simulation device and method
CN103901271A (en) Frequency test method and frequency test system
CN102589626B (en) High-resolution time measurement and processing device and measurement method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant