A control method and system for transmitting data through sound networking
By employing a control method that transmits data via a sound network and utilizing OFDM modulation and demodulation and adaptive estimation techniques, the high cost and low flexibility of sensor data transmission in oil pipeline monitoring systems have been resolved. This approach enables low-cost, highly flexible, and easily deployable remote transmission of sensor data, thereby improving the stability and reliability of the system.
Patent Information
- Application Number
- CN202511490600.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-17
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2045-10-17
AI Technical Summary
Existing technologies in oil pipeline monitoring systems suffer from high costs, low flexibility, and insufficient communication reliability in sensor data transmission schemes. In particular, it is difficult to achieve a balance between cost control, deployment flexibility, and communication stability in complex environments.
The system employs a control method for transmitting data via a voice network. A digital signal processor performs parallel transmission and reception monitoring in a triggered state and switches to encoding or receiving states as needed to encode and decode data packets. OFDM modulation and demodulation, channel encoding and decoding, and adaptive estimation techniques are used in conjunction with a power management module to achieve efficient and reliable transmission.
It enables low-cost, highly flexible, and easy-to-deploy remote transmission of sensor data, improving the stability and reliability of the system in complex environments, avoiding the high cost and low flexibility of traditional wired deployment, and ensuring the integrity and real-time performance of data transmission.
Smart Images

Figure CN121367548B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a control method and system for transmitting data via voice networking. Background Technology
[0002] In the oilfield development and transportation sector, real-time monitoring of the operational status of oil pipelines is crucial for ensuring production safety and improving management efficiency. To achieve this, a large number of front-end sensors are typically deployed along the pipeline to collect key parameters such as pressure, temperature, and flow rate. The effective transmission and reliable reception of data from these sensors form the technological foundation of the entire monitoring system. However, in current engineering practice, sensor data transmission schemes still face numerous significant challenges.
[0003] Currently, in oil pipeline monitoring systems, the transmission of front-end sensor data mainly relies on two technical paths. The first is the traditional wired transmission method. This method requires laying dedicated communication cables along the pipeline to establish a physical connection between the sensors and the central control room. Its system structure typically includes sensor nodes, communication cables, and data receiving and processing equipment in the control room. Although wired connections can theoretically provide a stable data transmission channel, they exhibit significant limitations in practical applications. First, the procurement, laying, and long-term maintenance costs of dedicated cables are extremely high, especially when the pipeline network is extensive and traverses complex geographical environments, significantly increasing construction difficulty and timelines, resulting in a heavy initial investment and subsequent maintenance burden. Second, this method lacks flexibility. When pipelines need to be expanded due to changes in production capacity or adjusted for maintenance needs, the existing cable infrastructure cannot adapt quickly, and rewiring is cumbersome and costly, making the entire system lack necessary scalability and unable to support dynamic production management needs.
[0004] Secondly, to circumvent the drawbacks of wired deployments, the industry has also attempted to use certain dedicated wireless communication devices. While these solutions alleviate the inconvenience of wiring to some extent, they do not fundamentally solve the problem. The manufacturing cost of such wireless devices is typically high, and their communication performance is limited to specific operating frequency bands. In the complex environments common in oil pipelines, such as those with numerous metal structures or complex electromagnetic interference, radio signals are easily blocked and interfered with, leading to unstable communication links, increased data transmission error rates, and difficulty in guaranteeing reliability. Furthermore, many existing wireless solutions have bottlenecks in networking capabilities, making it difficult to support large-scale, high-density sensor node access and efficient collaborative management, thus limiting their feasibility for deployment throughout the entire pipeline.
[0005] In conclusion, neither wired transmission relying on physical cables nor existing wireless communication technologies can achieve a satisfactory balance across multiple key dimensions such as cost control, deployment flexibility, environmental adaptability, and communication reliability. Summary of the Invention
[0006] This invention provides a control method and system for transmitting data via a sound network, aiming to solve the technical problem of providing a low-cost, highly flexible, easy-to-deploy, and reliable method for remote transmission and control of front-end sensor data for oil pipeline monitoring.
[0007] In a first aspect, embodiments of the present invention provide a control method for transmitting data via a sound network, used for transmitting sensor data from an oil production pipeline, comprising:
[0008] The digital signal processor initializes the underwater acoustic communication function and enters the trigger state;
[0009] In the triggered state, transmission monitoring and reception monitoring are performed in parallel;
[0010] If the transmission monitoring detects that there is a data packet to be sent in the preset transmission queue, the system switches from the trigger state to the encoding state, encodes the data packet to be sent, converts it into an acoustic signal, and sends it to the underwater acoustic channel.
[0011] If the receiving monitoring detects a valid acoustic signal in the underwater acoustic channel through the analog trigger circuit, it switches from the trigger state to the receiving state and decodes the received acoustic signal to recover the original data.
[0012] After the task is completed in the encoding state or the receiving state, the processing resources are released and the process returns to the triggering state.
[0013] A further technical solution is that encoding the data packet to be transmitted includes: sequentially performing channel coding, symbol mapping, inverse Fourier transform to generate orthogonal frequency division multiplexing (OFDM) data blocks, adding guard intervals and training sequences, and up-conversion processing on the data packet to be transmitted.
[0014] A further technical solution is that the training sequence includes a dual time-domain training sequence preceding the OFDM data block, and a linear frequency modulated (LFM) sequence located at the head and tail of a set of OFDM data blocks.
[0015] A further technical solution is that decoding the received acoustic signal includes:
[0016] The sampled acoustic signal is sequentially down-converted, digitally filtered, downsampled, and Fourier transformed to perform OFDM demodulation, channel estimation and equalization, demapping, and channel decoding.
[0017] The channel estimation and equalization employs a symbol-based adaptive estimation technique, and multiple Turbo iterations can be performed between the equalizer and the decoder to transmit soft information.
[0018] A further technical solution is that the data packets to be sent and the decoded and recovered original data are managed through an asynchronous queue;
[0019] The data packets to be sent are placed into the sending queue by the application processor through inter-core communication;
[0020] The decoded and recovered raw data is placed into a preset receiving queue by the digital signal processor and notified to be read by the application processor through the inter-core communication.
[0021] A further technical solution is that the method further includes: measuring the distance between network nodes based on sound signals; the network nodes include a ranging initiator and a ranging responder;
[0022] The distance measurement includes: the ranging initiator sends a ranging packet and records the sending time T0; the ranging responder receives the ranging packet and records the receiving time T1; then sends a response packet at time T2; the ranging initiator receives the response packet and records the receiving time T3.
[0023] The distance between the initiator and the responder of the ranging measurement can be calculated using the formula: Distance = ((T3-T0)-(T2-T1))×Speed of Sound / 2.
[0024] A further technical solution is that the method further includes: performing time synchronization between the ranging initiator and the ranging responder based on the distance measurement results and Doppler frequency shift measurements.
[0025] A further technical solution is that the method further includes: dynamically switching power consumption modes according to system load and task scheduling;
[0026] The power consumption modes include at least: a transmission mode for transmitting sound wave signals, a listening mode for receiving sound wave signals, and a sleep mode for shutting down at least some circuits to reduce power consumption.
[0027] In a second aspect, embodiments of the present invention provide a control system for transmitting data via a sound network, used to implement the method described in the first aspect, wherein the control system for transmitting data via a sound network includes:
[0028] Application processor, running a general-purpose operating system, provides system control, network protocol stack, and external interfaces;
[0029] A digital signal processor, coupled to the application processor, runs a real-time operating system and is used to perform encoding and decoding tasks of underwater acoustic data;
[0030] An inter-core communication module is used to enable data interaction between the application processor and the digital signal processor;
[0031] The program of the digital signal processor is configured to execute a state machine that includes a trigger state, an encoding state, and a receiving state.
[0032] A further technical solution is that the digital signal processor further includes:
[0033] The signal processing algorithm module is used to perform orthogonal frequency division multiplexing (OFDM) modulation and demodulation, channel encoding and decoding, and channel estimation and equalization.
[0034] The send / receive queue management module is used to asynchronously manage data packets to be sent and received in a first-in, first-out manner;
[0035] The power management module is used to control the system to switch between transmit mode, listen mode and sleep mode.
[0036] This invention provides a control method and system for transmitting data via a sound network. The method includes: initializing the underwater acoustic communication function in a digital signal processor and entering a trigger state; in the trigger state, performing parallel transmission monitoring and reception monitoring; if the transmission monitoring detects a data packet to be transmitted in a preset transmission queue, switching from the trigger state to an encoding state, encoding the data packet to be transmitted and converting it into an acoustic signal for transmission to the underwater acoustic channel; if the reception monitoring detects a valid acoustic signal in the underwater acoustic channel through an analog trigger circuit, switching from the trigger state to a reception state, decoding the received acoustic signal to recover the original data; and after the tasks in the encoding state or the reception state are completed, releasing processing resources and returning to the trigger state. This invention effectively solves the problem of sensor data transmission in oil pipeline monitoring by constructing an ordered control flow based on a state machine. The method first enters a trigger state after the digital signal processor is initialized, in which transmission and reception monitoring are performed in parallel, ensuring that the system can maintain monitoring capabilities in two directions simultaneously. When a data packet is present in the transmission queue, the system immediately switches to encoding mode, concentrating resources to complete data encoding and acoustic signal transmission. Upon detecting a valid acoustic signal, it quickly switches to receiving mode, dedicated to signal decoding to recover the original data. After each task is completed, the system releases resources and returns to the trigger state, forming a complete work cycle. This explicit state division and orderly transition mechanism optimizes resource allocation, avoids functional conflicts and monitoring blind spots, and significantly improves the system's stability and reliability during long-term operation. The characteristics of sound networking allow this method to avoid the high cost and low flexibility of traditional wired deployments, providing a low-cost, highly flexible, easily deployable, and reliable remote transmission solution for front-end sensor data in complex oil pipeline monitoring environments. Attached Figure Description
[0037] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 A structural block diagram of a control system for transmitting data via a sound network, provided in an embodiment of the present invention;
[0039] Figure 2 A flowchart illustrating a control method for transmitting data via a voice network, provided in an embodiment of the present invention;
[0040] Figure 3 This is a schematic diagram of the frame structure for OFDM transmission provided in an embodiment of the present invention. Detailed Implementation
[0041] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0042] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0043] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0044] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0045] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if [the described condition or event] is detected" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once [the described condition or event] is detected," or "in response to detection of [the described condition or event]."
[0046] Please see Figure 1 This invention provides a control system for transmitting data via a sound network, used to execute the control method for transmitting data via a sound network proposed in this invention. The control system for transmitting data via a sound network includes:
[0047] The application processor 10 (ARM) runs a general-purpose operating system and provides system control, network protocol stack, and external interfaces.
[0048] A digital signal processor 20 (DSP), coupled to the application processor, runs a real-time operating system and is used to perform encoding and decoding tasks of underwater acoustic data.
[0049] The inter-core communication module 30 is used to realize data interaction between the application processor and the digital signal processor.
[0050] The program of the digital signal processor is configured to execute a state machine that includes a trigger state, an encoding state, and a receiving state.
[0051] In practice, the core of the system lies in setting up two processing units with different strengths: an application processor and a digital signal processor, which are efficiently interconnected by an inter-core communication module.
[0052] Application processors run general-purpose operating systems (such as Linux) and excel at handling complex network protocol stacks, user interfaces, and system scheduling, among other non-real-time tasks. As the "brain" and "diplomat" of the system, they are responsible for high-level decision-making and external interactions.
[0053] Furthermore, the digital signal processor runs a real-time operating system (such as TI SYS / BIOS), specializing in multiply-accumulate operations and signal processing. As the system's "professional translator," it is specifically responsible for high-real-time, computationally intensive encoding and decoding operations on underwater acoustic data. This division of labor allows both processors to leverage their strengths and avoid their weaknesses, focusing on their respective areas of expertise, thereby maximizing overall performance.
[0054] Furthermore, the program in the digital signal processor is configured to execute a state machine that includes triggering, encoding, and receiving states. This provides a deterministic and predictable execution framework for the entire core process of underwater acoustic communication, ensuring that the system behavior remains orderly and stable even under complex asynchronous event-driven conditions.
[0055] Furthermore, the digital signal processor and the application processor employ an inter-process communication mechanism for inter-core data transfer. To simplify this data transfer process, the system encapsulates a unified user-space I / O interface (UIO interface) above the underlying inter-core communication interface. This UIO interface adopts a symmetrical architecture design, meaning that identical interface code is deployed on both the digital signal processor and application processor sides, forming mutually symmetrical communication endpoints.
[0056] The UIO interface supports full-duplex communication, allowing data transmission and reception to occur simultaneously. To achieve this parallel processing capability, two independent tasks are created on the digital signal processor side: one dedicated to data packet transmission and the other to data packet reception. Correspondingly, two independent threads are also created on the application processor side, each responsible for data packet transmission and reception respectively.
[0057] Based on the symmetrical nature of the UIO interface, when the digital signal processor (DSP) calls the send function, the corresponding receive function on the application processor side will synchronously acquire the data packet; similarly, when the application processor calls the send function, the corresponding receive function on the DSP side will also synchronously acquire the data packet. This symmetrical design ensures the high efficiency and reliability of inter-core data transmission, providing a unified and simplified data interaction channel for dual-core systems.
[0058] Furthermore, the digital signal processor also includes:
[0059] The signal processing algorithm module is used to perform orthogonal frequency division multiplexing (OFDM) modulation and demodulation, channel encoding and decoding, and channel estimation and equalization.
[0060] The send / receive queue management module is used to asynchronously manage data packets to be sent and received in a first-in, first-out manner;
[0061] The power management module is used to control the system to switch between transmit mode, listen mode and sleep mode.
[0062] In practice, the signal processing algorithm module encapsulates all the underlying algorithms such as OFDM modulation and demodulation, channel encoding and decoding, channel estimation and equalization together. This allows algorithm optimization and upgrades to be carried out within this module without modifying other parts of the system.
[0063] Furthermore, the send / receive queue management module is specifically responsible for managing the data flow in a first-in, first-out manner. As a "buffer hub" in the data pipeline, it effectively decouples the problem of processing speed mismatch and ensures the smooth and orderly flow of data between the two cores, which greatly enhances the stability and throughput of the system.
[0064] Furthermore, the power management module centrally controls the system's switching strategies and hardware control under different power consumption modes. Like an "energy manager," it precisely controls the power supply status of each functional unit according to the system's task scheduling, acting as the executor for achieving low power consumption. These three modules, each with its own function, work together to form the cornerstone of the powerful capabilities of the digital signal processor.
[0065] Furthermore, the control system for transmitting data via voice networking also includes a file transfer module, which transfers files between the application processor and the digital signal processor based on the YModem protocol.
[0066] In practice, during the development and maintenance of underwater acoustic communication equipment, it is often necessary to transfer non-real-time but large-volume files between the application processor and the digital signal processor. These files may include raw waveform records of received signals for post-analysis, specific acoustic waveform files for direct playback, or updated images of digital signal processor programs.
[0067] As a mature file transfer protocol, YModem offers advantages over simple byte stream transmission, including standardized packet structure, support for 1024-byte packets, and checksum and retransmission mechanisms. Integrating this module enables the system to reliably and efficiently transfer complete files, effectively preventing file corruption due to data errors or loss during transmission. For example, during debugging, engineers can use this module to upload suspicious signal waveforms acquired by the digital signal processor to the application processor, and then export them over the network for analysis. This is crucial for locating and resolving complex channel interference issues. Furthermore, when upgrading or repairing the digital signal processor firmware, new firmware files can be remotely downloaded from the application processor and then securely and reliably distributed to the digital signal processor using this file transfer module, enabling remote online updates. This eliminates the tedious process of unpacking and plugging in components, significantly reducing equipment maintenance costs and time. This module adds an important dimension of non-real-time big data interaction to the system, enhancing its overall functionality and usability.
[0068] The YModem protocol transmission process involves many communication signals, and their values and meanings are shown in Table 1 below:
[0069] symbol numerical values meaning SOH 0x01 128-byte data packet STX 0x02 1024-byte data packet EOT 0x04 End transmission ACK 0x06 Response NAK 0x15 No response CA 0x18 Transmission interrupted C 0x43 Request data packet
[0070] Table 1. Meaning of Ymodem command bytes
[0071] Furthermore, the digital signal processor is connected to an external SD memory card for storing received acoustic waveform files during system debugging, or for pre-storing waveform files to be sent directly. To provide structured management of files and directories on the SD card, the system includes a file system module.
[0072] This file system module is implemented based on the FAT32 specification. Its function is to translate high-level operations on files and folders into operations on the physical block addresses of the SD card storage medium. The SD card driver itself only provides block-level read, write, and erase interfaces based on physical sectors, while the file system module builds logical file management functions that conform to the FAT32 standard on top of this.
[0073] The logical structure of the FAT32 file system includes several key data structures, the core of which are the file allocation table and directory entries. The file allocation table records the cluster chain allocation of file data in the storage space. The data content of each file or directory is stored in contiguous or non-contiguous space consisting of one or more clusters. If a file or directory occupies more than one cluster, the file allocation table indicates the position of its next cluster through a linked list structure, while also marking the allocation status and bad cluster information of each cluster. Directory entries describe the metadata of files or directories. The FAT32 file system allocates one directory entry for each file or directory, which records key information including name, size, attributes, creation time, and the starting cluster number of the file content.
[0074] The file system's own metadata is recorded in the boot sector, located in logical sector 0 of the storage device; this sector is also known as the DOS boot record. The boot sector stores key parameters such as the file system's starting position, total capacity, number and size of the file allocation table, and number of sectors per cluster. In the FAT32 file system's address management mechanism, both sector addresses and cluster addresses are used. Within the file system management area, system areas such as the boot sector, file allocation table area, and root directory area are typically managed using sector addresses; while the actual data content of user files and directories is stored in the data area, which is allocated and managed in units of clusters.
[0075] Based on the aforementioned FAT32 specification, the file system module implements a series of file and directory operation functions, including but not limited to: mounting and unmounting storage devices, formatting devices, modifying file or directory access permissions, renaming files or directories, and obtaining file status information; it supports opening, closing, reading, and writing files, locating data within files, and synchronizing read and write operations; and it supports reading, creating, and deleting directories.
[0076] Please see Figure 2 This invention provides a control method for transmitting data via a sound network. This method is used to transmit sensor data from an oil production pipeline. The method is applied to the aforementioned system and includes the following steps:
[0077] S1: The digital signal processor initializes the underwater acoustic communication function and enters the trigger state.
[0078] In practice, at startup, the underwater acoustic communication function is initialized in the digital signal processor and enters the trigger state, establishing a stable and repeatable starting point for the entire communication process. This ensures that the system is in a known and definite state each time it starts up, laying the foundation for reliable communication behavior in the future.
[0079] S2: In the triggered state, transmit monitoring and receive monitoring are performed in parallel.
[0080] In practice, when the system is in a triggered state, it performs both transmit and receive monitoring in parallel, greatly improving resource utilization efficiency and system responsiveness. This parallel monitoring mechanism eliminates the need for the system to make a binary choice between transmit and receive functions, allowing it to maintain monitoring capabilities in both directions simultaneously. This design effectively avoids monitoring blind spots caused by function switching in traditional systems, ensuring that the system can promptly capture rapidly changing communication opportunities in the underwater acoustic channel, creating the necessary conditions for maintaining a stable communication link in complex underwater acoustic environments.
[0081] S3: If the transmission monitoring detects that there is a data packet to be sent in the preset transmission queue, the system switches from the trigger state to the encoding state, encodes the data packet to be sent, and converts it into an acoustic signal to be sent to the underwater acoustic channel.
[0082] In practice, if the monitoring detects data packets (specifically sensor data) to be sent in the preset transmission queue, the system can immediately switch from the trigger state to a dedicated encoding state, achieving optimized resource allocation and focused task execution. Once in encoding mode, the digital signal processor encodes the data packets and converts them into acoustic signals. This focus ensures the quality and efficiency of signal generation. Simultaneously, the encoded acoustic signal is transmitted to the underwater acoustic channel to the preset receiving target, avoiding problems such as incomplete data transmission or timing errors caused by resource contention.
[0083] In some preferred embodiments, the above step "encoding the data packet to be sent" specifically includes the following steps: sequentially performing channel coding, symbol mapping, inverse Fourier transform to generate orthogonal frequency division multiplexing (OFDM) data blocks, adding guard intervals and training sequences, and up-conversion processing on the data packet to be sent.
[0084] In practice, the first step is to perform channel coding on the data packets to be transmitted. This step involves systematically adding redundant parity bits to the original data bitstream to construct encoded data blocks with forward error correction capabilities. The purpose is that when the signal encounters noise, interference, or fading during transmission through the underwater acoustic channel, causing partial data errors, the receiver can utilize this redundant information to detect and correct the errors, thereby improving the reliability of data transmission. A typical implementation method is to use a low-density parity-check code encoding algorithm.
[0085] Further, the channel-coded data blocks undergo symbol mapping. This process maps the encoded binary bit sequence into modulation symbols in the complex domain according to a predetermined modulation format. Specifically, every certain number of bits is mapped to a complex symbol with a specific amplitude and phase; for example, using a quadrature amplitude modulation scheme, the bit sequence is mapped to corresponding constellation points. This step converts the digital bit stream into a symbol sequence representing the transmitted waveform, preparing it for subsequent frequency domain modulation.
[0086] Furthermore, the parallel symbol sequence obtained after symbol mapping undergoes inverse Fourier transform to generate an orthogonal frequency division multiplexing (OFDM) data block. Specifically, the complex symbols are allocated to multiple orthogonal subcarriers, and by performing an inverse fast Fourier transform operation, the set of subcarrier symbols in the frequency domain is transformed into a composite OFDM data block in the time domain. This operation converts the high-speed serial data stream into multiple parallel low-speed subcarrier transmissions, thereby effectively extending the duration of each symbol and enhancing the system's ability to resist inter-symbol interference caused by multipath effects in underwater acoustic channels. Specifically, in the embodiments of the present invention, see... Figure 3 The OFDM frame structure includes a detection preamble and a synchronization preamble, followed by an OFDM data block.
[0087] Furthermore, guard intervals and training sequences are added. A specific sequence called the guard interval is inserted before the generated OFDM data block. This guard interval is typically constructed by copying a portion of the samples from the tail of the OFDM data block and placing it at the front, forming a cyclic prefix. This cyclic prefix absorbs the multipath delay spread of the channel, ensuring that the orthogonality between subcarriers is maintained during demodulation. Simultaneously, known training sequences are inserted at specific locations within the guard interval and / or a set of OFDM data blocks. These training sequences include, but are not limited to, dual-time-domain training sequences for accurate time synchronization and channel estimation, and linear frequency modulation sequences for signal detection and Doppler estimation. These sequences provide the receiver with the necessary reference base for signal detection, synchronization, channel estimation, and equalization.
[0088] Further, up-conversion processing is performed. The baseband digital signal obtained from the above steps is used by a digital up-converter to shift its spectrum to the acoustic passband frequency range specified in the underwater acoustic communication system design. Specifically, the baseband complex signal is multiplied by a carrier complex exponential signal, thereby shifting the signal's spectral center from zero frequency to the target carrier frequency. Subsequently, this passband digital signal is converted into an analog signal by a digital-to-analog converter, and after power amplification, it is converted into a physical acoustic signal by a transducer and radiated into the underwater acoustic channel.
[0089] Through the above-described sequential signal processing steps, the data packet to be sent is systematically constructed into a robust physical waveform with strong anti-interference capability, high spectral efficiency, and suitability for transmission in complex underwater acoustic channels.
[0090] In some preferred embodiments, the training sequence includes a dual time-domain training sequence preceding the OFDM data block, and a linear frequency modulated (LFM) sequence located at the head and tail of a set of OFDM data blocks.
[0091] In practice, a combination of dual-time-domain training sequences and grouped linear frequency modulation (LFM) sequences is employed. This design provides synergistically enhanced synchronization, channel estimation, and time-varying resilience. The dual-time-domain training sequences preceding each OFDM data block serve not only as a guard interval but also as a cyclic prefix for the second sequence. This allows the second sequence to maintain its waveform structure even under harsh multipath channel conditions, enabling the receiver to perform accurate channel impulse response estimation. Accurate channel estimation is a prerequisite for subsequent effective equalization and distortion reduction.
[0092] Furthermore, inserting linear frequency modulated (LFM) sequences at the beginning and end of a set of OFDM data blocks endows the received signal with powerful time positioning and Doppler shift estimation capabilities. Because the LFM signal's frequency changes linearly with time, it possesses sharp autocorrelation characteristics similar to radar pulse compression. By performing cross-correlation calculations with this known LFM sequence, the receiver can determine the start and end times of the data group with extremely high precision. This accurate duration estimation is crucial for compensating for the signal time axis stretching (i.e., the Doppler effect) caused by the relative motion of the transceiver platforms.
[0093] In this embodiment, the combined use of these two training sequences addresses the challenges of time-varying and multipath underwater acoustic channels from both the "micro" (channel estimation of a single data block) and "macro" (time scale estimation of the entire data set) levels, significantly improving the system's synchronization accuracy and overall demodulation performance in dynamic underwater acoustic environments.
[0094] S4: If the receiving monitoring detects a valid acoustic signal in the underwater acoustic channel through the analog trigger circuit, it switches from the trigger state to the receiving state and decodes the received acoustic signal to recover the original data.
[0095] In practical implementation, if the receiving monitoring detects a valid acoustic signal (specifically sensor data) in the underwater acoustic channel through the analog trigger circuit, the system can quickly switch from the trigger state to the receiving state. This fully utilizes the efficiency and real-time nature of hardware triggering, ensuring that the system can respond promptly to the fleeting valid signal in the underwater acoustic channel. The time-varying characteristics of the underwater acoustic channel mean that the signal transmission window is often fleeting. This rapid state switching based on hardware triggering can capture valid signals to the maximum extent, creating prerequisites for subsequent signal decoding. After entering the receiving state, the system focuses on decoding the received acoustic signal to recover the original data. This specialized processing ensures the accuracy and integrity of the signal decoding.
[0096] In some preferred embodiments, the above step "decoding the received acoustic signal" specifically includes the following steps: performing down-conversion, digital filtering, downsampling, and Fourier transform on the sampled acoustic signal in sequence to perform OFDM demodulation, channel estimation and equalization, demapping, and channel decoding; wherein the channel estimation and equalization adopts symbol-based adaptive estimation technology, and multiple Turbo iterations can be performed between the equalizer and the decoder to transmit soft information.
[0097] In practice, firstly, the passband digital signal acquired by the analog-to-digital converter at a specific sampling rate is down-converted. Then, the received passband signal is multiplied by a locally generated complex exponential signal whose frequency corresponds to the transmitter carrier frequency, shifting the signal's spectrum from the target passband back to the baseband to obtain a complex baseband signal for subsequent low-pass filtering and baseband signal processing.
[0098] Furthermore, the complex baseband signal obtained after downconversion undergoes digital filtering and downsampling. This process utilizes a digital low-pass filter to remove high-frequency components, out-of-band noise, and interference generated during mixing, preserving the useful signal frequency band. Subsequently, the filtered signal is downsampled, i.e., the signal data rate is reduced according to a predetermined decimation factor. This step significantly reduces the computational load and data throughput pressure of subsequent signal processing modules while ensuring that the signal information is preserved without distortion.
[0099] Furthermore, a Fourier transform is performed on the downsampled time-domain baseband signal block for OFDM demodulation. Specifically, a Fast Fourier Transform is performed on each valid OFDM symbol block after removing the guard interval, transforming the time-domain signal back to the frequency domain and recovering the frequency-domain symbols carried on each orthogonal subcarrier. This step achieves the demodulation of the OFDM signal, decomposing the composite time-domain waveform into a parallel subcarrier symbol stream.
[0100] Further, channel estimation and equalization are performed. This step further includes two cooperating sub-processes:
[0101] Channel estimation: Using known training sequences embedded in the signal (such as the dual-time-domain training sequences described above), the frequency response characteristics of the underwater acoustic channel are tracked and estimated in real time through symbol-based adaptive estimation techniques. A preferred implementation employs an improved proportionally normalized least mean square algorithm. This algorithm introduces proportional step sizes for different taps of the channel impulse response, making it particularly suitable for utilizing the sparsity characteristics of the underwater acoustic channel, thereby accelerating convergence and improving estimation accuracy.
[0102] Equalization: Using the frequency response results obtained from the channel estimation above, distortion compensation is performed on the frequency domain symbols obtained after OFDM demodulation. A typical implementation uses a minimum mean square error equalizer to suppress amplitude fading and phase rotation introduced by the channel and correct for inter-carrier interference.
[0103] Furthermore, the equalized frequency domain symbols are demapped. This process, based on the symbol mapping rules used by the transmitter (such as a QAM constellation diagram), converts each complex symbol decision or soft decision into corresponding binary bit likelihood information. Specifically, it calculates the posterior probability or log-likelihood ratio for each bit being 0 or 1, providing soft input information for subsequent channel decoding.
[0104] Further, channel decoding is performed. This step, as the inverse of channel coding, utilizes the redundant check bit relationships introduced at the transmitter to perform error correction decoding on the demapped binary bitstream or soft information sequence. When using the Turbo iteration mechanism, the decoding process manifests as an iterative loop:
[0105] The channel decoder decodes the soft information from the demapper and outputs more reliable, error-corrected soft information. This soft information is interleaved and fed back to the equalizer as prior information to guide the next round of equalization and symbol detection. The equalizer uses this prior information to generate updated and more accurate symbol soft information, which is then de-interleaved and sent back to the channel decoder. This Turbo iterative process is performed multiple times between the equalizer and the decoder. Through the cyclical transmission and gradual refinement of soft information, the accuracy of signal detection and decoding is continuously improved, thereby achieving an extremely low bit error rate under harsh underwater acoustic channel conditions.
[0106] Through the above sequential and iterative signal processing steps, the system can recover the original transmitted data from the severely contaminated received acoustic signal with a high probability.
[0107] In some preferred embodiments, the channel estimation employs an improved proportionally normalized least mean square (IPNLMS) algorithm.
[0108] In practice, channel estimation is concretized into an improved proportionally normalized least mean square (IPNLMS) algorithm. This choice brings accurate estimation results and faster convergence speed for the unique properties of underwater acoustic channels. Specifically, an important characteristic of underwater acoustic channels is that their impulse response is often sparsity, that is, most of the energy is concentrated on a few main propagation paths, while the responses of other paths are very weak or even zero.
[0109] Traditional LMS algorithms update all taps with the same step size, failing to utilize this sparsity. The improvement of IPNLMS lies in its introduction of a scaling factor, which adaptively adjusts the update step size based on the absolute value of each tap (path) estimate. For critical paths with high energy, a larger step size is assigned to accelerate convergence; for non-critical paths with low or zero energy, a very small step size is assigned, or even their updates are suppressed.
[0110] This "differentiated treatment" strategy allows the algorithm's convergence energy to be focused on capturing the truly important channel components, resulting in more accurate and clearer channel estimation results than traditional algorithms with the same number of iterations. More accurate channel estimation directly means that the equalizer can more perfectly compensate for channel distortion, leading to a significant improvement in overall reception performance for the entire system, especially when combined with Turbo iteration. It also improves algorithm efficiency and saves computational resources on the digital signal processor.
[0111] S5: After the task in the encoding state or the receiving state is completed, release the processing resources and return to the triggering state.
[0112] In practice, after a task is completed in either the encoding or receiving state, the system releases processing resources and returns to the trigger state, completing a full work cycle and achieving effective management and recycling of system resources. By regularly releasing processing resources that are no longer needed, the system avoids the accumulation of problems such as memory leaks or resource fragmentation, which is particularly important for oil pipeline monitoring systems that require long-term continuous operation. Returning to a unified trigger state provides a clean initial environment for processing the next communication task. Whether it is a new sending or receiving task, it can begin processing under the same baseline conditions. This consistency greatly enhances the predictability and reliability of system behavior.
[0113] This invention establishes a highly structured and self-sustaining workflow for underwater acoustic communication systems through explicit state division and orderly state transitions. The transition logic between each state is clear and covers all possible communication scenarios, enabling the system to rationally handle the competition between sending and receiving tasks, avoiding resource conflicts and deadlocks. This orderliness not only improves the success rate of individual communication events, but more importantly, ensures the stability and reliability of the system during long-term operation.
[0114] This invention, through the organic combination of the above-mentioned technical steps, forms a complete underwater acoustic data transmission and control scheme. This scheme can significantly improve the reliability of sensor data transmission in oil pipeline monitoring systems. Furthermore, due to its sound-based networking characteristics, it avoids the high cost and low flexibility issues of traditional wired deployments. It provides an effective technical approach for achieving low-cost, highly flexible, easy-to-deploy, and reliable remote transmission and control of front-end sensor data in complex environments. The advantages of this method are not only reflected in the working efficiency of individual devices, but also in laying a solid technical foundation for building large-scale, highly reliable underwater acoustic sensor networks.
[0115] In some preferred embodiments, the data packets to be sent and the decoded and recovered raw data are managed through an asynchronous queue; wherein, the data packets to be sent are placed into the sending queue by the application processor via inter-core communication; the decoded and recovered raw data are placed into a preset receiving queue by the digital signal processor, and the application processor is notified to read the data via the inter-core communication.
[0116] In practice, the asynchronous queue management mechanism cleverly solves the speed mismatch and resource competition problems between high-speed and low-speed devices and different processing units in the underwater acoustic communication system by introducing a data buffer and decoupling layer, thereby ensuring the smoothness of the system and the integrity of the data.
[0117] Specifically, as a general-purpose computing unit, the application processor generates or receives network data packets at a relatively high rate and may experience bursts, while the underwater acoustic encoding / decoding and transmission via physical channels performed by the digital signal processor are relatively slow. Without a send queue, the application processor's send request might be blocked or dropped because the digital signal processor is busy processing the previous packet or is in a receiving state. The existence of a send queue allows the application processor to add data packets to be sent to the queue at any time via inter-core communication and return immediately without waiting for the actual transmission to complete, thus achieving asynchronous transmission tasks and freeing up the application processor's performance.
[0118] Similarly, the receive queue provides a temporary storage area for the data packets demodulated instantaneously by the digital signal processor (DSP), allowing them to be quickly stored in the queue and ready to process the next signal without waiting for a timely response from the application processor. The application processor, on the other hand, can leisurely read data from the receive queue within its scheduling cycle. This decoupling of production and consumption effectively smooths the data flow, prevents high-speed inputs from impacting low-speed inputs, and avoids idle processing units or data loss due to inter-core communication waiting. This allows the DSP to focus on real-time signal processing, while the application processor can focus on network and control. The two work collaboratively without blocking each other, greatly improving the overall system efficiency and stability.
[0119] In some preferred embodiments, the method further includes: measuring the distance between network nodes based on sound signals. It is understood that the network nodes are all equipped with the control system for transmitting data through sound networking proposed in this embodiment of the invention; the network nodes include a ranging initiator and a ranging responder; the distance measurement includes: the ranging initiator sending a ranging packet and recording the sending time T0, the ranging responder receiving the ranging packet and recording the receiving time T1, and then sending a response packet at time T2, the ranging initiator receiving the response packet and recording the receiving time T3; the distance between the ranging initiator and the ranging responder is calculated according to the formula: distance = ((T3-T0)-(T2-T1))×speed of sound / 2.
[0120] In practice, the sound signal-based ranging method effectively eliminates the errors caused by internal processing delays during the ranging process through a sophisticated two-way timestamp exchange mechanism, thereby achieving high-precision distance measurement.
[0121] Specifically, the initiating party is required to record not only the time T0 when it sends the ranging packet and the time T3 when it receives the response packet, but more importantly, the responding party also needs to record the time T1 when it receives the ranging packet and the time T2 when it sends the response packet. In the final distance calculation formula "Distance = ((T3-T0)-(T2-T1))×Speed of Sound / 2", "(T3-T0)" represents the total time of the signal's entire round-trip journey. This total time includes not only the actual delay of sound propagation in the medium but also the processing delay within the responding party's equipment (i.e., T2-T1). By subtracting the processing delay "(T2-T1)" from the total time, the formula cleverly eliminates errors introduced by non-propagation factors. This ensures that the final measurement result purely reflects the time taken for the sound signal to propagate between the two parties in the ranging process.
[0122] For example, even if the responder's processing speed slows down due to excessive load, the processing latency is accurately deducted, without affecting the final ranging accuracy. This method reduces the stringent requirements for the real-time response performance of devices, enabling ranging accuracy comparable to high-end devices even on nodes using low-cost processors, providing a reliable spatial location information foundation for the entire network.
[0123] In some preferred embodiments, the method further includes: performing time synchronization between the ranging initiator and the ranging responder based on the results of the distance measurement and the Doppler frequency shift measurement.
[0124] In practice, traditional clock synchronization algorithms often assume that nodes are stationary or only consider a fixed propagation delay. However, in underwater environments, it is common for nodes to drift with the water flow or move autonomously. This relative motion not only causes dynamic changes in propagation delay but also causes a shift in the frequency of the received signal due to the Doppler effect.
[0125] The core of this embodiment lies in recognizing that the sum of round-trip propagation delays is a function of the combined effects of clock skew and relative motion. High-precision distance measurement provides accurate information on the propagation path length, while Doppler shift measurement can accurately calculate the relative radial velocity between nodes. By multiplying the relative velocity by time, the additional path change caused by relative motion during signal interaction can be calculated. Converting this path change into a delay correction allows the effects of motion to be separated from the total measured time difference, thus accurately calculating the pure clock skew. This dynamic compensation mechanism enables the time synchronization process to adapt to node mobility, avoiding the accumulation of synchronization errors caused by motion. This provides a unified, stable, and accurate time reference for the entire sound network, which is crucial for distributed monitoring applications requiring collaborative sampling, time-division multiple access, or data fusion.
[0126] Specifically, the specific implementation methods of the above time synchronization include:
[0127] First, based on the data obtained from the aforementioned distance measurement process, the one-way propagation delay of the signal between the ranging initiator and the ranging responder is calculated. Specifically, the calculated distance value is divided by the speed of sound in the underwater acoustic channel to derive the theoretical one-way signal propagation time.
[0128] Furthermore, during the distance measurement process, a Doppler frequency shift measurement is performed by conducting spectral analysis on the response packet or a specific synchronization signal. This Doppler frequency shift measurement calculates the frequency difference between the center frequency of the received signal and the original center frequency of the transmitted signal; this difference is the Doppler frequency shift. Subsequently, based on this Doppler frequency shift value, the relative radial velocity of the ranging initiator and the ranging responder in the direction of the signal propagation path is calculated using the Doppler effect formula.
[0129] Furthermore, the relative radial velocity is used to dynamically correct the one-way propagation delay. Since the relative motion between nodes causes the actual propagation path length to continuously change throughout the entire signal interaction period, the initially calculated propagation delay based on a fixed distance contains errors. By multiplying the relative radial velocity by a specific time segment during the signal interaction, the additional path length change caused by relative motion within that time segment is estimated, and this path length change is converted into a corresponding propagation delay change. This delay change is used to compensate for the initial one-way propagation delay, resulting in a more accurate corrected propagation delay that reflects the node motion state.
[0130] Furthermore, based on the corrected propagation delay and the timestamps recorded during the distance measurement process, the clock deviation between the ranging initiator and the ranging responder is calculated. Specifically, by establishing a system of equations including the corrected propagation delay, the timestamps, and the clock deviation to be solved, the deviation value of the ranging initiator's clock relative to the ranging responder's clock is obtained.
[0131] Finally, the ranging initiator and / or the ranging responder adjust the phase and frequency of their local clocks based on the calculated clock deviation to achieve time-scale alignment. This adjustment process can be completed in one step, or it can be used as an input to a closed-loop control system, iteratively reducing and ultimately eliminating time synchronization errors by repeatedly executing the ranging, Doppler measurement, and clock deviation calculation steps. This allows for the achievement and maintenance of high-precision time synchronization even when network nodes are in relative motion.
[0132] In some preferred embodiments, the method further includes: dynamically switching power consumption modes according to system load and task scheduling; the power consumption modes include at least: a transmission mode for transmitting sound wave signals, a listening mode for receiving sound wave signals, and a sleep mode for shutting down at least some circuits to reduce power consumption.
[0133] In practical implementation, by defining multiple differentiated energy consumption levels for the system and enabling it to intelligently switch according to actual task requirements, the continuous working time of the equipment in the field or in environments without stable power supply is greatly extended while ensuring communication functionality. The system defines at least three modes: transmit, listen, and sleep. In transmit mode, high-power circuits such as power amplifiers are activated to maximize signal transmission power and communication distance. In listen mode, where transmission is not required but network connectivity must be maintained, the system can shut down unnecessary high-power units such as power amplifiers, maintaining only the receiving circuit. Power consumption is significantly reduced, but the equipment can still respond to network calls at any time. When there is no communication task for an extended period, the system can enter a deeper sleep mode. In this mode, most peripherals and even core circuits of the digital signal processor and application processor can be shut down or clock-gated, retaining only the most basic analog trigger circuit and memory refresh function, reducing power consumption to an extremely low level. Once the analog trigger circuit detects a valid wake-up signal (such as a specific acoustic preamble), the system can be quickly woken up to full-function operation. This on-demand power supply strategy avoids continuous energy waste, and makes the working life of the equipment no longer limited by peak power consumption, but determined by its average power consumption and total battery capacity. This is of great practical significance for sensor networks deployed in remote oil pipelines that need to be monitored continuously for years or even longer.
[0134] In practice, the above-mentioned dynamic switching power consumption mode is implemented as follows:
[0135] The system predefines at least three power consumption modes: transmit mode, listen mode, and sleep mode. During system operation, a central power management module dynamically determines and executes the switching between modes based on a predetermined task scheduling strategy and real-time system load conditions.
[0136] Furthermore, when it is determined that a data packet to be sent needs to be transmitted via the underwater acoustic channel, the power management module controls the system to switch from the current mode to the transmission mode. In this mode, the module performs at least the following operations: activating the power amplifier chip's power supply circuit to provide the necessary operating bias voltage and current to ensure that the acoustic signal can radiate with sufficient power; simultaneously, maintaining the normal operating voltage and clock frequency of the digital signal processor, application processor, and all peripheral circuits related to signal generation and transmission, thereby ensuring the complete execution of encoding and signal modulation tasks.
[0137] When the system has no immediate transmission task but needs to maintain continuous listening capability to the underwater acoustic channel, the power management module controls the system to enter a listening mode. In this mode, the module performs at least the following operations: shutting down the power amplifier chip's power supply circuit to eliminate its static power consumption; and simultaneously maintaining the analog trigger circuit, signal receiving link, digital signal processor core, and related modules in the application processor responsible for receiving and processing tasks in normal working order. This configuration enables the system to continuously detect the presence of valid synchronization preambles or data packets in the underwater acoustic channel and prepare for subsequent reception status processing procedures that may be triggered.
[0138] When the system detects no transmission tasks or underwater acoustic triggering events within a predetermined time period, the power management module controls the system to enter sleep mode. In this mode, deeper power control operations are performed, including at least: shutting down the power and clock signals of non-essential peripherals in the digital signal processor and application processor; completely saving the current operating state and register contents of the digital signal processor and application processor to low-power self-refreshing memory; and subsequently placing the main functional units of the system into a standby state that maintains minimal power supply. At this time, only the analog trigger circuit, the interrupt controller for responding to wake-up events, and the basic circuitry for maintaining memory data remain active in the entire system. When the analog trigger circuit detects an underwater acoustic signal that matches preset characteristics, it generates a hardware interrupt signal, which triggers the system to resume from sleep mode. The power management module then re-enables the shut-down power and clock domains and restores the processor's previous state from the self-refreshing memory, allowing the system to quickly return to the monitoring mode or directly enter the receiving state, thereby achieving a balance between power saving and rapid response capability.
[0139] The switching of the power consumption mode is a closed-loop dynamic process. The power consumption management module continuously monitors the system task queue, event trigger status, and timer timeout signal. Based on these input parameters and according to the built-in state transition logic, it automatically and seamlessly migrates between different power consumption modes, thereby minimizing the overall system energy consumption while ensuring the real-time performance of communication functions.
[0140] This invention proposes a control method for transmitting data via a sound network, comprising: initializing the underwater acoustic communication function in a digital signal processor and entering a trigger state; in the trigger state, performing transmission monitoring and reception monitoring in parallel; if the transmission monitoring detects a data packet to be transmitted in a preset transmission queue, switching from the trigger state to an encoding state, encoding the data packet to be transmitted and converting it into an acoustic signal for transmission to the underwater acoustic channel; if the reception monitoring detects a valid acoustic signal in the underwater acoustic channel through an analog trigger circuit, switching from the trigger state to a reception state, decoding the received acoustic signal to recover the original data; after the task in the encoding state or the reception state is completed, releasing processing resources and returning to the trigger state. This invention effectively solves the problem of sensor data transmission in oil pipeline monitoring by constructing an ordered control flow based on a state machine. The method first enters a trigger state after the digital signal processor is initialized, in which transmission and reception monitoring are performed in parallel, ensuring that the system can maintain monitoring capabilities in two directions simultaneously. When a data packet is present in the transmission queue, the system immediately switches to encoding mode, concentrating resources to complete data encoding and acoustic signal transmission. Upon detecting a valid acoustic signal, it quickly switches to receiving mode, dedicated to signal decoding to recover the original data. After each task is completed, the system releases resources and returns to the trigger state, forming a complete work cycle. This explicit state division and orderly transition mechanism optimizes resource allocation, avoids functional conflicts and monitoring blind spots, and significantly improves the system's stability and reliability during long-term operation. The characteristics of sound networking allow this method to avoid the high cost and low flexibility of traditional wired deployments, providing a low-cost, highly flexible, easily deployable, and reliable remote transmission solution for front-end sensor data in complex oil pipeline monitoring environments.
[0141] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0142] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0143] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0144] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0145] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0146] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Since these modifications and variations fall within the scope of the claims and their equivalents, this invention also intends to include these modifications and variations.
[0147] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A control method for transmitting data via a voice network, characterized in that, Sensor data used to transmit oil production pipeline data includes: The digital signal processor initializes the underwater acoustic communication function and enters the trigger state; In the triggered state, transmission monitoring and reception monitoring are performed in parallel; If the transmission monitoring detects that there is a data packet to be sent in the preset transmission queue, the system switches from the trigger state to the encoding state, encodes the data packet to be sent, converts it into an acoustic signal, and sends it to the underwater acoustic channel. If the receiving monitoring detects a valid acoustic signal in the underwater acoustic channel through the analog trigger circuit, it switches from the trigger state to the receiving state and decodes the received acoustic signal to recover the original data. After the task in the encoding state or the receiving state is completed, the processing resources are released and the process returns to the triggering state; The data packets to be sent and the original data recovered from decoding are managed through an asynchronous queue; The data packets to be sent are placed into the sending queue by the application processor through inter-core communication; The decoded and recovered raw data is placed into a preset receiving queue by the digital signal processor and notified to be read by the application processor through the inter-core communication; The method further includes: dynamically switching power consumption modes based on system load and task scheduling; The power consumption modes include at least: a transmission mode for transmitting sound wave signals, a listening mode for receiving sound wave signals, and a sleep mode for shutting down at least some circuits to reduce power consumption.
2. The control method for transmitting data via voice networking according to claim 1, characterized in that, The encoding of the data packet to be transmitted includes: sequentially performing channel coding, symbol mapping, inverse Fourier transform to generate an orthogonal frequency division multiplexing (OFDM) data block, adding a guard interval and training sequence, and up-conversion processing on the data packet to be transmitted.
3. The control method for transmitting data via voice networking according to claim 2, characterized in that, The training sequence includes a dual time-domain training sequence preceding the OFDM data block, and a linear frequency modulated (LFM) sequence located at the head and tail of a set of OFDM data blocks.
4. The control method for transmitting data via voice networking according to claim 1, characterized in that, Decoding the received acoustic signal includes: The sampled acoustic signal is sequentially down-converted, digitally filtered, downsampled, and Fourier transformed to perform OFDM demodulation, channel estimation and equalization, demapping, and channel decoding. The channel estimation and equalization employs a symbol-based adaptive estimation technique, and multiple Turbo iterations can be performed between the equalizer and the decoder to transmit soft information.
5. The control method for transmitting data via voice networking according to claim 1, characterized in that, The method further includes: measuring the distance between network nodes based on sound signals; the network nodes include a ranging initiator and a ranging responder; The distance measurement includes: the ranging initiator sends a ranging packet and records the sending time T0; the ranging responder receives the ranging packet and records the receiving time T1; then sends a response packet at time T2; the ranging initiator receives the response packet and records the receiving time T3. The distance between the initiator and the responder can be calculated using the formula: distance = ((T3-T0)-(T2-T1))×speed of sound / 2.
6. The control method for transmitting data via voice networking according to claim 5, characterized in that, The method further includes: performing time synchronization between the ranging initiator and the ranging responder based on the distance measurement results and the Doppler frequency shift measurement.
7. A control system for transmitting data via a sound network, characterized in that, The control system for transmitting data via a sound network, for implementing the method as described in any one of claims 1 to 6, comprises: Application processor, running a general-purpose operating system, provides system control, network protocol stack, and external interfaces; A digital signal processor, coupled to the application processor, runs a real-time operating system and is used to perform encoding and decoding tasks of underwater acoustic data; An inter-core communication module is used to enable data interaction between the application processor and the digital signal processor; The program of the digital signal processor is configured to execute a state machine that includes a trigger state, an encoding state, and a receiving state.
8. The control system for transmitting data via a voice network according to claim 7, characterized in that, The digital signal processor also includes: The signal processing algorithm module is used to perform orthogonal frequency division multiplexing (OFDM) modulation and demodulation, channel encoding and decoding, and channel estimation and equalization. The send / receive queue management module is used to asynchronously manage data packets to be sent and received in a first-in, first-out manner; The power management module is used to control the system to switch between transmit mode, listen mode and sleep mode.
Citation Information
Patent Citations
Low-power-consumption well tube water acoustic wave communication control system and control method thereof
CN107085933A
