Automatic frequency selection method of wireless data sending device and wireless data transmission system
By monitoring and analyzing the electromagnetic wave signals around the torque sensor in real time and dynamically adjusting the wireless transmission frequency band, the problem of wireless transmission of torque data in lower casing operations is solved, and the transmission quality and reliability are improved.
Patent Information
- Application Number
- CN202411607645.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-03-21
AI Technical Summary
In the lower casing operation, the wireless transmission of torque data is susceptible to interference from the same frequency wireless signals, resulting in a degradation of signal transmission quality.
By monitoring and analyzing the electromagnetic wave signals around the torque sensor in real time, we can judge whether electromagnetic interference occurs, and select the target working frequency band with less interference based on the spectrum diagram of the electromagnetic wave signal to achieve dynamic adjustment of the working frequency band.
It effectively avoids co-frequency or adjacent frequency interference with other wireless devices, and improves the transmission quality and reliability of torque data in complex electromagnetic environments.
Smart Images

Figure CN119676841A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of oil and gas exploration and exploitation, and in particular to an automatic frequency selection method for a wireless data transmission device and a wireless data transmission system. Background Art
[0002] In casing operations, real-time monitoring of torque data is crucial to ensure operational safety and efficiency. Traditional wired transmission methods have problems such as complex lines, easy damage, and difficult maintenance. In response to these problems, the existing patent with publication number CN218628729U provides a tubular built-in antenna torque transmission system and a torque measuring device containing it, including a torque short section, a wireless receiver and an industrial computer. The industrial computer is electrically connected to the wireless receiver, and the wireless receiver is connected to the torque short section signal. The middle part of the torque short section is fixedly provided with a protective shell, and a wireless transmitter is provided on each side of the interior of the protective shell. The wireless transmitter sends the torque data to the wireless receiver, thereby realizing wireless transmission of the torque data. However, although the system solves many problems of wired transmission, the wireless transmission method generally faces the problem of being easily interfered by the same frequency wireless signal, resulting in a decrease in signal transmission quality. Summary of the invention
[0003] Based on this, it is necessary to provide an automatic frequency selection method for a wireless data sending device and a wireless data transmission system to address the problem that torque data in the current casing running operation is easily interfered by the same frequency wireless signals during wireless transmission, thereby affecting the quality of wireless transmission.
[0004] In a first aspect, the present application provides an automatic frequency selection method for a wireless data transmission device. The method comprises:
[0005] Step S1, acquiring electromagnetic wave signals around the torque sensor;
[0006] Step S2, judging whether electromagnetic interference occurs according to the signal strength of the electromagnetic wave signal; if so, executing step S3;
[0007] Step S3, selecting a target operating frequency band according to the spectrum diagram of the electromagnetic wave signal;
[0008] Step S4, switching the current working frequency band to the target working frequency band.
[0009] In one embodiment, step S2 comprises:
[0010] Step S21, performing spectrum analysis on the electromagnetic wave signal to obtain a spectrum diagram;
[0011] Step S22, identifying and removing the signal strength of the device itself from the spectrum diagram to obtain an electromagnetic interference spectrum diagram;
[0012] Step S23, judging whether electromagnetic interference occurs according to the electromagnetic interference spectrum diagram.
[0013] In one embodiment, step S4 comprises:
[0014] Step S41, calculating the signal-to-noise ratio of different frequency bands according to the amplitude spectrum diagram of the electromagnetic wave signal;
[0015] Step S42, counting the bit error rate during the statistical data transmission process;
[0016] Step S43: when the signal-to-noise ratio exceeds the first preset threshold and the bit error rate exceeds the second preset threshold, the current working frequency band is switched to the target working frequency band.
[0017] In one embodiment, step S4 comprises:
[0018] Step S44, sending the target working frequency band to the wireless data receiving device;
[0019] Step S45, after acquiring the response message sent by the wireless data receiving device, the current working frequency band is switched to the target working frequency band.
[0020] In one embodiment, the automatic frequency selection method of the wireless data transmitting device further includes:
[0021] Step S5, adjusting one or more parameters of wireless signal transmission power, spectrum calculation and analysis times, torque sensor access frequency and error bit retransmission times according to the remaining battery power and the current system operating conditions.
[0022] In a second aspect, the present application also provides a wireless data transmission system, which includes a wireless data transmitting device and a wireless data receiving device, wherein the wireless data transmitting device communicates with the wireless data receiving device according to the automatic frequency selection method of the wireless data transmitting device as described in the first aspect.
[0023] In one embodiment, the wireless data sending device includes a wireless sending module, a spectrum analysis module and an automatic frequency selection module, the first end of the wireless sending module is connected to the torque sensor, the second end is connected to the first end of the automatic frequency selection module, and the second end of the automatic frequency selection module is connected to the spectrum analysis module.
[0024] In one embodiment, the wireless data transmission device further includes a battery, and the battery is connected to the third terminal of the automatic frequency selection module.
[0025] In one embodiment, the wireless data transmission device further includes a power management module, a first end of the power management module is connected to a battery, and a second end of the power management module is connected to a torque sensor.
[0026] In one embodiment, the wireless data transmitting device and the wireless data receiving device are both ultra-low power consumption wireless transmitting devices with error correction function.
[0027] The automatic frequency selection method and wireless data transmission system of the above-mentioned wireless data sending device monitor and analyze the electromagnetic wave signals around the torque sensor in real time, determine whether electromagnetic interference occurs according to the signal strength of the electromagnetic wave signals, and select the target working frequency band with less interference according to the spectrum diagram of the electromagnetic wave signals after electromagnetic interference occurs, thereby realizing dynamic adjustment of the working frequency band and avoiding co-frequency or adjacent frequency interference with other wireless devices, thereby effectively improving the transmission quality and reliability of torque data in complex electromagnetic environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A schematic diagram of a flow chart of an automatic frequency selection method for a wireless data transmission device in one embodiment;
[0029] Figure 2 FIG. 1 is a schematic diagram of the structure of a wireless data transmission system in one embodiment. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0031] The present application provides an automatic frequency selection method for a wireless data transmission device, which is particularly suitable for wireless transmission scenarios of torque data in casing running operations. In this scenario, the torque sensor is responsible for collecting torque data during casing running operations and transmitting this data to a receiving end in real time through a wireless data transmission device.
[0032] In one embodiment, Figure 1 As shown, the automatic frequency selection method of the wireless data sending device specifically includes the following steps:
[0033] Step S1, acquiring electromagnetic wave signals around the torque sensor.
[0034] The torque sensor is used to collect casing torque data in real time. Specifically, the wireless data transmission device obtains electromagnetic wave signals within a certain range around the torque sensor in real time. These signals may come from other wireless devices, such as radio base stations, walkie-talkies, other wireless sensors, etc.
[0035] Step S2, judging whether electromagnetic interference occurs according to the signal strength of the electromagnetic wave signal; if so, executing step S3.
[0036] Among them, the signal strength of the electromagnetic wave signal is the power of the electromagnetic wave signal. After acquiring the electromagnetic wave signal, the wireless data sending device analyzes the strength of these signals. If the strength of a certain signal exceeds a preset threshold, or the sum of the strengths of multiple signals exceeds a certain critical value, it can be determined that electromagnetic interference has occurred. This interference may affect the wireless transmission quality of torque data, resulting in data loss, increased bit error rate and other problems. At this time, step S3 is executed. If no electromagnetic interference occurs, the current operating frequency band will not be switched, and the electromagnetic wave signals around the torque sensor will continue to be monitored.
[0037] Step S3, selecting a target operating frequency band according to the spectrum diagram of the electromagnetic wave signal.
[0038] Once electromagnetic interference is detected, the wireless data transmission device can find a frequency band with less interference to switch. For example, the wireless data transmission device can perform spectrum analysis on the captured electromagnetic wave signal to generate a spectrum diagram. The spectrum diagram can include an amplitude spectrum diagram and a power spectrum diagram. The amplitude spectrum diagram displays the law of the voltage amplitude of the electromagnetic wave signal changing with the frequency, and the power spectrum diagram displays the law of the power of the electromagnetic wave signal changing with the frequency. The spectrum diagram can intuitively display the distribution of signals of different frequencies, thereby helping the device select an unoccupied frequency band with less interference as the target working frequency band.
[0039] Step S4, switching the current working frequency band to the target working frequency band.
[0040] The automatic frequency selection method of the wireless data sending device of this embodiment monitors and analyzes the electromagnetic wave signals around the torque sensor in real time, determines whether electromagnetic interference occurs according to the signal strength of the electromagnetic wave signals, and selects the target working frequency band with less interference according to the spectrum diagram of the electromagnetic wave signals after electromagnetic interference occurs, thereby realizing dynamic adjustment of the working frequency band and avoiding co-frequency or adjacent frequency interference with other wireless devices, thereby effectively improving the transmission quality and reliability of torque data in complex electromagnetic environments.
[0041] In one embodiment, step S2 includes:
[0042] Step S21, performing spectrum analysis on the electromagnetic wave signal to obtain a power spectrum diagram.
[0043] Step S22, identifying and removing the signal strength emitted by the device itself from the power spectrum diagram to obtain an electromagnetic interference spectrum diagram.
[0044] After obtaining the power spectrum diagram, since the wireless data transmission device itself also transmits signals, these signals may interfere with the analysis of the power spectrum diagram. Therefore, in this step, the signal strength emitted by the device itself can be identified and removed from the power spectrum diagram. By removing the influence of the self-signal, a more accurate electromagnetic interference spectrum diagram is obtained, which only shows the intensity distribution of the external electromagnetic interference signal.
[0045] Step S23, judging whether electromagnetic interference occurs according to the electromagnetic interference spectrum diagram.
[0046] Specifically, in the electromagnetic interference spectrum diagram, check whether the signal strength corresponding to the current operating frequency of the device exceeds the preset threshold, or it can also be determined whether the average strength of all signals in the frequency band near the current operating frequency of the device exceeds the preset threshold. If so, it is determined that co-frequency electromagnetic interference has occurred. Among them, the preset threshold is usually set according to the performance requirements, communication standards and electromagnetic environment of the equipment, and is used to distinguish normal signals from potential interference signals.
[0047] The automatic frequency selection method of the wireless data transmission device of this embodiment can more accurately determine whether electromagnetic interference occurs by removing the influence of the device's own transmission signal, thereby improving the accuracy and reliability of the automatic frequency selection method.
[0048] In one embodiment, step S4 includes:
[0049] Step S41, calculating the signal-to-noise ratio of different frequency bands according to the amplitude spectrum diagram of the electromagnetic wave signal.
[0050] Step S42, counting the bit error rate during the statistical data transmission process.
[0051] Among them, the signal-to-noise ratio and the bit error rate are important indicators for measuring signal quality. The signal-to-noise ratio represents the ratio of signal power to noise power. By calculating the signal-to-noise ratio of different frequency bands, the signal quality on each frequency band can be evaluated. The bit error rate represents the ratio of the number of bits that have errors during data transmission to the total number of bits. By calculating the bit error rate, the quality of current data transmission can be evaluated.
[0052] Step S43: when the signal-to-noise ratio exceeds the first preset threshold and the bit error rate exceeds the second preset threshold, the current working frequency band is switched to the target working frequency band.
[0053] Specifically, when the bit error rate exceeds the second preset threshold, it means that the quality of current data transmission is poor and the working frequency band needs to be switched. When the signal-to-noise ratio exceeds the first preset threshold, it means that there are one or more spare frequency bands with good signal quality, and switching to these frequency bands can be considered.
[0054] The automatic frequency selection method of the wireless data sending device of this embodiment realizes the function of dynamically switching the working frequency band under specific conditions by calculating the signal-to-noise ratio of different frequency bands and the bit error rate during statistical data transmission, which helps to improve the data transmission quality and stability of the wireless communication system.
[0055] In one embodiment, step S4 includes:
[0056] Step S44, sending the target working frequency band to the wireless data receiving device.
[0057] Before switching the working frequency band, notify the wireless data receiving device (i.e., the receiving end) of the new frequency band to be used. This is to ensure that the receiving end can synchronously update its receiving configuration so as to correctly receive data on the new frequency band. Specifically, the information of the target working frequency band can be sent to the receiving end through the control channel or dedicated signaling of the wireless communication protocol (such as Wi-Fi, Bluetooth, Zigbee, etc.). The information of the target working frequency band may include key parameters such as the frequency band number, frequency range, and modulation method.
[0058] Step S45, after acquiring the response message sent by the wireless data receiving device, the current working frequency band is switched to the target working frequency band.
[0059] The response message indicates that the receiving end has received and switched the current working frequency band to the target working frequency band. After receiving the response message, the current working frequency band is immediately switched to the target working frequency band. In addition, in order to ensure that data is not lost, data transmission can be suspended before switching until the response message sent by the wireless data receiving device is obtained; or smooth switching technology can be used to gradually reduce the amount of data transmission on the old frequency band and gradually increase the amount of data transmission on the new frequency band while switching the frequency band to ensure the continuity of data transmission.
[0060] The automatic frequency selection method of the wireless data transmission device of this embodiment ensures the reliability of the frequency band switching process through interaction and confirmation with the receiving end, and greatly reduces the risk of data loss or communication interruption caused by frequency band mismatch.
[0061] In one embodiment, when the wireless data transmission device includes a storage battery, the automatic frequency selection method of the wireless data transmission device further includes:
[0062] Step S5, adjusting one or more parameters of wireless signal transmission power, spectrum calculation and analysis times, torque sensor access frequency and error bit retransmission times according to the remaining battery power and the current system operating conditions.
[0063] Specifically, the transmission power of the wireless signal can be dynamically adjusted according to the battery power and the current system working conditions. For example, when the battery power is sufficient and the communication environment is good, a high transmission power can be maintained to ensure the reliability and rate of data transmission; when the battery power is low or the communication environment is poor, the transmission power can be appropriately reduced to extend the battery life.
[0064] Spectrum analysis is an important step in the automatic frequency selection process, which is used to find the best communication frequency band. The frequency and depth of spectrum calculation can be adjusted according to the system working conditions and battery power. For example, when the battery power is low, the number of spectrum calculations can be reduced or the complexity of the calculation can be reduced to reduce energy consumption.
[0065] In addition, the access frequency and / or the number of bit error retransmissions to the torque sensor can be adjusted according to the battery power and current needs. For example, when the battery power is sufficient and the data demand is high, the access frequency can be kept high or the number of bit error retransmissions can be increased; while when the battery power is low, the access frequency can be reduced or the number of bit error retransmissions can be reduced to save energy.
[0066] For example, when the current system operating condition is a normal condition, if the current remaining battery power is less than or equal to 50%, the number of spectrum calculation and analysis can be reduced, the number of error bit retransmissions can be reduced, etc.; if the current remaining battery power is less than or equal to 10%, the wireless signal transmission power can be reduced, the access frequency of the torque sensor can be reduced, etc. When the current system operating condition is a low power consumption condition, if the current remaining battery power is less than or equal to 80%, the number of spectrum calculation and analysis can be reduced, the number of error bit retransmissions can be reduced, etc.; if the current remaining battery power is less than or equal to 40%, the wireless signal transmission power can be reduced, the access frequency of the torque sensor can be reduced, etc.
[0067] The automatic frequency selection method of the wireless data transmission device of this embodiment can extend the battery life while ensuring the communication quality and maintain stable communication performance by dynamically adjusting the working parameters.
[0068] In one embodiment, Figure 2 As shown, a wireless data transmission system is provided, which includes a wireless data sending device and a wireless data receiving device. The wireless data sending device includes a wireless sending module, a spectrum analysis module and an automatic frequency selection module. The first end of the wireless sending module is connected to the torque sensor, the second end is connected to the first end of the automatic frequency selection module, and the second end of the automatic frequency selection module is connected to the spectrum analysis module; the wireless sending module sends the torque data collected by the torque sensor to the wireless data receiving device.
[0069] Specifically, the spectrum analysis module obtains the electromagnetic wave signal around the torque sensor, and determines whether electromagnetic interference occurs according to the signal strength of the electromagnetic wave signal. When electromagnetic interference occurs, the spectrum analysis module sends the spectrum diagram of the electromagnetic wave signal to the automatic frequency selection module, and the automatic frequency selection module selects the target working frequency band according to the spectrum diagram of the electromagnetic wave signal, and sends the target working frequency band to the wireless transmission module, and the wireless transmission module switches the current working frequency band to the target working frequency band.
[0070] Furthermore, the spectrum analysis module performs spectrum analysis on the electromagnetic wave signal to obtain a power spectrum diagram, identifies and removes the device's own transmitted signal strength from the power spectrum diagram, obtains an electromagnetic interference spectrum diagram, and determines whether electromagnetic interference occurs based on the signal strength of the electromagnetic wave signal and the electromagnetic interference spectrum diagram.
[0071] Furthermore, the automatic frequency selection module calculates the signal-to-noise ratio of different frequency bands according to the amplitude spectrum diagram of the electromagnetic wave signal, and counts the bit error rate during the statistical transmission process. When the signal-to-noise ratio exceeds the first preset threshold and the bit error rate exceeds the second preset threshold, the automatic frequency selection module sends the target working frequency band to the wireless transmission module, and the wireless transmission module switches the current working frequency band to the target working frequency band.
[0072] Furthermore, the automatic frequency selection module sends the target working frequency band to the wireless data receiving device, and after obtaining the response message sent by the wireless data receiving device, sends the current working frequency band to the wireless sending module, and the wireless sending module switches the current working frequency band to the target working frequency band.
[0073] The wireless data transmission system of this embodiment monitors and analyzes the electromagnetic wave signals around the torque sensor in real time through the wireless data sending device, determines whether electromagnetic interference occurs according to the signal strength of the electromagnetic wave signal, and selects the target working frequency band with less interference according to the spectrum diagram of the electromagnetic wave signal after the electromagnetic interference occurs, thereby realizing dynamic adjustment of the working frequency band and avoiding co-frequency or adjacent frequency interference with other wireless devices, thereby effectively improving the transmission quality and reliability of torque data in complex electromagnetic environments.
[0074] In one embodiment, Figure 2 As shown, the wireless data transmission device also includes a battery, and the battery is connected to the third end of the automatic frequency selection module. Further, the wireless data transmission device also includes a power management module, and the first end of the power management module is connected to the battery, and the second end is connected to the torque sensor. Specifically, the power management module counts the remaining battery power, and optimally allocates the power of the wireless transmission module, the spectrum analysis module and the automatic frequency selection module in combination with the current system operating conditions to extend the battery life of the device. Among them, the specific method of power distribution can refer to the above embodiment, which will not be repeated here.
[0075] In one embodiment, the wireless data transmitting device and the wireless data receiving device are both ultra-low power wireless transmitting devices with error correction function. Specifically, the wireless transmitting module is an ultra-low power wireless transmission module, which is used to wirelessly transmit the torque data collected by the torque sensor to the wireless data receiving device. Similarly, the wireless data receiving device is also an ultra-low power wireless transmission device. Furthermore, the wireless transmitting module and the wireless data receiving device have their own error correction function, and adopt anti-interference technologies such as error correction coding to ensure the accuracy and integrity of the torque data during the transmission process.
[0076] The wireless data transmitting device and the wireless data receiving device of this embodiment are both ultra-low power wireless transmitting devices with error correction function, which can enable the data transmission system to maintain low energy consumption during long-term operation; at the same time, anti-interference technologies such as error correction coding are adopted to further improve the reliability of data transmission.
[0077] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0078] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. An automatic frequency selection method for a wireless data transmission device, characterized in that: The wireless data transmission device is connected to a torque sensor, and the method comprises: Step S1, acquiring an electromagnetic wave signal around the torque sensor; Step S2, judging whether electromagnetic interference occurs according to the signal strength of the electromagnetic wave signal; if so, executing step S3; Step S3, selecting a target operating frequency band according to the spectrum diagram of the electromagnetic wave signal; Step S4, switching the current working frequency band to the target working frequency band.
2. The automatic frequency selection method of a wireless data transmission device according to claim 1, characterized in that: The step S2 comprises: Step S21, performing spectrum analysis on the electromagnetic wave signal to obtain the spectrum diagram; Step S22, identifying and removing the signal strength emitted by the device itself from the spectrum diagram to obtain an electromagnetic interference spectrum diagram; Step S23, judging whether electromagnetic interference occurs according to the electromagnetic interference spectrum diagram.
3. The automatic frequency selection method of a wireless data transmission device according to claim 1, characterized in that: The step S4 comprises: Step S41, calculating the signal-to-noise ratio of different frequency bands according to the amplitude spectrum diagram of the electromagnetic wave signal; Step S42, counting the bit error rate during the statistical data transmission process; Step S43: when the signal-to-noise ratio exceeds a first preset threshold and the bit error rate exceeds a second preset threshold, the current working frequency band is switched to the target working frequency band.
4. The automatic frequency selection method of a wireless data transmission device according to claim 1, characterized in that: The step S4 comprises: Step S44, sending the target working frequency band to a wireless data receiving device; Step S45, after acquiring the response message sent by the wireless data receiving device, switching the current working frequency band to the target working frequency band.
5. The automatic frequency selection method of a wireless data transmission device according to claim 1, characterized in that: The method further comprises: Step S5, adjusting one or more parameters of wireless signal transmission power, spectrum calculation and analysis times, torque sensor access frequency and error bit retransmission times according to the remaining battery power and the current system operating conditions.
6. A wireless data transmission system, characterized in that: The system comprises a wireless data transmitting device and a wireless data receiving device, wherein the wireless data transmitting device communicates with the wireless data receiving device according to the automatic frequency selection method for a wireless data transmitting device according to any one of claims 1 to 5.
7. The wireless data transmission system according to claim 6, characterized in that: The wireless data sending device includes a wireless sending module, a spectrum analysis module and an automatic frequency selection module. The first end of the wireless sending module is connected to the torque sensor, the second end is connected to the first end of the automatic frequency selection module, and the second end of the automatic frequency selection module is connected to the spectrum analysis module.
8. The wireless data transmission system according to claim 6, characterized in that: The wireless data transmission device further comprises a storage battery, and the storage battery is connected to the third terminal of the automatic frequency selection module.
9. The wireless data transmission system according to claim 7, characterized in that: The wireless data transmission device further comprises a power management module, a first end of the power management module is connected to the battery, and a second end of the power management module is connected to the torque sensor.
10. The wireless data transmission system according to claim 6, characterized in that: The wireless data transmitting device and the wireless data receiving device are both ultra-low power consumption wireless transmitting devices with error correction functions.