Demodulation signal configuration method, transmission method and optical sensing communication system
In the optical sensing communication system, the optical sensing communication terminal performs frequency sweep vibration on the optical fiber, and uses the optical sensing communication base station to analyze the reverse signal, screen the effective frequencies, and establish the frequency correspondence relationship, which solves the problem of uncertainty caused by the fiber environment uncertainty. solve the problem of unstable data transmission and achieve efficient and accurate data transmission.
Patent Information
- Application Number
- CN202411132671.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-19
AI Technical Summary
In existing optical sensing communication technology, the uncertainty of the optical fiber environment leads to unstable vibration signal reception, leading to loss and errors in data transmission.
By controlling the optical sensing communication terminal to vibrate the optical fiber in a frequency sweep based on the operating frequency range, the optical sensing communication base station receives the reverse optical signal and analyzes the vibration frequency, screens the effective frequency range and target frequency, and establishes the vibration frequency and demodulation Correspondence between signals to achieve accurate demodulation of data transmission.
It improves the accuracy of data transmission and the efficiency of demodulation signal configuration, reduces costs, and enhances the convenience of signal transmission.
Smart Images

Figure CN118659955B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical sensing communication, and in particular to a demodulation signal configuration method, a transmission method and an optical sensing communication system. Background Art
[0002] When performing optical sensing communication, the existing technology is to implement vibration in the middle section of the optical fiber through the terminal to interfere with the forward optical signal in the optical fiber, and the demodulation device analyzes the reverse optical signal through the optical fiber port to obtain the vibration signal and then realize data transmission. However, in the existing technology, since the environment in which the optical fiber is located may be underground, underwater, in a pipe gallery, etc., there is a high degree of uncertainty, the vibration received in the middle section of the optical fiber is unstable, and the demodulation device has poor accuracy in analyzing the vibration signal. Therefore, when the terminal transmits data through the vibrating optical fiber, data loss and errors are prone to occur. Summary of the invention
[0003] The main purpose of the present invention is to solve the technical problem that the vibration frequency of the terminal sending data in the existing demodulation signal configuration method is difficult to be accurately received by the optical sensor communication base station.
[0004] A first aspect of the present invention provides a demodulation signal configuration method, which is applied to an optical sensing communication system, wherein the sensing system includes an optical sensing communication terminal and an optical sensing communication base station fixed on an optical fiber, and the demodulation signal configuration method includes: controlling the optical sensing communication terminal to vibrate the optical fiber in a sweeping manner based on an operating frequency range; receiving a reverse optical signal generated by the optical fiber based on vibration through the optical sensing communication base station, and analyzing the reverse optical signal to obtain an amplitude corresponding to each vibration frequency within the operating frequency range; controlling the optical sensing communication base station to screen the operating frequency range based on the amplitude, determine an effective frequency range and at least one target frequency, and configure the correspondence between the target frequency and the demodulation signal.
[0005] Optionally, in a first implementation method of the first aspect of the present invention, the controlling the optical sensing communication terminal to vibrate the optical fiber in a sweeping manner based on an operating frequency range includes: sending a vibration configuration to the optical sensing communication terminal, and extracting a start frequency, a cutoff frequency, and a duration from the vibration configuration, and determining an operating frequency range based on the start frequency and the cutoff frequency; calculating the vibration frequency and the corresponding vibration time of the optical sensing communication terminal according to the operating frequency range and the duration, and vibrating the optical fiber based on the vibration frequency and the vibration time.
[0006] Optionally, in a second implementation method of the first aspect of the present invention, the vibration frequency and the corresponding vibration time of the optical sensing communication terminal are calculated based on the operating frequency range and the duration, including: extracting the vibration step frequency from the vibration configuration, and dividing the operating frequency range based on the vibration step frequency to obtain the vibration frequency of the optical sensing communication terminal, and counting the number of the vibration frequencies; calculating the vibration time of each vibration frequency based on the number and the duration.
[0007] Optionally, in a third implementation method of the first aspect of the present invention, the reverse light signal generated by the optical fiber based on vibration is received by the optical sensing communication base station, and the reverse light signal is analyzed to obtain the amplitude corresponding to each vibration frequency within the operating frequency range, including: controlling the optical sensing communication base station to receive the reverse light signal generated by the optical fiber based on vibration, and analyzing and restoring the reverse light signal to obtain the electrical signal and vibration frequency corresponding to the reverse light signal, determining the amplitude of the electrical signal, and obtaining the amplitude corresponding to each vibration frequency within the operating frequency range.
[0008] Optionally, in a fourth implementation manner of the first aspect of the present invention, the control of the optical sensing communication base station screens the operating frequency range based on the amplitude, determines the effective frequency range and at least one target frequency, and configures the correspondence between the target frequency and the demodulated signal, including: numerically comparing the amplitudes corresponding to each vibration frequency within the operating frequency range based on a preset amplitude threshold, integrating the vibration frequencies with amplitudes greater than the preset amplitude threshold, and obtaining the effective frequency range; sorting and visualizing the effective amplitudes corresponding to each effective vibration frequency within the effective frequency range to obtain an amplitude sequence and an amplitude curve; calculating the change rate of each effective amplitude in the amplitude sequence within a unit interval based on the amplitude curve, and determining at least one target frequency from the effective frequency range according to the change rate, and establishing a correspondence between the at least one target frequency and the demodulated signal.
[0009] Optionally, in a fifth implementation manner of the first aspect of the present invention, the amplitudes corresponding to the vibration frequencies within the effective frequency range are sorted and visualized to obtain an amplitude sequence and an amplitude curve, including: obtaining the effective vibration frequencies within the effective frequency range and the corresponding effective amplitudes, and sorting the effective amplitudes by size to obtain an amplitude sequence; taking the vibration frequency as the horizontal coordinate and the amplitude as the vertical coordinate, and constructing an amplitude curve based on the effective vibration frequencies within the effective frequency range and the corresponding effective amplitudes.
[0010] Optionally, in a sixth implementation of the first aspect of the present invention, the rate of change of each effective amplitude in the amplitude sequence within a unit interval is calculated in sequence based on the amplitude curve, and at least one target frequency is determined from the effective frequency range according to the rate of change, and a corresponding relationship is established between the at least one target frequency and the demodulated signal, including: extracting effective amplitudes in sequence from the amplitude sequence, and determining the unit interval corresponding to the effective amplitude within the effective frequency range based on the effective vibration frequency corresponding to the effective amplitude; intercepting the unit amplitude curve within the unit interval, and calculating the rate of change of the unit amplitude curve to obtain the rate of change of each effective amplitude in the amplitude sequence; adjusting the sequence position of the amplitude sequence based on the rate of change, and selecting the target amplitude from the adjusted amplitude sequence, obtaining the vibration frequency corresponding to the target amplitude, obtaining at least one target frequency, and establishing a corresponding relationship between the at least one target frequency and the demodulated signal to obtain a corresponding relationship between the target frequency and the demodulated signal.
[0011] A second aspect of the present invention provides a transmission method, which is applied to an optical sensing communication system, wherein the sensing system includes an optical sensing communication terminal and an optical sensing communication base station fixed on an optical fiber, and the transmission method includes: the optical sensing communication terminal vibrates the optical fiber in a frequency sweeping manner based on an operating frequency range; the optical sensing communication base station receives a reverse optical signal generated by the optical fiber based on the vibration, and analyzes the reverse optical signal to obtain an amplitude corresponding to each vibration frequency within the operating frequency range; the optical sensing communication base station screens the operating frequency range based on the amplitude, determines an effective frequency range and at least one target frequency, and configures the target frequency. The optical sensing communication terminal obtains the correspondence between the target frequency and the demodulated signal, modulates the transmission data according to the correspondence, determines the target frequency combination corresponding to the transmission data and generates a vibration signal, and vibrates the optical fiber based on the vibration signal; the optical sensing communication base station receives the reverse optical signal generated by the vibration signal transmitted by the optical fiber, analyzes the reverse optical signal to obtain the target frequency in the vibration signal, demodulates the target frequency based on the correspondence, determines the demodulated signal corresponding to the target frequency, and obtains the transmission data according to the demodulated signal.
[0012] A third aspect of the present invention provides an optical sensing communication system, which includes a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the optical sensing communication system executes the demodulation signal configuration method or transmission method as described above.
[0013] 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 configuration method or transmission method as described above is implemented.
[0014] In the technical solution provided by the present invention, the optical sensor communication terminal is controlled to vibrate the optical fiber in a frequency sweeping manner based on the working frequency range; the optical sensor communication base station is controlled to analyze the reverse optical signal generated by the optical fiber based on the vibration to obtain the amplitude corresponding to each vibration frequency within the working frequency range; the working frequency range is screened based on the amplitude to determine the effective frequency range and at least one target frequency, and a corresponding relationship is established between at least one target frequency and the demodulation signal. This solution realizes the demodulation of the optical sensor communication terminal when transmitting data through the optical fiber by establishing a corresponding relationship between the vibration frequency and the demodulation signal. This method not only realizes the accurate sending of the signal to the optical sensor communication base station, but also reduces the configuration cost of the demodulation signal and improves the efficiency and convenience of the demodulation signal configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of a first embodiment of a demodulation signal configuration method provided by an embodiment of the present invention;
[0016] Figure 2 A schematic diagram of a second embodiment of a demodulation signal configuration method provided by an embodiment of the present invention;
[0017] Figure 3 A schematic diagram of an amplitude curve based on an operating frequency range provided by an embodiment of the present invention;
[0018] Figure 4 A schematic diagram of a third embodiment of a demodulation signal configuration method provided by an embodiment of the present invention;
[0019] Figure 5 A schematic diagram of a first embodiment of a transmission method provided by an embodiment of the present invention;
[0020] Figure 6 A schematic diagram of the structure of an optical sensing communication system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] With respect to the existing demodulation signal configuration method, the present application controls the optical sensing communication terminal to vibrate the optical fiber in a frequency sweeping manner based on the working frequency range; controls the optical sensing communication base station to analyze the reverse optical signal generated by the optical fiber based on the vibration, and obtains the amplitude corresponding to each vibration frequency within the working frequency range; controls the optical sensing communication base station to screen the working frequency range based on the amplitude, determines the effective frequency range and at least one target frequency, and configures the corresponding relationship between the target frequency and the demodulation signal. This solution realizes the demodulation of the optical sensing communication terminal when transmitting data through the optical fiber by establishing a corresponding relationship between the vibration frequency and the demodulation signal. This method not only realizes the accurate sending of the signal to the optical sensing communication base station, but also improves the efficiency of the demodulation signal configuration.
[0022] 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.
[0023] 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 configuration method provided by an embodiment of the present invention, the method specifically comprises the following steps:
[0024] 101. Control the optical sensing communication terminal to vibrate the optical fiber in a frequency sweeping manner based on an operating frequency range.
[0025] The optical sensing communication system described in this scheme includes an optical sensing communication terminal fixed on an optical fiber, and an optical sensing communication base station connected to the optical fiber. The optical sensing communication terminal is not required to be directly fixedly connected to the optical fiber. It is only limited that the optical sensing communication terminal can generate vibration and the vibration can act on the optical fiber, so that the optical signal in the optical fiber can be affected by the vibration and generate a reverse optical signal. For the fixing method of the optical sensing communication base station, the optical sensing communication base station is required to be connected to the optical fiber, transmit a forward optical signal to the optical fiber, and obtain a reverse optical signal generated based on the vibration in the optical fiber, so as to realize the reception and demodulation of the vibration signal, restore the information sent by the optical sensing communication terminal, and realize the communication function of the optical sensing communication system. The method of fixing the optical sensing communication terminal on the optical fiber includes but is not limited to: clamping the optical sensing communication terminal on the optical fiber to realize the vibration of the optical fiber; clamping the optical sensing communication terminal on the optical cable to realize the vibration of the optical fiber in the optical cable; clamping the optical sensing communication terminal on the cable to realize the vibration of the optical fiber in the cable. Correspondingly, the optical sensing communication base station is connected to the optical fiber and sends an optical signal to the optical fiber, and can receive the reflected optical signal in the optical fiber.
[0026] Specifically, the optical sensing communication base station is a communication system host based on photon sensing technology. It connects the spare cores of the optical cable through optical fibers, collects the vibration signals of the optical cable, demodulates and reads the information carried in the optical signal, and uploads the demodulated information to the server.
[0027] The frequency sweep refers to controlling the optical sensor communication terminal to vibrate toward the optical fiber in sequence at each vibration frequency from the starting frequency to the cutoff frequency at a certain step frequency within the operating frequency range. The operating frequency range is the frequency range of vibration consisting of the lowest vibration frequency and the highest vibration frequency that the optical sensor communication terminal can send. The operating frequency range can also be composed of the starting frequency and the cutoff frequency sent by the host computer to the optical sensor communication terminal.
[0028] In this solution, the optical sensing communication terminal has a vibration device, which is connected to the optical fiber and can vibrate the optical fiber through the connection. Frequency sweeping is to send vibrations by scanning the optical fiber within a certain frequency range. For frequency sweeping, it is necessary to first specify a vibration magnitude, and then the vibration frequency f is scanned one-way between the specified upper and lower limits (f{max}-f{min}), where the vibration magnitude is the step frequency, the upper limit f{max} is the cutoff frequency, and the lower limit f{min} is the starting frequency. In this embodiment, the optical fiber is vibrated in a step frequency sweeping manner, that is, vibrating at a certain vibration frequency for a certain length of time, and the optical sensing communication terminal controls the vibration according to a preset vibration configuration, which includes a starting frequency, a cutoff frequency, a step frequency, and a duration. The upper computer controls the optical sensing communication terminal to effectively cover the entire working frequency range and vibrate the optical fiber in a frequency sweeping manner by adjusting the vibration configuration.
[0029] 102. Receive a reverse optical signal generated by the optical fiber based on vibration through an optical sensing communication base station, and analyze the reverse optical signal to obtain the amplitude corresponding to each vibration frequency within the working frequency range.
[0030] The reverse optical signal is a phase change of the light wave in the optical fiber transmission caused by the external vibration interference along the line when the forward optical signal in the optical fiber is disturbed by the external vibration. The phase change leads to the formation of an optical signal phase modulation sensing signal based on double-ring Mach-Zehnder interference. The reverse optical signal generated based on vibration in the optical fiber is actually a phase change of the light wave in the optical fiber transmission caused by external vibration interference, and a phase modulation sensing signal is formed by the interference principle.
[0031] The optical sensing communication base station first receives the reverse optical signal generated by the vibration transmitted by the optical fiber. Before analysis, the optical sensing communication base station pre-processes the received reverse optical signal to eliminate noise, enhance signal quality or adjust signal amplitude. The optical sensing communication base station uses a specific demodulation algorithm or technology to decode the vibration information in the optical signal, and determines the corresponding demodulation method according to the way the vibration information is encoded in the reverse optical signal, including frequency demodulation, phase demodulation or amplitude demodulation. During the demodulation process, the optical sensing communication base station will perform frequency analysis on the optical signal to identify vibration components of different frequencies, that is, convert the reverse optical signal into an electrical signal, and use digital signal processing technology (such as fast Fourier transform FFT) to analyze the frequency components in the signal. Based on the frequency analysis, the optical sensing communication base station will extract the amplitude corresponding to each vibration frequency, which reflects the intensity of the vibration components of different frequencies. The optical sensing communication base station will output the amplitude corresponding to each vibration frequency obtained by analysis, and the output form includes digital display, graphical display or data interface.
[0032] 103. Control the optical sensor communication base station to screen the operating frequency range based on the amplitude, determine the effective frequency range and at least one target frequency, and configure a corresponding relationship between the target frequency and the demodulated signal.
[0033] For each vibration frequency and the corresponding amplitude within the obtained working frequency range, the working frequency range can be directly screened based on the numerical value of the amplitude, or can be visualized based on the numerical value of the amplitude, and the working range can be screened based on the amplitude curve after visualization. For the determination of the target frequency, the target frequency of the target number can be directly determined based on the numerical value of the amplitude, and then the demodulation signal corresponding to each target frequency is determined based on the determined target frequency, and a corresponding relationship is established between the target frequency and the demodulation signal. Specifically, a drawing tool is used to draw a vibration frequency-amplitude diagram, and the effective frequency range is determined based on the amplitude threshold. The determination of the corresponding amplitude threshold can be determined by a certain proportion of the average amplitude or the maximum amplitude. One or more target frequencies are selected within the effective frequency range. The target frequency can be a frequency with the maximum amplitude, or a frequency that meets other specific conditions. For establishing a corresponding relationship between the target frequency and the demodulation signal, according to the target frequency and the specifications of the optical sensing communication base station, the parameters of the optical sensing communication base station are configured, including setting the center frequency, bandwidth, demodulation mode, etc., and the signal source containing the target frequency is connected to the input end of the optical sensing communication base station, and the demodulated signal is received to verify the corresponding relationship between it and the target frequency.
[0034] Furthermore, the correspondence between the target frequency and the demodulated signal is configured in the optical sensing communication terminal. That is, the optical sensing communication terminal obtains the correspondence between the target frequency and the demodulated signal; specifically, the optical sensing communication terminal can be connected to an external device and configured. Based on this, the optical sensing communication terminal and the optical sensing communication base station can perform data transmission based on the configured correspondence to achieve accurate optical sensing communication. Thus, the correspondence between the target frequency and the demodulated signal is transmitted between the optical sensing communication terminal and the optical sensing communication base station.
[0035] In actual applications, the sensor transmits the collected environmental parameters to the optical sensing communication terminal through the 485 protocol. The optical sensing communication terminal generates vibration and transmits the vibration signal to the optical sensing communication base station. The optical sensing communication base station identifies the corresponding signal according to the received frequency. For example, the demodulated signal corresponding to the received frequency of 200Hz is 000, and the demodulated signal corresponding to the received frequency of 300Hz is 0001, thereby accurately sending the signal to the optical sensing communication base station.
[0036] This solution establishes a corresponding relationship between the vibration frequency and the demodulation signal, so that when the terminal transmits data through the optical fiber, the optical sensing communication base station can completely and accurately demodulate the transmitted data.
[0037] See also Figure 2 , a schematic diagram of a second embodiment of a demodulation signal configuration method provided in an embodiment of the present invention, the method specifically comprises the following steps:
[0038] 201. Determine an operating frequency range of the optical sensing communication terminal, calculate a vibration frequency and a corresponding vibration time of the optical sensing communication terminal according to the operating frequency range and duration, and vibrate the optical fiber based on the vibration frequency and the vibration time.
[0039] The operating frequency range of the optical sensing communication terminal is sent by the host computer or determined according to the terminal's own configuration. It may be a frequency range from 10 Hz to 1 MHz. The vibration time is usually not directly determined by the operating frequency range of the optical sensing communication terminal. The optical sensing communication terminal receives the vibration configuration sent by the host computer, extracts the start frequency and the cutoff frequency from the vibration configuration to obtain the operating frequency range. For example, when the start frequency is 1000Hz and the cutoff frequency is 2000Hz, the operating frequency range is 1000Hz-2000Hz, and then extracts the duration from the vibration configuration. The duration is the total time that the optical sensing communication terminal sent by the host computer needs to vibrate when performing the demodulation signal configuration, and determines the corresponding step frequency. The step frequency is the vibration frequency of the optical sensing communication terminal when vibrating based on the operating frequency range. The step frequency can be sent by the host computer or determined by the optical sensor communication terminal according to the working frequency range and duration. After determining the step frequency and working frequency range, it can be determined how many different vibration frequencies the optical sensor communication terminal needs to vibrate in the current working frequency range, and then the vibration time of each vibration frequency is calculated according to the number and duration of the vibration frequencies. For example, when the working frequency range is 1000Hz-2000Hz, the duration is 100s, and the step frequency is 1Hz, the vibration time is 1 / 10s. This solution does not limit the determination of the step frequency, that is, the step frequency can be 50Hz, 20Hz, 10Hz, 1Hz, etc., but in actual work, it is found that the step frequency of 1Hz is the most efficient and accurate.
[0040] 202. Receive a reverse optical signal generated based on vibration in the optical fiber, and perform analysis and restoration to determine the vibration frequency and corresponding amplitude of the vibration signal transmitted by the optical fiber, and obtain the amplitude corresponding to each vibration frequency within the working frequency range.
[0041] Optical fiber will generate reverse light signals based on external vibrations. The changes in reverse light signals generated by vibrations are related to the frequency and amplitude of the vibrations. Use corresponding signal analysis equipment to analyze the reverse light signals to obtain electrical signals and measure the intensity, frequency, phase and other parameters of the reverse light signals. By analyzing the analyzed electrical signals, the frequency and amplitude of the vibrations can be determined. The vibration frequency refers to the number of vibration cycles per unit time, measured in Hertz (Hz), and the amplitude is the intensity of the electrical signal.
[0042] 203. Based on a preset amplitude threshold, numerical comparison is performed on the amplitudes corresponding to the vibration frequencies within the working frequency range, and the vibration frequencies with amplitudes greater than the preset amplitude threshold are integrated to obtain an effective frequency range.
[0043] The amplitude corresponding to each vibration frequency is compared with the preset amplitude threshold in turn, the vibration frequency corresponding to the amplitude greater than the preset amplitude threshold is extracted, and the vibration frequencies are integrated to obtain the effective frequency range.
[0044] 204. Sorting and visualizing the effective amplitudes corresponding to the effective vibration frequencies within the effective frequency range to obtain an amplitude sequence and an amplitude curve.
[0045] The effective vibration frequency and the corresponding effective amplitude within the effective frequency range are obtained, and the effective amplitudes are sorted to obtain an amplitude sequence; the vibration frequency is used as the horizontal coordinate, and the amplitude is used as the vertical coordinate. Based on the effective vibration frequency within the effective frequency range and the corresponding effective amplitude, an amplitude curve is constructed.
[0046] See also Figure 3 , a schematic diagram of an amplitude curve based on the operating frequency range provided by an embodiment of the present invention, in which the horizontal axis is the vibration frequency, the vertical axis is the amplitude, the operating frequency range is 0Hz-3250Hz, when -55 millivolts is used as the preset amplitude threshold, the amplitudes of the starting frequency segment and the cutoff frequency segment in the operating frequency range are both less than the preset amplitude threshold, although from 800Hz-850Hz is greater than the preset amplitude threshold, the rate of change within the unit interval is relatively large.
[0047] 205. Calculate the change rate of each effective amplitude in the amplitude sequence within a unit interval in sequence based on the amplitude curve, and determine at least one target frequency within the effective frequency range according to the change rate.
[0048] Extract the effective amplitudes from the amplitude sequence in sequence, and determine the unit interval corresponding to the effective amplitude within the effective frequency range based on the effective vibration frequency corresponding to the effective amplitude; intercept the unit amplitude curve within the unit interval, and calculate the change rate of the unit amplitude curve to obtain the change rate of each effective amplitude in the amplitude sequence; adjust the sequence position of the amplitude sequence based on the change rate, and select the target amplitude from the adjusted amplitude sequence to obtain the vibration frequency corresponding to the target amplitude, and obtain at least one target frequency. Specifically, the amplitude sequence is generated according to the amplitudes corresponding to each vibration frequency within the effective frequency range. The determination of the unit interval can be determined according to the step frequency when the optical sensing communication terminal vibrates the optical fiber in a sweeping frequency manner. In order to more intuitively determine the change rate of the effective amplitude within the unit interval, the step frequency or a multiple of the step frequency can be used as the unit interval. For each effective amplitude, intercept the amplitude curve within the corresponding unit frequency interval, which can be achieved by interpolation or selecting the closest data point. For each unit amplitude curve, calculate its change rate, which can be achieved by calculating the slope or difference between adjacent data points, and reorder the amplitude sequence based on the calculated change rate. For example, the amplitude with the smallest rate of change is placed in front of the sequence, and the target amplitude is selected according to the adjusted amplitude sequence. The target amplitude can be the first amplitude in the sequence, or the amplitude that meets a certain condition. Finally, the position of the target amplitude in the original data is found, and its corresponding vibration frequency is obtained to obtain the target frequency.
[0049] This solution does not limit the number of target frequencies. Based on the comprehensiveness and completeness of the transmission signal, the number of target frequencies can be 8. For the determination of the target frequency, the sequence position of the amplitude sequence is adjusted based on the rate of change, and the target amplitude is selected from the adjusted amplitude sequence. Based on the numerical value of the effective amplitude, the effective amplitude with the largest value is selected from the adjusted amplitude sequence to obtain the target amplitude, and the vibration frequency corresponding to the target amplitude is obtained to obtain the target frequency. That is, the determination of the effective frequency range is obtained based on the preset amplitude threshold and the rate of change, and the determination of the target frequency is determined based on the specific numerical value of the amplitude.
[0050] 206. Establish a corresponding relationship between at least one target frequency and a demodulated signal.
[0051] Determine the vibration frequency value and quantity of the target frequency, and pair the vibration frequency value with the demodulation signal to ensure that each target frequency has a unique corresponding demodulation signal, and obtain the corresponding relationship between the target frequency and the demodulation signal. For example, the demodulation signal corresponding to the frequency of 200Hz is 0000, and the demodulation signal corresponding to the frequency of 300Hz is 0001, etc. The corresponding relationship between the target frequency and the demodulation signal is as follows:
[0052]
[0053] In practical applications, after the optical sensing communication terminal inputs the parameters of <start frequency>, <cutoff frequency>, and <duration>, the optical cable is vibrated from the <start frequency> and then increases in steps of 1 Hz until it reaches the <cutoff frequency>. This process is repeated to determine a frequency range, such as 500Hz-2000Hz, set a step frequency such as 20Hz, send signals according to the rules of 520Hz, 540Hz, 560Hz..., give the total time, calculate the time required for a single step frequency, send a signal at a certain interval, and then observe the fluctuation through the host computer, select a relatively flat waveform with a relatively high amplitude, and then determine the optimal one as the target frequency.
[0054] This solution controls the optical sensor communication terminal to apply vibration to the optical fiber in a frequency sweeping manner, detects the transmission and demodulation capabilities of the optical fiber and the optical sensor communication base station for vibration signals of different vibration frequencies in the current optical fiber transmission line, and establishes a corresponding relationship between the vibration signal that is effective and can be demodulated by the optical sensor communication base station and the demodulation signal, thereby realizing the configuration of the demodulation signal in different environments and transmission lines.
[0055] See also Figure 4 , a schematic diagram of a third embodiment of a demodulation signal configuration method provided by an embodiment of the present invention, the method specifically comprises the following steps:
[0056] 401. Control the optical sensing communication terminal to vibrate the optical fiber in a frequency sweeping manner based on an operating frequency range.
[0057] 402. Receive a reverse optical signal generated by the optical fiber based on vibration through an optical sensing communication base station, and analyze the reverse optical signal to obtain an amplitude corresponding to each vibration frequency within a working frequency range.
[0058] 403. Establish a time-frequency graph based on the vibration time and the vibration frequency, establish a time-amplitude graph based on the vibration time and the amplitude, and determine a change trend of the amplitude in each vibration time period based on the time-frequency graph and the time-amplitude graph.
[0059] Based on the step frequency of the ongoing vibration of the optical sensing communication terminal and the vibration time corresponding to each vibration frequency, a time-frequency graph is established with time as the horizontal axis and vibration frequency as the vertical axis. Based on the vibration time from the reception of the vibration signal in the optical sensing communication base station, the amplitude corresponding to each vibration frequency is determined. A time-amplitude graph is established with the reception time as the horizontal axis and the amplitude as the vertical axis, wherein the time in the time-frequency graph and the time-amplitude graph has a one-to-one correspondence between vibration and reception. The time-amplitude graph is analyzed to determine the change trend of the amplitude based on the reception time, the reception time is matched with the vibration time, and the change trend of the amplitude in each vibration time period is determined. The change trend refers to the curve direction of the amplitude in each vibration time, including stability, fluctuation and mutation.
[0060] 404. Select a target vibration time period from each vibration time period based on the change trend, obtain the vibration frequency in the target vibration time period, obtain the target frequency, and establish a corresponding relationship between at least one target frequency and the demodulated signal.
[0061] Extract the time period with a stable amplitude change trend from each vibration time period to obtain the target vibration time period, obtain the vibration frequency in the target vibration time period to obtain the target frequency, and establish a corresponding relationship between at least one target frequency and the demodulated signal. Specifically, use a sliding window method or a statistical method (such as standard deviation, variance, etc.) to analyze the amplitude change trend in each vibration time period, and select the time period with the most stable amplitude change trend as the target vibration time period based on the evaluation result of the amplitude change trend. This can be achieved by setting a threshold (such as a threshold of the standard deviation or variance). For the selected target vibration time period, obtain the corresponding vibration frequency from the time-frequency diagram to obtain the target frequency.
[0062] This solution determines the change trend of the amplitude in each vibration time period through the corresponding relationship between the amplitude and the vibration frequency in time, thereby determining the target frequency.
[0063] See also Figure 5 , a schematic diagram of a first embodiment of a transmission method provided by an embodiment of the present invention, the method specifically comprises the following steps:
[0064] 501. The optical sensing communication terminal vibrates the optical fiber in a frequency sweeping manner based on an operating frequency range.
[0065] The optical sensing communication base station is connected to the optical fiber, transmits a forward optical signal to the optical fiber, and can obtain a reverse optical signal generated by vibration in the optical fiber. The frequency sweep refers to controlling the optical sensing communication terminal to vibrate in a step-by-step scanning manner from the starting frequency to the cutoff frequency at each vibration frequency within the working frequency range. The working frequency range is the frequency range of vibration consisting of the lowest vibration frequency and the highest vibration frequency that the optical sensing communication terminal can send. The working frequency range is also composed of the starting frequency and the cutoff frequency sent by the host computer to the optical sensing communication terminal. For example, when the starting frequency is 1000Hz and the cutoff frequency is 2000Hz, the working frequency range is 1000Hz-2000Hz, the duration is 100s, and the step frequency is 1Hz. At this time, the vibration time is 100 / 1000=1 / 10s, that is, the optical sensing communication terminal vibrates at 1000Hz for 1 / 10s, vibrates at 1001Hz for 1 / 10s... and so on, to achieve vibration of the optical fiber in a frequency sweeping manner based on the working frequency range.
[0066] 502. The optical sensing communication base station receives a reverse optical signal generated by the optical fiber based on vibration, and analyzes the reverse optical signal to obtain an amplitude corresponding to each vibration frequency within a working frequency range.
[0067] The reverse optical signal is the phase change of the light wave in the optical fiber transmission caused by the external vibration interference along the line when the forward optical signal in the optical fiber is disturbed. In fact, it is the phase change of the light wave in the optical fiber transmission caused by the external vibration interference, and the phase modulation sensing signal is formed by the interference principle. When the optical sensing communication base station analyzes the reverse optical signal, it converts the reverse optical signal into an electrical signal, determines the amplitude of the electrical signal, and obtains the amplitude corresponding to each vibration frequency within the working frequency range. Specifically, it can be realized by a photoelectric detector, which detects the optical signal modulated by the signal through the photoelectric effect and converts it into an electrical signal.
[0068] 503. The optical sensing communication base station screens the operating frequency range based on the amplitude, determines the effective frequency range and at least one target frequency, and configures a corresponding relationship between the target frequency and the demodulated signal.
[0069] For each vibration frequency and corresponding amplitude within the obtained working frequency range, the working frequency range is screened based on the amplitude value to determine the effective frequency range, and the target frequency is determined according to the amplitude of each signal within the effective frequency range, and the corresponding demodulation signal is configured for the target frequency.
[0070] 504. The optical sensing communication terminal obtains the corresponding relationship between the target frequency and the demodulated signal, modulates the transmission data according to the corresponding relationship, determines the target frequency combination corresponding to the transmission data, obtains the vibration signal, and vibrates the optical fiber based on the vibration signal.
[0071] The transmission method recorded in this scheme is based on the demodulation signal configuration method. After determining the correspondence between the target frequency and the demodulation signal, the terminal converts the data to be transmitted into the target frequency combination and vibrates the optical fiber. Based on the correspondence between the vibration frequency and the demodulation signal obtained after the above demodulation signal configuration method is implemented, the optical sensing communication terminal is controlled to vibrate the optical fiber at the vibration frequency recorded in the correspondence. The optical sensing communication terminal sends a basic optical signal to the optical fiber, obtains the transmission data sent by the host computer, converts the transmission data into a demodulation signal, and determines the corresponding vibration frequency, integrates the vibration frequencies corresponding to each demodulation signal, obtains a vibration signal, and vibrates the optical fiber based on the vibration signal. When the optical fiber is subjected to external vibration, the vibration will change the physical properties of the optical fiber and affect the optical signal transmitted therein, thereby obtaining a reverse optical signal.
[0072] 505. The optical sensing communication base station receives a reverse optical signal generated based on a vibration signal transmitted by an optical fiber, analyzes the reverse optical signal to obtain a target frequency in the vibration signal, demodulates the target frequency based on a corresponding relationship, determines a demodulation signal corresponding to the target frequency, and obtains transmission data according to the demodulation signal.
[0073] In this step, the following transmission correspondence exists between the transmission data and the demodulation signal: transmission data-demodulation signal-vibration frequency-optical fiber-reverse optical signal-electrical signal-vibration frequency-demodulation signal. Among them, the correspondence is the correspondence between the vibration frequency and the demodulation signal. The optical sensing communication base station receives the reverse optical signal from the optical fiber after vibration adjustment and converts it into an electrical signal. Since the reverse optical signal is based on vibration modulation, the optical sensing communication base station needs to analyze the electrical signal to extract the vibration signal, which involves signal processing technology, such as Fourier transform, time-frequency analysis, etc., to identify and separate the frequency, amplitude and other characteristics of the vibration signal. According to the known correspondence, the optical sensing communication base station converts the vibration signal back to the demodulation signal.
[0074] After determining the correspondence between the vibration frequency and the demodulation signal, this scheme converts the data to be transmitted into vibration and then transmits it through the optical fiber. At the optical sensing communication base station, the data to be transmitted is demodulated according to the correspondence between the vibration frequency and the demodulation signal, thereby realizing accurate sending of data to the optical sensing communication base station through the optical fiber.
[0075] See also Figure 6 As shown, the optical sensing communication system includes a processor 600 and a memory 601. The memory 601 stores machine executable instructions that can be executed by the processor 600. The processor 600 executes the machine executable instructions to implement the above-mentioned demodulation signal configuration method or transmission method.
[0076] Further, Figure 6The optical sensing communication system shown further includes a bus 602 and a communication interface 603 , and the processor 600 , the communication interface 603 and the memory 601 are connected via the bus 602 .
[0077] Among them, the memory 601 may include a high-speed random access memory (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 603 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 602 can be an ISA bus, a PCI bus or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 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.
[0078] The processor 600 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 600. The above processor 600 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 601 , and the processor 600 reads the information in the memory 601 and completes the method steps of the above-mentioned embodiment in combination with its hardware.
[0079] 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 each step of the demodulation signal configuration method or the transmission method provided in the above-mentioned embodiments.
[0080] 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.
[0081] 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.
[0082] 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 configuration method, applied to an optical sensing communication system, characterized in that: The optical sensing communication system includes an optical sensing communication terminal fixed on an optical fiber, and an optical sensing communication base station connected to the optical fiber, and the demodulation signal configuration method includes: Controlling the optical sensing communication terminal to vibrate the optical fiber in a frequency sweeping manner based on an operating frequency range; Receiving a reverse optical signal generated by the optical fiber based on vibration through the optical sensing communication base station, and analyzing the reverse optical signal to obtain an amplitude corresponding to each vibration frequency within the working frequency range; The optical sensing communication base station is controlled to screen the operating frequency range based on the amplitude, determine an effective frequency range and at least one target frequency, and configure a corresponding relationship between the target frequency and a demodulated signal.
2. The demodulation signal configuration method according to claim 1, characterized in that: The controlling the optical sensing communication terminal to vibrate the optical fiber in a frequency sweeping manner based on an operating frequency range comprises: Sending a vibration configuration to the optical sensing communication terminal, extracting a start frequency, a cutoff frequency and a duration from the vibration configuration, and determining an operating frequency range based on the start frequency and the cutoff frequency; The vibration frequency and the corresponding vibration time of the optical sensing communication terminal are calculated according to the operating frequency range and the duration, and the optical fiber is vibrated based on the vibration frequency and the vibration time.
3. The demodulation signal configuration method according to claim 2, characterized in that: The calculating the vibration frequency and the corresponding vibration time of the optical sensing communication terminal according to the operating frequency range and the duration includes: Extracting a vibration step frequency from the vibration configuration, dividing the operating frequency range based on the vibration step frequency, obtaining the vibration frequency of the optical sensing communication terminal, and counting the number of the vibration frequencies; The vibration time of each of the vibration frequencies is calculated based on the number and the duration.
4. The demodulation signal configuration method according to any one of claims 1 to 3, characterized in that: The receiving, by the optical sensing communication base station, a reverse optical signal generated by the optical fiber based on vibration, and analyzing the reverse optical signal to obtain an amplitude corresponding to each vibration frequency within the working frequency range includes: Control the optical sensing communication base station to receive the reverse optical signal generated based on vibration in the optical fiber, and analyze and restore the reverse optical signal to obtain the electrical signal and vibration frequency corresponding to the reverse optical signal, determine the amplitude of the electrical signal, and obtain the amplitude corresponding to each vibration frequency within the working frequency range.
5. The demodulation signal configuration method according to any one of claims 1 to 3, characterized in that: The controlling the optical sensing communication base station to screen the operating frequency range based on the amplitude, determine the effective frequency range and at least one target frequency, and configure the corresponding relationship between the target frequency and the demodulated signal, includes: Based on a preset amplitude threshold, numerically compare the amplitudes corresponding to the vibration frequencies within the working frequency range, integrate the vibration frequencies whose amplitudes are greater than the preset amplitude threshold, and obtain an effective frequency range; Sorting and visualizing the effective amplitudes corresponding to the effective vibration frequencies within the effective frequency range to obtain an amplitude sequence and an amplitude curve; Based on the amplitude curve, the change rate of each effective amplitude in the amplitude sequence within a unit interval is calculated in sequence, and at least one target frequency is determined from the effective frequency range according to the change rate, and a corresponding relationship is established between the at least one target frequency and the demodulated signal.
6. The demodulation signal configuration method according to claim 5, characterized in that: The step of sorting and visualizing the amplitudes corresponding to the vibration frequencies within the effective frequency range to obtain an amplitude sequence and an amplitude curve includes: Obtaining effective vibration frequencies and corresponding effective amplitudes within the effective frequency range, and sorting the effective amplitudes to obtain an amplitude sequence; With the vibration frequency as the abscissa and the amplitude as the ordinate, an amplitude curve is constructed based on the effective vibration frequency within the effective frequency range and the corresponding effective amplitude.
7. The demodulation signal configuration method according to claim 5, characterized in that: The step of sequentially calculating the change rate of each effective amplitude in the amplitude sequence within a unit interval based on the amplitude curve, determining at least one target frequency within the effective frequency range according to the change rate, and establishing a corresponding relationship between the at least one target frequency and the demodulated signal includes: Extracting effective amplitudes from the amplitude sequence in sequence, and determining a unit interval corresponding to the effective amplitude within the effective frequency range based on an effective vibration frequency corresponding to the effective amplitude; intercepting a unit amplitude curve within the unit interval, and calculating a change rate of the unit amplitude curve to obtain a change rate of each effective amplitude in the amplitude sequence; The sequence position of the amplitude sequence is adjusted based on the change rate, and a target amplitude is selected from the adjusted amplitude sequence to obtain a vibration frequency corresponding to the target amplitude to obtain at least one target frequency, and a corresponding relationship is established between the at least one target frequency and a demodulated signal to obtain a corresponding relationship between the target frequency and the demodulated signal.
8. A transmission method, applied to an optical sensing communication system, characterized in that: The optical sensing communication system includes an optical sensing communication terminal fixed on an optical fiber, and an optical sensing communication base station connected to the optical fiber, and the transmission method includes: The optical sensing communication terminal vibrates the optical fiber in a frequency sweeping manner based on an operating frequency range; The optical sensing communication base station receives the reverse optical signal generated by the optical fiber based on vibration, and analyzes the reverse optical signal to obtain the amplitude corresponding to each vibration frequency within the working frequency range; The optical sensing communication base station screens the operating frequency range based on the amplitude, determines an effective frequency range and at least one target frequency, and configures a corresponding relationship between the target frequency and a demodulated signal; The optical sensing communication terminal obtains the corresponding relationship between the target frequency and the demodulated signal, modulates the transmission data according to the corresponding relationship, determines the target frequency combination corresponding to the transmission data and generates a vibration signal, and vibrates the optical fiber based on the vibration signal; The optical sensing communication base station receives a reverse optical signal generated based on the vibration signal transmitted by the optical fiber, analyzes the reverse optical signal to obtain a target frequency in the vibration signal, demodulates the target frequency based on the corresponding relationship, determines a demodulated signal corresponding to the target frequency, and obtains transmission data according to the demodulated signal.
9. An optical sensing communication system, characterized in that: The optical sensing communication system includes a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the optical sensing communication system executes the demodulation signal configuration method as described in any one of claims 1 to 7, or the transmission method as described in claim 8.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by the processor, the demodulation signal configuration method according to any one of claims 1 to 7 is implemented, or the transmission method according to claim 8 is implemented.
