## Figures

## Abstract

System calibration is fundamental to the overall accuracy of the ultrasonic temperature measurement, and it is basically involved in accurately measuring the path length and the system latency of the ultrasonic system. This paper proposes a method of high accuracy system calibration. By estimating the time delay between the transmitted signal and the received signal at several different temperatures, the calibration equations are constructed, and the calibrated results are determined with the use of the least squares algorithm. The formulas are deduced for calculating the calibration uncertainties, and the possible influential factors are analyzed. The experimental results in distilled water show that the calibrated path length and system latency can achieve uncertainties of 0.058 mm and 0.038 μs, respectively, and the temperature accuracy is significantly improved by using the calibrated results. The temperature error remains within ±0.04°C consistently, and the percentage error is less than 0.15%.

**Citation: **Zhou C, Wang Y, Qiao C, Dai W (2016) Calibration Method of an Ultrasonic System for Temperature Measurement. PLoS ONE 11(10):
e0165335.
https://doi.org/10.1371/journal.pone.0165335

**Editor: **Yudong Zhang,
Nanjing Normal University, CHINA

**Received: **July 8, 2016; **Accepted: **October 10, 2016; **Published: ** October 27, 2016

**Copyright: ** © 2016 Zhou et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

**Data Availability: **All relevant data are within the paper.

**Funding: **The authors received no specific funding for this work.

**Competing interests: ** The authors have declared that no competing interests exist.

## Introduction

Ultrasonic temperature measurement, as a non-intrusive technique, plays a crucial role in plenty of industrial processes due to its strong environmental adaptability [1, 2], high reliability [3], low cost [4] and wide measuring range [5]. The basic principle is that the ultrasound velocity in any medium is generally a function of temperature. In most liquids, the function is linear; in a gaseous environment, the velocity is directly proportional to the square root of the temperature; and in solid mediums, the velocity generally decreases with the increasing of the temperature [6]. Thus, if the ultrasound velocity is measured, the temperature can be determined. In our previous study [7], we proposed a promising method for highly accurate ultrasonic temperature measurement. Two transducers, mounted face to face, act as the transmitter and the receiver of the ultrasound signals, respectively, and the distance between them is fixed. By estimating the time delay (TD) between the transmitted signal and the received signal, the ultrasound velocity is given, and the temperature can be determined.

However, the estimated TD contains not only the desired time of flight of sound, but also a system latency which includes the time taken by the transmitter to produce the sound, the time taken by the receiver to produce the electrical signal and the time taken by the conditioning circuit [8]. The system latency is an intrinsic hardware constant that need to be estimated in advance. Moreover, the path length of sound is generally not the transducers’ geometrical distance, but the travelling sound path length which serves as the acoustic center-to-center distance [5]. The exact path length is not available from direct distance measurement. Therefore, to accurately estimate the path length and the system latency, calibration work of the ultrasonic system should be performed, which is the basis of high accuracy ultrasonic temperature measurement.

The calibration methods of path length usually depend on measurement of the acoustic centers of the transducers. Based on the definition that the acoustic center is the position of the point from which the sound pressure varies inversely as distance [9, 10], most results presented in the literature have been determined from deviations of the amplitude of the sound pressure [11]. Cox attempted to measure the acoustic centers of various transducers using a dismantled lathe bed for positioning the scanning microphone [12]. The comparisons of acoustic centers among several European laboratories were summarized by Rasmussen and Olsen [13]. Juhl [14] measured the acoustic centers by using the boundary value technique and assuming a parabolic movement of the diaphragms. Barrera-Figueroa et al. [15] presented an experimental procedure to determine the position of the acoustic centers of the microphones. Shaw and Hodnett [16] described some typical issues related to calibration and measurement of therapeutic medical ultrasonic equipment. A theoretical model for the transfer characteristics of a hydrophone has been developed, which can help to calculate the system latency [17]. However, the methods mentioned above mainly focused on calibrating the characteristics of the transducers, rather than the ultrasonic system directly. The calibration procedure is very complex, and it is difficult to achieve high calibration performance.

This paper proposes a promising calibration method to determine the path length and the system latency of an ultrasonic system for temperature measurement. Calibration equations on the path length and the system latency are presented by estimating the TD between the transmitted signal and received signal at several different temperatures, and the calibrated results are determined simultaneously based on the least squares algorithm. Distilled water is employed as the medium to perform the experiment keeping in a stable temperature environment with an accuracy of 0.01°C. To achieve highly accurate TD estimation, a continuous wave modulated by maximum length sequence is adopted, and a hybrid method is employed by incorporating both cross-correlation and phase shift. According to the basic calibration principle, the given TD uncertainty and the thermometer uncertainty, the formulas for calculating the path length uncertainty and the system latency uncertainty are presented, and the uncertainty propagation coefficients are also deduced. To validate the effectiveness of the proposed method, the calibrated results are used in ultrasonic temperature measurement, which shows the temperature accuracy is significantly improved.

## Problem formulation

In Ref. [7], the authors proposed a promising method for ultrasonic temperature measurement. and the problem of system calibration was also mentioned. In this section, a brief overview is given. The graphic abstract of temperature measurement is shown in Fig 1. If equation *C* = *f*(*T*) represents the inner dependence between the temperature (*T*) and the ultrasound velocity (*C*), then *T* can be determined when *C* is measured
(1)
where *f*^{−1}() denotes the mapping relationship from the ultrasound velocity to the temperature. Signal source drives the transmitter to produce sound wave, which is captured by the receiver after propagation in the medium. A hybrid technique is adopted to estimate the TD between the transmitted signal and received signal by incorporating both cross-correlation and phase shift. Combining the estimated TD and the calibrated results of the ultrasonic system, the ultrasound velocity of the medium can be expressed as following:
(2)
where *D* and *τ*_{sys} represent the path length and the system latency, respectively. The temperature to be measured is determined by
(3)

Accurate temperature is achievable on the basis of estimating TD accurately. And the inaccurate representation of *D* and *τ*_{sys} should be carefully considered. This paper is to calibrate the path length *D* and the system latency *τ*_{sys} exactly.

## Calibration of ultrasonic system

### Calibration method

TD estimation between the transmitted signal and the received signal is performed at *M* different known temperatures. The calibration equations on *D* and *τ*_{sys} are presented as following:
(4)
where *TD*_{m} denotes the estimated time delay of the *m*-th temperature, and *e*_{m} is the corresponding estimation error. *f*(*T*_{m}) denotes the ultrasound velocity related to the temperature *T*_{m}, which is measured in advance. By using the least squares which is an optimal algorithm of parameter estimation for linear models [18], the calibrated path length () and system latency () can be deduced by
(5)
where
(6)

To ensure that Eq (5) can be deduced from Eq (4), the matrix **A** should has a full column rank, which requires *f*(*T*) to be a monotone function as *T* ranges from *T*_{1} to *T*_{M}. And accurate system calibration is achievable on the basis of estimating time delay and temperature accurately.

### Experimental setup

The experimental setup is shown in Fig 2. It is a typical ultrasonic system for temperature measurement within the dashed box that consists of two transducers, a signal transceiver module and a PC. The transmitter and the receiver both use Vico’s WK-21B acoustic piezoelectric transducers, which work at 1 MHz and have an operating temperature within 5°C ∼ 110°C. The transducers are fixed on a steel framework face to face. The primary functions of the transceiver module, shown in Fig 2(c), include signal storage, signal transmission and signal receiving. The FPGA (XILINX XC6SLX45) works as a core function jointed with a 100M-Base PHY (LXT971ALE), an ADC (ADS2806Y), a DAC (DAC2932PFB), dual DDR (MT46V64M8TG) and other external ports. The transmitted signal, generated by the PC, is downloaded through the Ethernet to the DDR. System starts when the PC sends a trigger command. The DAC converts the digital signal from DDR into an analog signal to drive the transmitter. The ADC, with a sampling rate at 10 Msps, works synchronously with the DAC, and the sampled signal is fed back to the DDR and uploaded to the PC for further processing.

(a) Schematic of the experimental system. (b) Photograph of the actual system. (A) is the trough with distilled water, (B) is one of the transducers, (C) is the mercuric thermometer, (D) is the thermostatic water bath, (E) is the signal transceiver module, (F) is the PC, (G) is the power supply and (H) is the frequency meter. (c) Photograph of the signal transceiver module. (A) is the FPGA, (B) is the DDR memory, (C) is the Ethernet port, (D) are the transmitting channels and (E) are the receiving channels. (d) The Photograph of one of the adopted mercuric thermometers, which ranges from 35°C ∼ 39°C.

Distilled water is selected as the medium to carry out the system calibration from two aspects of concern. First, it is widely accepted that the mapping function between the ultrasound velocity and the temperature in distilled water is sufficiently accurate. Additionally, the temperature of liquid such as distilled water has potential to be accurately measured by a mercuric thermometer, and the changes of temperature can be easily controlled. In 1972, Del Grosso first provided the ultrasound velocity equation of distilled water [19], and it was approximated by a polynomial [20]:
(7)
where *T* is the temperature in degrees Celsius, *k*_{0} = 0.140238744 × 10^{4}, *k*_{1} = 5.03835027, *k*_{2} = −0.581142290 × 10^{−1}, *k*_{3} = 0.334558776 × 10^{−3}, *k*_{4} = −0.14815004 × 10^{−5}, and *k*_{5} = 0.316081885 × 10^{−8}. As shown in Fig 3, it is one to one relationship between *C* and *T*, which is a basic requirement of our proposed calibration method.

The two transducers are fully immersed into the distilled water, and the temperature is measured using a mercuric thermometer, manufactured by Jing Chuang Instrument (model WNG-01) with a typical accuracy of 0.01°C. A thermostatic water bath (BILOW-GDW-2011B) is used to monitor and control the temperature of tap water, which exchanges heat with the distilled water. Highly constant and accurate temperature of the distilled water is achievable on the basis of following techniques: (1) The ultrasound wave is not transmitted until the temperature stays at the target point for 10 minutes, which contributes to constructing a stable and uniform temperature environment. (2) By using a transmitted signal that consists of 40 sets of continuous wave, 40 TD estimations are completed in less than a second. In such a short period, the temperature of the distilled water is nearly constant. (3) At the moment of signal transmitting, the thermometer readings are recorded as soon as possible to ensure the accuracy of the temperature. Additionally, air conditioning in the laboratory is also turned on and set at the same temperature to reduce the temperature difference between the air and the distilled water.

At each temperature, an ultrasound wave is transmitted by the transmitter, and received by the receiver after propagation in the distilled water. To achieve highly accurate TD estimation, a continuous wave modulated by maximum length sequence is adopted for echo suppression to increase the available length of the received signal, and a hybrid technique incorporating both cross-correlation and phase shift is employed. Cross-correlation initially, based on the transmitted and received signals, produces a rough TD to eliminate the phase ambiguity, and then phase shift refines this rough value to estimate TD with higher accuracy [7].

## Experimental results and discussion

### Experimental results

We carried out system calibration at 7 different temperatures (*M* = 7) ranging from 18°C to 42°C, and TD estimation was repeated 40 times at each temperature. The average of estimated TD, summarized in Table 1, decreases with the increasing of the temperature and has a standard deviation of less than 0.3 ns. Based on Eqs (5) and (6), the path length and the system latency are determined as *D* = 185.2265 mm and *τ*_{sys} = 9.0171 μs, respectively.

### Uncertainty analysis

Uncertainty analysis plays a crucial role in evaluation of the calibration performance, and it can help to find out which parameter has the biggest effect and which need only to be roughly given.

The calibrated path length and system latency, from Eq (5), can be formally expressed as
(8)
where *f*_{D}() and *f*_{τ}() represent the functions to determine the path length and the system latency, respectively. Because temperature measurement and TD estimation are independent, both path length uncertainty (*u*_{D}) and system latency uncertainty (*u*_{τ}) can be decomposed into two parts:
(9)
where *u*_{D1} and *u*_{D2} are the path length uncertainties introduced by temperature measurement and TD estimation, respectively. *u*_{τ1} and *u*_{τ2} are the system latency uncertainties introduced by temperature measurement and TD estimation, respectively. Moreover, the inner dependence of uncertainty propagation is strictly proportional, such that
(10)
where *u*_{T} denotes the temperature uncertainty, *α*_{T−D} and *α*_{T−τ} are the propagation coefficients to introduce *u*_{T} to *u*_{D1} and *u*_{τ1}, respectively. *u*_{TD} denotes the TD uncertainty, *α*_{TD−D} and *α*_{TD−τ} are the propagation coefficients to introduce *u*_{TD} to *u*_{D2} and *u*_{τ2}, respectively. These coefficients are determined by [21]
(11)

The detailed uncertainty of the experiment is shown in Table 2. The temperature uncertainty (*u*_{T}) only depends on the accuracy of the mercuric thermometer. Generally, the temperature error satisfies a uniform distribution within ±0.01°C, so we have [21]. The TD uncertainty (*u*_{TD}) is less than 0.3 ns, which depends on the parameters of the received signal, such as the signal-to-noise ratio, the carrier frequency and the signal length [22]. The uncertainties of the calibrated path length and system latency are close to 0.058 mm and 0.038 μs, respectively. And the temperature measurement has the biggest effect which is approximately 4 times bigger than the effect of TD estimation. To improve the calibration performance, three techniques are useful: (1) using a thermometer with higher accuracy; (2) improving the performance of TD estimation; (3) improving the calibration equations to reduce the uncertainty propagation coefficients.

### Temperature measurement using calibrated results

To further validate the effectiveness of the proposed method, the calibrated results are used in ultrasonic temperature measurement. The experiment was performed at 13 different temperatures ranging from 18°C to 42°C, and the temperature, measured by the mercuric thermometer, is regarded as the reference true value. Another experiment was also carried out for comparison, where the system latency remained unchanged (*τ*_{sys} = 9.0171 μs), but the path length was measured by a slide caliper ruler with a typical accuracy of 0.02 mm. The measured path length is *D* = 184.80 mm.

Fig 4 presents the results of measured temperature, where temperature in abscissa represents the reference true value determined by the thermometer. It is shown that the measured temperature, using calibrated results, is highly close to the reference true value. However, system error appears obviously when the path length is measured by a slide caliper ruler. And the system error, shown in Fig 5(a), increases with the rise of the temperature, which is up to 2.211°C when the temperature is 41.957°C. Fig 5(b) shows the temperature error by using the calibrated results, where the temperature accuracy is significantly improved. The temperature error consistently remains within ±0.04°C, and the percentage error is less than 0.15%.

(a) The path length is measured by a slide caliper ruler. (b) Using the calibrated results.

## Conclusions

This paper presents a promising calibration method of an ultrasonic system for temperature measurement. And the following conclusions can be made:

- By estimating TD between the transmitted signal and received signal at several different temperatures, the calibration equations are presented, and the path length and the system latency are determined simultaneously based on the least squares algorithm;
- The formulas for calculating the calibration uncertainties are given, and the uncertainty propagation coefficients are also deduced, which plays a crucial role in finding out which parameter would have the biggest effect and which need only to be roughly considered;
- Both calibration experiment and validation experiment were performed in the distilled water in a stable temperature environment with an accuracy of 0.01°C;
- The proposed method calibrates the path length and the system latency with uncertainties of 0.058 mm and 0.038 μs, respectively. With the use of the calibrated results, the performance of temperature measurement is significantly improved. The temperature error consistently remains within ±0.04°C, and the percentage error is less than 0.15%.

## Author Contributions

**Conceptualization:**CZ YKW CJQ.**Data curation:**CZ CJQ.**Formal analysis:**CZ CJQ WHD.**Investigation:**CZ CJQ.**Methodology:**CZ YKW CJQ WHD.**Project administration:**CZ.**Resources:**CZ WHD.**Software:**CZ WHD.**Supervision:**CZ CJQ.**Validation:**CZ WHD.**Visualization:**CZ.**Writing – original draft:**CZ WHD.**Writing – review & editing:**CZ WHD.

## References

- 1. Bramanti M, Salerno EA, Tonazzini A, Pasini S and Gray A. An acoustic pyrometer system for tomographic thermal imaging in power plant boilers. IEEE Trans. Instrum. Meas. 1996; 45(1): 159–167.
- 2. Srinivasan K, Sundararajan T, Narayanan S, Jothi TJS and Sarma Rohit CSLV. Acoustic pyrometry in flames. Measurement. 2013; 46: 315–323.
- 3. Barth M and Raabe A. Acoustic tomographic imaging of temperature and flow fields in air. Meas. Sci. Technol. 2011; 22: 1–13.
- 4. Bazán I, Vazquez M, Ramos A, Vera A and Leija L. A performance analysis of echographic ultrasonic techniques for non-invasive temperature estimation in hyperthermia range using phantoms with scatterers. Ultrasonics. 2009; 49: 358–376. pmid:19100591
- 5. Fan W, Chen CTA and Chen Y. Calibration of an acoustic system for measuring 2-D temperature distribution around hydrothermal vents. Ultrasonics. 2013; 53: 897–906. pmid:23375572
- 6. Mi XB, Zhang SY, Zhang JJ and Yang YT. Automatic Ultrasonic Thermometry. Journal of Nanjing University. 2003; 39(4): 517–523.
- 7. Zhou C, Wang YK, Qiao CJ, Zhao S and Huang ZG. High-accuracy ultrasonic temperature measurement based on MLS-modulated continuous wave. Measurement. 2016; 88: 1–8.
- 8.
Zhao S, Qiao CJ and Zhou C. A novel DSSS based ToF measurement method for short baseline and its application in sound velocimeter. Sixth International Symposium on Precision Mechanical Measurements, 2013.
- 9.
IEC International Standard 50 (801). International electrotechnical vocabulary, 1994.
- 10.
American National Standard ANSI S1.1. Acoustical Terminology, 1994.
- 11. Jacobsen F, Figueroa SB and Rasmussen K. A note on the concept of acoustic center. J. Acoust. Soc. Am. 2004; 115(4): 1468–1473.
- 12.
Cox JR. Physical limitations on free-field microphone calibration. PhD thesis, Massachusetts Institute of Technology, USA, 1954.
- 13.
Rasmussen K and Olsen ES. Intercomparison on free-field calibration of microphones. The Acoustics Laboratory, Technical University of Denmark, Report PL-07, 1993.
- 14. Juhl PM. A numerical investigation of standard con-denser microphones. J. Sound Vib. 1994; 177: 433–446.
- 15. Barrera-Figueroa S, Rasmussen K and Jacobsen F. The acoustic center of laboratory standard microphones. J. Acoust. Soc. Am. 2006; 120: 2668–2675.
- 16. Shaw A and Hodnett M. Calibration and measurement issues for therapeutic ultrasound. Ultrasonics. 2008; 48: 234–252. pmid:18234261
- 17. Gelat PN, Preston RC and Hurrell A. A theoretical model describing the transfer characteristics of a membrane hydrophone and validation. Ultrasonics. 2005; 43: 331–341. pmid:15737383
- 18.
Kay SM. Foundamentals of statistical signal processing volume I: estimation theory. Upper Saddle River: Prentice Hall Press, 1993.
- 19. Del Grosso VA and Mader CW. Speed of sound in pure water. J. Acoust. Soc. Am. 1972; 52(5): 1442–1446.
- 20. Bilaniuk N and Wong GSK. Speed of sound in pure water as a function of temperature. J. Acoust. Soc. Am. 1993; 93(3): 1609–1612.
- 21.
Fei YT. Error theory and data processing Sixth ed. Beijing: Mechanical Industry Press, 2010.
- 22.
Qiao CJ, Dai WH and Zhou C. Novel method of sound speed measurement based on parameter-estimation of continuous wave. IEEE 11th International Conference on Electronic Measurement & Instruments. 2013; 110–115.