Next Article in Journal
MSDG: Multi-Scale Dynamic Graph Neural Network for Industrial Time Series Anomaly Detection
Previous Article in Journal
A New Method for Joint Sparse DOA Estimation
Previous Article in Special Issue
Deploying Wireless Sensor Networks in Multi-Story Buildings toward Internet of Things-Based Intelligent Environments: An Empirical Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Resonance-State Temperature Compensation Method for Ultrasonic Resonance Wind Speed and Direction Sensors

1
College of Optoelectronic Engineering, Chongqing University, Chongqing 400040, China
2
The 26th Institute of China Electronics Technology Group Corporation, Chongqing 400060, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(22), 7217; https://doi.org/10.3390/s24227217
Submission received: 30 September 2024 / Revised: 25 October 2024 / Accepted: 5 November 2024 / Published: 12 November 2024
(This article belongs to the Special Issue Sensors for Severe Environments)

Abstract

:
To achieve high-precision wind speed and direction measurements in complex environments, a resonance-state temperature compensation method is proposed based on an ultrasonic resonance principle. This method effectively addresses the issue of sound velocity compensation errors caused by the temperature difference between the internal and external environments when using an internal temperature sensor for temperature compensation. By utilizing an adaptive resonance-state tracking model, the resonance frequency shift issues under varying conditions such as altitude, pressure, and temperature are mitigated. This approach ensures that the resonance frequency is strongly correlated with temperature, enabling temperature compensation through resonance frequency alone, without the need for a temperature sensor. The experimental results indicate that the resonance frequency variation rate with temperature for the resonance-state temperature-compensated ultrasonic resonance wind speed and direction sensor is approximately 0.08 kHz/°C. The wind speed measurement accuracy is ±0.3 m/s (≤15 m/s)/±2.3% (15 m/s~50 m/s), which is superior to the measurement accuracy of traditional ultrasonic wind speed and direction sensors (±0.5 m/s (≤15 m/s)/±4% (15 m/s~50 m/s)). The consistency of wind speed measurement is ≤±0.3%, representing an improvement of approximately 3% compared to ultrasonic resonance wind speed and direction sensors without resonance-state temperature compensation.

1. Introduction

Wind is one of the most common natural phenomena in nature, caused by the movement of air. Wind speed, defined as the horizontal distance that air moves relative to a fixed point on Earth over a specific time, is measured in meters per second (m/s). Wind direction is described as the angle from a fixed reference direction, ranging from 0° to 360°, indicating the origin of the airflow. The precise measurement of wind speed and direction is of significant importance in various societal production and daily life activities. In agricultural production, wind facilitates the dispersal of pollen, enabling the pollination and reproduction of crops. However, hurricanes can cause significant destruction to agricultural activities. Therefore, accurately measuring wind speed and direction in agricultural environments is crucial for ensuring the safety of production processes [1]. In the context of transportation, the safe operation of vehicles such as ships and high-speed trains requires monitoring wind speed and direction during their journeys to prevent interference from crosswinds. In meteorological forecasting, monitoring wind speed and direction serves as an important reference for predicting destructive weather phenomena like typhoons and hurricanes. This information is essential for forecasting weather trends and safeguarding public life and property [2].
Wind speed and direction sensors are widely used in wind power generation, aviation, and meteorology. Currently, wind speed and direction sensors primarily include mechanical, ultrasonic, hot-wire, laser, and micro-electro-mechanical system (MEMS)-based types. Ultrasonic wind speed and direction sensors, due to their high sensitivity, precision, and the advantage of having no startup wind speed, have gradually replaced traditional mechanical sensors as the mainstream technology. However, traditional ultrasonic wind speed and direction sensors face issues such as large size, center frequency drift over extended periods of operation leading to wind speed measurement errors, inaccurate temperature compensation, and poor environmental adaptability.
To address the limitations of traditional ultrasonic transit/reflective wind speed and direction sensors, an ultrasonic resonance wind speed and direction sensor was designed and developed. This sensor is compact and drift-free over long periods and has strong environmental adaptability. However, due to its fully enclosed design, there is a temperature difference between the actual operating environment and the internal temperature measured by the sensor, leading to inaccurate temperature compensation and, consequently, errors in wind speed and direction measurements. Recently, Shan ZB proposed methods to effectively reduce the impact of temperature, thereby improving the accuracy of wind speed measurements [3]; there are two methods to address the temperature compensation issue. The first method involves performing temperature compensation on the collected time signals by estimating the temperature based on the propagation time of the ultrasonic wave in the air. However, this method is ineffective due to interface effects and time sampling issues. The second method uses a Wheatstone bridge in combination with a thermistor, i.e., a temperature sensor, which also suffers from internal and external temperature differences, leading to inaccurate temperature compensation [4,5].
The ultrasonic resonance wind speed and direction sensor utilizes the principle of ultrasonic resonance for wind speed and direction measurement; its resonance frequency changes with variations in temperature, resonance cavity height, and pressure. However, since the height of the ultrasonic resonance wind speed and direction sensor remains largely unchanged after assembly, and the working environment is a typical natural environment with relatively stable pressure, the primary factor affecting the resonance frequency is the ambient temperature. Therefore, a resonance-state temperature compensation method is proposed to address the issue of inaccurate temperature compensation. A comparison of various temperature compensation methods is shown in Table 1.

2. Principle of Wind Speed and Direction Measurement Using an Ultrasonic Resonance Wind Sensor

The ultrasonic resonance wind speed and direction sensor operates on the principle of ultrasonic resonance, characterized by its compact size, high precision, and long-term stability without drift. The physical device is shown in Figure 1.
The operational principle of the ultrasonic resonance wind speed and direction sensor is illustrated in Figure 2. It primarily utilizes the resonance of ultrasonic waves within a small chamber to measure wind speed and direction. The sensor mainly comprises an upper emission plate, a lower reflection plate, a resonance cavity, and three cylindrical piezoelectric ultrasonic transducers fixed on the upper emission plate. Horizontally, the structure is unobstructed and without boundaries, allowing air to flow freely. Vertically, the structure is constrained, preventing free air movement; hence, the vertical wind speed can be neglected, allowing for two-dimensional wind speed and direction measurement.
To achieve wind speed and direction measurement, an ultrasonic array arranged in an equilateral triangle is required, as shown in the measurement model in Figure 3. When wind passes through the equilateral triangular ultrasonic array, the ultrasonic waves emitted by the array experience corresponding time shifts or phase shifts due to the wind’s influence [6]. By calculating the time shifts of the three sides of the triangle, the wind speed and direction can be determined through computation.
The ultrasonic wind speed and direction measurement model is a self-constructed model developed based on the fundamental measurement principle of the Time-Of-Flight Diffraction [7]. The formula represents the derivation results of the new model.
In Figure 3 A, B, and C indicate the central points of the ultrasonic transducers. Taking point A as the vertex, when wind blows, it creates wind speed components along the three directions of the equilateral triangle. These components cause different arrival times in each direction. Here, the time difference method is employed, involving mutual transmission and reception between the directions. The times for each direction component are as follows: A emits, B receives, and the time is TAB; B emits, A receives, and the time is TBA; A emits, C receives, and the time is TCA; B emits, C receives, and the time is TBC; and C emits, B receives, and the time is TCB. Since the distance L is fixed, we have the following [8,9]:
T A B + T LinkAB + T DelayAB = L c v x ,
T LinkAB is the time it takes for the signal to reach the transducer from the transmitting circuit. T DelayAB is the time it takes for the signal to reach the MCU from the receiving circuit. The speed of ultrasonic waves can be expressed as follows [7]:
c = γ R T M ,
where γ represents the ratio of specific heats at constant pressure C P and constant volume C V , R represents the universal gas constant, T represents the absolute temperature, and M represents the molecular weight of the gas. From Equations (1) and (2), we can calculate the following:
T A B = L γ R T M v x T LinkAB T DelayAB ,
Similarly, we obtain the following:
T B A = L γ R T M + v x T LinkAB T DelayAB ,
Based on the actual design, the circuit ensures that T LinkAB = T LinkAB and T DelayAB = T DelayAB , and by subtracting the two, intermediate influences are eliminated. From Equations (3) and (4), we calculate the following:
t x = T A B T B A = L γ R T M v x L γ R T M + v x ,
Similarly, we obtain the following:
t y = T A C T C A = L γ R T M v y L γ R T M + v y ,
t z = T B C T C B = L γ R T M v Z L γ R T M + v Z ,
By using a timer, the values of t x , t y , and t z can be accurately obtained. The acoustic path length L is a fixed value, and the values of γ , R , and M are also constants, while T is the variable representing absolute temperature. Therefore, Equations (5)–(7) can be used to calculate the following:
v x = γ R T M + L 2 t x 2 L t x ,
v y = γ R T M + L 2 t y 2 L t y ,
v z = γ R T M + L 2 t z 2 L t z ,
Based on trigonometric relationships, Equations (8) and (9) can be used to derive the wind speed:
v = γ R T M + L 2 t x 2 γ R T M + L 2 t y 2 + L t y L t x 2 + γ R T M + L 2 t x 2 L t x + γ R T M + L 2 t y 2 L t y 2 3 ,
Using Equations (10) and (11), the wind direction φ can be calculated as follows:
φ = a r c sin γ R T M + L 2 t z 2 L t z γ R T M + L 2 t x 2 γ R T M + L 2 t y 2 + L t y L t x 2 + γ R T M + L 2 t x 2 L t x + γ R T M + L 2 t y 2 L t y 2 3 ,
As evident from Equations (11) and (12), both wind speed and direction are correlated with temperature T. In practical applications, the accuracy of temperature directly affects the measurement precision of wind speed and direction. The calculations for wind speed and direction are derived from the components v x , v y , and v z ; for ease of calculation, subsequent discussions and calculations will use v x for analysis.

3. Analysis of Measurement Errors Induced by Temperature

Traditional wind speed and direction sensors typically use built-in temperature sensors to measure and compensate for temperature. To meet the IP67 rating requirements, the temperature sensor is completely sealed inside the sensor housing. As a result, the temperature measured is that of the internal environment of the wind speed and direction sensor. However, since the ultrasonic wave operates in the external environment, there is often a significant temperature difference between the internal and external environments. This difference leads to inaccurate temperature compensation, which in turn causes deviations in the calculated wind speed and direction values, as illustrated in Figure 4.
As shown in Figure 4, when the ultrasonic resonance wind speed and direction sensor is in operation, the internal temperature is 38 °C, while the external temperature is −30 °C. The substantial temperature difference between the internal and external environments causes significant discrepancies in the sound velocity values used for calculation, resulting in considerable errors in the computed wind speed and direction [6,7,8,9].
For air, temperature is the primary influencing factor. This is according to the following empirical formula for the speed of sound:
c = 331.45 + 0.606 × T ,
where T is the temperature. Within the temperature range of −40 °C to 60 °C, the speed of sound ranges from 307.21 m/s to 367.81 m/s. This wide range of sound speed necessitates compensation in the calculations to minimize errors in wind speed and direction measurements.
From Equation (8), it is known that this value is fixed when the wind speed is determined. Through practical testing, it has been found that when the wind speed is 10 m/s, this value is approximately 315, and the overall expression can be written as follows:
v x = c 2 + 315 2 315 ,
When the ultrasonic resonance wind speed and direction sensor is in operation, internal components generate a certain amount of heat, causing the internal temperature to be higher than the external temperature. At an external temperature of −40 °C, the internal temperature is approximately 10 °C, while at an external temperature of 10 °C, the internal temperature is around 60 °C. For the purpose of error analysis, 10 °C is used as a reference point, where the sound speed is approximately 337.5 m/s. Within the temperature range of −40 °C to 60 °C, the speed of sound varies from 307.21 m/s to 367.81 m/s. By substituting the speed of sound values into Equation (2), the corresponding trend chart is shown in Figure 5.
As depicted in Figure 5, when the speed of sound is 307 m/s, the wind speed component scalar is 124.86; when the speed of sound is 368 m/s, the wind speed component scalar is 169.41; under normal conditions, when the speed of sound is 337.5 m/s, the wind speed component scalar is 146.66. Calculations indicate that when the speed of sound is 368 m/s (corresponding to 60 °C), the error is approximately 15.5%, and when the speed of sound is 307 m/s (corresponding to −40 °C), the error is approximately 14.8%. Therefore, it can be concluded that using internal temperature compensation in ultrasonic resonance wind speed and direction sensors results in significant compensation errors, leading to calculation errors in wind speed and direction, making it challenging to achieve high-precision measurements of wind speed and direction.

4. Resonance-State Temperature Compensation Method

The ultrasonic resonance wind speed and direction sensor operates on the principle of ultrasonic resonance to measure wind speed and direction. Its resonance frequency changes with variations in temperature, resonance cavity height, and pressure. However, since the height of the ultrasonic resonance wind speed and direction sensor remains largely unchanged after assembly, and the working environment is a typical natural environment with relatively stable pressure, the primary factor affecting the resonance frequency is the ambient temperature. Therefore, the working temperature can be deduced from the ultrasonic resonance frequency during sensor operation, allowing for resonance-state temperature compensation.
In extreme or specific environmental conditions, the pressure can change significantly. In typical environments, the pressure is approximately 1 bar. The relationship between ultrasonic air propagation speed and pressure is complex. Simulation results for ultrasonic speed under various temperature and pressure conditions [10] are shown in Table 2; the remaining conditions are conventional.
As observed in Table 2, at the same temperature, the speed of sound varies by approximately 4 m/s when the pressure changes from 1 bar to 12 bar. Based on the principle of temperature compensation via ultrasonic resonance, the resonance point shifts by about 0.9%. Therefore, the impact of pressure changes on the practical application of resonance point temperature compensation is relatively minor.

4.1. Relationship Between Resonance State and Resonance Frequency

The ultrasonic resonance wind speed and direction sensor measures wind speed and direction based on the resonance of ultrasonic waves within flat plates [11]. It consists of two oppositely positioned plates that serve as the emission and reflection surfaces of the ultrasonic transducer. Three ultrasonic transducers are arranged on the emission surface in an equilateral triangle configuration, forming the basic ultrasonic plate resonance model. The ultrasonic transducers emit continuous waves at a specific frequency, and the emitted waves interfere with the reflected waves. Through repeated reflection and interference, stable standing waves are formed within the plates, causing ultrasonic resonance in the plates, essentially in the resonance of air columns within the enclosed space, as shown in Figure 6.
As seen in Figure 6, one transducer emits a continuous ultrasonic wave. The first emitted wave reaches the reflection surface (black line and number 1 in Figure 6) and, after reflection, forms the second ultrasonic signal (blue line and number 2 in Figure 6). The second signal reflects again, forming the third ultrasonic signal (red line and number 3 in Figure 6), and this process repeats cyclically. Due to the attenuation of the signal amplitude with each reflection, the ultrasonic signal eventually fully decays after several reflections [11]. Through repeated reflection, standing waves can form under specific conditions where the emitted wave and early reflected waves interfere constructively, thus satisfying the conditions for ultrasonic plate interference. If the first direct sound wave is represented as eikL (with amplitude set to 1), and the amplitude attenuation after each reflection is δ (δ < 1), the acoustic pressure on the receiving transducer can be expressed as follows [7]:
A e i Φ = e i k L 1 δ e i φ ,
where φ = 2kL + φr, k = 2πf/c, c is the speed of sound, L is the distance, and φr represents the phase shift of acoustic pressure upon reflection between the emitting transducer and the plate. For air, φr = 0, and from Equation (15), we obtain the following [7]:
A = 1 1 2 δ c o s φ + δ 2 ,
From Equation (16), it is evident that resonance occurs when the amplitude reaches a maximum value. To achieve the maximum resonance amplitude, the resonance point can be adjusted by changing either f or L. In practical applications, L is a fixed distance, so resonance is achieved by varying the frequency f.

4.2. Adaptive Resonance-State Tracking Model

An ultrasonic resonance wind speed and direction sensor was designed based on the principle of ultrasonic resonance. However, during actual use, factors such as manufacturing and assembly processes can lead to inconsistent cavity heights. Additionally, the speed of sound and the wavelength of ultrasonic waves vary with temperature, causing wind speed measurement errors. To ensure stable resonance under all conditions and achieve temperature compensation during resonance, an adaptive resonance-state tracking model is proposed for the ultrasonic resonance wind speed and direction sensor.
The sensor operates by utilizing the principle of acoustic interference to induce the resonance of the air columns within the cavity, achieving ultrasonic resonance. The sensor places three transducers in a single plane, forming an ultrasonic transducer array, as shown in Figure 7. Figure 7a shows the top view, and Figure 7b shows the front view.
The three ultrasonic transducers are arranged on the same plane, forming an equilateral triangle at the center, and together with the reflecting plate below, they create a cavity with a specific height. Ultrasonic signals propagate within the cavity, forming a fixed acoustic resonance beam [12,13].
It is assumed that the cavity height formed by the plates is L, and the ultrasonic wave emission frequency is f. This resonance formation method involves a single ultrasonic transducer emitting an ultrasonic signal at a specific frequency. The signal reflects back and forth between the two planes, and the reflected signal interferes with the emitted signal. When the wavelength of the emitted ultrasonic wave is an integer multiple of the half-wavelength of the cavity height, a stable resonance beam can form within the cavity.
The condition for ultrasonic resonance formation is that the cavity must satisfy the requirement of being an integer multiple of the half-wavelength of the emitted wave, expressed as follows:
L = λ 2 × n ,
The relationship between the wavelength, frequency, and speed of sound for the ultrasonic transducer is given by the following:
λ = c f ,
where the speed of sound c is a variable that changes with temperature. The formula for calculating c is given by the following: c = K R T where K is the ratio of specific heats at constant pressure and constant volume, R is the gas constant, and T is the absolute temperature. Ultimately, the beamforming condition can be expressed as follows:
L = K R T 2 f × n ,
From Equation (19), we obtain the following:
f = K R T 2 L × n ,
In practice, K, R, T, and L are environmental variables. To adapt to these variables, the ultrasonic transducer performs a frequency scan. Due to the characteristics of ultrasonic resonance beamforming, the amplitude is maximized under the resonance state. By tracking the amplitude through frequency scanning, it is possible to track the resonance frequency under different conditions [14,15,16,17]. The block diagram of the adaptive beamforming principle is shown in Figure 8.
Through the adaptive ultrasonic resonance-state model, the frequency range of the ultrasonic transducer scan is set from fmin to fmax. The amplitude model determines whether the resonance state is achieved. If it is, the current resonance frequency point is selected; if not, the range of fmin and fmax is adjusted until a suitable resonance frequency point is found.
The adaptive resonance-state tracking method is used to compensate for frequency shifts caused by changes in temperature, pressure, and height, which affect the resonance frequency. In practice, the height of the installed ultrasonic resonance wind speed and direction sensor remains relatively constant, and the pressure in the working environment is also mostly stable. Thus, the scan range primarily focuses on temperature variation. Experiments have shown that a frequency scan range of 29 kHz to 42 kHz can meet the temperature requirements from −40 °C to 60 °C. The scan step is set to 100 Hz per scan, and after each scan, the corresponding resonance frequency is recalculated. The process is illustrated in Figure 9. Figure 9 shows the frequency scanning schematic and the resonance frequency point position schematic. In each cycle, different temperatures, pressures, and heights lead to variations in the resonance frequency point. The resonance point is fa in the first cycle, fb in the second, and fc in the third. In different cycles, the resonance point frequency shifts. Since pressure and height typically do not change drastically in normal measurement environments, the frequency shift of the resonance point is mainly related to temperature [18,19,20,21].
Based on the adaptive resonance-state tracking model, resonance frequency tests were conducted for ultrasonic resonance wind speed and direction Sensor 1 and Sensor 2 at the same location under normal temperature conditions. The test results are shown in Figure 10 and Figure 11. Figure 10 shows the overall waveform of Sensor 1 and the detailed waveform of Sensor 1. Figure 11 shows the overall waveform of Sensor 2 and the detailed waveform of Sensor 2.
As shown in Figure 10 and Figure 11, the resonance frequency of Sensor 1 is 36.4 kHz, while that of Sensor 2 is 36.8 kHz, with a frequency difference of 400 Hz. However, both sensors produce typical resonance waveforms. The adaptive resonance-state tracking method effectively achieves resonance frequency tracking. The frequency difference between the two sensors is due to machining errors during the manufacturing process and assembly errors, leading to inconsistent cavity heights in different sensors. These accumulated errors cause different resonance frequency points under the same conditions. Based on this characteristic, initial frequency calibration was performed in the actual compensation method.

4.3. Implementation of Resonance-State Temperature Compensation

As discussed above, the resonance frequency of the ultrasonic resonance wind speed and direction sensor varies primarily with temperature. Based on this principle, the current external environmental temperature can be inferred from the resonance frequency, eliminating the need for a temperature sensor. The temperature inferred from the resonance frequency is used as the temperature value for calculating the speed of sound, allowing for the accurate calculation of the ultrasonic wave speed during actual measurements, which can then be used for wind speed and direction compensation [21,22,23,24].
Ultrasonic resonance wind speed and direction Sensors 1 and 2 were tested at different temperatures in an mc711 temperature chamber, which has a precision of 0.1 °C and a resolution of 0.01 °C. Tests were conducted at temperature points ranging from −50.00 °C to 60.00 °C, with measurements taken every 10 °C. Due to the precision of the temperature chamber, the exact temperature points could not always be reached. The resonance frequencies at different temperatures were recorded, as shown in Table 3.
Based on Table 3, the corresponding curves were plotted, showing the relationship between the resonance frequency and temperature, as illustrated in Figure 12.
As shown in Figure 12, the curve representing the resonance frequency variation with temperature for Sensor 1 was fitted to a linear relationship, with the equation expressed as follows:
T = 12.47 × f 427.3 ,
Similarly, for Sensor 2, the curve was also fitted to a linear relationship, expressed as follows:
T = 12.54 × f 437.9 ,
From these fitted equations, it is evident that both curves have the same slope, with the difference being a vertical shift along the y-axis. This difference can be attributed to accumulated machining and assembly errors, leading to different resonance frequency points for different ultrasonic resonance wind speed and direction sensors at the same temperature.
To verify the distribution of resonance frequencies under identical conditions and the consistency of frequency change rates at different temperatures, 10 different ultrasonic resonance wind speed and direction sensors were tested at 25 °C and 40 °C. These sensors had identical machining heights, and no variations in cavity machining height were used in this test, as cumulative machining and assembly errors after final production result in actual cavity heights differing from the design height. Testing multiple sensors with the same machining height yields results more representative of real-world applications. The 25 °C and 40 °C conditions were provided by the temperature chamber, and the resonance frequencies of the different sensors are shown in Table 4.
From Table 4, the corresponding curves were plotted, as shown in Figure 13.
As shown in Figure 13, the resonance frequencies of the sensors at 25 °C are distributed between 36.1 kHz and 36.8 kHz, with a central line at 36.5 kHz. At 40 °C, the resonance frequencies are distributed between 37.4 kHz and 38.2 kHz, with a central line at 37.7 kHz. This demonstrates that, despite differences in sensor numbers, the deviation values and trends are generally consistent at different temperatures. The primary consideration for resonance-state temperature compensation is the relationship between the temperature and resonance frequency of the ultrasonic resonance wind speed and direction sensor. The frequency difference and change rate curves at different temperatures are shown in Figure 14.
As shown in Figure 14, the frequency deviation ranges from 1.1 kHz to 1.4 kHz, with an average value of 1.2 kHz. The rate of change ranges from 0.073 kHz/°C to 0.093 kHz/°C, with an average value of 0.08 kHz/°C. This indicates that for every 1 °C change in temperature, the corresponding frequency changes by approximately 0.08 kHz. The fact that the change rates of different ultrasonic resonance wind speed and direction sensors are nearly identical suggests that using resonance frequency for temperature compensation is feasible. The basic compensation equation can be expressed as follows:
f resonant   frequency = f original   frequency + 0.08 T ,
Additionally, based on the test results shown in Figure 10 and Figure 11, each ultrasonic resonance wind speed and direction sensor has unique height errors due to machining and assembly. These height differences result in varying resonance frequencies. Therefore, the initial resonance frequency must be determined. By testing the resonance frequency at a specific temperature T and recording the actual working temperature, the initial frequency value can be calculated. The relationship between the working temperature and frequency is expressed as follows:
T = 12.5 f resonant   frequency 12.5 f original   frequency ,
Where f original   frequency is a known value, and the relationship between temperature and resonance frequency is linear.
From Equations (23) and (24), the compensated speed of sound can be calculated as follows:
c = 331.45 + 0.606 × 12.5 f resonant   frequency 12.5 f original   frequency
Equation (25) establishes a linear relationship between the resonance frequency f and the speed of sound c. Using this equation, the actual working temperature of the ultrasonic resonance wind speed and direction sensor can be determined based on the resonance frequency points obtained during frequency scanning. The actual speed of sound c can then be calculated without the use of a temperature sensor, effectively achieving temperature compensation based on the resonance state.

5. Experimental Test Results

The ultrasonic resonance wind speed and direction sensor with resonance-state temperature compensation was tested. The testing system, as shown in Figure 15, includes a high-precision wind tunnel, a high-precision encoder, a wind speed standard source, calibration testing software, and a specialized fixture [25]. The wind tunnel used is a custom RE-2000 DC wind tunnel, with a wind speed output range of 0–60 m/s. The high-precision encoder is model AR60-40, with a rotation angle range of 0°–360° and a rotational accuracy of 0.02°. The wind speed standard source is a calibrated CEM high-precision differential pressure gauge DT8920, with a wind speed measurement range of 1.00–80.00 m/s and a resolution of 0.001 m/s, calibrated to an accuracy of 0.01 m/s.
Both the ultrasonic resonance wind speed and direction sensor with resonance-state temperature compensation and the sensor without temperature compensation were tested under the same conditions in the wind tunnel, at morning and evening temperatures of 17 °C and 29 °C, respectively. Due to the large size of the wind tunnel, experiments could not be conducted inside a temperature chamber, so natural temperature variations were used for validation. Wind speeds of 0.00 m/s, 3.50 m/s, 10.00 m/s, 20.00 m/s, 34.00 m/s, and 50.00 m/s were tested. As the wind tunnel could not precisely reach the target values, fine control was used to approximate the required values. The wind speed standard source was the calibrated CEM high-precision differential pressure gauge DT8920. The test data are shown in Table 5 and Table 6.
Based on Table 5, the corresponding curve was plotted, showing the wind speed measurements and standard deviation at 17 °C, as depicted in Figure 16.
As shown in Figure 16, at 17 °C, as the wind speed increases, the standard deviation for both the compensated and non-compensated sensors increases. However, the maximum deviation for the sensor with resonance-state temperature compensation is 2.3%, compared to 5.2% for the non-compensated sensor. The sensor with resonance-state temperature compensation outperformed the non-compensated sensor at every test point.
Based on Table 6, the corresponding curve was plotted, showing the wind speed measurements and standard deviation at 29 °C, as depicted in Figure 17.
As shown in Figure 17, at 29 °C, as the wind speed increases, the standard deviation for both the compensated and non-compensated sensors increases. The maximum deviation for the sensor with resonance-state temperature compensation is 2.1%, compared to 4.6% for the non-compensated sensor. Again, the sensor with resonance-state temperature compensation outperformed the non-compensated sensor at each test point.
In summary, the non-compensated ultrasonic resonance wind speed and direction sensor showed a 5.2% error at 17 °C and a 4.6% error at 29 °C. This is because the internal temperature of the sensor circuit board is around 40 °C, and the closer the external temperature is to this value, the smaller the wind speed measurement error. The compensated sensor exhibited errors of 2.3% at 17 °C and 2.1% at 29 °C, with measurement accuracy remaining consistent across different temperatures. The experiments demonstrate that resonance-state temperature compensation effectively improves the accuracy of wind speed and direction measurements. The wind speed measurement accuracy is ±0.3 m/s (≤15 m/s)/±2.3% (15 m/s–50 m/s), which is superior to the traditional ultrasonic wind speed and direction sensors’ accuracy of ±0.5 m/s (≤15 m/s)/±4% (15 m/s–50 m/s). Compared to the non-compensated sensor, the accuracy improved by approximately 3%; the consistency of wind speed measurement is ≤±0.3%.

6. Conclusions

The findings of this study are as follows:
  • This method represents a novel approach to temperature compensation for ultrasonic wind speed measurement. It achieves temperature compensation through resonance frequency without the use of temperature sensors. This approach addresses the issue of temperature compensation errors arising from inconsistencies between internal and external temperatures during the operation of ultrasonic resonance wind speed and direction sensors. It provides effective compensation, particularly in various environments, including cold and icy conditions where heating is required for the ultrasonic wind sensor to function properly. The proposed resonance-state temperature compensation method solves the problem of temperature compensation errors caused by inconsistent internal and external temperatures during the operation of the ultrasonic resonance wind speed and direction sensor. The compensated sensor improved the measurement accuracy by approximately 3% compared to the non-compensated sensor, with deviations of ≤±0.3% across different temperatures. The overall wind speed measurement accuracy was superior to traditional ultrasonic wind speed and direction sensors. Resonance-state temperature compensation effectively enhances the accuracy and stability of wind speed and direction measurements.
  • The resonance-state temperature compensation method is widely applicable to ultrasonic resonance wind speed and direction sensors. Given a fixed resonance cavity height, the temperature-to-resonance frequency change rate is approximately 0.08 kHz/°C.
  • Due to cumulative machining and assembly errors, each ultrasonic resonance wind speed and direction sensor has different initial resonance frequencies caused by height variations. The initial frequency needs to be calculated and corrected to accurately apply resonance-state temperature compensation.

Author Contributions

Conceptualization, X.Z.; methodology, X.Z.; software, X.Z. and Z.J.; validation, Y.Y., L.W. and S.L.; formal analysis, X.Z.; investigation, H.Y. All authors have read and agreed to the published version of the manuscript.

Funding

The research was supported by the National Nature Science Foundation of China (No. 61874015), the Chongqing Venture & Innovation Support Program for Chongqing Overseas Returnees (No. CX2019031) and the Special Key Project for Technological Innovation and Application Development in Chongqing (No. cstc2021jscx-gksbX0045,JG2021073).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The company was not involved in the study design, collection, analysis, interpretation of data, the writing of this article or the decision to submit it for publication. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Azad, A.K.; Saha, M. Wind power: A renewable alternative source of green energy. Int. J. Basic Appl. Sci. 2012, 1, 193–199. [Google Scholar] [CrossRef]
  2. Liu, T.; Run, T.C. Major meteorological disasters in China and their economic losses. J. Nat. Disasters 2011, 20, 90–95. [Google Scholar]
  3. Shan, Z.; Xie, X.; Liu, X. Wind Speed and Direction Measurement Based on Three Mutually Transmitting Ultrasonic Sensors. IEEE Geosci. Remote Sens. Lett. 2023, 20, 8000205. [Google Scholar] [CrossRef]
  4. Zhan, X.; Yang, Y.; Liang, J.; Shi, T.; Li, X. Temperature effects and compensation in ultrasonic concentration measurement of multicomponent mixture. Sens. Actuators A Phys. 2016, 252, 146–153. [Google Scholar] [CrossRef]
  5. Huang, Y.S.; Young, M.S. An accurate ultrasonic distance measurement system with self temperature compensation. Instrum. Sci. Technol. 2009, 37, 124–133. [Google Scholar] [CrossRef]
  6. Sitaropoulos, K.; Salamone, S.; Sela, L. Frequency-based leak signature investigation using acoustic sensors in urban water distribution networks. Adv. Eng. Inform. 2023, 55, 101121. [Google Scholar] [CrossRef]
  7. Feng, R. Ultrasonic Manual; Nanjing University Press: Nanjing, China, 1999; pp. 17–27. [Google Scholar]
  8. Lucena, D.C.; Freire, R.C.S.; Villanueva, J.M.M.; Luciano, B.A. An innovative ultrasonic time of flight method based on extended Kalman filter for wind speed measurement. J. Instrum. 2020, 15, 4024. [Google Scholar] [CrossRef]
  9. Li, X.B.; Zhu, G.Y.; Gao, W.; Sun, H.X.; Liu, G.J.; Wu, Y.; Shi, Y.W. A novel ultrasonic array signal processing scheme for wind measurement. ISA Trans. 2018, 81, 259–269. [Google Scholar] [CrossRef]
  10. Tsui, P.H.; Chien, Y.T. Effect of frequency on the change in backscattered ultrasound energy as a function of temperature. Jpn. J. Appl. Phys. 2012, 51, 7001. [Google Scholar] [CrossRef]
  11. Shan, Z.; Xie, S.; Liu, X.; Liu, Y. Arrayed ultrasonic wind speed and direction measurement based on the BNF-FLOC-MUSIC algorithm. Sens. Actuators A. Phys. 2024, 379, 115908. [Google Scholar] [CrossRef]
  12. Tang, S.; Zhu, Y.; Yuan, S. A novel adaptive convolutional neural network for fault diagnosis of hydraulic piston pump with acoustic images. Adv. Eng. Inform. 2022, 52, 101554. [Google Scholar] [CrossRef]
  13. Ikeda, K. Deviation factor and temperature-compensation factor of simple industrial ultrasonic solution-concentration sensor which automatically eliminates temperature dependence. Jpn. J. Appl. Phys. 2002, 41, 3339–3343. [Google Scholar] [CrossRef]
  14. Rogers, S.C.; Miller, G.N. Ultrasonic level, temperature, and density sensor. IEEE Trans. Nucl. Sci. 1982, 29, 665–668. [Google Scholar] [CrossRef]
  15. Pan, Y.; Zhao, Z.; Zhao, R.; Fang, Z.; Wu, H.; Niu, X.; Du, L. High accuracy and miniature 2-D wind sensor for boundary layer meteorological observation. Sensors 2019, 19, 1194. [Google Scholar] [CrossRef]
  16. Carotenuto, R.; Merenda, M.; Iero, D.; GDella Corte, F. Simulating Signal Aberration and Ranging Error for Ultrasonic Indoor Positioning. Sensors 2020, 20, 3548. [Google Scholar] [CrossRef]
  17. Villanueva, J.M.M.; Catunda, S.Y.C.; Tanscheit, R. Maximum-likelihood data fusion of phase-difference and threshold-detection techniques for wind-speed measurement. IEEE Trans. Instrum. Meas. 2009, 58, 2189–2195. [Google Scholar] [CrossRef]
  18. Jiang, J.-J.; Dang, W.-J.; Duan, F.-J.; Wang, X.-Q.; Fu, X.; Li, C.-Y.; Sun, Z.-B.; Liu, H.; Bu, L.-R. An accurate ultrasonic wind speed and direction measuring method by combining time-difference and phase-difference measurement using coded pulses combination. Appl. Acoust. 2020, 159, 107093. [Google Scholar] [CrossRef]
  19. Yan, C.Z. The ultrasonic wind measurement system based on LMS adaptive time delay estimation algorithm and FPGA. Appl. Acoust. 2013, 32, 51–56. [Google Scholar]
  20. Lei, X.; Xu, H.; Zhao, Y.; He, J. A novel and low-cost method for measuring wind speed and flow in pipeline. Int. J. Hybrid Inf. Technol. 2016, 9, 323–332. [Google Scholar] [CrossRef]
  21. Marlow, D.G.; Nisewanger, C.R.; Cady, W.M. A method for the instantaneous measurement of velocity and temperature in high speed air flow. J. Appl. Phys. 1949, 20, 771–776. [Google Scholar] [CrossRef]
  22. Liu, S.; Li, Z.; Wu, T.; Zhang, W. Determining ultrasound arrival time by HHT and kurtosis in wind speed measurement. Electronics 2021, 10, 93. [Google Scholar] [CrossRef]
  23. Chiang, C. Design of a CMOS digitized wind transducer with noise insensitivity for wind environmental monitoring applications. IEEE Sens. J. 2015, 15, 2046–2053. [Google Scholar] [CrossRef]
  24. Nguyen, T.H.L.; Park, S. Multi-Angle Liquid Flow Measurement Using Ultrasonic Linear Array Transducer. Sensors 2020, 20, 388. [Google Scholar] [CrossRef] [PubMed]
  25. Shan, Z.; Han, M.; Liu, X. A Dual-Frequency Phase Difference Method for Wind Speed and Direction Measurements Based on Second-Order Fractional Low-Order Covariance. IEEE Geosci. Remote Sens. Lett. 2024, 21, 1001005. [Google Scholar] [CrossRef]
Figure 1. Ultrasonic resonance wind speed and direction sensor.
Figure 1. Ultrasonic resonance wind speed and direction sensor.
Sensors 24 07217 g001
Figure 2. Schematic of wind measurement using the ultrasonic resonance wind sensor.
Figure 2. Schematic of wind measurement using the ultrasonic resonance wind sensor.
Sensors 24 07217 g002
Figure 3. Wind measurement calculation model.
Figure 3. Wind measurement calculation model.
Sensors 24 07217 g003
Figure 4. Actual operating temperature distribution of the sensor.
Figure 4. Actual operating temperature distribution of the sensor.
Sensors 24 07217 g004
Figure 5. Speed of sound variation trend chart.
Figure 5. Speed of sound variation trend chart.
Sensors 24 07217 g005
Figure 6. Schematic of ultrasonic plate resonance principle.
Figure 6. Schematic of ultrasonic plate resonance principle.
Sensors 24 07217 g006
Figure 7. Schematic of ultrasonic transducer arrangement: (a) the top view; (b) the front view.
Figure 7. Schematic of ultrasonic transducer arrangement: (a) the top view; (b) the front view.
Sensors 24 07217 g007
Figure 8. Block diagram of adaptive resonance-state tracking model.
Figure 8. Block diagram of adaptive resonance-state tracking model.
Sensors 24 07217 g008
Figure 9. Adaptive resonance-state tracking scanning schematic: (a) the frequency scanning schematic; (b) the resonance frequency point position schematic.
Figure 9. Adaptive resonance-state tracking scanning schematic: (a) the frequency scanning schematic; (b) the resonance frequency point position schematic.
Sensors 24 07217 g009
Figure 10. Resonance frequency test of ultrasonic resonance wind Sensor 1.
Figure 10. Resonance frequency test of ultrasonic resonance wind Sensor 1.
Sensors 24 07217 g010
Figure 11. Resonance frequency test of ultrasonic resonance wind Sensor 2.
Figure 11. Resonance frequency test of ultrasonic resonance wind Sensor 2.
Sensors 24 07217 g011
Figure 12. Resonance frequency variation with temperature.
Figure 12. Resonance frequency variation with temperature.
Sensors 24 07217 g012
Figure 13. Comparison of resonance frequencies of different ultrasonic resonance wind sensors at 25 °C and 40 °C.
Figure 13. Comparison of resonance frequencies of different ultrasonic resonance wind sensors at 25 °C and 40 °C.
Sensors 24 07217 g013
Figure 14. Frequency deviation and temperature change rate of different ultrasonic resonance wind sensors at 25 °C and 40 °C.
Figure 14. Frequency deviation and temperature change rate of different ultrasonic resonance wind sensors at 25 °C and 40 °C.
Sensors 24 07217 g014
Figure 15. Wind tunnel calibration test system.
Figure 15. Wind tunnel calibration test system.
Sensors 24 07217 g015
Figure 16. Wind speed measurement and standard deviation at 17 °C.
Figure 16. Wind speed measurement and standard deviation at 17 °C.
Sensors 24 07217 g016
Figure 17. Wind speed measurement and standard deviation at 29 °C.
Figure 17. Wind speed measurement and standard deviation at 29 °C.
Sensors 24 07217 g017
Table 1. Comparison of temperature compensation methods.
Table 1. Comparison of temperature compensation methods.
MethodAdvantagesDisadvantagesApplicable Scenarios
Time-Of-Flight Estimation Method.No additional components required.In heating conditions, the differing temperatures at the solid–gas–solid interface of the ultrasonic transducer can lead to inaccuracies in the receiving time, resulting in significant variations in temperature compensation across different temperatures.Commonly used for indoor temperature measurements; not suitable for extreme environments.
Temperature Sensor Measurement Method.Direct temperature measurement ensures high reliability.Requires additional components; in heating conditions, the temperature sensor is located inside the wind sensor, and the temperature difference between the interior and exterior can cause substantial deviations in temperature compensation.Typically used for outdoor temperature compensation without heating; not suitable for extreme environments.
Resonance-State Temperature Compensation.No additional components; strong correlation with temperature allows for good compensation linearity and high accuracy.Requires initial calibration of resonance frequency.Applicable in various environmental conditions.
Table 2. Ultrasonic air propagation speed at different temperatures and pressures.
Table 2. Ultrasonic air propagation speed at different temperatures and pressures.
Temperature (°C)Pressure1 (1 Bar)Pressure2 (6 Bar)Pressure3 (12 Bar)
−8324.69322.09319.06
0330.67328.35325.68
10337.95335.95333.66
20345.01343.29341.34
50365.09364.03362.88
Table 3. Resonance frequency testing at different temperatures.
Table 3. Resonance frequency testing at different temperatures.
Temperature (°C)Resonance Frequency of Sensor 1 (kHz)Resonance Frequency of Sensor 2 (kHz)
−49.9230.331.0
−40.0331.231.8
−29.9732.132.5
−20.0132.833.2
−10.0233.634.1
−0.0634.534.9
10.0335.235.6
20.0536.136.5
29.9936.837.3
40.0237.638.2
50.0538.538.9
60.0139.239.7
Table 4. Resonance frequencies of different ultrasonic resonance wind speed and direction sensors at 25 °C and 40 °C.
Table 4. Resonance frequencies of different ultrasonic resonance wind speed and direction sensors at 25 °C and 40 °C.
Sensor NumberResonance Frequency at 25 °C (kHz)Resonance Frequency at 40 °C (kHz)
136.637.8
236.337.4
336.537.7
436.137.4
536.537.6
636.838.0
736.637.8
836.838.2
936.337.6
1036.537.7
Table 5. Wind speed test results at 17 °C.
Table 5. Wind speed test results at 17 °C.
Wind Speed (m/s)Without Compensation (m/s)With Resonance-State Temperature Compensation (m/s)
0.000.050.02
3.423.563.49
9.9610.489.77
20.1219.1720.55
34.0735.8133.43
49.9152.4351.06
Table 6. Wind speed test results at 29 °C.
Table 6. Wind speed test results at 29 °C.
Wind Speed (m/s)Without Compensation (m/s)With Resonance-State Temperature Compensation (m/s)
0.000.060.03
3.363.513.42
10.029.5510.23
19.9819.1520.38
34.1035.5733.45
50.2052.3651.23
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zeng, X.; Yuan, Y.; Jiang, Z.; Wang, L.; Long, S.; Yu, H. Resonance-State Temperature Compensation Method for Ultrasonic Resonance Wind Speed and Direction Sensors. Sensors 2024, 24, 7217. https://doi.org/10.3390/s24227217

AMA Style

Zeng X, Yuan Y, Jiang Z, Wang L, Long S, Yu H. Resonance-State Temperature Compensation Method for Ultrasonic Resonance Wind Speed and Direction Sensors. Sensors. 2024; 24(22):7217. https://doi.org/10.3390/s24227217

Chicago/Turabian Style

Zeng, Xiangbao, Yupeng Yuan, Zhuoya Jiang, Lu Wang, Shuai Long, and Hua Yu. 2024. "Resonance-State Temperature Compensation Method for Ultrasonic Resonance Wind Speed and Direction Sensors" Sensors 24, no. 22: 7217. https://doi.org/10.3390/s24227217

APA Style

Zeng, X., Yuan, Y., Jiang, Z., Wang, L., Long, S., & Yu, H. (2024). Resonance-State Temperature Compensation Method for Ultrasonic Resonance Wind Speed and Direction Sensors. Sensors, 24(22), 7217. https://doi.org/10.3390/s24227217

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop