A transit-type ultrasonic wind sensing method and device

By setting the number of pulses under the constant parameter channel and the secondary comparison method in the transit ultrasonic wind sensor, the problem of large measurement error under strong wind conditions is solved, and higher-precision wind speed and direction measurement is achieved.

CN116299377BActive Publication Date: 2025-09-12SUZHOU SWIFT HI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310251243.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2025-09-12
Estimated Expiration
2043-03-15

AI Technical Summary

Technical Problem

Existing transit-type ultrasonic wind sensors have a slip problem when measuring under strong wind conditions, resulting in large measurement errors and making it difficult to accurately measure wind speed and direction.

Method used

By setting the number of pulses within the transit time in a constant parameter channel, pulse detection and secondary comparison are performed, and at least one secondary comparison result in the pulse train is selected as the characteristic value. When the difference between the secondary comparison result of adjacent pulse amplitudes and the characteristic value in a strong wind channel is less than the set error, the timing is stopped and the transit time is calculated.

Benefits of technology

The influence of glide path on wind speed and direction measurement under strong wind conditions is effectively avoided, and the measurement accuracy of the transit ultrasonic wind sensor is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116299377B_ABST
    Figure CN116299377B_ABST
Patent Text Reader

Abstract

The present application discloses a transit-type ultrasonic wind sensing method and device, which solves the problem in the prior art that the test results of transit-type ultrasonic wind sensors are affected by slip caused by strong winds. The method comprises the steps of: setting the number of pulses in a pulse train within the transit time under a constant parameter channel. Under the constant parameter channel, pulse detection is performed on the received pulse train, and the pulse amplitudes are compared once in the order of the pulse train. A secondary comparison is performed on the primary comparison result. The n consecutive secondary comparison results in the pulse train are selected as characteristic values ​​1 to n respectively. Under a strong wind channel, the timing starts when the pulse is sent, and the timing stops when the secondary comparison results of the adjacent pulse amplitudes reach characteristic values ​​1 to n respectively, and the transit time is calculated. The present application effectively avoids the influence of slip caused by strong winds on the measurement of wind speed and direction, thereby improving the measurement accuracy of the transit-type ultrasonic wind sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of sensor technology, and in particular to a transit-type ultrasonic wind sensing method and device. Background Art

[0002] There are two types of commonly used ultrasonic wind sensors: one is the transit type and the other is the resonant cavity type.

[0003] Transit ultrasonic wind speed and direction sensors usually have four ultrasonic transducers, but sometimes there are three. The two have some differences in algorithms, but they are consistent in measuring the transit time in each direction.

[0004] For example, taking the direct-radiation type with four transducers as an example, the four transducers correspond to the four directions of east, west, south and north respectively. During measurement, the transit time from north to south is measured respectively, and then the transit time from south to north is measured. The transmission distance is determined by the structure. The component wind speed from north to south is the final value that the sensor needs to measure. The accuracy of the component wind speed depends on the measurement accuracy of the transit time.

[0005] The method of measuring the transit time is that the transmitter transmits a set of standard pulse strings and records the time at the same time. After the receiver receives the pulse string, it stops timing, thus obtaining the transit time.

[0006] The technical difficulty in measuring transit time lies primarily in the fact that factors such as temperature, strong winds, and rain can affect the precise measurement of transit time, making it difficult to determine the correspondence between the received and transmitted pulse trains. This is because the received signal waveform is not a standard pulse, but an envelope signal.

[0007] The shape of the envelope signal depends on factors such as the parameters of the transducer, the excitation pulse train frequency, the number of pulses in the train, and the ambient temperature. The transducer acts as a high-Q narrowband filter circuit. When excited by a pulse train, the responses of its individual pulses are superimposed on each other, forming the envelope signal.

[0008] In the prior art, the timing is stopped after receiving a pulse train by receiving timing, which is usually performed by calculating the ratio of adjacent pulse amplitudes and stopping the timing when the ratio is close to a preset characteristic value.

[0009] When the received envelope signal is affected by factors such as temperature, strong wind, and rain, its shape will change, causing the timing to be more or less than one or several cycles, resulting in a large error. This problem is called slip.

[0010] When affected by strong winds, the ultrasonic channel is not a constant parameter channel, the signal envelope is modulated, the transit time is random, and the channel quality is worst when facing headwind. The greater the wind speed, the worse the channel quality.

[0011] Considering the aforementioned characteristics of the channel during high winds and the method for measuring transit time, we can see that the pulse pattern received during high winds is also modulated. This means that the ratio of the amplitudes of the previous and subsequent pulses changes. This can lead to slip when compared with the stored characteristic values. Because modulation is random, the slip caused by high winds is also random. The greater the wind speed, the more severe the signal modulation, and the greater the probability of random slip.

[0012] Existing ultrasonic wind speed and direction sensors all suffer from slippage in strong winds. They assume that slippage can be positive or negative. After receiving instantaneous measurement values, the system can design a filter to average the measured values, based on practical applications, to address the slippage issue. While this solves the slippage issue to a certain extent, the instantaneous measurement values ​​provided by ultrasonic wind speed and direction sensors, as standalone devices, can suffer from significant measurement errors when experiencing random slippage in strong winds.

[0013] Therefore, a solution is needed to effectively solve the problem of slip caused by strong winds on the envelope signal. Summary of the Invention

[0014] The present application proposes a transit-type ultrasonic wind sensing method and device, which solves the problem in the prior art that the test results of the transit-type ultrasonic wind sensor are affected by the slip caused by strong winds.

[0015] The present invention provides a method for ultrasonic wind sensing, comprising the following steps:

[0016] Set the number of pulses in a pulse train within the transit time of the constant parameter channel.

[0017] In the constant parameter channel, pulse detection is performed on the received pulse train, and the pulse amplitudes are compared once according to the pulse train sequence.

[0018] Perform a second comparison on the results of the first comparison.

[0019] At least one secondary comparison result in the pulse train is selected as a characteristic value.

[0020] In a strong wind channel, timing starts when the pulse is sent, and stops when the difference between the secondary comparison result of the adjacent pulse amplitudes in the received pulse train and the characteristic value is less than the set error, and the recorded time is obtained.

[0021] The transit time is calculated from the recording time based on the position of the characteristic value in the pulse train.

[0022] Preferably, the first comparison is to calculate the logarithm of the pulse amplitude and perform a first-order difference on the logarithm of the pulse amplitude in the order of the pulse train. The second comparison is to perform a second difference operation on the first-order difference result.

[0023] Preferably, the primary comparison is performed by calculating the ratio of adjacent pulse amplitudes and obtaining the logarithm of the ratio of the pulse amplitudes. The secondary comparison is performed by calculating the difference of the logarithms to obtain the difference result.

[0024] Preferably, in a strong wind channel, the timing is stopped when the difference between the secondary comparison results of n adjacent pulses and the n characteristic values ​​is less than a set error, and n>1.

[0025] Preferably, in a strong wind channel, the timing is stopped when the difference between the secondary comparison results of k pulses and k of the n characteristic values ​​is less than a set error, k<n.

[0026] Furthermore, the transit time is txx=tD*X*T;

[0027] Where xx represents the measurement direction, t is the recording time, D is the duty cycle, X is the number of pulse cycles when recording stops, and T is the pulse train repetition period.

[0028] The present application also provides a transit-type ultrasonic wind sensor device for implementing the method described in any embodiment of the present application, comprising a pulse detection unit, a primary comparison unit, a secondary comparison unit, and a timing unit. The pulse detection unit is configured to detect a received pulse train. The primary comparison unit is configured to compare the received pulse train. The secondary comparison unit is configured to receive the result of the primary comparison and perform a secondary comparison. The timing unit is configured to receive the secondary comparison result and compare it with a pre-stored characteristic value. If the differential result reaches the characteristic value, the time at which the differential result reaches the characteristic value is recorded.

[0029] Furthermore, the transit-type ultrasonic wind sensor device further comprises an ultrasonic transmitter module, an ultrasonic receiver module, a modem module, and a time comparison module. The modem module is configured to convert electrical power into and from ultrasonic waves. The ultrasonic transmitter module transmits the ultrasonic waves converted by the modem module. The ultrasonic receiver module receives the ultrasonic waves transmitted by the ultrasonic transmitter module and transmits them to the modem module. The time comparison module obtains the recording time and calculates the transit time based on the position of the characteristic value in the pulse train.

[0030] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the present application.

[0031] An embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described in any embodiment of the present application when executing the computer program.

[0032] At least one technical solution adopted in the embodiments of the present application can achieve the following beneficial effects:

[0033] The present application effectively avoids the influence of slippage caused by strong winds on wind speed and wind direction measurement, and improves the measurement accuracy of the transit-type ultrasonic wind sensor. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0035] Figure 1 This is a diagram showing the relationship between the pulse train amplitudes in the prior art;

[0036] Figure 2 This is a flow chart of a transit-type ultrasonic wind sensing method according to an embodiment of the present application;

[0037] Figure 3 This is a schematic diagram of a calculation module of a transit-type ultrasonic wind sensing device according to an embodiment of the present application;

[0038] Figure 4 Timing logic diagram for this application;

[0039] Figure 5 This is a structural diagram of a transit-type ultrasonic wind sensor device according to an embodiment of the present application;

[0040] Figure 6 This is a structural diagram of another transition-type ultrasonic wind sensor device according to an embodiment of the present application. DETAILED DESCRIPTION

[0041] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0042] The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0043] Figure 1 This is a pulse train amplitude relationship diagram of the prior art.

[0044] The precise measurement of transit time is the core technology of this type of sensor. The method of measuring the transit time in a certain direction is simple. The transmitter transmits a set of standard pulse trains and records the time at the same time. After the receiver receives the pulse train, it stops timing. In this way, the transit time in this direction is obtained. However, it is necessary to determine the correspondence between the received pulse train and the transmitted pulse train, because the waveform of the received signal is not a standard pulse, but an envelope signal such as Figure 1 As shown:

[0045] It should be noted that Figure 1 This is just a schematic diagram; the envelope can have other shapes, depending on factors such as the transceiver parameters, the excitation pulse train frequency, the number of pulses, and the ambient temperature. The transducer acts as a high-Q narrowband filter circuit. When stimulated by a pulse train, the responses of its individual pulses are superimposed, forming the envelope signal we see. Receive timing typically involves calculating the ratio of adjacent pulse amplitudes, stopping timing when this ratio approaches a pre-stored characteristic value.

[0046] Figure 2 This is a flow chart of a transit-type ultrasonic wind sensing method according to an embodiment of the present application.

[0047] The present application also provides a method for ultrasonic wind sensing, comprising the following steps:

[0048] Step 101: Set the number of pulses in a pulse train within the transit time of a constant parameter channel.

[0049] For example, the number of pulses X in a pulse train within the transit time under the constant parameter channel is set.

[0050] The number of pulses in the pulse train is set artificially as a reference for calculation.

[0051] The constant parameter channel can be selected under the condition of wind but no turbulence, or under the condition of no wind. Considering that the setting of characteristic values ​​is more accurate without wind interference, it is preferred that the constant parameter channel adopts the pulse train parameters under the condition of no wind.

[0052] Step 102: Under the constant parameter channel, pulse detection is performed on the received pulse train, and pulse amplitudes are compared in order of the pulse train.

[0053] Step 103: Perform a second comparison on the first comparison result.

[0054] For example, preferably, the first comparison is to calculate the logarithm of the pulse amplitude and take the first-order difference of the logarithm of the pulse amplitude in the order of the pulse train. The second comparison is to perform another difference operation on the first-order difference result, that is, to perform a second-order difference.

[0055] Example 1

[0056] Step 102 - 1 : Perform pulse detection on the received pulse train in a constant parameter channel and calculate the logarithm of the pulse amplitude.

[0057] Calculate the logarithm of the pulse amplitude. Since the number of pulses is X, the number of logarithms of the pulse amplitude is also X.

[0058] Take the first-order difference of the logarithms of the pulse amplitudes in the order of the pulse train.

[0059] The first-order difference of the logarithm of the pulse amplitude is calculated to obtain X-1 first-order difference results.

[0060] Step 103 - 1 : Calculate the second-order difference for the first-order difference result.

[0061] The first-order difference result is calculated again to obtain X-2 second-order difference results.

[0062] For example, in areas where the gain changes dramatically, within a 50µs time span, the gain change can be approximately considered linear. Thus, the logarithmic value of the ratio of adjacent pulses increases by the same value when there is wind. Because it changes linearly, the amplitude ratio is considered the first-order difference of the pulse logarithm, and the linear change in the gain logarithm only affects the first-order difference. We can use the second-order difference as the timing basis, which can perfectly solve the problem of wind slip. Still using the previous example, see the table below:

[0063]

[0064] It should be noted that in the high wind channel in the table, the channel gain increases by 3dB within the 6-pulse time span at the test point.

[0065] Example 2

[0066] Step 102-2: Perform pulse detection on the received pulse train under the constant parameter channel, calculate the ratio of X-1 adjacent pulse amplitudes, and calculate the logarithm of the ratio of the pulse amplitudes.

[0067] Step 103 - 2 , calculating the difference of the logarithms in pulse train order to obtain X-2 difference results.

[0068] For example, Figure 1 As shown, here we consider 6 pulses and give 5 ratios. After taking the logarithm, the subsequent gain can be calculated by simple addition. The channel gain changes by 3dB during the 6 pulse time. Assuming that the logarithm of the gain changes linearly, the following table can be established:

[0069] Peak2 / peak1 Peak3 / peak2 Peak4 / peak3 Peak5 / peak4 Peak6 / peak5 Linear 2.3 1.7 1.5 1.4 1.3 Logarithm 7.23dB 4.61dB 3.52dB 2.92dB 2.28dB Gale channel 7.83dB 5.21dB 4.12dB 3.52dB 2.88dB

[0070] It should be noted that in the high wind channel in the table, the channel gain increases by 3dB within the 6-pulse time span at the test point.

[0071] If the original pulse amplitude ratio is 1.5, when the pulse in channel 6 changes by 3 dB in strong winds, one more cycle will be counted.

[0072] At a wind speed of 20 meters, the probability of slippage in the pulse ratio detection method is not high, but as the wind speed increases, the problem becomes more and more serious. In previous actual tests, it was found that at a wind speed of 50 meters, slippage generally occurred more than 10 times out of 100 tests.

[0073] Step 104: Select at least one secondary comparison result in the pulse train as a characteristic value.

[0074] The characteristic value can be arbitrarily selected as the difference result in the pulse train,

[0075] In high-wind conditions, you can select a single eigenvalue and stop timing when the difference between the secondary comparison result of one adjacent pulse and the eigenvalue is less than a set tolerance. Alternatively, you can stop timing when the difference between the secondary comparison results of k pulses and k of n eigenvalues ​​is less than a set tolerance, where k ≤ n and n > 1.

[0076] In order to ensure that the transmitted pulse can be accurately determined by the secondary comparison result of the received pulse,

[0077] Preferably, in a strong wind channel, the timing is stopped when the difference between the secondary comparison results of n adjacent pulses and the n characteristic values ​​is less than a set error, and n>1.

[0078] Preferably, in a strong wind channel, the timing is stopped when the differences between the secondary comparison results of k consecutive pulses and the consecutive k eigenvalues ​​of n are all less than the set error, k<n.

[0079] Further preferably, in a strong wind channel, the timing is stopped when the differences between the secondary comparison results of k pulses with a set pulse number and k eigenvalues ​​with a set number among n eigenvalues ​​are all less than a set error, k≤n.

[0080] Preferably, during comparison, the pulse sequence number (1 or more) of the secondary comparison result recorded in the high wind channel is the same as the pulse sequence number (1 or more) of the characteristic value.

[0081] Consider a group of eigenvalues ​​as the basis for judgment rather than a single eigenvalue. For example, if there are 3 eigenvalues, the actual number used may be 2, 3, 4, 5, etc., and generally not more than 7. This is related to the actual transducer parameters.

[0082] Preferably, the last n differential results in the pulse train are selected as eigenvalues.

[0083] Step 105: In a high-wind channel, start timing when the pulse is sent, and stop timing when the difference between the secondary comparison result of the amplitudes of adjacent pulses in the received pulse train and the characteristic value is less than the set error, and obtain the recorded time.

[0084] Strong winds modulate ultrasonic propagation. Since the oscilloscope's time unit is 1ms, ultrasonic wind speed and direction sensors typically use ultrasonic frequencies between 200kHz and 400kHz, with approximately 10 excitation pulse trains. The entire pulse envelope spans only about 50µs. Therefore, in short periods of time, at wind speeds of 20 meters, the ultrasonic transmission channel remains essentially a constant-parameter channel. Using the pulse amplitude ratio detection timing method, cycle slip is unlikely; problems arise where the channel gain changes dramatically. Therefore, the detected pulse segment is within a linear range.

[0085] The differential value of the pulse signal of the high wind channel is obtained through steps 101-104, and the differential value is compared with the characteristic value. When the difference between the differential value and the characteristic value is less than the set error, the timer stops and the recorded time t is obtained.

[0086] Step 106: Calculate the transit time using the recording time according to the position of the characteristic value in the pulse train.

[0087] Furthermore, the transit time is

[0088] txx=tD*X*T Formula 1

[0089] Where xx represents the measurement direction. For example, the transit time from north to south is recorded as tns, and the transit time from south to north is recorded as tsn.

[0090] t is the recording time, D is the duty cycle, X is the number of pulse cycles when recording stops, and T is the pulse train repetition period.

[0091] D*X*T is the time difference between the recorded time when timing is stopped and the recorded time when the first pulse is received. For example, as shown in the figure, in the conventional constant parameter channel, if the stored characteristic value is 1.5, we stop timing when PEAK4 is received. Considering the time of the first pulse transmission as 0 and the pulse repetition period as T, the transit time is: txx = t-3.5*T.

[0092] For another example, for the example in the table above, eigenvalue 1 = -2.62, eigenvalue 2 = -1.09, eigenvalue 3 = -0.6, so when the logic is met, the timing is stopped. At this time, the fifth pulse is just received, and the transit time is: txx = t-4.5*T.

[0093] Here, we assume the transmitting excitation pulse is a square wave with a 50% duty cycle. The value 3.5 corresponds to the stored eigenvalue of 1.5. If the stored eigenvalue is 1.4, 3.5 should be changed to 4.5. This is because the timing stops when the fifth pulse arrives to meet the eigenvalue requirement, and one cycle time must be subtracted.

[0094] It should be noted that the method for calculating the difference result can be to divide the two data first and then take the logarithm, as in Example 1, or to take the logarithm of the two data separately and then perform subtraction, as in Example 2.

[0095] However, in signal processing, addition and subtraction are very simple, while logarithm and division take up more resources. Therefore, it is preferred to select embodiment 1 as the formal processing method.

[0096] Figure 4 This is a schematic diagram of the calculation module structure of a transit-type ultrasonic wind sensor device in an embodiment of the present application.

[0097] An embodiment of the present application also provides a transit-type ultrasonic wind sensing device for implementing the method described in any embodiment of the present application, wherein the calculation module 1 includes a pulse detection unit 11, a primary comparison unit 12, a secondary comparison unit 13 and a timing unit 14.

[0098] The pulse detection unit is used to detect the received pulse string.

[0099] The primary comparison unit is used to compare the received pulse train. The secondary comparison unit is used to receive the result of the primary comparison and perform a secondary comparison.

[0100] For example, the primary comparison unit is configured to calculate the logarithm of the pulse amplitude under the constant parameter channel and obtain X-1 first-order differences of the logarithm of the pulse amplitude in the order of the pulse train.

[0101] The secondary comparison unit is used to perform a second-order difference on the result of the first-order difference to obtain X-2 second-order difference results.

[0102] For another example, the primary comparison unit is configured to perform pulse detection on the received pulse train under a constant parameter channel, calculate a total of X-1 ratios of adjacent pulse amplitudes, and calculate the logarithm of the ratios of the pulse amplitudes.

[0103] The secondary comparison unit is used to calculate the difference of the logarithms in pulse train order to obtain X-2 difference results.

[0104] The timing unit is used to receive the secondary comparison result and compare it with the pre-stored characteristic value. If the difference result reaches the characteristic value, the time when the difference result reaches the characteristic value is recorded.

[0105] Furthermore, the timing unit further comprises registers, the number of which is the same as the number of the eigenvalues, and the difference results are pre-stored in the registers for comparison with the eigenvalues.

[0106] Figure 4 Timing logic diagram for this application.

[0107] As shown in the figure, Z -1 Indicates registers, 1-Z -1 It is to find the first-order difference. Eigenvalues ​​1 to 3 are pre-stored parameters. The difference result is compared with the three eigenvalues ​​through the register respectively, and the three comparison results are input into the AND gate.

[0108] For example, for the example in the table above, eigenvalue 1 = -2.62, eigenvalue 2 = -1.09, and eigenvalue 3 = -0.6. When the logic is satisfied, the timing is stopped. At this time, the fifth pulse is just received, and the transit time is: txx = t-4.5*T.

[0109] Figure 5 This is a structural diagram of a transit-type ultrasonic wind sensor device according to an embodiment of the present application.

[0110] Furthermore, it also includes an ultrasonic transmitting module 2, an ultrasonic receiving module 3, a modulation and demodulation module 4 and a time comparison module 5.

[0111] The modulation and demodulation module is used to realize the mutual conversion between electric power and ultrasonic waves.

[0112] The modulation and demodulation module is divided into a modulation module 41 and a demodulation module 42 .

[0113] The modulation module converts the electrical signal into an ultrasonic signal and transmits it to the ultrasonic emission module.

[0114] The demodulation module converts the ultrasonic waves received by the ultrasonic receiving module into electrical signals and sends them to the calculation module.

[0115] The ultrasonic wave transmitting module transmits the ultrasonic wave converted by the modulation and demodulation module.

[0116] The ultrasonic receiving module receives the ultrasonic waves emitted by the ultrasonic transmitting module and sends the ultrasonic waves to the modulation and demodulation module.

[0117] The time comparison module obtains the recording time and calculates the transit time according to the position of the characteristic value in the pulse train.

[0118] For example, the modulation and demodulation module, the ultrasonic transmitting module and the ultrasonic receiving module are described separately from the functions of the ultrasonic transducer. You can choose to use separate modules with related functions or use the ultrasonic transducer.

[0119] Considering that the channel gain model in high winds is a piecewise log-linear function, the timing method described in any embodiment of the present application satisfies the following conditions:

[0120] The detected pulse segment must be within a linear segment, otherwise the detection will fail.

[0121] The gain size must meet the conditions for receiving the signal. If the signal cannot be received, correct detection cannot be performed.

[0122] Based on the situation described in any embodiment of the present application, it is impossible to guarantee that a measurement will be successful in one go during strong winds. When the test is unsuccessful, multiple attempts are required.

[0123] Figure 6 This is a structural diagram of another transition-type ultrasonic wind sensor device according to an embodiment of the present application.

[0124] For example, the transit-type ultrasonic wind sensor device includes:

[0125] The communication unit is used to complete the connection between the transit ultrasonic wind sensor device and the system equipment.

[0126] Preferably, the 485 communication method is used, through which the working parameters of the device can be initialized, control commands can be transmitted, test results can be returned, etc.

[0127] ROM is used to store working parameters, such as the judgment characteristic values ​​mentioned in the article, etc.

[0128] The high-voltage pulse generating unit is used to generate a high-voltage pulse train to excite the transducer to generate ultrasonic waves.

[0129] Transmit switch array:

[0130] For example, a wind sensor has four transducers, placed in the four directions of east, west, south, and north. Each complete wind speed and direction measurement requires four transit time measurements: north to south, south to north, east to west, and west to east. High-voltage units are resource-intensive, so typically only one is used. This requires rotating high-voltage units, necessitating the use of a switch array. The switch array's operation is controlled by a central control unit.

[0131] The transducer array refers to four transducers located in the east, west, south and north directions.

[0132] It should be noted that for other types of wind sensors, the number is not limited to 4.

[0133] The principle of the receiving switch array is the same as that of the transmitting switch array.

[0134] Received signal processing is used to complete the filtering, amplification, and processing of the received signal, and to make a judgment on the received signal based on the stored characteristic value parameters and notify the control center of the result.

[0135] Timing unit, used to obtain the recording time.

[0136] The control unit is used to initiate measurement according to the instructions received by the communication unit and control the coordinated work of each unit according to the time sequence.

[0137] For four transducers, each wind speed and direction measurement includes four transit time measurements. Each transit time measurement includes:

[0138] 1) Notify the timing unit to start timing;

[0139] 2) Notify the high voltage pulse train unit to generate a high voltage pulse train.

[0140] 3) Adjust the transmit switch array so that the high voltage pulse train excites the appropriate transducer.

[0141] 4) Adjust the receiving fast switch array so that the receiving signal processing unit can receive the signal of the corresponding transducer.

[0142] 5) Stop timing after the receiving unit detects the signal.

[0143] After completing the four transit time measurements, the four transit times are transferred to the wind speed and direction calculation unit to complete the wind speed and direction calculation. After the calculation is completed, the final result is saved or actively transmitted to the system equipment through the communication unit according to the command.

[0144] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0145] Therefore, the present application also proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the present application.

[0146] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0147] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0148] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0149] Furthermore, the present application also proposes an electronic device (or computing device), comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any embodiment of the present application when executing the computer program.

[0150] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM), and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium. Computer-readable media, including permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules, or other data.

[0151] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0152] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A transit ultrasonic wind sensing method, characterized in that: Contains steps: Set the number of pulses in a pulse train within the transit time under the constant parameter channel; In the constant parameter channel, pulse detection is performed on the received pulse train, and adjacent pulse amplitudes are compared once according to the pulse sequence; Conduct a second comparison on the results of the first comparison; selecting at least one secondary comparison result in the pulse train as a characteristic value; In a strong wind channel, the timing starts when the pulse is sent, and stops when the difference between the secondary comparison result of the adjacent pulse amplitudes in the received pulse train and the characteristic value is less than the set error, and the recorded time is obtained; Calculate the transit time as ; in xx Represents the measurement direction, t To record time, D is the duty cycle, X is the number of pulse cycles, T is the pulse train repetition period.

2. The transit ultrasonic wind sensing method according to claim 1, characterized in that: The primary comparison is as follows: calculating the logarithm of the pulse amplitude and taking the first-order difference of the logarithm of the pulse amplitude in the order of the pulse train; The secondary comparison is to perform a difference operation on the first-order difference result again.

3. The transit ultrasonic wind sensing method according to claim 1, characterized in that: The primary comparison comprises: calculating the ratio of adjacent pulse amplitudes and obtaining the logarithm of the ratio of the pulse amplitudes; The secondary comparison is: calculating the difference of the logarithms to obtain a difference result.

4. The transit ultrasonic wind sensing method according to claim 1, characterized in that: In a strong wind channel, the timing stops when the difference between the secondary comparison results of n adjacent pulses and n eigenvalues ​​is less than the set error, n>1.

5. The transit ultrasonic wind sensing method according to claim 1, characterized in that: In a strong wind channel, the timing is stopped when the difference between the secondary comparison results of k pulses and k of the n eigenvalues ​​is less than the set error, k<n.

6. A transit-type ultrasonic wind sensor device, characterized in that: Used to implement the method according to any one of claims 1 to 5, comprising a pulse detection unit, a primary comparison unit, a secondary comparison unit and a timing unit; The pulse detection unit is used to detect the received pulse train; The primary comparison unit is used to compare the received pulse train; The secondary comparison unit is used to receive the result of the primary comparison and perform a secondary comparison; The timing unit is used to receive the secondary comparison result and compare it with the pre-stored characteristic value. If the difference result reaches the characteristic value, the time when the difference result reaches the characteristic value is recorded.

7. The transit-type ultrasonic wind sensor device according to claim 6, characterized in that: It also includes an ultrasonic transmitter module, an ultrasonic receiver module, a modulation and demodulation module, and a time comparison module; The modulation and demodulation module is used to realize the mutual conversion between electric power and ultrasonic waves; The ultrasonic transmitting module transmits the ultrasonic waves converted by the modulation and demodulation module; The ultrasonic receiving module receives the ultrasonic waves emitted by the ultrasonic transmitting module and sends them to the modulation and demodulation module; The time comparison module obtains the recording time and calculates the transit time according to the position of the characteristic value in the pulse train.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method and device for detecting ultrasonic time of flight

    CN101769782A

  • Method for accurately measuring constant sound pressure FSK ultrasonic wave transition time

    CN103454643A