A method, apparatus, device and storage medium for acquiring a primary synchronization signal of pipeline acoustic communication

By generating multiple candidate Doppler scale master synchronization signal templates and performing a two-dimensional correlation search, the problem of low accuracy in estimating the starting position and Doppler scale of the master synchronization signal in pipeline acoustic communication is solved, and high-precision synchronization parameter capture is achieved under low signal-to-noise ratio and complex multipath conditions.

CN123184748APending Publication Date: 2026-11-27PIPECHINA SOUTH CHINA CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611607783.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In pipeline acoustic communication, the estimation accuracy of the starting position of the main synchronization signal and its Doppler scale of the received signal is low under conditions of low signal-to-noise ratio and complex multipath. Existing methods are difficult to improve the timing position acquisition accuracy and Doppler scale estimation accuracy at the same time.

Method used

By generating multiple candidate Doppler scale master synchronization signal templates, the complex baseband received sequence is correlated with the master synchronization signal templates using a two-dimensional correlation search matrix to determine the starting position and Doppler scale of the master synchronization signal. The correlation operation process is optimized by combining parallel processing and frequency domain transformation.

Benefits of technology

Under conditions of low signal-to-noise ratio and complex multipath, the estimation accuracy of the starting position and Doppler scale of the main synchronization signal is improved, and the synchronization parameters are captured simultaneously, reducing the computational complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184748A_ABST
    Figure CN123184748A_ABST
Patent Text Reader

Abstract

The application provides a pipeline acoustic communication primary synchronization signal acquisition method and device, equipment and storage medium, relating to the technical field of signal processing. The method comprises: receiving and processing the pipeline acoustic signal emitted by the transmitting end to obtain a complex baseband receiving sequence; determining a plurality of candidate Doppler scales according to the relative speed range of the receiving end and the transmitting end and the sound propagation speed in the pipeline; resampling the pre-stored primary synchronization signal sequence according to each candidate Doppler scale to generate a plurality of primary synchronization signal templates; performing correlation operation on the complex baseband receiving sequence and each primary synchronization signal template, and constructing the correlation values obtained by each correlation operation into a two-dimensional correlation search matrix according to the sampling position and the candidate Doppler scale; determining the sampling position corresponding to the element with the maximum correlation value in the two-dimensional correlation search matrix as the starting position of the primary synchronization signal in the complex baseband receiving sequence, and determining the candidate Doppler scale corresponding to the element as the Doppler scale estimation value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of signal processing technology, and in particular to a method, apparatus, device and storage medium for capturing master synchronization signals in pipeline acoustic communication. Background Technology

[0002] Pipeline acoustic communication can be used for data transmission between pigs, detection devices, and fixed receivers. However, significant propagation attenuation within the pipe, reflections from bends and joints, and complex multipath propagation can cause time-scale stretching or compression of the ultra-wideband acoustic signal due to device movement. Therefore, the receiver needs to accurately determine the start position of the signal frame and estimate the coarse Doppler scale.

[0003] In pipe acoustic communication based on orthogonal frequency division multiplexing (OFDM), the receiver typically uses cyclic prefix autocorrelation to achieve timing synchronization, or uses the probe sequences before and after linear frequency modulation (LFM) / hyperbolic frequency modulation (HFM) to estimate Doppler parameters.

[0004] Under conditions of low signal-to-noise ratio and complex multipath, the estimation accuracy of the starting position of the main synchronization signal and its Doppler scale in the received signal is low. Summary of the Invention

[0005] This application provides a method, apparatus, device, and storage medium for capturing the master synchronization signal in pipeline acoustic communication, which improves the estimation accuracy of the starting position and Doppler scale of the master synchronization signal in the received signal.

[0006] In a first aspect, this application provides a method for capturing the master synchronization signal in pipeline acoustic communication, comprising: The receiver receives acoustic signals from inside the pipe, processes the acoustic signals to obtain a complex baseband receiving sequence, which is a complex sampling sequence obtained after processing the acoustic signals. Based on the relative velocity range between the receiver and transmitter and the sound propagation velocity in the pipe, multiple candidate Doppler scales are determined. The candidate Doppler scales are used to characterize the degree of time scale change of the main synchronization signal in the complex baseband received sequence relative to the pre-stored main synchronization signal sequence. According to each candidate Doppler scale, the pre-stored master synchronization signal sequence is resampled to generate multiple master synchronization signal templates. The pre-stored master synchronization signal sequence is a reference sequence that is pre-stored by the receiver according to the communication configuration shared with the transmitter and is the same as the master synchronization signal sequence sent by the transmitter. The master synchronization signal template is a reference sequence obtained by resampling the pre-stored master synchronization signal sequence and is used to perform correlation operations with the complex baseband received sequence. The complex baseband received sequence is correlated with each master synchronization signal template, and the correlation values ​​obtained from each correlation operation are constructed into a two-dimensional correlation search matrix according to the sampling position and candidate Doppler scale. The correlation operation is used to obtain the correlation value between the complex baseband received sequence and the master synchronization signal template. The sampling position is the sampling point position in the complex baseband received sequence. The sampling position corresponding to the element with the largest correlation value in the two-dimensional correlation search matrix is ​​determined as the starting position of the main synchronization signal in the complex baseband received sequence, and the candidate Doppler scale corresponding to the element with the largest correlation value is determined as the Doppler scale estimate of the main synchronization signal in the complex baseband received sequence.

[0007] In the first aspect, after receiving the acoustic signal inside the pipe and processing it into a complex baseband receiving sequence, multiple candidate Doppler scales are generated based on the relative velocity range and the sound propagation speed inside the pipe. Then, the pre-stored master synchronization signal sequence is resampled according to these scales to obtain matching templates covering variations at different time scales. Correlation operations are performed between the complex baseband receiving sequence and each template. The correlation values ​​are arranged into a two-dimensional correlation search matrix according to the sampling position and the candidate Doppler scale. The maximum correlation value in the matrix simultaneously points to the starting sampling position and the corresponding Doppler scale of the master synchronization signal in the complex baseband receiving sequence. Therefore, the acquisition process of the master synchronization signal combines timing position search and scale matching in the same correlation search. The master synchronization signal in the complex baseband received sequence is used to determine the starting position and to provide Doppler scale estimates. The receiver can obtain both the starting position and Doppler scale synchronization parameters in a single two-dimensional search. Under low signal-to-noise ratio and complex multipath conditions, the master synchronization signal templates corresponding to multiple candidate Doppler scales cover different time scale changes, and the correlation values ​​are arranged jointly according to the sampling position and candidate Doppler scales. The maximum correlation value can more accurately point to the starting position and Doppler scale of the master synchronization signal, thereby improving the estimation accuracy of the starting position and Doppler scale of the master synchronization signal.

[0008] In conjunction with the first aspect, in one possible implementation, correlation operations are performed between the complex baseband received sequence and each master synchronization signal template, including: The complex baseband received sequence is extracted into a preset number of data subsequences according to a preset extraction method. The data subsequences are the sampled sequences extracted from the complex baseband received sequence according to the sampling time interval. The preset number is determined according to the parallel processing resources of the receiving end. Each data subsequence is multiplied point by point with each main synchronization signal template according to the sampling position and then accumulated to obtain the correlation value of each data subsequence at each sampling position under each main synchronization signal template.

[0009] In this implementation, the complex baseband received sequence is decimated into a preset number of data subsequences according to a preset decimation method. The preset number corresponds to the parallel processing resources at the receiving end. Each data subsequence is multiplied point-by-point with each master synchronization signal template according to the sampling position and then accumulated. In this way, the correlation operation of the long received sequence is broken down into the correlation operation of multiple shorter data subsequences. Each subsequence can be executed separately on the parallel processing resources at the receiving end, and correlation values ​​are obtained at each template and each sampling position. Thus, the organization of the correlation operation matches the processing resources, and the matching process of the master synchronization signal template can be distributed across multiple data subsequences, providing correlation values ​​distributed according to the subsequences for the two-dimensional correlation search matrix.

[0010] In conjunction with the first aspect, in one possible implementation, the correlation values ​​obtained from each correlation operation are constructed into a two-dimensional correlation search matrix according to the sampling location and candidate Doppler scale, including: The correlation values ​​corresponding to each data subsequence are recovered and merged according to the sampling time sequence of the complex baseband received sequence to construct a two-dimensional correlation search matrix.

[0011] In this implementation, the correlation values ​​of each data subsequence are recovered and merged according to the sampling time sequence of the complex baseband received sequence, so that the correlation values ​​scattered in different data subsequences return to a unified sampling position sequence. The merged correlation values ​​are then arranged according to the sampling position and candidate Doppler scale, and the sampling positions in the two-dimensional correlation search matrix correspond to the sampling positions in the complex baseband received sequence. Therefore, extracting data subsequences by the decimation method does not change the positional relationship of the correlation peaks in the received sequence, and the sampling position corresponding to the maximum correlation value can be used to determine the starting position of the main synchronization signal in the complex baseband received sequence.

[0012] In conjunction with the first aspect, in one possible implementation, correlation operations are performed between the complex baseband received sequence and each master synchronization signal template, including: The complex baseband received sequence is extracted into a preset number of data subsequences according to a preset extraction method; Each data subsequence is padded with zeros at the front and divided into multiple overlapping data blocks according to a fixed block length and a moving step size, with the moving step size being smaller than the fixed block length; Perform a Fast Fourier Transform on each data block to obtain the frequency domain results for each data block; The conjugate of each main synchronization signal template is inverted and transformed to the frequency domain to obtain the frequency domain results of each main synchronization signal template; Multiply the frequency domain results of each data block by the frequency domain results of each master synchronization signal template point by point; Perform an inverse fast Fourier transform on the multiplication result to obtain the block correlation output.

[0013] In this implementation, the complex baseband received sequence is decimated into data subsequences and padded with zeros at the front end. These subsequences are then divided into overlapping data blocks with a fixed block length and a moving step size, where the moving step size is smaller than the fixed block length. The data blocks undergo a Fast Fourier Transform (FFT) to obtain the frequency domain result. The main synchronization signal template is then conjugate-inverted and transferred to the frequency domain. The two are multiplied point-by-point and subjected to an inverse FFT to obtain the block correlation output. Thus, the correlation operation between the received sequence and the template is performed at the block level through frequency domain multiplication and inverse transform. The overlapping blocks ensure that the correlation output of each data block covers the sampling interval between adjacent blocks, thereby obtaining the block correlation result for subsequent splicing.

[0014] In conjunction with the first aspect, in one possible implementation, the correlation values ​​obtained from each correlation operation are constructed into a two-dimensional correlation search matrix according to the sampling location and candidate Doppler scale, including: Remove invalid boundary samples caused by circular convolution in the block-related outputs. Invalid boundary samples are boundary samples generated by aliasing of circular convolution in the block-related outputs. The results after removing invalid boundary samples are spliced ​​together in time sequence to obtain the complete correlation results corresponding to each candidate Doppler scale; The complete correlation results are constructed into a two-dimensional correlation search matrix according to the sampling location and candidate Doppler scale.

[0015] In this implementation, invalid boundary samples caused by circular convolution in the block correlation output are removed, and the remaining results are concatenated sequentially to obtain complete correlation results at each candidate Doppler scale. A two-dimensional correlation search matrix is ​​then constructed based on the sampling location and candidate Doppler scale. Since invalid boundary samples are boundary samples generated by aliasing from circular convolution in the block correlation output, removing these samples leaves only the linearly correlated valid samples in the concatenated result. Therefore, the block frequency domain correlation results can be restored to complete correlation results and enter the two-dimensional correlation search matrix to participate in the search for the maximum correlation value.

[0016] In conjunction with the first aspect, in one possible implementation, the conjugate inversion of each main synchronization signal template is performed and transformed to the frequency domain to obtain the frequency domain results of each main synchronization signal template, including: The templates of each main synchronization signal are conjugate inverted and transformed to the frequency domain to obtain the frequency domain results corresponding to each candidate Doppler scale and store them.

[0017] In this implementation, each master synchronization signal template is first conjugate-inverted and transformed to the frequency domain to obtain the frequency domain result corresponding to each candidate Doppler scale, and then the frequency domain result is stored. When the frequency domain result of subsequent data blocks needs to be multiplied point-by-point with the template, the stored frequency domain result can be directly called. Thus, the frequency domain form of the template can be saved after the candidate Doppler scale is determined, the template frequency domain transformation and the data block frequency domain transformation in the correlation operation are separated, and the frequency domain result of the master synchronization signal template can be used for multiple block correlations.

[0018] In conjunction with the first aspect, in one possible implementation, the frequency domain results of each data block are multiplied point-by-point with the frequency domain results of each master synchronization signal template, including: The frequency domain results of the same data block are multiplied by the frequency domain results of the master synchronization signal templates corresponding to different candidate Doppler scales.

[0019] In this implementation, the frequency domain result of the same data block is multiplied by the frequency domain results of the master synchronization signal templates corresponding to different candidate Doppler scales. The frequency domain result of the data block participates in point-by-point multiplication at multiple candidate Doppler scales. In this way, a data block only needs to generate a frequency domain result once, which can be combined with the frequency domain results of the master synchronization signal templates corresponding to multiple candidate Doppler scales to obtain the relevant output of the data block at different candidate Doppler scales. Thus, the frequency domain transformation result of the data block in the candidate Doppler scale search is reused, and the matching of multiple scale templates is completed in the point-by-point multiplication stage in the frequency domain.

[0020] Secondly, this application provides a master synchronization signal acquisition device for pipeline acoustic communication, comprising: The signal receiving module is used to receive the acoustic signal emitted from the transmitter inside the pipe, process the acoustic signal to obtain the complex baseband receiving sequence, which is a complex sampling sequence obtained after processing the acoustic signal; The scale determination module is used to determine multiple candidate Doppler scales based on the relative velocity range between the receiver and transmitter and the sound propagation speed inside the pipe. The candidate Doppler scales are used to characterize the degree of time scale change of the master synchronization signal in the complex baseband received sequence relative to the pre-stored master synchronization signal sequence. The template generation module is used to resample the pre-stored master synchronization signal sequence according to each candidate Doppler scale to generate multiple master synchronization signal templates. The pre-stored master synchronization signal sequence is a reference sequence that is pre-stored by the receiver according to the communication configuration shared with the transmitter and is the same as the master synchronization signal sequence sent by the transmitter. The master synchronization signal template is a reference sequence obtained by resampling the pre-stored master synchronization signal sequence and is used to perform correlation operations with the complex baseband received sequence. The matrix construction module is used to perform correlation operations between the complex baseband received sequence and each master synchronization signal template, and construct a two-dimensional correlation search matrix by using the correlation values ​​obtained from each correlation operation according to the sampling position and candidate Doppler scale. The correlation operation is used to obtain the correlation value between the complex baseband received sequence and the master synchronization signal template, and the sampling position is the sampling point position in the complex baseband received sequence. The parameter determination module is used to determine the sampling position corresponding to the element with the largest correlation value in the two-dimensional correlation search matrix as the starting position of the main synchronization signal in the complex baseband received sequence, and to determine the candidate Doppler scale corresponding to the element with the largest correlation value as the estimated Doppler scale value of the main synchronization signal in the complex baseband received sequence.

[0021] Thirdly, this application provides an electronic device comprising: a processor and a memory; the memory storing processor-executable instructions; when the processor is configured to execute the instructions, causing the electronic device to implement the method of the first aspect described above.

[0022] Fourthly, this application provides a computer-readable storage medium comprising: computer software instructions; which, when executed in an electronic device, cause the electronic device to implement the method described in the first aspect.

[0023] Fifthly, this application provides a computer program product comprising a computer program; when the computer program is run in an electronic device, the electronic device performs the method described in the first aspect.

[0024] The beneficial effects of the second to fifth aspects mentioned above are described in the corresponding description of the first aspect and will not be repeated here. Attached Figure Description

[0025] Figure 1 This application provides a schematic diagram of the application environment for a method for capturing the master synchronization signal in pipeline acoustic communication, as illustrated in an embodiment of this application. Figure 2 A flowchart illustrating a method for capturing the master synchronization signal in pipeline acoustic communication, provided in an embodiment of this application; Figure 3 A block diagram of a two-dimensional joint search process based on PSS temporal cross-correlation provided for embodiments of this application; Figure 4 A block diagram of a fast two-dimensional joint search process based on PSS frequency domain cross-correlation provided in this application embodiment; Figure 5 A schematic diagram showing the arrangement of the pigging device equipped with a transmitter and a fixed eight-unit ring receiver array, as provided in the embodiments of this application. Figure 6 A schematic diagram of the correlation value surface of the two-dimensional correlation search matrix provided in the embodiments of this application; Figure 7 A schematic diagram of the composition of a master synchronization signal acquisition device for pipeline acoustic communication provided in this application embodiment; Figure 8 This is a schematic diagram of the composition of an electronic device provided in an embodiment of this application. Detailed Implementation

[0026] The following is a detailed description, with reference to the accompanying drawings, of a method, apparatus, device, and storage medium for capturing master synchronization signals in pipeline acoustic communication provided in this application.

[0027] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0028] The terms "first" and "second," etc., used in the specification and drawings of this application are used to distinguish different objects or to distinguish different treatments of the same object, rather than to describe a specific order of objects.

[0029] Furthermore, the terms "comprising" and "having," and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0030] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0031] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.

[0032] In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0033] Acoustic communication signals within enclosed metal pipelines are susceptible to attenuation over long distances, reflections from bends and joints, and complex multipath effects. This can lead to difficulties in accurately capturing the starting position of the primary synchronization signal (PSS) in the subsequent complex baseband receiver sequence. During the transport of media such as oil, natural gas, or water over long distances, scale, corrosion, or impurities gradually accumulate on the pipe walls, affecting transport efficiency and safe operation. Therefore, regular pipeline cleaning and inspection are necessary. A pipeline pig is a cleaning or inspection device that moves within a pipeline, capable of cleaning the pipe walls or inspecting the pipeline's condition while moving axially. To acquire synchronization parameters and transmit information in real time during pig movement, a transmitter is mounted on the pig, and a receiver is pre-positioned at a predetermined location on the pipeline. Communication between the transmitter and receiver occurs via acoustic signals within the pipeline. When the pig or inspection device moves within the pipe, the ultra-wideband acoustic signal undergoes significant time-scale stretching or compression.

[0034] In correlated OFDM acoustic communication systems, the cyclic prefix autocorrelation method is commonly used for timing synchronization. This method requires no additional synchronization sequence and has a relatively simple structure; however, the repetitive structure of the cyclic prefix can easily form a broad correlation peak. Under low signal-to-noise ratio and complex multipath conditions, the correlation peak may broaden or shift in position. When the received signal undergoes time stretching or compression, the matching relationship between the cyclic prefix and the OFDM symbol tail is disrupted, further reducing the accuracy of master synchronization signal start position acquisition and Doppler scale estimation.

[0035] Doppler estimation can also employ methods based on LFM or HFM pre- and post-detection sequences. These methods estimate Doppler parameters by comparing the arrival time, frequency changes, or pulse compression peak positions of the detection sequences, offering some noise resistance. However, they require the insertion of dedicated detection sequences, consuming communication frame resources. Furthermore, the pre- and post-detection sequences typically need to be detected separately, primarily for Doppler parameter estimation, making it difficult to simultaneously obtain the start position and Doppler scale of the main synchronization signal using the same detection result.

[0036] Furthermore, methods based on least squares, channel estimation, or iterative search typically require constructing a cost function and repeatedly performing channel estimation, Doppler compensation, and parameter updates, resulting in high computational complexity and susceptibility to initial synchronization errors and multipath channel estimation errors. Most related methods separate the acquisition of the primary synchronization signal's initial position from Doppler scale estimation, allowing errors from the former to propagate into subsequent compensation and demodulation processes. Therefore, it remains difficult to balance the accuracy of primary synchronization signal initial position acquisition, Doppler scale estimation, and computational complexity under low signal-to-noise ratio and complex multipath conditions.

[0037] The embodiments provided in this application will now be described in detail with reference to the accompanying drawings.

[0038] The method for capturing the master synchronization signal in pipeline acoustic communication provided in this application can be applied to, for example... Figure 1 The application environment shown. For example... Figure 1 As shown, the pipeline acoustic communication master synchronization signal acquisition system 10 includes a transmitter 101 and a receiver 102. The transmitter 101 is mounted on a pipeline pig and moves along the pipeline axis with the pig. The receiver 102 is fixedly positioned at a predetermined location on the pipeline. The pipeline acoustic communication master synchronization signal acquisition system 10 is used to capture the master synchronization signal in the complex baseband received sequence in pipeline acoustic communication, and to determine the starting position and Doppler scale estimate of the master synchronization signal in the complex baseband received sequence.

[0039] The transmitter 101 and receiver 102 communicate via acoustic signals within the pipe. The receiver 102 includes multiple receiving units arranged circumferentially on the same pipe cross-section, for example, eight receiving units arranged circumferentially. Each receiving unit collects the acoustic signals propagating within the pipe. The communication distance between the transmitter 101 and receiver 102 is 600 m to 6 km.

[0040] Transmitter 101 includes a processor, a memory, a quadrature phase shift keying (QPSK) modulator, an OFDM modulator, a numerically controlled oscillator (NCO), a digital-to-analog converter (DAC), a power amplifier, and a transmitter transducer. The processor is connected to the memory. The processor is connected to the QPSK modulator. The QPSK modulator is connected to the OFDM modulator. The OFDM modulator is connected to the NCO. The OFDM modulator is connected to the DAC. The DAC is connected to the power amplifier. The power amplifier is connected to the transmitter transducer. The transmitter transducer is used to couple acoustic signals into the pipe for propagation. Transmitter 101 generates a transmission signal frame consisting of a master synchronization signal sequence and data segments transmitted by the transmitter. Receiver 102 pre-stores a master synchronization signal sequence identical to the master synchronization signal sequence transmitted by the transmitter; the pre-stored master synchronization signal sequence serves as a known synchronization reference for receiver 102. The data segments are used to carry information bits to be transmitted.

[0041] Receiver 102 includes a receiving transducer, a first-stage amplifier circuit, a second-stage amplifier circuit, an analog-to-digital converter (ADC), an NCO, a filter, a downsampler, a processor, a memory, and multiple receiving units. The receiving transducer is connected to the first-stage amplifier circuit. The first-stage amplifier circuit is connected to the second-stage amplifier circuit. The second-stage amplifier circuit is connected to the ADC. The ADC is connected to the NCO. The ADC is connected to the filter. The filter is connected to the downsampler. The downsampler is connected to the processor. The processor is connected to the memory. Multiple receiving units are connected to the receiving transducer. The receiving transducer is used to acquire the acoustic signal emitted from the transmitter 101 within the pipe. Receiver 102 processes the acoustic signal to obtain a complex baseband receiving sequence. The complex baseband receiving sequence is a complex sampling sequence obtained after processing the acoustic signal.

[0042] Transmitter 101 couples an acoustic signal into the pipe for propagation. Receiver 102 acquires the acoustic signal within the pipe using multiple receiving units. Receiver 102 processes the acoustic signal to obtain a complex baseband received sequence. Receiver 102 determines multiple candidate Doppler scales based on the relative velocity range between receiver 102 and transmitter 101 and the sound propagation speed within the pipe. Receiver 102 resamples a pre-stored master synchronization signal sequence according to each candidate Doppler scale to generate multiple master synchronization signal templates. Receiver 102 performs correlation operations between the complex baseband received sequence and each master synchronization signal template and constructs a two-dimensional correlation search matrix. Receiver 102 determines the sampling position corresponding to the element with the largest correlation value in the two-dimensional correlation search matrix as the starting position of the master synchronization signal in the complex baseband received sequence. Receiver 102 determines the candidate Doppler scale corresponding to the element with the largest correlation value as the estimated Doppler scale value of the master synchronization signal in the complex baseband received sequence.

[0043] It should be noted that the system architecture described in the embodiments of this application is for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and does not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of system architecture, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0044] See Figure 2 This is a flowchart illustrating a method for capturing the master synchronization signal in pipeline acoustic communication, provided in an embodiment of this application. Figure 2 As shown, the method for capturing the master synchronization signal of pipeline acoustic communication provided in this application can be implemented through the above-mentioned receiving end, specifically including the following steps S201~S205.

[0045] S201. Receive the acoustic signal emitted from the transmitter inside the pipe, process the acoustic signal, and obtain the complex baseband receiving sequence.

[0046] The complex baseband receive sequence is a complex sampling sequence obtained after processing the acoustic signal.

[0047] In pipeline acoustic communication scenarios, the transmitter is mounted on a pig that moves along the pipeline axis, while the receiver is fixed at a predetermined position within the pipeline. The transmitter couples acoustic signals into the pipeline via an acoustic transducer, and the receiver collects the acoustic signals emitted by the transmitter within the pipeline using acoustic sensors. As the acoustic signals propagate within the pipeline, they are affected by reflections from the pipe wall, joints, and changes in the pipeline structure, resulting in multipath propagation. Furthermore, the movement of the pig causes time-scale stretching or compression of the received signal.

[0048] The receiving end sequentially amplifies, converts to digital, down-converts, low-pass filters, and downsamples the acquired acoustic signal to obtain a complex baseband received sequence. This complex baseband received sequence is formed from the processed acoustic signal and is a complex sampling sequence. Specifically, the analog-to-digital converter outputs an ADC output sequence, which is then sequentially down-converted, low-pass filtered, and downsampled to obtain the complex baseband received sequence r[k], where k represents the sampling point position. Digital down-conversion is used to shift the ADC output sequence from the carrier frequency to the baseband, low-pass filtering is used to filter out high-frequency components and out-of-band interference, and downsampling is used to reduce the sampling rate to reduce the amount of subsequent processing.

[0049] The transmitted signal frame consists of a master synchronization signal sequence sent by the transmitter and a data segment. The receiver pre-stores a master synchronization signal sequence identical to the one sent by the transmitter. This pre-stored master synchronization signal sequence serves as a known synchronization reference for the receiver. The data segment carries the information bits to be transmitted. Based on the system frame structure, the receiver selects a search interval from the complex baseband received sequence that contains the master synchronization signal from the complex baseband received sequence to be detected. This search interval covers the time range within which the master synchronization signal in the complex baseband received sequence may appear. It is used to subsequently perform correlation operations between the complex baseband received sequence and the master synchronization signal template to determine the starting position and Doppler scale estimate of the master synchronization signal in the complex baseband received sequence.

[0050] S202. Based on the relative velocity range between the receiver and transmitter and the sound propagation velocity inside the pipe, determine multiple candidate Doppler scales.

[0051] Candidate Doppler scales are used to characterize the degree of time scale variation of the master synchronization signal in the complex baseband received sequence relative to the pre-stored master synchronization signal sequence.

[0052] In acoustic communication within a pipe, the relative motion between the transmitter and receiver causes time-scale stretching or compression of the received signal relative to the transmitted signal. To describe this change, a candidate Doppler scale is introduced. The candidate Doppler scale characterizes the degree of time-scale variation of the master synchronization signal in the complex baseband received sequence relative to a pre-stored master synchronization signal sequence. Its value is related to the relative velocity between the transmitter and receiver and the sound propagation speed within the pipe. The candidate Doppler scale provides a scale basis for subsequent resampling of the pre-stored master synchronization signal sequence, ensuring that the generated master synchronization signal template can cover the possible scale variation range of the received signal.

[0053] Based on the relative velocity range between the receiver and transmitter and the sound propagation velocity within the pipe, multiple candidate Doppler scales are determined. Specifically, a search grid for candidate velocities and Doppler scales is established. Within the maximum relative velocity range, candidate velocities are set according to a preset velocity search step size, and each candidate velocity is converted into a corresponding candidate Doppler scale. As a feasible implementation method, based on Δb=v... b / c is used for conversion, where Δb represents the b-th candidate Doppler scale, v b Let b represent the b-th candidate velocity, and c represent the sound propagation speed inside the pipe. Each candidate velocity corresponds one-to-one with a candidate Doppler scale, forming a search grid to cover scale changes that may be caused by relative motion.

[0054] For example, the relative velocity search range is -5 to 5 m / s, and the search step size is 0.05 m / s, thereby generating 201 candidate velocities. The sound velocity in the pipe is taken as 1400 m / s, based on Δb=v b The / c function converts each candidate velocity into a corresponding candidate scale, resulting in 201 candidate Doppler scales. This set of candidate Doppler scales is used to generate multiple master synchronization signal templates to match the scale variations of the master synchronization signal in the complex baseband received sequence during a two-dimensional correlation search.

[0055] S203. According to each candidate Doppler scale, resample the pre-stored master synchronization signal sequence to generate multiple master synchronization signal templates.

[0056] The pre-stored master synchronization signal sequence is a reference sequence that is pre-stored by the receiver based on the communication configuration shared with the transmitter, and is the same as the master synchronization signal sequence sent by the transmitter. The master synchronization signal template is a reference sequence obtained by resampling the pre-stored master synchronization signal sequence and is used to perform correlation operations with the complex baseband received sequence.

[0057] To cover the different timescale variations that the master synchronization signal in the complex baseband received sequence may exhibit relative to the pre-stored master synchronization signal sequence, the pre-stored master synchronization signal sequence is resampled according to each candidate Doppler scale to generate multiple master synchronization signal templates. The resampling operation, by changing the sampling interval of the sequence, matches the generated master synchronization signal templates with the received signal scale at the corresponding candidate Doppler scale, thus providing a reference sequence corresponding to each candidate Doppler scale for subsequent correlation operations.

[0058] Specifically, the pre-stored master synchronization signal sequence is represented as x. PSS [k], the candidate Doppler scale is represented as Δb, b=1,2,…,N pss,b N pss,b represents the number of candidate Doppler scales. The template for the b-th master synchronization signal is represented as: (1) Where f(·) represents the resampling operation, x PSS [k] is a pre-stored master synchronization signal sequence, y pss,Δb (k) is the master synchronization signal template corresponding to the candidate scale Δb. Multi-scale master synchronization signal templates are constructed according to equation (1), and each master synchronization signal template corresponds to a candidate Doppler scale.

[0059] For example, the pre-stored master synchronization signal sequences are resampled to create 201 master synchronization signal templates. The generated master synchronization signal templates are used for subsequent correlation operations with the complex baseband received sequence to determine the starting position and Doppler scale estimate of the master synchronization signal in the complex baseband received sequence in a two-dimensional correlation search.

[0060] S204. Perform correlation operations on the complex baseband received sequence and each master synchronization signal template, and construct a two-dimensional correlation search matrix based on the correlation values ​​obtained from each correlation operation according to the sampling position and candidate Doppler scale.

[0061] The correlation operation is used to obtain the correlation value between the complex baseband received sequence and the main synchronization signal template, and the sampling position is the sampling point position in the complex baseband received sequence.

[0062] Correlation operations are used to measure the similarity between the complex baseband received sequence and the primary synchronization signal template. For each candidate Doppler scale, there is a corresponding primary synchronization signal template; for each sampling position in the complex baseband received sequence, a correlation value can be obtained. The sampling position is the location of the sampling point in the complex baseband received sequence, representing the alignment position on the time axis when the primary synchronization signal template and the complex baseband received sequence are matched. The correlation operation is performed sequentially at each sampling position in the complex baseband received sequence, and the obtained correlation value varies with the sampling position and the candidate Doppler scale.

[0063] The complex baseband received sequence is correlated with each master synchronization signal template to obtain correlation values ​​at each sampling position and each candidate Doppler scale. These correlation values ​​are then used to construct a two-dimensional correlation search matrix, where one dimension corresponds to the sampling position and the other to the candidate Doppler scale. Each element in the two-dimensional correlation search matrix corresponds to a sampling position and a correlation value at a candidate Doppler scale.

[0064] A two-dimensional correlation search matrix is ​​used to centrally reflect the degree of matching between the complex baseband received sequence and each primary synchronization signal template at different sampling positions and candidate Doppler scales. A larger correlation value indicates a higher degree of matching between the primary synchronization signal in the complex baseband received sequence and its corresponding primary synchronization signal template at that sampling position and candidate Doppler scale. This two-dimensional correlation search matrix provides a data foundation for subsequently determining the starting position and Doppler scale estimate of the primary synchronization signal in the complex baseband received sequence.

[0065] S205. The sampling position corresponding to the element with the largest correlation value in the two-dimensional correlation search matrix is ​​determined as the starting position of the main synchronization signal in the complex baseband received sequence, and the candidate Doppler scale corresponding to the element with the largest correlation value is determined as the Doppler scale estimate of the main synchronization signal in the complex baseband received sequence.

[0066] After obtaining the two-dimensional correlation search matrix, a global comparison is performed on the correlation values ​​in the matrix to determine the element with the largest correlation value. This element corresponds to the global maximum correlation peak. The global maximum correlation peak indicates that the primary synchronization signal and the primary synchronization signal template in the complex baseband received sequence have the highest matching degree at a certain sampling position and a certain candidate Doppler scale.

[0067] The sampling position corresponding to the global maximum correlation peak is determined as the starting position of the main synchronization signal in the complex baseband received sequence, i.e., the estimated timing synchronization position. The candidate Doppler scale corresponding to the global maximum correlation peak is determined as the Doppler scale estimate of the primary synchronization signal in the complex baseband received sequence, i.e., the coarse Doppler scale estimation result. Based on the speed of sound propagation inside the pipe c and coarse Doppler scale estimation results The relative velocity estimate is obtained. The velocity of sound within the pipe represents the speed at which sound waves propagate within the pipe, measured in m / s; the relative velocity estimate represents the estimated relative velocity between the receiver and transmitter, also measured in m / s. The above relationship is expressed as: (2) in, This is a timed synchronization position estimate. The results are for coarse Doppler scale estimation. This is an estimate of the relative velocity. c The velocity of sound propagation inside the pipe. Indicates candidate Doppler scale Δ b and sampling location The relevant values ​​below, M Indicates the number of values ​​involved in the merging process. m =1,2,…, M The global maximum value of the two-dimensional correlation search matrix corresponds to the optimal sampling point. and Doppler scaling And calculate the relative velocity accordingly. .

[0068] After obtaining the starting position and Doppler scale estimate, To determine the endpoints of the primary synchronization signal and the boundaries of subsequent OFDM data symbols in the complex baseband receive sequence, an estimation scale is used. The data segment is reverse-sampled to make the compensated residual scale close to 0, and then OFDM demodulation, channel estimation, channel equalization, and QPSK demodulation are performed. Thus, the starting position and Doppler scale estimate of the primary synchronization signal in the complex baseband received sequence are output as the primary synchronization signal acquisition result; in scenarios requiring relative velocity information, the relative velocity estimate can also be output as part of the primary synchronization signal acquisition result.

[0069] In this embodiment, after receiving the acoustic signal inside the pipe and processing it into a complex baseband receiving sequence, multiple candidate Doppler scales are generated based on the relative velocity range and the sound propagation speed inside the pipe. Then, the pre-stored master synchronization signal sequence is resampled according to these scales to obtain matching templates covering changes at different time scales. Correlation operations are performed between the complex baseband receiving sequence and each template. The correlation values ​​are arranged into a two-dimensional correlation search matrix according to the sampling position and the candidate Doppler scale. The maximum correlation value in the matrix simultaneously points to the starting sampling position and the corresponding Doppler scale of the master synchronization signal in the complex baseband receiving sequence. Therefore, the acquisition process of the master synchronization signal combines timing position search and scale matching in the same correlation search. The master synchronization signal in the complex baseband received sequence is used to determine the starting position and to provide Doppler scale estimates. The receiver can obtain both the starting position and Doppler scale synchronization parameters in a single two-dimensional search. Under low signal-to-noise ratio and complex multipath conditions, the master synchronization signal templates corresponding to multiple candidate Doppler scales cover different time scale changes, and the correlation values ​​are arranged jointly according to the sampling position and candidate Doppler scales. The maximum correlation value can more accurately point to the starting position and Doppler scale of the master synchronization signal, thereby improving the estimation accuracy of the starting position and Doppler scale of the master synchronization signal.

[0070] In some embodiments, the correlation operation between the complex baseband received sequence and each master synchronization signal template in step S204 above can be implemented as follows: S301. Extract a preset number of data subsequences from the complex baseband received sequence according to a preset extraction method. The data subsequences are the sampled sequences extracted from the complex baseband received sequence according to the sampling time interval. The preset number is determined based on the parallel processing resources of the receiving end.

[0071] The complex baseband received sequence is decimated into a preset number of data subsequences according to a preset decimation method. The preset decimation method refers to the way sampling points are extracted from the complex baseband received sequence according to the sampling time interval, thus allocating the sampling points in the complex baseband received sequence to different data subsequences. A data subsequence is a sampling sequence obtained by decimating the complex baseband received sequence according to the sampling time interval. The preset number is determined based on the parallel processing resources of the receiver; the more parallel processing resources the receiver has, the more data subsequences can be set to perform related operations in parallel.

[0072] For example, based on the processor's parallel resources, a preset number M=2 is selected, and the complex baseband receive sequence is allocated to two data subsequences, where the m-th data subsequence is denoted as... m = 1, 2, ..., M. Each data subsequence corresponds to a decimation phase, and the sampling points of each data subsequence are arranged alternately according to the original sampling order. In this way, each data subsequence can be correlated with the main synchronization signal template separately and processed in parallel on multiple processing units, reducing the computational burden of a single processing unit.

[0073] S302. Multiply each data subsequence by each main synchronization signal template point by point according to the sampling position and accumulate them to obtain the correlation value of each data subsequence at each sampling position under each main synchronization signal template.

[0074] Each data subsequence is multiplied point-by-point by each main synchronization signal template according to the sampling position, and the results are accumulated to obtain the correlation value of each data subsequence at each sampling position under each main synchronization signal template. Specifically, for the m-th data subsequence... and the b-th master synchronization signal template Perform time-domain sliding cross-correlation according to sampling position k to obtain the correlation value: (3) Where N is the sequence length of the main synchronization signal template. Let represent the conjugate of the b-th master synchronization signal template, Δb represent the b-th candidate Doppler scale, and n be the sampling point index within the template. Point-by-point multiplication and summation means multiplying the sampling points in the data subsequence corresponding to the template length with the template sampling points point-by-point, and then summing the products. Each data subsequence is sequentially cross-correlated with each master synchronization signal template to obtain the correlation value at each sampling position. For example, each data subsequence is sequentially cross-correlated with 201 master synchronization signal templates to calculate the correlation amplitude. As a feasible implementation, to quantify the computational complexity of the time-domain cross-correlation implementation, let the length of each data subsequence be N, and the number of candidate Doppler scale templates be N. pss,b Then the number of complex multiplications and the number of complex additions required for pointwise cross-correlation in the time domain are respectively: (4) (5) in, and These represent the number of complex multiplications and complex additions required for time-domain cross-correlation, respectively. This correlation value is used to subsequently construct a two-dimensional correlation search matrix to determine the starting position of the master synchronization signal and the Doppler scale estimate in the complex baseband received sequence.

[0075] In this embodiment, the complex baseband received sequence is extracted into a preset number of data subsequences according to a preset extraction method. The preset number corresponds to the parallel processing resources of the receiving end. Each data subsequence is multiplied point-by-point with each master synchronization signal template according to the sampling position and then accumulated. In this way, the correlation operation of the long received sequence is broken down into the correlation operation of multiple shorter data subsequences. Each subsequence can be executed separately on the parallel processing resources of the receiving end, and correlation values ​​are obtained at each template and each sampling position. Thus, the organization of the correlation operation is matched with the processing resources, and the matching process of the master synchronization signal template can be distributed across multiple data subsequences, providing correlation values ​​distributed according to the subsequences for the two-dimensional correlation search matrix.

[0076] In one possible implementation, the step S204 above, which constructs a two-dimensional correlation search matrix from the correlation values ​​obtained by each correlation operation according to the sampling location and candidate Doppler scale, can be implemented as follows: S401. Recover and merge the correlation values ​​corresponding to each data subsequence according to the sampling time sequence of the complex baseband received sequence to construct a two-dimensional correlation search matrix.

[0077] The correlation values ​​corresponding to each data subsequence are recovered and merged according to the sampling time sequence of the complex baseband received sequence to construct a two-dimensional correlation search matrix. Since each data subsequence is extracted from the complex baseband received sequence according to the sampling time interval, the correlation values ​​of each data subsequence correspond to different extraction phases. The correlation values ​​of each data subsequence are recovered and merged according to the original sampling order of the complex baseband received sequence, that is, the correlation values ​​of different extraction phases are inserted back to their corresponding sampling time positions to obtain the complete correlation result.

[0078] The complete correlation results are arranged according to the sampling location and candidate Doppler scale, and a two-dimensional correlation search matrix of sampling location and candidate Doppler scale is constructed, denoted as . Where k represents the sampling position and Δb represents the candidate Doppler scale. One dimension of the two-dimensional correlation search matrix corresponds to the sampling position, and the other dimension corresponds to the candidate Doppler scale. The elements of the matrix are the correlation values ​​at the corresponding sampling position and candidate Doppler scale. This two-dimensional correlation search matrix is ​​used to search for the global maximum correlation peak to determine the starting position of the primary synchronization signal and the estimated Doppler scale in the complex baseband received sequence.

[0079] Figure 3 A flowchart illustrating a two-dimensional joint search process based on PSS time-domain cross-correlation, provided for embodiments of this application. Figure 3 As shown, uniform decimation in the time domain divides the complex baseband received sequence into M data subsequences, with the subsequences shown in the figure as... y m ( k ) indicates, for example y 1( k ){ n =1, M +1,…}、 y 2( k ){ n =2, M +2,…}、 y M ( k ){ n = M ,2 M In the diagram, "movement" indicates that the master synchronization signal template slides along the sampling position, and "PSS template" represents the master synchronization signal template. Each data subsequence is cross-correlated with multiple master synchronization signal templates. The master synchronization signal templates are derived from the pre-stored master synchronization signal sequence x. PSS [k] is obtained by resampling according to different candidate Doppler scales, as shown in the figure. f ( xPSS [ k ],(1+1 / Δ pss,b )) f ( xPSS [k ],(1+1 / Δ2)), f ( xPSS [ k ],(1+1 / Δ1)), corresponding to the relevant output V Δ pss,b ( k ), V Δ2( k ), V Δ1( k The cross-correlation results are merged after selecting the maximum value, and then the global maximum correlation peak is searched through Argmax to output the coarse Doppler scaling estimate and timing synchronization results.

[0080] In this implementation, the correlation values ​​of each data subsequence are recovered and merged according to the sampling time sequence of the complex baseband received sequence, so that the correlation values ​​scattered in different data subsequences return to a unified sampling position sequence. The merged correlation values ​​are then arranged according to the sampling position and candidate Doppler scale, and the sampling positions in the two-dimensional correlation search matrix correspond to the sampling positions in the complex baseband received sequence. Therefore, extracting data subsequences by the decimation method does not change the positional relationship of the correlation peaks in the received sequence, and the sampling position corresponding to the maximum correlation value can be used to determine the starting position of the main synchronization signal in the complex baseband received sequence.

[0081] In some embodiments, the correlation operation between the complex baseband received sequence and each master synchronization signal template in step S204 above can be implemented as follows: S501. Extract the complex baseband received sequence into a preset number of data subsequences according to a preset extraction method.

[0082] When the search window is long or the number of candidate Doppler scales is large, a fast frequency domain implementation is adopted. The complex baseband received sequence is decimated into a preset number of data subsequences according to a preset decimation method. The preset decimation method is decimation according to the sampling time interval, and the data subsequences are the sampled sequences obtained by decimating the complex baseband received sequence according to the sampling time interval. The preset number is determined based on the parallel processing resources of the receiver. For example, the preset number M=2, the complex baseband received sequence is allocated to 2 data subsequences, and the m-th data subsequence is denoted as... m=1,2,...,M. Each data subsequence corresponds to a different decimated phase, which is used for subsequent front-end zero padding and overlapping blocks, so as to complete the correlation calculation with each master synchronization signal template in the frequency domain.

[0083] S502. Pad the leading edge of each data subsequence with zeros, and divide it into multiple overlapping data blocks according to a fixed block length and a moving step size, with the moving step size being less than the fixed block length.

[0084] Each data subsequence is padded with zeros at the beginning and divided into multiple overlapping data blocks according to a fixed block length and a moving step size, where the moving step size is less than the fixed block length. For the m-th data subsequence, zeros are padded at the beginning, and it is divided into A overlapping data blocks according to the fixed block length and the moving step size. Where a = 1, 2, ..., A. The fixed block length represents the number of sampling points contained in each data block, and the movement step size represents the sampling point interval between the starting points of adjacent data blocks. A movement step size smaller than the fixed block length causes adjacent data blocks to overlap.

[0085] As a feasible implementation, if the length of the master synchronization signal template is L and the data block transformation length is N... P Then adjacent blocks overlap by L-1 sampling points, and each block retains N sampling points. P -L+1 valid correlation points. Leading zero padding is used to ensure that the overlap preservation method covers the correlation results near the start position of the data subsequence. The overlapping data blocks are used for subsequent fast Fourier transform and point-by-point multiplication in the frequency domain.

[0086] S503. Perform a Fast Fourier Transform on each data block to obtain the frequency domain results for each data block.

[0087] Perform a Fast Fourier Transform (FFT) on each data block to obtain the frequency domain result of each data block. The Fast Fourier Transform is the a-th data block of the m-th data subsequence. The frequency domain result is obtained after Fast Fourier Transform: (6) Where q is the frequency domain index and k is the time domain sampling index. The FFT is calculated only once for each data block. The frequency domain result of each data block is used to multiply point-by-point with the frequency domain result of each master synchronization signal template.

[0088] S504. Invert the conjugate of each main synchronization signal template and convert it to the frequency domain to obtain the frequency domain result of each main synchronization signal template.

[0089] The conjugate reversal of the main synchronization signal template represents taking the conjugate of the main synchronization signal template and reversing it in chronological order. The b-th main synchronization signal template... The conjugate inversion is represented as Transforming to the frequency domain yields: (7) Where N is the sequence length of the main synchronization signal template, Δb is the b-th candidate Doppler scale, and b = 1, 2, ..., N pss,b N pss,bThis represents the number of candidate Doppler scale templates. The frequency domain results of each master synchronization signal template are used for subsequent point-by-point multiplication with the frequency domain results of the data blocks.

[0090] S505. Multiply the frequency domain results of each data block with the frequency domain results of each master synchronization signal template point by point.

[0091] The frequency domain results of each data block are multiplied point-by-point with the frequency domain results of each master synchronization signal template. Point-by-point multiplication means multiplying the frequency domain results of the data blocks under the same frequency index q with the frequency domain results of the master synchronization signal templates. The frequency domain result of the a-th data block... Frequency domain results with the b-th master synchronization signal template The product is obtained by multiplying each element one by one. This product is then used in the subsequent inverse fast Fourier transform to obtain the block-related output.

[0092] S506. Perform an inverse fast Fourier transform on the multiplication result to obtain the block correlation output.

[0093] Performing an inverse fast Fourier transform (IFFT) on the multiplication result yields the block-related output. The IFFT is the inverse fast Fourier transform of the multiplication result of the a-th data block and the b-th master synchronization signal template. The resulting block-related output is obtained after the IFFT. (8) in, This is the block correlation output of the a-th data block of the m-th data subsequence at the candidate Doppler scale Δb. For fast cross-correlation in the frequency domain, let M=2, and the remaining parameters are defined the same as in the aforementioned time-domain implementation. The frequency domain results of the received data blocks can be multiplexed between different candidate Doppler scales, with the required number of complex multiplications and complex additions being: (9) (10) in, and Let N represent the number of complex multiplications and the number of complex additions required for frequency domain cross-correlation, respectively, where the numbers are dimensionless. P N represents the data block transformation length, in units of sampling points. pss,b This represents the number of candidate Doppler scale templates. The block correlation output is used for subsequent removal of invalid boundary samples and temporal stitching.

[0094] In this embodiment, the complex baseband received sequence is decimated into data subsequences and padded with zeros at the front end. These subsequences are then divided into overlapping data blocks with a fixed block length and a moving step size, where the moving step size is smaller than the fixed block length. The data blocks undergo a Fast Fourier Transform (FFT) to obtain the frequency domain result. The main synchronization signal template is then conjugate-inverted and transferred to the frequency domain. The two are multiplied point-by-point and subjected to an inverse FFT to obtain the block correlation output. Thus, the correlation operation between the received sequence and the template is completed at the block level through frequency domain multiplication and inverse transform. The overlapping blocks ensure that the correlation output of each data block covers the sampling interval between adjacent blocks, thereby obtaining the block correlation result for subsequent splicing.

[0095] In one possible implementation, the step S204 above, which constructs a two-dimensional correlation search matrix from the correlation values ​​obtained by each correlation operation according to the sampling location and candidate Doppler scale, can be implemented as follows: S601. Remove invalid boundary samples caused by circular convolution in the block-related outputs. Invalid boundary samples are boundary samples generated by circular convolution aliasing in the block-related outputs.

[0096] Invalid boundary samples caused by circular convolution are removed from the correlation output of each block. Invalid boundary samples are those generated by aliasing due to circular convolution in the block correlation output. Circular convolution aliasing refers to the samples formed by the overlap between the beginning and end of the sequence in the correlation output obtained by point-by-point multiplication in the frequency domain and inverse fast Fourier transform. As a feasible implementation, the first L-1 invalid points are deleted, where L is the length of the main synchronization signal template. The samples retained after removing invalid boundary samples are the valid correlation points, which are used for subsequent time-sequential splicing.

[0097] S602. After removing invalid boundary samples, the results are spliced ​​together in time sequence to obtain the complete correlation results corresponding to each candidate Doppler scale.

[0098] The results after removing invalid boundary samples are concatenated in time sequence to obtain the complete correlation results corresponding to each candidate Doppler scale. The retained results are then concatenated in time sequence to obtain the complete cross-correlation results of the m-th data subsequence at the candidate Doppler scale Δb. The effective parts are then concatenated in order. The aforementioned zero-padding, block division, transformation, multiplication, and inverse transformation processes are repeated for all data subsequences and candidate Doppler scales, and the correlation results are combined according to the original sampling order. The complete correlation results are used to construct a two-dimensional correlation search matrix.

[0099] S603. Construct a two-dimensional correlation search matrix from the complete correlation results according to the sampling location and candidate Doppler scale.

[0100] The complete correlation results are constructed into a two-dimensional correlation search matrix according to the sampling location and candidate Doppler scale. The two-dimensional correlation search matrix of sampling location and Doppler scale is constructed, and the global maximum correlation peak is searched using Equation (2) to obtain the timing synchronization location, coarse Doppler scale and relative velocity estimation results. Under the same input conditions, the two-dimensional correlation surface and peak position obtained by frequency domain cross-correlation and time domain cross-correlation are consistent, but the computational complexity is lower. Taking the sum of the number of complex multiplications and complex additions as the total complex operation, the complexity reduction rate of the frequency domain implementation compared to the time domain implementation is: (11) Where η is the complexity reduction rate, expressed as a percentage.

[0101] In this implementation, invalid boundary samples caused by circular convolution in the block correlation output are removed, and the remaining results are concatenated sequentially to obtain complete correlation results at each candidate Doppler scale. A two-dimensional correlation search matrix is ​​then constructed based on the sampling location and candidate Doppler scale. Since invalid boundary samples are generated by aliasing due to circular convolution in the block correlation output, removing these samples preserves the valid linearly correlated samples in the concatenated result. Therefore, the block frequency domain correlation results can be restored to complete correlation results and enter the two-dimensional correlation search matrix to participate in the search for the maximum correlation value.

[0102] In one possible implementation, step S504 above, which involves conjugate inversion of each main synchronization signal template and conversion to the frequency domain to obtain the frequency domain result of each main synchronization signal template, can be implemented as follows: S5041. Conjugate and invert the templates of each main synchronization signal and convert them to the frequency domain to obtain the frequency domain results corresponding to each candidate Doppler scale and store them.

[0103] The conjugate inversion of each primary synchronization signal template is performed and transformed to the frequency domain to obtain and store the frequency domain results corresponding to each candidate Doppler scale. The frequency domain results corresponding to each candidate Doppler scale are retrieved later when multiplying point-by-point with the frequency domain results of each data block. Storing the frequency domain results corresponding to each candidate Doppler scale ensures that the frequency domain results of the same data block can be multiplied separately with the frequency domain results of the primary synchronization signal templates corresponding to different candidate Doppler scales, avoiding repeated conjugate inversion and frequency domain transformation.

[0104] In this implementation, each master synchronization signal template is first conjugate-inverted and transformed to the frequency domain to obtain the frequency domain result corresponding to each candidate Doppler scale, and then the frequency domain result is stored. When the frequency domain result of subsequent data blocks needs to be multiplied point-by-point with the template, the stored frequency domain result can be directly called. Thus, the frequency domain form of the template can be saved after the candidate Doppler scale is determined, the template frequency domain transformation and the data block frequency domain transformation in the correlation operation are separated, and the frequency domain result of the master synchronization signal template can be used for multiple block correlations.

[0105] In one possible implementation, the step S505 above, which multiplies the frequency domain results of each data block with the frequency domain results of each main synchronization signal template point by point, can be implemented as follows: S5051. Multiply the frequency domain results of the same data block by the frequency domain results of the master synchronization signal templates corresponding to different candidate Doppler scales stored respectively.

[0106] The frequency domain results of the same data block are multiplied separately by the frequency domain results of the master synchronization signal templates corresponding to different candidate Doppler scales. The frequency domain result of the same data block only needs to be calculated once, and then multiplied separately by the frequency domain results of the master synchronization signal templates corresponding to all candidate Doppler scales, resulting in multiple product results. These multiple product results are then used for subsequent inverse fast Fourier transforms to obtain the block-related outputs of the same data block at different candidate Doppler scales. This method allows the frequency domain results of the received data block to be reused across different candidate Doppler scales.

[0107] Figure 4 A flowchart illustrating a fast two-dimensional joint search process based on PSS frequency domain cross-correlation provided in this application embodiment. (See attached diagram.) Figure 4 As shown, uniform decimation in the time domain divides the complex baseband received sequence into M data subsequences. y m ( k Leading each data subsequence with zeros is used; in the figure, zeros are used as the leading zeros. L ×1 represents the number of overlapping data blocks. y m,1 ( k ), y m,2 ( k ), y m,3 ( k Each data block undergoes serial-to-parallel conversion followed by FFT. The templates of each master synchronization signal are conjugate-inverted and converted to the frequency domain, as shown in the diagram. f ( x PSS [ k ],(1+1 / Δ pss,b )) f ( x PSS [ k ],(1+1 / Δ2)), f ( x PSS [ k ],(1+1 / Δ1)), corresponding to the frequency domain results V Δ pss,b ( k ),V Δ2( k ), V Δ1( k The frequency domain results of the data block are multiplied point by point with the frequency domain results of each master synchronization signal template. After IFFT, invalid boundary samples are discarded. Then, after parallel / serial conversion and merging, the global maximum correlation peak is searched through Argmax to output the coarse Doppler scaling estimate and timing synchronization results.

[0108] In this implementation, the frequency domain result of the same data block is multiplied by the frequency domain results of the master synchronization signal templates corresponding to different candidate Doppler scales. The frequency domain result of the data block participates in point-by-point multiplication at multiple candidate Doppler scales. In this way, a data block only needs to generate a frequency domain result once, which can be combined with the frequency domain results of the master synchronization signal templates corresponding to multiple candidate Doppler scales to obtain the relevant output of the data block at different candidate Doppler scales. Thus, the frequency domain transformation result of the data block in the candidate Doppler scale search is reused, and the matching of multiple scale templates is completed in the point-by-point multiplication stage in the frequency domain.

[0109] In some embodiments, pipe acoustic communication employs a mobile transmission and fixed reception method. For example... Figure 5 As shown, the transmitting end is mounted on a pipeline pig, which carries a piezoelectric transducer and moves axially along the pipeline with the pig. A fixed receiving end is positioned at a predetermined location on the pipeline and includes receiving units 1-8. Eight receiving units are arranged circumferentially on the same pipeline cross-section to collect acoustic signals propagating within the pipeline. The communication distance L between the pipeline pig and the fixed receiving end is 600m to 6km, with sound waves propagating within the pipeline. The cross-section of the receiving end shows receiving units 1 to 8 arranged circumferentially.

[0110] The transmitting end generates a transmission signal frame consisting of a master synchronization signal sequence and a data segment. The transmission signal frame includes a preamble sequence, data, and symbols in terms of frequency. The preamble sequence contains the master synchronization signal sequence transmitted by the transmitting end. The receiving end pre-stores a master synchronization signal sequence identical to the one transmitted by the transmitting end. This pre-stored master synchronization signal sequence serves as a known synchronization reference for the receiving end, used for subsequent timing synchronization and coarse Doppler scale estimation. The data segment carries the information bits to be transmitted. The bit stream undergoes QPSK modulation, OFDM modulation, and digital up-conversion sequentially. After digital-to-analog conversion and power amplification, it drives the transmitting transducer to couple the acoustic signal into the tube for propagation. Digital up-conversion is performed by the sin and cosine carriers generated by the NCO, digital-to-analog conversion is implemented by the DAC, and power amplification is achieved by the power amplifier.

[0111] When the pipeline pig moves, a relative velocity is generated between the transmitting end and the fixed receiving end, causing time-scale stretching or compression of the received signal. Simultaneously, the acoustic signal is affected by reflections from pipe walls, joints, and structural changes within the pipeline, resulting in multipath propagation. Therefore, the signal acquired by the fixed receiving end simultaneously includes propagation attenuation, multipath interference, and Doppler-scale distortion.

[0112] The receiver sequentially processes the acquired acoustic signal through a receiving transducer, a first-stage amplifier, a second-stage amplifier, an ADC, digital down-conversion, filtering, and downsampling to obtain a complex baseband received sequence. Digital down-conversion is performed by the sin and cosine carriers generated by the NCO, and the ADC performs analog-to-digital conversion. Subsequently, the receiver uses a pre-stored master synchronization signal sequence, resampled to obtain a master synchronization signal template, to match the received sequence, determining the arrival position of the master synchronization signal in the complex baseband received sequence and obtaining a coarse Doppler scale estimation result that matches the scale of the master synchronization signal in the complex baseband received sequence. Based on the arrival position of the master synchronization signal in the complex baseband received sequence, a complete received signal frame is extracted, and the received sequence is time-scale corrected based on the coarse Doppler scale estimation result to compensate for signal stretching or compression caused by the pig's movement. After Doppler compensation, the received signal undergoes OFDM demodulation, channel estimation, channel equalization, and QPSK demodulation sequentially to finally recover the data bitstream transmitted by the transmitter. The main parameters of this embodiment are shown in Table 1. Table 1 Experimental parameters

[0113] Substitute the experimental parameters listed in Table 1 into equations (4), (5), (9), (10), and (11) for calculation. Equations (4) and (5) represent the number of complex multiplications and complex additions required for time-domain cross-correlation, respectively; equations (9) and (10) represent the number of complex multiplications and complex additions required for frequency-domain cross-correlation, respectively; and equation (11) represents the rate of reduction in complexity of the frequency-domain implementation compared to the time-domain implementation. After substituting the parameters in Table 1, the total number of complex operations in the frequency-domain implementation is reduced by approximately 97.2% compared to the time-domain implementation. Therefore, the frequency-domain implementation can significantly reduce repetitive operations in long-sequence, multi-candidate-scale searches while maintaining the consistency of the two-dimensional correlation search matrix and the position of the maximum peak.

[0114] Figure 6 This is a schematic diagram of the correlation value surface of a two-dimensional correlation search matrix provided in an embodiment of this application. For example... Figure 6 As shown, the correlation surface illustrates how the correlation value varies with the Doppler scale and sample point, with the vertical axis representing the correlation value. Color scales indicate the magnitude of the correlation value. The highest peak in the correlation surface represents the point where the correlation value is maximum.

[0115] As can be seen, the above mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the embodiments of this application provide corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the modules and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware 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 implementation should not be considered beyond the scope of this invention.

[0116] This application embodiment can divide the main synchronization signal acquisition device for pipeline acoustic communication into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0117] In some embodiments, this application also provides a master synchronization signal acquisition device for pipeline acoustic communication. This master synchronization signal acquisition device for pipeline acoustic communication may include one or more functional modules for implementing the master synchronization signal acquisition method for pipeline acoustic communication described in the above embodiments.

[0118] For example, Figure 7 This is a schematic diagram illustrating the composition of a master synchronization signal acquisition device for pipeline acoustic communication, provided in an embodiment of this application. Figure 7 As shown, the main synchronization signal acquisition device 70 for pipeline acoustic communication includes: a signal receiving module 701, a scale determination module 702, a template generation module 703, a matrix construction module 704, and a parameter determination module 705.

[0119] The signal receiving module 701 is used to receive the acoustic signal inside the pipe emitted by the transmitter, process the acoustic signal to obtain a complex baseband receiving sequence, which is a complex sampling sequence obtained after processing the acoustic signal; The scale determination module 702 is used to determine multiple candidate Doppler scales based on the relative velocity range between the receiver and the transmitter and the sound propagation velocity in the pipe. The candidate Doppler scales are used to characterize the degree of time scale change of the main synchronization signal in the complex baseband received sequence relative to the pre-stored main synchronization signal sequence. The template generation module 703 is used to resample the pre-stored master synchronization signal sequence according to each candidate Doppler scale to generate multiple master synchronization signal templates. The pre-stored master synchronization signal sequence is a reference sequence that is pre-stored by the receiver according to the communication configuration shared with the transmitter and is the same as the master synchronization signal sequence sent by the transmitter. The master synchronization signal template is a reference sequence obtained by resampling the pre-stored master synchronization signal sequence and is used to perform correlation operations with the complex baseband received sequence. The matrix construction module 704 is used to perform correlation operations between the complex baseband received sequence and each main synchronization signal template, and construct a two-dimensional correlation search matrix by using the correlation values ​​obtained from each correlation operation according to the sampling position and candidate Doppler scale. The correlation operation is used to obtain the correlation value between the complex baseband received sequence and the main synchronization signal template, and the sampling position is the sampling point position in the complex baseband received sequence. The parameter determination module 705 is used to determine the sampling position corresponding to the element with the largest correlation value in the two-dimensional correlation search matrix as the starting position of the main synchronization signal in the complex baseband received sequence, and to determine the candidate Doppler scale corresponding to the element with the largest correlation value as the estimated Doppler scale value of the main synchronization signal in the complex baseband received sequence.

[0120] In some embodiments, the matrix construction module 704 is further configured to extract the complex baseband received sequence into a preset number of data subsequences according to a preset extraction method. The data subsequences are the sampled sequences extracted from the complex baseband received sequence according to the sampling time interval, and the preset number is determined according to the parallel processing resources of the receiving end. Each data subsequence is multiplied point by point with each main synchronization signal template according to the sampling position and then accumulated to obtain the correlation value of each data subsequence at each sampling position under each main synchronization signal template.

[0121] In some embodiments, the matrix construction module 704 is further configured to recover and merge the correlation values ​​corresponding to each data subsequence according to the sampling time sequence of the complex baseband received sequence, and construct a two-dimensional correlation search matrix.

[0122] In some embodiments, the matrix construction module 704 is further configured to extract the complex baseband received sequence into a preset number of data subsequences according to a preset extraction method; Each data subsequence is padded with zeros at the front and divided into multiple overlapping data blocks according to a fixed block length and a moving step size, with the moving step size being smaller than the fixed block length; Perform a Fast Fourier Transform on each data block to obtain the frequency domain results for each data block; The conjugate of each main synchronization signal template is inverted and transformed to the frequency domain to obtain the frequency domain results of each main synchronization signal template; Multiply the frequency domain results of each data block by the frequency domain results of each master synchronization signal template point by point; Perform an inverse fast Fourier transform on the multiplication result to obtain the block correlation output.

[0123] In some embodiments, the matrix construction module 704 is further configured to remove invalid boundary samples caused by circular convolution in each block-related output, where invalid boundary samples are boundary samples generated by circular convolution aliasing in the block-related output. The results after removing invalid boundary samples are spliced ​​together in time sequence to obtain the complete correlation results corresponding to each candidate Doppler scale; The complete correlation results are constructed into a two-dimensional correlation search matrix according to the sampling location and candidate Doppler scale.

[0124] In some embodiments, the matrix construction module 704 is further configured to invert the conjugate of each master synchronization signal template and convert it to the frequency domain to obtain and store the frequency domain results corresponding to each candidate Doppler scale.

[0125] In some embodiments, the matrix construction module 704 is further configured to multiply the frequency domain results of the same data block with the frequency domain results of the master synchronization signal templates corresponding to different candidate Doppler scales stored respectively.

[0126] When implementing the functions of the integrated modules described above in hardware, this embodiment of the invention provides a possible schematic diagram of the electronic device involved in the above embodiments. For example... Figure 8 As shown, the electronic device 80 includes: a processor 802, a communication interface 803, and a bus 804. Optionally, the electronic device 80 may also include a memory 801.

[0127] Processor 802 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 802 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 802 may also be a combination that implements computing functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0128] The communication interface 803 is used to connect to other devices via a communication network. This communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0129] The memory 801 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0130] As one possible implementation, the memory 801 can exist independently of the processor 802. The memory 801 can be connected to the processor 802 via a bus 804 and is used to store instructions or program code. When the processor 802 calls and executes the instructions or program code stored in the memory 801, it can implement the main synchronization signal acquisition method for pipeline acoustic communication provided in this embodiment of the invention.

[0131] In another possible implementation, the memory 801 can also be integrated with the processor 802.

[0132] The 804 bus can be an extended industry standard architecture (EISA) bus, etc. The 804 bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0133] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the above device can be divided into different functional modules to complete all or part of the functions described above.

[0134] This application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be executed by computer instructions instructing related hardware; for example, the related hardware can be a processor of a computing device. The program instructions can be stored in the above-described computer-readable storage medium, and when executed, they can implement the processes of the above method embodiments. The computer-readable storage medium can be memory. The above-described computer-readable storage medium can also be an external storage device, such as a hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. Further, the above-described computer-readable storage medium can include both memory and external storage devices. The above-described computer-readable storage medium is used to store the above-described computer program instructions and other programs and data required by the above methods.

[0135] This application also provides computer instructions. All or part of the processes in the above method embodiments can be executed by computer instructions to instruct related hardware (such as computers, processors, network devices, and terminals). The program can be stored in the aforementioned computer-readable storage medium.

[0136] This application also provides a computer program product that, when run on a computer, causes the above-described method embodiments to be executed.

[0137] This application also provides a chip system. The chip system may be composed of chips or may include chips and other discrete devices, without limitation. The chip system includes a processor and a transceiver. All or part of the processes in the above method embodiments can be completed by this chip system, such as the chip system being used to implement the functions performed by the network devices or terminals in the above method embodiments.

[0138] In one possible design, the chip system further includes a memory for storing program instructions and / or data. When the chip system is running, the processor executes the program instructions stored in the memory to enable the chip system to perform the functions performed by the network device or terminal in the above method embodiments.

[0139] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for capturing the master synchronization signal in pipeline acoustic communication, characterized in that, include: The receiver receives acoustic signals from inside the pipe emitted by the transmitter, processes the acoustic signals to obtain a complex baseband receiving sequence, which is a complex sampling sequence obtained after processing the acoustic signals. Based on the relative velocity range between the receiver and the transmitter and the sound propagation velocity in the pipe, multiple candidate Doppler scales are determined. The candidate Doppler scales are used to characterize the degree of time scale change of the main synchronization signal in the complex baseband received sequence relative to the pre-stored main synchronization signal sequence. According to each of the candidate Doppler scales, the pre-stored master synchronization signal sequence is resampled to generate multiple master synchronization signal templates. The pre-stored master synchronization signal sequence is a reference sequence that is pre-stored by the receiver according to the communication configuration shared with the transmitter and is the same as the master synchronization signal sequence sent by the transmitter. The master synchronization signal template is a reference sequence obtained by resampling the pre-stored master synchronization signal sequence and is used to perform correlation operations with the complex baseband received sequence. The complex baseband received sequence is correlated with each of the main synchronization signal templates, and the correlation values ​​obtained from each correlation operation are constructed into a two-dimensional correlation search matrix according to the sampling position and the candidate Doppler scale. The correlation operation is used to obtain the correlation value between the complex baseband received sequence and the main synchronization signal template, and the sampling position is the sampling point position in the complex baseband received sequence. The sampling position corresponding to the element with the largest correlation value in the two-dimensional correlation search matrix is ​​determined as the starting position of the main synchronization signal in the complex baseband received sequence, and the candidate Doppler scale corresponding to the element with the largest correlation value is determined as the Doppler scale estimate of the main synchronization signal in the complex baseband received sequence.

2. The method according to claim 1, characterized in that, The step of performing correlation operations between the complex baseband received sequence and each of the primary synchronization signal templates includes: The complex baseband received sequence is extracted into a preset number of data subsequences according to a preset extraction method. The data subsequences are the sampled sequences extracted from the complex baseband received sequence according to the sampling time interval. The preset number is determined according to the parallel processing resources of the receiving end. Each of the data subsequences is multiplied point by point with each of the main synchronization signal templates according to the sampling position and then accumulated to obtain the correlation value of each of the data subsequences at each sampling position under each of the main synchronization signal templates.

3. The method according to claim 2, characterized in that, The step of constructing a two-dimensional correlation search matrix by dividing the correlation values ​​obtained from each correlation operation according to the sampling location and the candidate Doppler scale includes: The correlation values ​​corresponding to each of the data subsequences are recovered and merged according to the sampling time sequence of the complex baseband received sequence to construct the two-dimensional correlation search matrix.

4. The method according to claim 1, characterized in that, The step of performing correlation operations between the complex baseband received sequence and each of the primary synchronization signal templates includes: The complex baseband received sequence is extracted into a preset number of data subsequences according to a preset extraction method; Each of the data subsequences is padded with zeros at the beginning and divided into multiple overlapping data blocks according to a fixed block length and a moving step size, wherein the moving step size is smaller than the fixed block length; Perform a Fast Fourier Transform on each of the data blocks to obtain the frequency domain results of each data block; The conjugate inversion of each of the main synchronization signal templates is transformed to the frequency domain to obtain the frequency domain results of each of the main synchronization signal templates; Multiply the frequency domain results of each data block by the frequency domain results of each main synchronization signal template point by point; Perform an inverse fast Fourier transform on the multiplication result to obtain the block correlation output.

5. The method according to claim 4, characterized in that, The step of constructing a two-dimensional correlation search matrix by dividing the correlation values ​​obtained from each correlation operation according to the sampling location and the candidate Doppler scale includes: Remove invalid boundary samples caused by circular convolution from each of the block-related outputs. The invalid boundary samples are the boundary samples generated by aliasing of circular convolution in the block-related outputs. The results after removing invalid boundary samples are spliced ​​together in time sequence to obtain the complete correlation results corresponding to each candidate Doppler scale. The complete correlation results are constructed into a two-dimensional correlation search matrix according to the sampling location and the candidate Doppler scale.

6. The method according to claim 4, characterized in that, The step of conjugate inversion and transformation to the frequency domain of each of the main synchronization signal templates to obtain the frequency domain results of each of the main synchronization signal templates includes: The conjugate inversion of each of the main synchronization signal templates is performed and converted to the frequency domain to obtain the frequency domain results corresponding to each of the candidate Doppler scales, and these results are stored.

7. The method according to claim 6, characterized in that, The step of multiplying the frequency domain results of each data block with the frequency domain results of each master synchronization signal template point by point includes: The frequency domain results of the same data block are multiplied by the frequency domain results of the master synchronization signal templates corresponding to different candidate Doppler scales.

8. A device for capturing the master synchronization signal in pipeline acoustic communication, characterized in that, include: The signal receiving module is used to receive acoustic signals emitted from the transmitter inside the pipe, process the acoustic signals to obtain a complex baseband receiving sequence, wherein the complex baseband receiving sequence is a complex sampling sequence obtained after processing the acoustic signals; The scale determination module is used to determine multiple candidate Doppler scales based on the relative velocity range between the receiver and the transmitter and the sound propagation velocity in the pipe. The candidate Doppler scales are used to characterize the degree of time scale change of the master synchronization signal in the complex baseband received sequence relative to the pre-stored master synchronization signal sequence. The template generation module is used to resample the pre-stored master synchronization signal sequence according to each of the candidate Doppler scales to generate multiple master synchronization signal templates. The pre-stored master synchronization signal sequence is a reference sequence that is pre-stored by the receiver according to the communication configuration shared with the transmitter and is the same as the master synchronization signal sequence sent by the transmitter. The master synchronization signal template is a reference sequence obtained by resampling the pre-stored master synchronization signal sequence and is used to perform correlation operations with the complex baseband received sequence. The matrix construction module is used to perform correlation operations on the complex baseband received sequence and each of the main synchronization signal templates, and construct a two-dimensional correlation search matrix by using the correlation values ​​obtained from each correlation operation according to the sampling position and the candidate Doppler scale. The correlation operation is used to obtain the correlation value between the complex baseband received sequence and the main synchronization signal template, and the sampling position is the sampling point position in the complex baseband received sequence. The parameter determination module is used to determine the sampling position corresponding to the element with the largest correlation value in the two-dimensional correlation search matrix as the starting position of the main synchronization signal in the complex baseband received sequence, and to determine the candidate Doppler scale corresponding to the element with the largest correlation value as the estimated Doppler scale value of the main synchronization signal in the complex baseband received sequence.

9. An electronic device, characterized in that, The device includes a processor and a memory, the processor being coupled to the memory; the memory is used to store computer instructions, which are loaded and executed by the processor to enable the computer device to implement the master synchronization signal acquisition method for pipeline acoustic communication as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer-executable instructions that, when executed on a computer, cause the computer to perform the method for capturing the master synchronization signal of pipe acoustic communication as described in any one of claims 1 to 7.