A wind speed and direction measurement method and measurement system based on ultrasonic echo signal

Through the echo time point calculation method and vector synthesis method based on the envelope center of gravity, the problems of large amount of echo time algorithm calculation and noise interference in the prior art are solved, and high-precision and low-cost wind speed and direction measurement are achieved.

CN114397473BActive Publication Date: 2024-12-03SHANDONG RUISIDA INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111303874.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-04
Publication Date
2024-12-03
Estimated Expiration
2041-11-04

AI Technical Summary

Technical Problem

In the existing ultrasonic wind measurement methods, the echo time algorithm has a large amount of calculation, complex hardware structure and is easily disturbed by noise, resulting in low measurement accuracy, especially when the echo signal has a missing wave or a notch, the error will increase significantly.

Method used

Using the echo time point calculation method based on the envelope center of gravity, the signal is sent alternately through ultrasonic detectors in multiple directions, the relevant characteristic values ​​and envelope center of gravity of the echo signal are calculated, the actual echo time is optimized based on channel delay, and the vector is used. Synthesis method calculates wind speed and wind direction.

Benefits of technology

It realizes high-precision wind speed and direction measurement without being affected by signal amplitude fluctuations, simplifies the hardware structure, reduces the calculation amount, and improves measurement accuracy and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114397473B_ABST
    Figure CN114397473B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for measuring wind speed and direction based on ultrasonic echo signals, comprising the following steps: step S1: converting an excitation signal generated by a single chip into an ultrasonic detection signal; step S2: ultrasonic detectors in multiple directions send ultrasonic detection signals alternately and receive echo signals; step S3: using echo time points based on the centroid of the envelope to calculate the actual echo time of the echo signal in the corresponding direction; step S4: calculating the component speed in each direction according to the actual echo time of the echo signal, and using a vector synthesis method to calculate the combined speed and wind direction. The present invention discloses a method for measuring wind speed and direction based on ultrasonic echo signals. Compared with the existing method, the method for calculating the echo time point using the centroid of the envelope is not affected by signal amplitude fluctuations, and has the advantages of simple algorithm, high stability, and high measurement accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of ultrasonic technology, and in particular to a wind speed and direction measurement method and a measurement system based on ultrasonic echo signals. Background Art

[0002] The ultrasonic wind speed measurement mainly adopts the time difference method, and its principle is that the propagation speed of ultrasonic waves in the fluid will change with the flow speed of the fluid. Since the propagation time in the downstream and upstream conditions is different, the relationship between the time difference and the fluid flow rate can be established according to the upstream and downstream time difference, and the instantaneous flow value can be obtained.

[0003] Therefore, it is particularly important to accurately measure the echo time. For the simplest and most common threshold comparison method to measure the front edge, due to the existence of the comparison voltage, this method will have a time error between the arrival of the echo front edge and the amplitude being greater than the comparison voltage, and this error will change with the size of the echo amplitude, which will lead to uncertainty in the error and cannot be compensated. Moreover, when the echo signal is missing or notched, the measured time will lag one or more cycles, and the error caused will become larger accordingly, and the calculated flow value will have a greater deviation. The current mainstream echo time algorithms include the threshold comparison method, the auxiliary threshold level comparison method, the adaptive filter parameter estimation method, and the cross-correlation algorithm.

[0004] The threshold comparison method considers setting a threshold level. When the echo signal or its envelope is greater than the voltage, its position is used as the echo time characteristic point. However, due to the existence of the comparison voltage, this method will have a time error between the arrival of the echo front and the amplitude being greater than the comparison voltage, and this error will change with the amplitude of the echo signal, resulting in uncertainty of the error and inability to compensate. Moreover, when notches and missing waves appear in the echo signal segment, the measured time will lag behind by one cycle. When more missing waves or notches appear, more cycles will lag behind, and the error caused will become larger accordingly, and the calculated flow value will have a greater deviation.

[0005] The auxiliary threshold level comparison method considers the Hilbert transform of the echo signal, and under the assumption that the starting part of the envelope is linearly related to the increase in time, an auxiliary threshold level is added, and the echo starting time point is obtained by linear fitting through two threshold-time coordinates, thereby obtaining the echo time. However, this method is relatively limited. For envelopes that are not linear or nearly linear, more auxiliary threshold levels need to be added, and a parabola fitting method must be used; the final experimental result error is also on the order of 0.1ms, far from the 0.1us accuracy requirement required by this project.

[0006] Adaptive filter parameter estimation method This method considers converting the time domain delay of the signal into the filter parameter design in the frequency domain. The filter signal obtained by passing the excitation signal through an adaptive filter is compared with the echo signal by mean square error iteration. The iteration is stopped when the mean square error is less than a threshold. The delay time is then inferred from the filter parameters at this time, which is the echo time under the threshold error. This method can achieve high accuracy in theory, but when the missing wave and notch occur in the first two oscillation cycles, the error of this method will reach more than 5%, and the accuracy is far from enough, so it needs to be improved.

[0007] The cross-correlation algorithm considers cross-correlation convolution of the template echo signal and the real sampling echo signal, and performs envelope detection on the processed waveform, and the time corresponding to the maximum amplitude point is the echo time. Its advantage is that the accuracy of this method can theoretically reach the minimum error of ADC sampling, which can reach 0.1us or even lower, and it is highly immune to noise, and the lack of waves and notches have little effect on the results; however, this method uses a template, and each probe needs to be re-sampled, and the convolution algorithm is used, which has high resource usage and large calculation amount, so it needs to be simplified.

[0008] Therefore, the above-mentioned mainstream echo time algorithms have the problems of large computational complexity, complex hardware structure, and easy interference of noise on measurement accuracy. Summary of the invention

[0009] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a wind speed and direction measurement method and measurement system based on ultrasonic echo signals, aiming to solve the problems of large computational complexity, complex hardware structure, and susceptibility to noise interference in measurement accuracy of conventional echo time algorithms in the prior art.

[0010] The present invention is implemented by the following technical solutions:

[0011] A method for measuring wind speed and direction based on ultrasonic echo signals comprises the following steps:

[0012] Step S1: converting the excitation signal generated by the single chip microcomputer into an ultrasonic detection signal;

[0013] Step S2: ultrasonic detectors in multiple directions alternately send ultrasonic detection signals and receive echo signals;

[0014] Step S3: Calculate the actual echo time of the echo signal in the corresponding direction using the echo time point based on the envelope gravity center;

[0015] Step S4: Calculate the component velocity in each direction according to the actual echo time of the echo signal, and calculate the combined velocity and wind direction using the vector synthesis method.

[0016] To optimize the above technical solutions, the specific measures taken also include:

[0017] Furthermore, in the step S2, a plurality of ultrasonic detectors are arranged at intervals in directions that are 90 degrees to each other.

[0018] Furthermore, the specific process of calculating the actual echo time of the echo signal in the corresponding direction using the echo time point based on the envelope gravity center in step S3 is as follows:

[0019] S31: Calculate the relevant characteristic values ​​of the echo signal and obtain the waveform envelope by linear fitting method;

[0020] S32: Calculate the center of gravity of the waveform envelope;

[0021] S33: collecting the sending time of the ultrasonic detection signal and the time point of the center of gravity of the received echo envelope, and calculating the actual echo time;

[0022] S34: Optimize the actual echo time in combination with the channel delay and calculate the theoretical echo time.

[0023] Furthermore, in step S31, the relevant characteristic values ​​of the echo signal waveform are calculated, and the waveform envelope is obtained by linear fitting, which specifically includes:

[0024] S311: Calculate the waveform average value, and translate the waveform average value upward by four to six data points;

[0025] S312: Obtain the rising zero-crossing point and the falling zero-crossing point according to the waveform average value and the waveform characteristics;

[0026] S313: Calculate the peak point coordinates according to the midpoint of the rising zero-crossing point and the falling zero-crossing point;

[0027] S314: According to the coordinates of the rising zero-crossing point, the falling zero-crossing point and the peak point, a waveform envelope is obtained by using a linear fitting method.

[0028] Furthermore, the step S34 optimizes the actual echo time in combination with the channel delay and calculates the theoretical echo time, which specifically includes:

[0029] S341: Calibrate channel delay according to zero wind speed condition;

[0030] S342: For the actual echo time in each direction, remove the channel delay in the corresponding direction to calculate and obtain the theoretical echo time.

[0031] Furthermore, the specific process of calculating the center of gravity of the waveform envelope in step S32 is: establishing an upper envelope function of the echo signal, calculating the envelope center of gravity according to the upper envelope function,

[0032] in: represents the upper envelope function, represents the center of gravity of the envelope, The coordinates representing a point in time.

[0033] Furthermore, the step S4 calculates the component velocity in each direction according to the echo time of the echo signal, and calculates the resultant velocity and wind direction using a vector synthesis method, specifically including:

[0034] S41: Establish a two-dimensional coordinate system about the X-axis and the Y-axis, and calculate the component velocities in the X-axis and Y-axis directions respectively.

[0035]

[0036] in: It indicates the time when the ultrasonic detector A on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector B on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector C on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector D on the X-axis receives the echo of the ultrasonic detection signal. represents the path length of the ultrasonic detection signal, Indicates the emission angle of the ultrasonic detection signal;

[0037] S42: Calculate the resultant velocity and wind direction angle by using the vector synthesis method for the component velocities of the X-axis and the Y-axis.

[0038] in: represents the total speed, Indicates wind direction angle.

[0039] A wind speed and direction measurement system based on ultrasonic echo signals, comprising:

[0040] A power module for providing a stable current;

[0041] A voltage conversion module, used to convert and boost current to high voltage;

[0042] A control module, used to control the high-voltage pulse module to generate an excitation signal, and to calculate the wind speed and wind direction according to the ultrasonic echo signal;

[0043] An ultrasonic transducer module, used to generate and send an ultrasonic signal according to an excitation signal, and to receive an ultrasonic echo signal;

[0044] A signal processing module, used for amplifying and filtering ultrasonic echo signals;

[0045] A digital-to-analog conversion module is used to perform analog-to-digital conversion on the ultrasonic echo signal and send it to the control module;

[0046] Intelligent terminal, used to collect, store and calculate wind speed and direction.

[0047] Beneficial effects of the present invention:

[0048] The invention discloses a wind speed and direction measurement method based on ultrasonic echo signals. Compared with the existing methods, the method of calculating the echo time point by using the envelope gravity center is not affected by the fluctuation of the signal amplitude, and has the advantages of simple algorithm, high stability and high measurement accuracy. A wind speed and direction measurement system based on ultrasonic echo signals has the characteristics of low implementation cost and simple hardware structure. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a schematic diagram of the workflow of the present invention.

[0050] Figure 2 For the present invention Figure 1 Workflow diagram for step 3 in .

[0051] Figure 3 The module diagram of the wind speed and direction measurement system based on ultrasonic echo signals of the present invention is shown in FIG. DETAILED DESCRIPTION

[0052] In order to illustrate the technical solution and working principle of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.

[0053] like Figure 1-2 As shown, a method for measuring wind speed and direction based on ultrasonic echo signals comprises the following steps:

[0054] Step S1: converting the excitation signal generated by the single chip microcomputer into an ultrasonic detection signal;

[0055] Step S2: ultrasonic detectors in multiple directions alternately send ultrasonic detection signals and receive echo signals;

[0056] Specifically, in the process of measuring wind speed and wind volume using ultrasonic signals, since wind speed and wind direction change in multiple directions and angles, it is necessary to set up multiple ultrasonic detectors in multiple directions and use alternating transmission to collect echo signals at multiple angles to facilitate subsequent processing and analysis of the echo signals.

[0057] Wherein: four ultrasonic detectors are arranged at four positions at intervals of ninety degrees from each other.

[0058] Step S3: Calculate the actual echo time of the echo signal in the corresponding direction using the echo time point based on the envelope gravity center;

[0059] Specifically, since the echo time point of the envelope gravity center is not changed by the amplitude fluctuation of the echo signal, the detection accuracy is high.

[0060] S31: Calculate the relevant characteristic values ​​of the echo signal, and use a linear fitting method to fit the waveform envelope, wherein the relevant characteristic values ​​include the waveform average value, rising zero-crossing point, falling zero-crossing point and peak point;

[0061] S311: Calculate the waveform average value, and translate the waveform average value upward by four to six data points;

[0062] S312: Obtain the rising zero-crossing point and the falling zero-crossing point according to the waveform average value and the waveform characteristics;

[0063] S313: Calculate the peak point coordinates according to the midpoint of the rising zero-crossing point and the falling zero-crossing point;

[0064] S314: according to the coordinates of the rising zero-crossing point, the falling zero-crossing point and the peak point, a waveform envelope is obtained by using a linear fitting method;

[0065] S32: Calculate the center of gravity of the waveform envelope;

[0066] Specifically, an upper envelope function of the echo signal is established, and the envelope gravity center is calculated according to the upper envelope function.

[0067] in: represents the upper envelope function, represents the center of gravity of the envelope, The coordinates representing a point in time.

[0068] S33: collecting the sending time of the ultrasonic detection signal and the time point of the center of gravity of the received echo envelope, and calculating the actual echo time;

[0069] S34: Optimize the actual echo time in combination with the channel delay and calculate the theoretical echo time.

[0070] S341: Calibrate channel delay according to zero wind speed condition;

[0071] S342: For the actual echo time in each direction, remove the channel delay in the corresponding direction to calculate and obtain the theoretical echo time.

[0072] Step S4: Calculate the component velocity in each direction according to the actual echo time of the echo signal, and calculate the combined velocity and wind direction using a vector synthesis method;

[0073] Specifically,.

[0074] S41: Establish a two-dimensional coordinate system about the X-axis and the Y-axis, and calculate the component velocities in the X-axis and Y-axis directions respectively.

[0075]

[0076] in: It indicates the time when the ultrasonic detector A on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector B on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector C on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector D on the X-axis receives the echo of the ultrasonic detection signal. represents the path length of the ultrasonic detection signal, Indicates the emission angle of the ultrasonic detection signal;

[0077] S42: Calculate the resultant velocity and wind direction angle by using the vector synthesis method for the component velocities of the X-axis and the Y-axis.

[0078]

[0079]

[0080] in: represents the total speed, Indicates wind direction angle. Specific embodiment 2

[0082] A wind speed and direction measurement system based on ultrasonic echo signals, comprising a power module for providing stable current; a voltage conversion module for converting and boosting current to high voltage; a control module for controlling a high-voltage pulse module to generate an excitation signal, and to calculate wind speed and wind direction according to the ultrasonic echo signal; an ultrasonic transducer module for generating and sending an ultrasonic signal according to the excitation signal, and for receiving the ultrasonic echo signal; a signal processing module for amplifying and filtering the ultrasonic echo signal; a digital-to-analog conversion module for performing analog-to-digital conversion on the ultrasonic echo signal and sending the result to the control module; and an intelligent terminal for collecting the wind speed and wind direction data calculated and stored by the control module.

[0083] Among them, the power supply module adopts a stabilized power supply, the control module adopts an STM32 series single-chip microcomputer, the ultrasonic transducer module adopts an ultrasonic transducer, the transmitting end of the ultrasonic transducer is electrically connected to the high-voltage pulse module for generating an ultrasonic signal, the receiving end of the ultrasonic transducer is electrically connected to the signal processing module for receiving an echo signal, the digital-to-analog conversion module adopts an A / D digital-to-analog conversion module, and the intelligent terminal adopts a computer, which is connected to the control module via serial communication.

[0084] It is not difficult to find that this embodiment is a system embodiment corresponding to the first embodiment, and this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.

[0085] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0086] The above is only an embodiment of the present invention. The common sense such as the known specific structure and characteristics in the scheme is not described in detail here. The ordinary technicians in the relevant field know all the common technical knowledge in the technical field of the invention before the application date or priority date, can obtain all the existing technologies in the field, and have the ability to apply the conventional experimental means before that date. The ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for ordinary technicians in the relevant field to implement this application. It should be pointed out that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the protection scope of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent. The protection scope required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.

Claims

1. A method for measuring wind speed and direction based on ultrasonic echo signals, characterized in that: The method comprises the following steps: Step S1: converting the excitation signal generated by the single chip microcomputer into an ultrasonic detection signal; Step S2: ultrasonic detectors in multiple directions alternately send ultrasonic detection signals and receive echo signals; Step S3: Calculate the actual echo time of the echo signal in the corresponding direction using the echo time point based on the envelope gravity center; S31: Calculate the relevant characteristic values ​​of the echo signal and obtain the waveform envelope by linear fitting method; S311: Calculate the waveform average value, and translate the waveform average value upward by four to six data points; S312: Obtain the rising zero-crossing point and the falling zero-crossing point according to the waveform average value and the waveform characteristics; S313: Calculate the peak point coordinates according to the midpoint of the rising zero-crossing point and the falling zero-crossing point; S314: according to the coordinates of the rising zero-crossing point, the falling zero-crossing point and the peak point, a waveform envelope is obtained by using a linear fitting method; S32: Calculate the center of gravity of the waveform envelope; S33: collecting the sending time of the ultrasonic detection signal and the time point of the center of gravity of the received echo envelope, and calculating the actual echo time; S34: optimizing the actual echo time in combination with the channel delay, and calculating the theoretical echo time; Step S4: Calculate the component velocity in each direction according to the actual echo time of the echo signal, and calculate the combined velocity and wind direction using a vector synthesis method; S41: Establish a two-dimensional coordinate system about the X-axis and the Y-axis, and calculate the component velocities in the X-axis and Y-axis directions respectively. in: It indicates the time when the ultrasonic detector A on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector B on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector C on the X-axis receives the echo of the ultrasonic detection signal. It indicates the time when the ultrasonic detector D on the X-axis receives the echo of the ultrasonic detection signal, and L indicates the path length of the ultrasonic detection signal. Indicates the emission angle of the ultrasonic detection signal; S42: Calculate the resultant velocity and wind direction angle by using the vector synthesis method for the component velocities of the X-axis and the Y-axis. in: represents the total speed, Indicates wind direction angle.

2. The method for measuring wind speed and direction based on ultrasonic echo signals according to claim 1, characterized in that: In the step S2, a plurality of ultrasonic detectors are arranged at intervals in directions that are 90 degrees to each other.

3. The method for measuring wind speed and direction based on ultrasonic echo signals according to claim 1, characterized in that: The step S34 optimizes the actual echo time in combination with the channel delay and calculates the theoretical echo time, which specifically includes: S341: Calibrate channel delay according to zero wind speed condition; S342: For the actual echo time in each direction, remove the channel delay in the corresponding direction to calculate and obtain the theoretical echo time.

4. The method for measuring wind speed and direction based on ultrasonic echo signals according to claim 3, characterized in that: The specific process of calculating the gravity center of the waveform envelope in step S32 is: establishing an upper envelope function of the echo signal, calculating the gravity center of the envelope according to the upper envelope function, in: represents the upper envelope function, represents the center of gravity of the envelope, The coordinates representing a point in time.

5. A wind speed and direction measurement system using the wind speed and direction measurement method based on ultrasonic echo signals according to any one of claims 1 to 4, characterized in that: include A power module, used to provide a stable current; A voltage conversion module, used to convert and boost current to high voltage; A control module, used to control the high-voltage pulse module to generate an excitation signal, and to calculate the wind speed and direction according to the ultrasonic echo signal; An ultrasonic transducer module, used to generate and send an ultrasonic signal according to an excitation signal, and to receive an ultrasonic echo signal; A signal processing module, used for amplifying and filtering ultrasonic echo signals; A digital-to-analog conversion module is used to perform analog-to-digital conversion on the ultrasonic echo signal and send it to the control module; Intelligent terminal, used to collect, store and calculate wind speed and direction.

Citation Information

Patent Citations

  • Gas ultrasonic flowmeter signal processing methods based on echo ascent stage peak value fitting and based on echo energy point positioning

    CN106768109A