Demodulation signal synchronization method, device, equipment and storage medium for optical sensing communication

By performing relevant calculations and shaping on the signals to be synchronized in the optical fiber sensing communication system, the positions of the leading symbols and information symbols are determined, which solves the problems of synchronization position errors and high cost in the existing technology, and achieves more efficient signal synchronization.

CN118659956BActive Publication Date: 2024-10-29QUALSEN (GUANGZHOU) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411132677.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-29
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

The existing optical sensing communication demodulation signal synchronization method has problems such as synchronization position errors, low accuracy and high cost.

Method used

By converting the reflected light signal generated by the vibration of the optical fiber, the signal to be synchronized is obtained, and the correlation operation is performed on the leading symbol and the information symbol in the data frame to obtain the correlation result of the data frame, and the correlation result is shaped to obtain the data The envelope of the frame determines the center position of the leading symbol based on the envelope and the preset threshold, and determines the starting position of the information symbol based on the center position and the length of the leading symbol to achieve synchronous demodulation of the signal to be synchronized.

Benefits of technology

The accuracy of signal synchronization is improved, synchronization costs are reduced, and demodulation signal synchronization efficiency and convenience are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659956B_ABST
    Figure CN118659956B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of optical sensing communication, and discloses a demodulation signal synchronization method, device, equipment and storage medium for optical sensing communication. The method includes converting a reflected light signal generated by an optical fiber based on vibration to obtain a signal to be synchronized, performing correlation operations on a leading symbol and an information symbol in a data frame to obtain a correlation result of the data frame, and shaping the correlation result to obtain an envelope of the data frame, determining the center position of the leading symbol according to the envelope and a preset threshold, and determining the starting position of the information symbol based on the center position and the length of the leading symbol, and synchronously demodulating the data frame in the signal to be synchronized according to the starting position of the information symbol. The scheme realizes synchronization of the transmitted data by presetting the format of the data frame and performing signal processing on the data frame to determine the starting position of the signal transmission, thereby improving the accuracy of signal synchronization and reducing the cost of signal synchronization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical sensor communication, and in particular to a demodulation signal synchronization method, device, equipment and storage medium for optical sensor communication. Background Art

[0002] The optical fiber sensing communication system consists of a base station device, an optical fiber, and a terminal device. The base station device emits a periodic pulse laser to the optical fiber through a pulse laser, and at the same time converts the reflected light into an electrical signal through photoelectric conversion, and demodulates the electrical signal to obtain the transmission data to realize optical sensing communication. When demodulating the signal, due to interference signals and transmission lines, the signal needs to be synchronized first. In the existing technical solutions, for the synchronization of the signal to be demodulated, a threshold synchronization or a forced synchronization scheme of continuous sampling is usually adopted. For threshold synchronization, the envelope of the received signal is obtained, and then the envelope signal is compared through a threshold to obtain a high and low signal, and then when the high signal is high, it is considered to be synchronized, and the position of the interference signal will be mistakenly judged as the synchronization position of the signal; for forced synchronization demodulation, it depends on the powerful processing power of the processor to demodulate the received signal in real time, that is, the processing speed of the processor is limited to complete the demodulation within the time of signal transmission, and realize real-time demodulation, but it requires a powerful processor computing power, and it is impossible to achieve multiplexing of multiple terminals. Summary of the invention

[0003] The main purpose of the present invention is to solve the technical problems of synchronization position error, low accuracy and high cost in the existing demodulation signal synchronization method of optical sensor communication.

[0004] A first aspect of the present invention provides a demodulation signal synchronization method for optical sensing communication, which is applied to an optical sensing communication base station, and the method comprises: converting a reflected light signal generated by an optical fiber based on vibration to obtain a signal to be synchronized, wherein the signal to be synchronized comprises a data frame composed of a leading symbol and an information symbol; performing correlation operations on the leading symbol and the information symbol in the data frame to obtain a correlation result of the data frame, and shaping the correlation result to obtain an envelope of the data frame; determining a center position of the leading symbol according to the envelope and a preset threshold, and determining a starting position of the information symbol based on the center position and the length of the leading symbol, and synchronously demodulating the data frame in the signal to be synchronized according to the starting position of the information symbol.

[0005] Optionally, in a first implementation method of the first aspect of the present invention, the correlation operation is performed on the leading symbol and the information symbol in the data frame to obtain the correlation result of the data frame, including: obtaining the leading frequency corresponding to the leading symbol, and obtaining the corresponding standard signal based on the leading frequency, wherein the leading frequency is pre-set and inconsistent with the frequency of the information symbol, the frequency of the standard signal is consistent with the leading frequency, and the number of signals of the standard signal is consistent with the number of signals of the data frame; based on the standard signal, time domain correlation calculation is performed on the leading symbol and the information symbol in the data frame to obtain the correlation result of the data frame.

[0006] Optionally, in a second implementation method of the first aspect of the present invention, the time domain correlation calculation is performed on the leading symbol and the information symbol in the data frame based on the standard signal to obtain the correlation result of the data frame, including: determining the unit signal length of the standard signal and the data frame based on the number of signals in the data frame, calculating the product of the unit signal length of the standard signal and the data frame for the first signal in the data frame based on the unit signal length to obtain the correlation value of the first signal in the data frame, and slidingly calculating the correlation values ​​of each signal in the data frame to obtain the correlation result of the data frame.

[0007] Optionally, in a third implementation method of the first aspect of the present invention, the shaping of the correlation result to obtain the envelope of the data frame includes: determining a unit shaping length based on the number of signals in the data frame, calculating the sum of squares of correlation values ​​of the unit shaping length for the first correlation value in the correlation result based on the unit shaping length to obtain the envelope value of the first correlation value in the correlation result, and slidingly calculating the envelope values ​​of each correlation value in the correlation result to obtain the envelope of the data frame.

[0008] Optionally, in a fourth implementation method of the first aspect of the present invention, determining the center position of the leading symbol based on the envelope line and the preset threshold includes: numerically comparing each envelope value in the envelope line with the preset threshold to obtain a comparison result; determining an envelope gate signal of the envelope line based on the comparison result, and extracting the envelope gate signal with a high level in the envelope gate signal as a valid envelope gate signal; obtaining a valid envelope value corresponding to the valid envelope gate signal, and determining a corresponding valid correlation result based on the valid envelope value, and determining the center position of the leading symbol based on the numerical values ​​of each of the valid correlation results.

[0009] Optionally, in a fifth implementation method of the first aspect of the present invention, the center position of the leading symbol is determined based on the numerical values ​​of each of the effective correlation results, including: sorting the effective correlation results corresponding to the effective envelope gate signal according to the numerical values ​​of each correlation value to obtain a correlation value sequence, and extracting the correlation value with the largest numerical value from the correlation value sequence to obtain a target correlation value; obtaining the position of the signal corresponding to the target correlation value in the data frame to obtain the center position of the leading symbol.

[0010] Optionally, in a sixth implementation method of the first aspect of the present invention, determining the starting position of the information symbol based on the center position and the length of the leading symbol includes: obtaining the length of the leading symbol and calculating half of the length to obtain a signal distance; calculating the sum of the center position and the signal distance to determine the starting position of the information symbol.

[0011] A second aspect of the present invention provides a demodulation signal synchronization device for optical sensor communication, which is applied to an optical sensor communication base station, and the device includes:

[0012] A conversion module, used for converting the reflected light signal generated by the optical fiber based on vibration to obtain a signal to be synchronized, wherein the signal to be synchronized includes a data frame composed of a leading symbol and an information symbol;

[0013] A determination module, configured to perform a correlation operation on the leading symbol and the information symbol in the data frame to obtain a correlation result of the data frame, and to shape the correlation result to obtain an envelope of the data frame;

[0014] A synchronization module is used to determine the center position of the leading symbol according to the envelope and a preset threshold, determine the starting position of the information symbol based on the center position and the length of the leading symbol, and synchronously demodulate the data frame in the signal to be synchronized according to the starting position of the information symbol.

[0015] Optionally, in a first implementation manner of the second aspect of the present invention, the determining module includes:

[0016] A correlation calculation unit is used to obtain a pilot frequency corresponding to the pilot symbol, and obtain a corresponding standard signal based on the pilot frequency, wherein the pilot frequency is pre-set and inconsistent with the frequency of the information symbol, the frequency of the standard signal is consistent with the pilot frequency, and the number of signals of the standard signal is consistent with the number of signals of the data frame; based on the standard signal, a time domain correlation calculation is performed on the pilot symbol and the information symbol in the data frame to obtain a correlation result of the data frame.

[0017] Optionally, in a second implementation method of the second aspect of the present invention, the correlation calculation unit is specifically used to: determine the unit signal length of the standard signal and the data frame based on the number of signals in the data frame, calculate the sum of the products of the unit signal length of the standard signal and the data frame for the first signal in the data frame based on the unit signal length, obtain the correlation value of the first signal in the data frame, and slidingly calculate the correlation values ​​of each signal in the data frame to obtain the correlation result of the data frame.

[0018] Optionally, in a third implementation manner of the second aspect of the present invention, the determining module further includes:

[0019] An envelope calculation unit is used to determine a unit shaping length based on the number of signals in the data frame, calculate the sum of squares of correlation values ​​of the unit shaping length based on the unit shaping length for the first correlation value in the correlation result, obtain the envelope value of the first correlation value in the correlation result, and slidingly calculate the envelope values ​​of each correlation value in the correlation result to obtain the envelope line of the data frame.

[0020] Optionally, in a fourth implementation of the second aspect of the present invention, the synchronization module includes:

[0021] A center position calculation unit is used to compare each envelope value in the envelope line with a preset threshold value to obtain a comparison result; determine the envelope gate signal of the envelope line based on the comparison result, and extract the envelope gate signal with a high level state in the envelope gate signal as a valid envelope gate signal; obtain the effective envelope value corresponding to the effective envelope gate signal, and determine the corresponding effective correlation result based on the effective envelope value, and determine the center position of the leading symbol based on the numerical value of each of the effective correlation results.

[0022] Optionally, in a fifth implementation method of the second aspect of the present invention, the center position calculation unit is specifically used to: sort the effective correlation results corresponding to the effective envelope gate signal according to the numerical values ​​of each correlation value to obtain a correlation value sequence, and extract the correlation value with the largest numerical value from the correlation value sequence to obtain a target correlation value; obtain the position of the signal corresponding to the target correlation value in the data frame to obtain the center position of the leading symbol.

[0023] Optionally, in a sixth implementation of the second aspect of the present invention, the synchronization module further includes:

[0024] The starting position calculation unit is used to obtain the length of the leading symbol and calculate half of the length to obtain the signal distance; calculate the sum of the center position and the signal distance to determine the starting position of the information symbol.

[0025] A third aspect of the present invention provides a demodulation signal synchronization device for optical sensor communication, the demodulation signal synchronization device for optical sensor communication comprising a memory and at least one processor, the memory storing instructions; the at least one processor calls the instructions in the memory to enable the demodulation signal synchronization device for optical sensor communication to execute the demodulation signal synchronization method for optical sensor communication as described above.

[0026] A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, and when the instructions are executed by a processor, the demodulation signal synchronization method for optical sensor communication as described above is implemented.

[0027] In the technical solution provided by the present invention, the reflected light signal generated by the optical fiber based on vibration is converted to obtain the signal to be synchronized, the leading symbol and the information symbol in the data frame are correlated to obtain the correlation result of the data frame, and the correlation result is shaped to obtain the envelope of the data frame, the center position of the leading symbol is determined according to the envelope and the preset threshold, and the starting position of the information symbol is determined based on the center position and the length of the leading symbol, and the data frame in the signal to be synchronized is synchronously demodulated according to the starting position of the information symbol. This solution realizes the synchronization of the transmitted data by presetting the format of the data frame and performing signal processing on the data frame to determine the starting position of the signal transmission, thereby improving the accuracy of signal synchronization, reducing the synchronization cost of the demodulation signal, and improving the synchronization efficiency and convenience of the demodulation signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of a first embodiment of a demodulation signal synchronization method for optical sensor communication provided by an embodiment of the present invention;

[0029] Figure 2 A schematic diagram of a second embodiment of a demodulation signal synchronization method for optical sensor communication provided by an embodiment of the present invention;

[0030] Figure 3 A schematic diagram of the amplitude of a data frame of a signal to be synchronized provided by an embodiment of the present invention;

[0031] Figure 4 A schematic diagram of correlation results of data frames provided by an embodiment of the present invention;

[0032] Figure 5 A schematic diagram of an envelope gate signal of a data frame provided by an embodiment of the present invention;

[0033] Figure 6 A schematic diagram of the structure of a demodulation signal synchronization device for optical sensor communication provided by an embodiment of the present invention;

[0034] Figure 7Another structural schematic diagram of a demodulation signal synchronization device for optical sensor communication provided by an embodiment of the present invention;

[0035] Figure 8 A schematic diagram of the structure of a demodulation signal synchronization device for optical sensor communication provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] With respect to the existing demodulation signal synchronization method of optical sensing communication, the present application converts the reflected light signal generated by the optical fiber based on vibration to obtain the signal to be synchronized, performs correlation operation on the leading symbol and the information symbol in the data frame to obtain the correlation result of the data frame, and shapes the correlation result to obtain the envelope of the data frame, determines the center position of the leading symbol according to the envelope and the preset threshold, determines the starting position of the information symbol based on the center position and the length of the leading symbol, and performs synchronous demodulation on the data frame in the signal to be synchronized according to the starting position of the information symbol. This scheme realizes synchronization of the transmitted data by presetting the format of the data frame and performing signal processing on the data frame to determine the starting position of the signal transmission, thereby improving the accuracy of signal synchronization, reducing the cost of signal synchronization, and improving the demodulation signal synchronization efficiency of optical sensing communication.

[0037] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0038] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 A schematic diagram of a first embodiment of a demodulation signal synchronization method for optical sensor communication provided by an embodiment of the present invention, the method specifically comprises the following steps:

[0039] 101. Convert the reflected light signal generated by the optical fiber based on vibration to obtain a signal to be synchronized.

[0040] Wherein, the signal to be synchronized includes a data frame composed of a leading symbol and an information symbol. The demodulation signal synchronization method of optical sensor communication recorded in this scheme is applied to an optical sensor terminal in an optical sensor communication system. The optical sensor communication system includes an optical sensor communication terminal fixed on an optical fiber, and an optical sensor communication base station connected to the optical fiber. The optical sensor communication base station sends an optical signal to the optical fiber, and after the optical sensor communication terminal vibrates the optical fiber, the optical sensor communication base station receives the reflected light signal generated by the optical fiber based on the vibration, and converts the reflected light signal to obtain the signal to be synchronized. The signal to be synchronized described in this scheme is composed of a number of signals, a number of signals constitute leading symbols, and a number of signals constitute information symbols. Based on the leading symbols and the information symbols, a data frame is obtained, and based on the data frame, the final signal to be synchronized is obtained. This embodiment does not limit the number of data frames in the signal to be synchronized, that is, the number of data frames can be one or more.

[0041] The optical sensing communication base station generates a stable optical signal, and the optical sensing communication terminal vibrates the optical fiber. The optical signal is modulated to carry vibration information, and the modulated optical signal is transmitted through the optical fiber. When the optical signal carrying the vibration information reaches the optical sensing communication base station, it is necessary to convert the optical signal into an electrical signal through a photoelectric conversion device (such as a photodiode). The converted electrical signal, i.e., the signal to be synchronized, may contain unnecessary components such as noise and distortion, and appropriate signal processing is required to improve the signal quality. The signal processing steps may include filtering, amplification, demodulation, etc., to ensure that the signal to be synchronized can accurately reflect the original vibration information.

[0042] 102. Perform correlation operation on the leading symbol and the information symbol in the data frame to obtain a correlation result of the data frame, and shape the correlation result to obtain an envelope of the data frame.

[0043] In this step, the difference between the leading symbol and the information symbol in the data frame needs to be further amplified. Specifically, a correlation calculation is first performed to determine the correlation result of the data frame, and an envelope calculation is performed on the correlation result to obtain the envelope of the data frame. It can be understood that this scheme determines the starting position of the information symbol by determining the center position of the leading symbol, so the steps of correlation calculation and envelope calculation are indispensable. For example, if the envelope calculation is missing and the peak value of the correlation result is directly calculated, the result is not the center position of the leading symbol, but may be the starting position and the end position of the leading symbol, so the specific position of the leading symbol cannot be uniquely determined.

[0044] Regarding synchronization of the signal to be synchronized, in addition to determining the center position of the leading symbol according to the relevant calculation results recorded in this step to determine the starting position of the information symbol, it is also possible to synchronize the maximum value of the spectrum after obtaining the spectrum through FFT analysis, or to use a narrowband filter. Specifically, the signal is subjected to fast Fourier transform analysis to obtain its spectrum, the spectrum is searched to find the largest frequency component, usually the frequency with the largest amplitude, the frequency estimate of the maximum value is refined using the interpolation method, and synchronization is performed based on the maximum frequency component found; select or design a narrowband filter: according to the characteristics of the signal to be synchronized (such as the center frequency, bandwidth, etc.), select a suitable narrowband filter, input the signal to be synchronized into the narrowband filter, allow the signal within a specific frequency range to pass, and suppress the signal within other frequency ranges. After the signal is processed by the narrowband filter, its frequency component is more concentrated, and a synchronization detection circuit (such as a phase-locked loop PLL) or other synchronization algorithms are used to extract the synchronization signal from the filtered signal, thereby achieving synchronization of the signal to be synchronized.

[0045] 103. Determine the center position of the leading symbol according to the envelope and the preset threshold, determine the starting position of the information symbol based on the center position and the length of the leading symbol, and synchronously demodulate the data frame in the synchronization signal according to the starting position of the information symbol.

[0046] For determining the center position of the leading symbol, the envelope line can be directly intercepted according to a preset threshold value to obtain a valid envelope line, and the effective values ​​of each signal in the valid envelope line are numerically sorted to obtain a peak value in the valid envelope line, and the time position corresponding to the peak value is the center position of the leading symbol; or, the envelope line is numerically judged based on the preset threshold value, when the envelope value of the signal is greater than the preset threshold value, it is confirmed that the level state of the envelope gate signal of the signal is a high level, and similarly, when the envelope value of the signal is less than the preset threshold value, it is confirmed that the level state of the envelope gate signal of the signal is a low level, and the envelope gate signal of the envelope line is obtained, and the valid envelope line is determined according to the envelope line corresponding to the high-level gate signal in the envelope gate signal, and the effective value of each signal in the valid envelope line is numerically sorted to obtain the peak value in the valid envelope line, and the time position corresponding to the peak value is the center position of the leading symbol. Regarding determining the starting position of an information symbol based on the center position of a leading symbol, it can be understood that the length of the leading symbol is set in advance. When the center position of the leading symbol is known, the ending position of the leading symbol can be determined based on the center position and length of the leading symbol. The ending position of the leading symbol is the starting position of the information symbol.

[0047] This solution pre-sets the format of the data frame and performs signal processing on the data frame to determine the starting position of the signal transmission, thereby achieving synchronization of the transmitted data, improving the accuracy of signal synchronization, and reducing the cost of signal synchronization.

[0048] See also Figure 2 , a schematic diagram of a second embodiment of a demodulation signal synchronization method for optical sensor communication provided by an embodiment of the present invention, the method specifically comprises the following steps:

[0049] 201. Transmit a reference optical signal to the optical fiber, receive a reflected optical signal generated by the optical fiber due to vibration, convert the reflected optical signal into an electrical signal, and obtain a signal to be synchronized.

[0050] See also Figure 3 , a schematic diagram of the amplitude of a data frame of a signal to be synchronized provided by an embodiment of the present invention, the horizontal axis is time, and the vertical axis is the amplitude of the electrical signal. In this scheme, the transmission format of the data frame is pre-defined, that is, the transmission format of the data frame is a leading symbol + information symbol, and the vibration frequency of the leading symbol and the information symbol is inconsistent. Therefore, after being converted into a signal to be synchronized, the amplitude of the leading symbol and the information symbol is also inconsistent. It can be understood that the leading symbol and the information symbol are both transmitted by affecting the optical signal in the optical fiber through vibration. Therefore, the difference between the leading symbol and the information symbol is not limited to the frequency. The difference between the leading symbol and the information symbol can also be amplitude, phase, etc. The optical sensing communication terminal converts the transmitted information into physical vibration and vibrates the optical fiber. The optical sensing communication base station sends a pulse laser at a certain frequency, and then detects the reflected light signal generated by the vibration in the optical fiber, and converts the reflected light signal into an electrical signal for amplification to obtain the signal to be synchronized. Furthermore, in the data frame, the number of leading symbols is one, the format of the information symbol is at least one, and the signal duration of a leading symbol and an information symbol is a fixed time length.

[0051] 202. Determine a standard signal corresponding to the data frame according to the leading frequency of the leading symbol, and perform time domain correlation calculation on the standard signal and the data frame to obtain a correlation result of the data frame.

[0052] The correlation calculation is to multiply the data frame and the standard signal at the same sampling rate point by point. Specifically, each signal in the data frame is determined, such as the data frame is Xn (x0, x1, x2, ..., xn), the vibration characteristics of the leading symbol sent by the optical sensing communication terminal are obtained, and the standard signal is determined based on the vibration characteristics. The vibration characteristics of the standard signal are consistent with the vibration characteristics of the leading symbol, and the number of the standard signals is consistent with the number of signals in the data frame. The standard signal can be a signal of each vibration characteristic pre-stored in the optical sensing communication base station, or a corresponding signal generated by the optical sensing communication base station based on the vibration characteristics of the leading symbol in the data frame. For example, the standard signal is An (a0, a1, a2, ..., an). Under ideal conditions, when the frequency and phase of the data frame in the synchronization signal are consistent with the standard signal, that is, Xn and An, the value of Σxn*an will obtain a maximum value. If the frequency or phase of Xn and An is inconsistent, the obtained value is smaller than the correlation value of the same frequency and phase.

[0053] The unit signal length of the standard signal and the data frame is determined based on the number of signals in the data frame, and the sum of the products of the standard signal and the data frame of the unit signal length is calculated for the first signal in the data frame based on the unit signal length to obtain the correlation value of the first signal in the data frame, and the correlation value of each signal in the data frame is calculated by sliding to obtain the correlation result of the data frame. In this scheme, the unit signal length is the number of signals in the standard signal and the data frame. For example, when the number of signals in the standard signal and the data frame is 128, the unit signal length is 128, and the detailed operation is as follows: multiply a1~a128 with x1~x128 respectively, and then obtain the cumulative sum y1; multiply a1~a128 with x2~x129 respectively, and then obtain the cumulative sum y2; and so on, to obtain the value after the correlation operation: y1, y2, ..., yn, to obtain the correlation value of each signal, that is, to obtain the correlation result of the data frame. Specifically, multiply a1 by x1, a2 by x2, a3 by x3, ..., a128 by x128, and add all the multiplication results to get y1, and so on, to get the correlation value corresponding to each signal. Figure 4, a schematic diagram of the correlation result of the data frame provided by an embodiment of the present invention. After the correlation calculation, the data frame will present a curve with different correlation strengths. Since the vibration characteristics of the standard signal and the leading symbol are consistent, the correlation will be stronger in the leading symbol segment than in other positions. The correlation operation is a method of measuring the similarity of two signals. The two signals are multiplied and then the integral or sum of the product is taken. For discrete signals, it is equivalent to multiplying the elements of the corresponding positions of the two signals and then summing them. Through the correlation operation, it is possible to detect whether the demodulated signal contains a leading symbol, or to determine the time offset between the demodulated signal and the leading symbol. In the communication system, the receiving end needs to know the starting position of each symbol or data packet in the demodulated signal. By calculating the correlation function between the demodulated signal and the leading symbol and finding the time offset at the peak, accurate signal synchronization can be achieved.

[0054] For the calculation of correlation results, the correlation value of discrete signals can also be calculated according to autocorrelation function, cross-correlation function, similarity measurement, sliding window method, template matching and the like.

[0055] 203. Calculate an envelope value for the correlation value corresponding to each signal in the data frame based on the correlation result to obtain an envelope curve of the data frame.

[0056] The unit shaping length is determined based on the number of signals in the data frame, and the sum of the squares of the correlation values ​​of the unit shaping length is calculated for the first correlation value in the correlation result based on the unit shaping length to obtain the envelope value of the first correlation value in the correlation result, and the envelope values ​​of each correlation value in the correlation result are calculated by sliding to obtain the envelope of the data frame. Specifically, when the number of signals in the data frame n=100, 10 is used as the unit signal length, the square of y1 is calculated, the square of y2 is calculated...the square of y10 is calculated, all squares are added together to obtain the envelope value corresponding to y1, and so on, to obtain the envelope value corresponding to each correlation value. By shaping the correlation result, the envelope of the transmission signal is obtained. It should be noted that what needs to be calculated in this step is the energy envelope, not the amplitude envelope, that is, the envelope of the correlation result, that is, the sliding average of |y|^2 of the y signal.

[0057] In another achievable manner, for the calculation of the envelope, the correlation result may be first subjected to Hilbert transformation, and an analytical signal may be constructed, and the modulus of the analytical signal may be obtained to obtain the envelope of the correlation result. Furthermore, in addition to calculating the envelope based on a sliding average, the envelope may also be calculated based on a maximum value, an average value, a difference, and the like.

[0058] 204. Perform numerical comparison on each envelope value in the envelope curve based on a preset threshold value, and determine an envelope gate signal of the envelope curve based on the numerical comparison result.

[0059] Compare each envelope value in the envelope curve with the preset threshold value to obtain a comparison result; determine the envelope gate signal of the envelope curve based on the comparison result, and extract the envelope gate signal with a high level in the envelope gate signal as a valid envelope gate signal. Figure 5 , a schematic diagram of an envelope gate signal of a data frame provided by an embodiment of the present invention, by setting a predetermined threshold, the level state of the gate signal is determined based on the numerical comparison result of each envelope value in the envelope line with the preset threshold, thereby obtaining the envelope gate signal of the envelope line. Specifically, by setting the preset threshold, the effective range gate signal of the synchronization symbol can be obtained, that is, the envelope signal obtained in the previous step is compared with the threshold, and if it is higher than the threshold, it is 1, and if it is lower than the threshold, it is 0. Therefore, the synchronization symbol is synchronized within the range where the gate signal is high, and the synchronization position is further locked.

[0060] 205. Intercept the envelope line based on the envelope gate signal to determine a valid envelope line.

[0061] The level state of the envelope gate signal is obtained, and the envelope gate signal with a high level state is extracted to obtain a valid envelope gate signal. The corresponding envelope value is obtained based on the valid envelope gate signal to obtain a valid envelope value. All valid envelope values ​​are integrated to obtain a valid envelope curve.

[0062] 206. Compare the correlation values ​​of the signals within the effective envelope, and perform numerical comparison on the correlation values ​​to determine the peak value of the correlation value within the effective envelope.

[0063] In this scheme, there is the following corresponding relationship: the signal to be synchronized includes several data frames, and the data frames include leading symbols and information symbols composed of several signals. After the data frames are correlated, the correlation values ​​corresponding to the signals are obtained, and each correlation value constitutes the correlation result of the data frame. After the correlation result is enveloped, the envelope value corresponding to the correlation value is obtained, and each envelope value constitutes the envelope of the data frame, that is, signal-correlation value-envelope value. The effective correlation results corresponding to the effective envelope gate signal are sorted according to the numerical values ​​of each correlation value to obtain a correlation value sequence, and the correlation value with the largest value is extracted from the correlation value sequence to obtain the target correlation value; the position of the signal corresponding to the target correlation value in the data frame is obtained to obtain the center position of the leading symbol. Specifically, the correlation values ​​of each signal in the effective envelope are sorted, and the correlation value with the largest value is extracted as the correlation value peak.

[0064] In practical applications, at the position where the gate signal is at a high level, the position of the peak value of the envelope is further obtained. For the determination of the peak position, the peak value determined in this scheme is the maximum value of the correlation value of the signal at the median position of the signal column obtained in at least five consecutive signals, that is, the peak value of the correlation value. It can be understood that the peak value determined in this scheme is not simply greater than the correlation value of two adjacent signals, but needs to be greater than the correlation value of all signals in the current time period or signal length within a certain time or signal length. That is, in y(n-2), y(n-1), y(n), y(n+1), y(n+2), if y(n)>[y(n-2), y(n-1)] and y(n)>[y(n+1), y(n+2)], then y(n) is considered to be a peak. At the same time, in order to avoid noise interference, another condition is set: the difference between y(n) and y(n-2) needs to be greater than the specified threshold value p, so as to determine the peak value of the correlation value of the correlation result.

[0065] 207. Obtain the center position of the pilot symbol based on the signal position of the correlation value peak, determine the starting position of the information symbol based on the center position and length of the pilot symbol, and obtain the transmission synchronization position of the demodulated signal.

[0066] The determination of the center position and the starting position can be based on time or signal length. Specifically, when based on time, the acquisition time of the signal corresponding to the peak value of the correlation value is obtained, and the acquisition time is half of the duration of the leading symbol. The signal duration of the leading symbol is preset, and the end position of the leading symbol is obtained, which is the starting position of the information symbol; when based on signal length, the position of the signal corresponding to the peak value of the correlation value in the leading symbol is obtained, and the position is the center position of the leading symbol. The signal length of the leading symbol is preset, and the end position of the leading symbol is obtained, which is the starting position of the information symbol. Specifically, the center position Z of the leading symbol is determined according to the peak value of the correlation value. Since the length L of the leading symbol is fixed, it can be obtained that the peak center position Z+L / 2 is the starting position of the information symbol.

[0067] In another feasible manner, the terminal of the transmitted data and the position where the data starts can be directly indicated in the leading symbol, and the starting position of the information symbol can be directly determined by demodulating the leading symbol; or, the vibration interval between the leading symbol and the information symbol is pre-defined, and when the interval between two adjacent signals in the electrical signal is consistent with the preset vibration interval, the starting position of the information symbol is determined. Further, the leading symbol and the signal symbol in the data frame are multiplied point by point with the standard signal, and the data frame is modulated to obtain the correlation result of the data frame, and the square sum of the correlation result is slidingly calculated according to the unit shaping length, and the envelope calculation is performed on the correlation result to obtain the envelope of the data frame, and the starting position of the information symbol is determined according to the envelope and the preset threshold, and the verification information in the data frame is extracted, and the starting position is verified, and after the verification is passed, the data frame in the synchronization signal is synchronously demodulated according to the starting position of the information symbol.

[0068] This scheme pre-sets the format of the data frame, performs signal processing on the data frame, amplifies the signal features in the data frame, and proposes an accurate and efficient synchronization scheme for the demodulated signal. On the one hand, it can accurately synchronize the starting position of the signal transmission, and on the other hand, the position of the interference signal or other non-transmission frame header will not be easily identified.

[0069] The demodulation signal synchronization method of the optical sensor communication in the embodiment of the present invention is described above. The demodulation signal synchronization device of the optical sensor communication in the embodiment of the present invention is described in detail from the perspective of modular functional entities. Figure 6 , a schematic diagram of a structure of a demodulation signal synchronization device for optical sensor communication provided by an embodiment of the present invention, which is applied to an optical sensor communication base station, and the device includes:

[0070] The conversion module 610 is used to convert the reflected light signal generated by the optical fiber based on the vibration to obtain a signal to be synchronized, wherein the signal to be synchronized includes a data frame composed of a leading symbol and an information symbol;

[0071] A determination module 620, configured to perform a correlation operation on the leading symbol and the information symbol in the data frame to obtain a correlation result of the data frame, and to shape the correlation result to obtain an envelope of the data frame;

[0072] The synchronization module 630 is used to determine the center position of the leading symbol according to the envelope and a preset threshold, determine the starting position of the information symbol based on the center position and the length of the leading symbol, and synchronously demodulate the data frame in the signal to be synchronized according to the starting position of the information symbol.

[0073] This scheme converts the reflected light signal to obtain the signal to be synchronized, performs correlation operations on the leading symbol and the information symbol in the data frame, and shapes the correlation results to obtain the envelope of the data frame. The center position of the leading symbol and the starting position of the information symbol are determined according to the envelope and a preset threshold, and the data frame in the signal to be synchronized is synchronously demodulated according to the starting position of the information symbol to achieve synchronization of the transmitted data.

[0074] See also Figure 7 , another structural schematic diagram of a demodulation signal synchronization device for optical sensor communication provided by an embodiment of the present invention, which is applied to an optical sensor communication base station, and the device includes:

[0075] The conversion module 710 is used to convert the reflected light signal generated by the optical fiber based on the vibration to obtain a signal to be synchronized, wherein the signal to be synchronized includes a data frame composed of a leading symbol and an information symbol;

[0076] A determination module 720, configured to perform a correlation operation on the leading symbol and the information symbol in the data frame to obtain a correlation result of the data frame, and to shape the correlation result to obtain an envelope of the data frame;

[0077] The synchronization module 730 is used to determine the center position of the leading symbol according to the envelope and a preset threshold, determine the starting position of the information symbol based on the center position and the length of the leading symbol, and synchronously demodulate the data frame in the signal to be synchronized according to the starting position of the information symbol.

[0078] In this embodiment, the determining module 720 includes:

[0079] The correlation calculation unit 721 is used to obtain the preamble frequency corresponding to the preamble symbol, and obtain the corresponding standard signal based on the preamble frequency, wherein the preamble frequency is pre-set and inconsistent with the frequency of the information symbol, the frequency of the standard signal is consistent with the preamble frequency, and the number of signals of the standard signal is consistent with the number of signals of the data frame; based on the standard signal, a time domain correlation calculation is performed on the preamble symbol and the information symbol in the data frame to obtain a correlation result of the data frame.

[0080] In this embodiment, the correlation calculation unit 721 is specifically used to: determine the unit signal length of the standard signal and the data frame based on the number of signals in the data frame, calculate the sum of the products of the unit signal lengths of the standard signal and the data frame for the first signal in the data frame based on the unit signal length, obtain the correlation value of the first signal in the data frame, and slidingly calculate the correlation values ​​of each signal in the data frame to obtain the correlation result of the data frame.

[0081] In this embodiment, the determining module 720 further includes:

[0082] The envelope calculation unit 722 is used to determine the unit shaping length based on the number of signals in the data frame, calculate the sum of squares of the correlation values ​​of the unit shaping length based on the unit shaping length for the first correlation value in the correlation result, obtain the envelope value of the first correlation value in the correlation result, and slidingly calculate the envelope values ​​of each correlation value in the correlation result to obtain the envelope line of the data frame.

[0083] In this embodiment, the synchronization module 730 includes:

[0084] The center position calculation unit 731 is used to compare the envelope values ​​in the envelope line with a preset threshold value to obtain a comparison result; determine the envelope gate signal of the envelope line based on the comparison result, and extract the envelope gate signal with a high level in the envelope gate signal as the effective envelope gate signal; obtain the effective envelope value corresponding to the effective envelope gate signal, and determine the corresponding effective correlation result based on the effective envelope value, and determine the center position of the leading symbol based on the numerical value of each of the effective correlation results.

[0085] In this embodiment, the center position calculation unit 731 is specifically used to: sort the effective correlation results corresponding to the effective envelope gate signal according to the numerical values ​​of each correlation value to obtain a correlation value sequence, and extract the correlation value with the largest numerical value from the correlation value sequence to obtain a target correlation value; obtain the position of the signal corresponding to the target correlation value in the data frame to obtain the center position of the leading symbol.

[0086] In this embodiment, the synchronization module 730 further includes:

[0087] The starting position calculation unit 732 is used to obtain the length of the leading symbol and calculate half of the length to obtain the signal distance; calculate the sum of the center position and the signal distance to determine the starting position of the information symbol.

[0088] This solution pre-sets the format of the data frame and performs signal processing on the data frame to determine the starting position of the signal transmission, thereby achieving synchronization of the transmitted data, improving the accuracy of signal synchronization, and reducing the cost of signal synchronization.

[0089] above Figure 6-7 The demodulation signal synchronization device for optical sensor communication in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The demodulation signal synchronization device for optical sensor communication in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0090] See also Figure 8 As shown, the demodulation signal synchronization device for optical sensor communication includes a processor 800 and a memory 801. The memory 801 stores machine executable instructions that can be executed by the processor 800. The processor 800 executes the machine executable instructions to implement the above-mentioned demodulation signal synchronization method for optical sensor communication.

[0091] Further, Figure 8 The demodulation signal synchronization device for optical sensing communication shown further includes a bus 802 and a communication interface 803 , and the processor 800 , the communication interface 803 and the memory 801 are connected via the bus 802 .

[0092] The memory 801 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), for example, at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 803 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 802 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0093] The processor 800 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 800. The above processor 800 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 801 , and the processor 800 reads the information in the memory 801 and completes the method steps of the above-mentioned embodiment in combination with its hardware.

[0094] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the various steps of the demodulation signal synchronization method for optical sensing communication provided in the above-mentioned embodiments.

[0095] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described equipment, devices, and units can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0096] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0097] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A demodulation signal synchronization method for optical sensor communication, applied to an optical sensor communication base station, characterized in that: The demodulation signal synchronization method of the optical sensing communication comprises: Converting the reflected light signal generated by the optical fiber based on vibration to obtain a signal to be synchronized, wherein the signal to be synchronized includes a data frame composed of a leading symbol and an information symbol; Acquire a corresponding standard signal based on the pilot frequency, perform a correlation operation on the pilot symbol and the information symbol in the data frame based on the standard signal to obtain a correlation result of the data frame, and shape the correlation result to obtain an envelope of the data frame; The center position of the leading symbol is determined according to the envelope and a preset threshold, the starting position of the information symbol is determined based on the center position and the length of the leading symbol, and the data frame in the signal to be synchronized is synchronously demodulated according to the starting position of the information symbol.

2. The demodulation signal synchronization method for optical sensor communication according to claim 1, characterized in that: The acquiring a corresponding standard signal based on the pilot frequency, and performing a correlation operation on the pilot symbol and the information symbol in the data frame based on the standard signal to obtain a correlation result of the data frame includes: Acquire a pilot frequency corresponding to the pilot symbol, and acquire a corresponding standard signal based on the pilot frequency, wherein the pilot frequency is preset and is inconsistent with the frequency of the information symbol, the frequency of the standard signal is consistent with the pilot frequency, and the number of signals of the standard signal is consistent with the number of signals of the data frame; A time domain correlation calculation is performed on the leading symbol and the information symbol in the data frame based on the standard signal to obtain a correlation result of the data frame.

3. The demodulation signal synchronization method for optical sensor communication according to claim 2, characterized in that: The performing time domain correlation calculation on the leading symbol and the information symbol in the data frame based on the standard signal to obtain the correlation result of the data frame includes: The unit signal lengths of the standard signal and the data frame are determined based on the number of signals in the data frame, and the sum of the products of the unit signal lengths of the standard signal and the data frame are calculated for the first signal in the data frame based on the unit signal length to obtain the correlation value of the first signal in the data frame, and the correlation values ​​of each signal in the data frame are slidingly calculated to obtain the correlation result of the data frame.

4. The demodulation signal synchronization method for optical sensor communication according to claim 1, characterized in that: The step of shaping the correlation result to obtain the envelope of the data frame includes: The unit shaping length is determined based on the number of signals in the data frame, and the sum of squares of the correlation values ​​of the unit shaping length is calculated based on the unit shaping length for the first correlation value in the correlation result to obtain the envelope value of the first correlation value in the correlation result, and the envelope values ​​of each correlation value in the correlation result are slidingly calculated to obtain the envelope line of the data frame.

5. The demodulation signal synchronization method for optical sensor communication according to claim 1, characterized in that: The determining the center position of the leading symbol according to the envelope and a preset threshold comprises: Compare each envelope value in the envelope curve with a preset threshold value to obtain a comparison result; Determine the envelope gate signal of the envelope curve based on the comparison result, and extract the envelope gate signal with a high level state in the envelope gate signal as the effective envelope gate signal; An effective envelope value corresponding to the effective envelope gate signal is obtained, and a corresponding effective correlation result is determined based on the effective envelope value, and a center position of the leading symbol is determined based on the value of each of the effective correlation results.

6. The demodulation signal synchronization method for optical sensor communication according to claim 5, characterized in that: The determining the center position of the leading symbol based on the value of each of the valid correlation results comprises: Sorting the effective correlation results corresponding to the effective envelope gate signal according to the numerical values ​​of the correlation values ​​to obtain a correlation value sequence, and extracting the correlation value with the largest numerical value from the correlation value sequence to obtain a target correlation value; The position of the signal corresponding to the target correlation value in the data frame is obtained to obtain the center position of the leading symbol.

7. The demodulation signal synchronization method for optical sensor communication according to claim 1, characterized in that: The determining the starting position of the information symbol based on the center position and the length of the leading symbol comprises: Obtaining the length of the leading symbol, and calculating half of the length to obtain a signal distance; The sum of the center position and the signal distance is calculated to determine the starting position of the information symbol.

8. A demodulation signal synchronization device for optical sensor communication, applied to an optical sensor communication base station, characterized in that: The demodulation signal synchronization device of the optical sensing communication comprises: A conversion module, used for converting the reflected light signal generated by the optical fiber based on vibration to obtain a signal to be synchronized, wherein the signal to be synchronized includes a data frame composed of a leading symbol and an information symbol; A determination module, configured to obtain a corresponding standard signal based on a pilot frequency, perform a correlation operation on a pilot symbol and an information symbol in the data frame based on the standard signal to obtain a correlation result of the data frame, and perform shaping on the correlation result to obtain an envelope of the data frame; A synchronization module is used to determine the center position of the leading symbol according to the envelope and a preset threshold, determine the starting position of the information symbol based on the center position and the length of the leading symbol, and synchronously demodulate the data frame in the signal to be synchronized according to the starting position of the information symbol.

9. A demodulation signal synchronization device for optical sensing communication, characterized in that: The demodulation signal synchronization device for optical sensor communication includes a memory and at least one processor, wherein instructions are stored in the memory; the at least one processor calls the instructions in the memory so that the demodulation signal synchronization device for optical sensor communication executes the demodulation signal synchronization method for optical sensor communication as described in any one of claims 1-7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the demodulation signal synchronization method for optical sensor communication as described in any one of claims 1-7 is implemented.

Citation Information

Patent Citations

  • Synchronous method and device for continuous phase modulation based on multi-stage PN sequence

    CN114039827A

  • Five-signal frame header detection method and device in IFF mode and signal receiver

    CN117375771A