Signal filtering method and system for underwater visible light communication system

By constructing the signal strength ratio and matching degree, performing two matching operations, optimizing the matching factor, and adjusting the filter window size, the problem of filter window adjustment in underwater visible light communication is solved, achieving efficient noise reduction and detail preservation of the signal.

CN118523843BActive Publication Date: 2024-10-29DALIAN ZHONGKE SUPER SILICON INTEGRATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411001652.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-29
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

In underwater visible light communication, the median filter window size is difficult to adjust, leading to signal distortion or poor filtering effect, and failing to effectively preserve the detailed features of the optical signal and remove noise.

Method used

By comparing the reception times of optical signals of different wavelengths, the signal intensity ratio and matching degree are constructed. Two matching operations are performed to optimize the matching factor. The size of the filtering window is adjusted based on the interference level to obtain the optimal filtering window.

Benefits of technology

It improves the noise reduction effect of the signal while preserving the detailed features of the optical signal, thus enhancing signal quality and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118523843B_ABST
    Figure CN118523843B_ABST
Patent Text Reader

Abstract

The present application relates to the field of signal filtering technology, and specifically to a signal filtering method and system for underwater visible light communication systems, the method comprising: collecting all optical signal-related data of different wavelengths of underwater visible light communication; obtaining optical signals to be matched of optical signals; setting a filtering window to construct the matching degree of each optical signal with the optical signal to be matched; performing a first match between the optical signal and the optical signal to be matched; classifying the optical signal; constructing the optimized matching factor of the optical signal at the remaining wavelengths; performing a second match on the optical signals in the category; constructing the interference degree according to the final matching result of the optical signal; and adjusting the filtering window. The present application aims to obtain the optimal filtering window, retain the detailed features of the optical signal, and improve the denoising effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of signal filtering, and in particular to a signal filtering method and system for an underwater visible light communication system. Background Art

[0002] Underwater visible light communication technology is a new generation of mobile communication technology. It can be widely used in various occasions and efficiently process massive amounts of information. It is a low-energy, high-connectivity, high-reliability, and low-latency communication technology. However, the underwater environment in underwater visible light communication is relatively complex, and optical signals are often interfered by factors such as water quality and suspended objects during transmission, resulting in a decrease in signal quality. In order to improve the quality and reliability of the signal, it is often necessary to filter the collected optical signals.

[0003] Median filtering is a common filtering method used in underwater visible light communication. It sorts the data values ​​of the data points in the neighborhood window around the data point, and takes the middle value as the new data value of the data point to complete the filtering of the data point. In this process, it is often necessary to pre-set the size of the filter window. Among them, if the median filter window is too large, it will lead to excessive data smoothing effect, causing the optical signal to lose detail information and cause transmission signal distortion. If the median filter window is too small, it will not be able to capture enough neighborhood information, resulting in poor filtering effect and poor noise removal effect. Summary of the invention

[0004] In view of the above, it is necessary to provide a signal filtering method and system for an underwater visible light communication system, aiming to obtain an optimal filtering window, retain the detailed characteristics of the optical signal while improving the denoising effect.

[0005] A first aspect of the present application provides a signal filtering method for an underwater visible light communication system, the method comprising:

[0006] Collect all optical signals of different wavelengths for underwater visible light communication and the corresponding receiving times;

[0007] Compare the receiving time of each wavelength with the optical signals of other wavelengths to obtain the optical signals to be matched among the other wavelengths for each optical signal of each wavelength;

[0008] A filtering window is set for each optical signal, and each optical signal and an optical signal at the same position in the filtering window of the optical signal to be matched in other wavelengths are combined into a point pair, and a signal intensity ratio of each point pair is obtained according to the signal intensity difference of the optical signals in the point pair; and a matching degree of each optical signal and the optical signal to be matched in other wavelengths is obtained according to the distribution of the corresponding signal intensity ratios of each optical signal;

[0009] Based on the matching degree, each optical signal of each wavelength is matched for the first time with the optical signals to be matched in the remaining wavelengths; the optical signals of each wavelength are divided into categories according to the first matching results, and the category with the largest average matching degree is recorded as the first category, and the remaining categories are recorded as the second category;

[0010] According to the point pairs corresponding to each optical signal in the second category of each wavelength in any other wavelength, and the point pairs corresponding to any optical signal in the first category in any other wavelength, combined with the difference distribution of signal strength ratio and receiving time, the optimized matching factor of each optical signal in the second category of each wavelength in any other wavelength is obtained;

[0011] According to the optimized matching factor of each optical signal in the second category of each wavelength at any other wavelength, combined with the corresponding matching degree, performing a second matching on each optical signal in the second category;

[0012] The interference degree of each optical signal is obtained according to the final matching result corresponding to each optical signal of each wavelength; and the filter window is adjusted based on the distribution of the interference degree in the filter window of each optical signal.

[0013] The step of obtaining the optical signals to be matched among the remaining wavelengths of the optical signals of each wavelength is specifically as follows:

[0014] For any optical signal at each wavelength, optical signals at other wavelengths whose receiving times are after the receiving time of the any optical signal are used as optical signals to be matched among the other wavelengths for any optical signal at each wavelength.

[0015] The step of obtaining the signal strength ratio of each point pair is as follows:

[0016] Each optical signal and the optical signal at the same position in the filtering window of any optical signal to be matched form a point pair; the difference between the maximum signal intensity and the minimum signal intensity in each point pair is taken as the signal intensity ratio of each point pair.

[0017] The matching degree between each optical signal and the optical signal to be matched at other wavelengths includes:

[0018] For the filtering window of each optical signal and the optical signal to be matched in any of the other wavelengths, a negative correlation mapping result of the difference in signal intensity ratios between each point pair in the filtering window and the point pair at the center position is calculated; and a positive fusion result of all the negative correlation mapping results in the filtering window corresponding to each optical signal is used as the matching degree of each optical signal and the optical signal to be matched in any of the other wavelengths.

[0019] The specific process of performing the first matching is as follows:

[0020] An optical signal to be matched that has the greatest matching degree with each optical signal of each wavelength from any other wavelength is obtained as a first matching result of each optical signal of each wavelength based on any other wavelength.

[0021] The step of obtaining the optimized matching factor of each optical signal in the second category of each wavelength at any of the remaining wavelengths is specifically as follows:

[0022] Each optical signal of each wavelength and the corresponding first matching result form each maximum matching pair;

[0023] Based on each wavelength, the signal strength ratio of any optical signal in the second category to all optical signals to be matched at any of the remaining wavelengths is recorded as a first signal strength ratio, and the signal strength ratio of the maximum matching pair corresponding to any optical signal in the first category is recorded as a second signal strength ratio; the minimum value of the difference between all the first signal strength ratios of any optical signal in the second category and the second signal strength ratio of any optical signal in the first category is obtained, and recorded as the signal difference value between any optical signal in the second category and any optical signal in the first category;

[0024] Using the same calculation method as the signal difference value, the signal strength ratio is replaced by the difference in reception time between the optical signals to obtain a reception time difference value between any optical signal in the second category and any optical signal in the first category;

[0025] The reciprocal of the forward fusion result of the signal difference value of any optical signal in the second category and the receiving time difference value of any optical signal in the first category is calculated, and the cumulative sum of the reciprocals of any optical signal in the second category and all optical signals in the first category is used as the optimization matching factor of any optical signal in the second category at any of the remaining wavelengths.

[0026] The specific steps of performing the second matching are as follows:

[0027] For each optical signal in the second category of each wavelength, the product of the optimized matching factor of each optical signal in any of the remaining wavelengths and the corresponding matching degree is used as the optimized matching degree of each optical signal in the second category of each wavelength in any of the remaining wavelengths; and the optical signal to be matched with the maximum optimized matching degree of each optical signal in the second category of each wavelength in any of the remaining wavelengths is obtained as the second matching result of each optical signal in the second category of each wavelength based on any of the remaining wavelengths.

[0028] The interference degree of each optical signal is determined by the following steps:

[0029] The inverse of the forward fusion of the optimized matching degree of each optical signal at each wavelength corresponding to all other wavelengths is taken as the interference degree of each optical signal at each wavelength; wherein the optimized matching degree of the optical signal in the first category is the original matching degree.

[0030] Wherein, adjusting the filter window includes:

[0031] Get the normalized value of the mean interference degree of all optical signals in the filtering window of each optical signal at each wavelength, which is abbreviated as ,when When it is greater than or equal to the first preset value, the filter window is adjusted ;when When it is less than the second preset value, the filter window is adjusted ; Continue to calculate the corresponding optical signal after adjusting the filter window , until Stop when the value is less than the first preset value and greater than the second preset value, or when the preset number of iterations is reached;

[0032] Wherein, the first preset value is greater than the second preset value, Indicates the size of the filter window after adjustment. Indicates the size of the pre-filter window. Indicates rounding down to an odd integer.

[0033] In a second aspect, an embodiment of the present application also provides a signal filtering system for an underwater visible light communication system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above methods when executing the computer program.

[0034] In the above scheme, all optical signal-related data of underwater visible light communication are collected to provide a data basis for the characteristic analysis of optical signals in underwater transmission; the receiving time of each wavelength is compared with the optical signals of other wavelengths, the optical signal to be matched of each wavelength among the other wavelengths is obtained, and optical signals of different wavelengths are screened as optical signals to be matched based on the underwater transmission speed; a filtering window is set, a signal intensity ratio is constructed, and the similarity of the local signal intensity changes of the optical signal and the optical signal to be matched is effectively measured; the matching degree between optical signals of different wavelengths is constructed to reflect the similarity characteristics of the signal intensity distribution of signals of different wavelengths in underwater transmission; and based on the above scheme, the optical signal to be matched is selected as the optical signal to be matched. The first matching is performed based on the similarity features. Due to the complexity of the underwater environment, different optical signals are subject to different interference degrees. Therefore, the optical signals are classified according to the results of the first matching. The optical signals with low matching degrees are optimized according to the change characteristics of the optical signals with good matching degrees to construct the optimized matching factors. The matching degree is optimized to make the second matching result more accurate. Then, the interference degree of the optical signal is constructed based on the matching degree of optical signals of different wavelengths, which effectively characterizes the interference degree of the optical signal. The size of the median filter window is adjusted based on the interference degree to obtain the optimal filter window, which retains the detailed characteristics of the optical signal while improving the denoising effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A flowchart of a signal filtering method for an underwater visible light communication system provided in one embodiment of the present application;

[0036] Figure 2 A flowchart for obtaining the interference level is provided for one embodiment of the present application. DETAILED DESCRIPTION

[0037] In the description of the embodiments of the present application, words such as "exemplary", "or", "for example" and the like are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "or", "for example" and the like is intended to present related concepts in a concrete manner.

[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the present application. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.

[0039] It should also be noted that the terms "first" and "second" in this application and the accompanying drawings are used to distinguish similar objects, rather than to describe a specific order or sequence. The method disclosed in the embodiments of the present application or the method shown in the flow chart includes one or more steps for implementing the method. Without departing from the scope of protection of the present application, the execution order of multiple steps can be interchanged with each other, and some steps can also be deleted.

[0040] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0041] The following is a detailed description of a signal filtering method and system for an underwater visible light communication system provided by the present application in conjunction with the accompanying drawings.

[0042] See also Figure 1 , which shows a flowchart of a signal filtering method for an underwater visible light communication system provided by an embodiment of the present application, the method comprising the following steps:

[0043] The first step is to collect all optical signals of different wavelengths for underwater visible light communication and the corresponding receiving times.

[0044] The light of the preset range band sent by the sending device is used as the system light source, and the system light source is modulated by wavelength division multiplexing technology, so that the signal strength values ​​of light signals of different wavelengths are proportional. The corresponding photoelectric detectors in the receiving device are used to identify and separate light signals of different wavelengths, and light signals of different wavelengths in the band will be received, and the receiving time will be recorded. Among them, the preset range band is blue-green light of 450-500nm; in addition, wavelength division multiplexing technology is a well-known technology and will not be repeated here.

[0045] The second step: compare the receiving time of each wavelength with the optical signals of other wavelengths, and obtain the optical signals to be matched among the other wavelengths for each optical signal of each wavelength.

[0046] There is a dispersion effect in the underwater transmission of optical signals. The dispersion effect is that optical signals of different wavelengths are absorbed and scattered differently by water molecules. Therefore, when propagating in water, light with a shorter wavelength usually propagates faster than light with a longer wavelength. Therefore, there is often a slight difference in the time when the optical signal arrives at the receiving end, and thus it is impossible to directly use two optical signals of the same wavelength as an optical signal point pair. Based on this, the optical signal to be matched for each optical signal of each wavelength is obtained:

[0047] For any optical signal at each wavelength, optical signals at other wavelengths whose receiving times are after the receiving time of the any optical signal are used as optical signals to be matched among the other wavelengths for any optical signal at each wavelength.

[0048] In some embodiments of the present application, taking wavelength Q and wavelength W as an example, where wavelength Q is smaller than wavelength W, the optical signal sequence of wavelength Q is recorded as , represents the nth optical signal of wavelength Q, and the optical signal sequence of wavelength W is recorded as , Represents the mth optical signal with wavelength W.

[0049] Furthermore, the i-th optical signal of wavelength Q and wavelength W is denoted as optical signal , optical signal , get the optical signal At the receiving moment, since the wavelength Q is smaller than the wavelength W, the optical signal Compared with optical signals The propagation speed in water is higher, and the light signal will be received at the same time. All optical signals of wavelength W after the receiving time constitute the optical signal The optical signal sequence to be matched in wavelength W is referred to as the sequence to be matched ; The optical signal The jth optical signal to be matched in wavelength W is simply referred to as the optical signal to be matched .

[0050] The third step: set the filtering window of each optical signal, form a point pair with the optical signal at the same position in the filtering window of the optical signal to be matched in the other wavelengths, and obtain the signal intensity ratio of each point pair according to the signal intensity difference of the optical signal in the point pair; obtain the matching degree of each optical signal with the optical signal to be matched in the other wavelengths according to the distribution of the corresponding signal intensity ratios of each optical signal.

[0051] There is a corresponding ratio between the two wavelengths of optical signals emitted by the light source. During underwater propagation, optical signals of different wavelengths will continue to attenuate as they propagate. Although the attenuation amplitudes of optical signals of different wavelengths are different, due to the fixed positions of the light source and the receiving device, the attenuation degree of an optical signal of a certain wavelength is relatively close, and the optical signals of the two wavelengths after attenuation will still have a certain proportional relationship. Based on this, the matching degree of each optical signal and the optical signal to be matched is obtained. The specific process is as follows:

[0052] A filter window is set with each optical signal as the center; in some embodiments of the present application, the filter window size is , implementers can adjust it by themselves.

[0053] Each optical signal and the optical signal at the same position in the filtering window of any optical signal to be matched form a point pair; the difference between the maximum signal intensity and the minimum signal intensity in each point pair is taken as the signal intensity ratio of each point pair.

[0054] It should be noted that the difference measures the difference between two variables. Measuring the difference between variables usually involves some indicators and methods, such as difference, ratio, distance, etc., which are not limited in this application.

[0055] In some embodiments of the present application, optical signals are obtained respectively The optical signal to be matched The optical signals at the same position in the filtering window form a point pair, and the ratio of the maximum signal intensity to the minimum signal intensity in each point pair is taken as the signal intensity ratio of each point pair.

[0056] It should be understood that the optical signal The optical signal to be matched The signal intensity ratio of the optical signal The optical signal to be matched The signal strength ratio of the center position point pair within the filtering window.

[0057] When the optical signal and the optical signal to be matched are emitted by the light source at the same time, the signal strength of all corresponding point pairs is relatively large and close. However, in the visible light communication process, information is often transmitted by adjusting the optical signal strength of the light source, so the optical signal strength emitted by the light source at different times is different; when the optical signal and the optical signal to be matched are not emitted by the light source at the same time, their signal strength ratio will change significantly, that is, the difference between the signal strength ratios of the corresponding point pairs is large. Based on this, the matching degree of each optical signal and any of its optical signals to be matched is:

[0058] For the filtering window of each optical signal and the optical signal to be matched in any of the other wavelengths, a negative correlation mapping result of the difference in signal intensity ratios between each point pair in the filtering window and the point pair at the center position is calculated; and a positive fusion result of all the negative correlation mapping results in the filtering window corresponding to each optical signal is used as the matching degree of each optical signal and the optical signal to be matched in any of the other wavelengths.

[0059] In some embodiments of the present application, the optical signal is calculated The optical signal to be matched The reciprocal of the absolute value of the difference between the signal intensity ratio of each point pair in the filter window and the center point pair is used to convert the optical signal The optical signal to be matched The sum of the reciprocals of all point pairs within the filtering window and the center point pair is taken as the optical signal The optical signal to be matched It should be noted that, in the process of performing the reciprocal calculation, in order to avoid the situation where the denominator is zero, a preset value needs to be added to the denominator, and the preset value is 1 in the embodiment.

[0060] The fourth step: based on the matching degree, each optical signal of each wavelength is matched for the first time with the optical signals to be matched in the remaining wavelengths; the optical signals of each wavelength are divided into categories according to the first matching results, and the category with the largest average matching degree is recorded as the first category, and the remaining categories are recorded as the second category.

[0061] First, the optical signal to be matched that has the greatest matching degree with each optical signal of each wavelength among any other wavelengths is obtained as the first matching result of each optical signal of each wavelength based on any other wavelength; each optical signal of each wavelength and the corresponding first matching result form each maximum matching pair.

[0062] In some embodiments of the present application, all optical signals of wavelength Q have an optical signal of wavelength W that has the greatest matching degree with them. For example, the sequence to be matched Neutral and optical signals The optical signal to be matched with the highest matching degree is used as the optical signal At the maximum matching point of wavelength W, the optical signal The maximum matching point of the optical signal Form a maximum matching pair.

[0063] It should be noted that, considering the optical signal There may be multiple optical signals to be matched with the highest matching degree, so the optical signal with the receiving time and the optical signal The time interval between receiving times is the smallest.

[0064] Based on the matching degree of each optical signal at each wavelength and the corresponding first matching result, all optical signals at each wavelength are divided into categories; and the category with the largest average matching degree is recorded as the first category, and the remaining categories are recorded as the second category.

[0065] It should be noted that since the maximum matching pair is composed of two optical signals of different wavelengths, each maximum matching pair has a matching degree; in addition, there are many ways to divide categories, and the category division can be completed by using well-known technologies such as threshold segmentation and clustering algorithms, and this application does not impose any restrictions on this.

[0066] In some embodiments of the present application, the K-means clustering algorithm is used to cluster the optical signals of wavelength Q based on the maximum matching degree, and the number of cluster centers is set to 2. The clustering process is a well-known technology and will not be described in detail here. Then, the optical signals of wavelength Q are divided into two categories, which are respectively recorded as the first category and the second category, wherein the average maximum matching degree of the optical signals in the first category is greater than the average maximum matching degree of the optical signals in the second category.

[0067] The fifth step: according to the point pairs corresponding to each optical signal in the second category of each wavelength in any other wavelength, and the point pairs corresponding to any optical signal in the first category in any other wavelength, combined with the difference distribution of signal strength ratio and receiving time, obtain the optimized matching factor of each optical signal in the second category of each wavelength in any other wavelength.

[0068] Due to the complexity of the underwater environment, water flow, water quality and moving objects in the water will interfere with the transmission of optical signals. When the optical signal is temporarily blocked by moving objects or suspended objects in the water during the transmission process, the signal strength values ​​of corresponding points of different wavelengths may fluctuate greatly, leading to the phenomenon of optical signal mismatch. The moving speed of an optical signal of a certain wavelength in the same medium is usually fixed, so for optical signals of different wavelengths, the time difference for optical signals of different wavelengths sent by the light source at the same time to reach the receiving device in the same medium is often close.

[0069] Based on this, the optimized matching factor of each optical signal in the second category of each wavelength is obtained:

[0070] Based on each wavelength, the signal strength ratio of any optical signal in the second category and all the optical signals to be matched at any of the other wavelengths is recorded as the first signal strength ratio, and the signal strength ratio of the maximum matching pair corresponding to any optical signal in the first category is recorded as the second signal strength ratio; the minimum value of the difference between all the first signal strength ratios of any optical signal in the second category and the second signal strength ratios of any optical signal in the first category is obtained, and recorded as the signal difference value between any optical signal in the second category and any optical signal in the first category.

[0071] The same calculation method as that of the signal difference value is adopted, and the signal strength ratio is replaced by the difference in receiving time between the optical signals to obtain the difference value of the receiving time between any optical signal in the second category and any optical signal in the first category.

[0072] The reciprocal of the forward fusion result of the signal difference value of any optical signal in the second category and the receiving time difference value of any optical signal in the first category is calculated, and the cumulative sum of the reciprocals of any optical signal in the second category and all optical signals in the first category is used as the optimization matching factor of any optical signal in the second category at any of the remaining wavelengths.

[0073] In some embodiments of the present application, the kth optical signal in the second category of wavelength Q is simply referred to as optical signal , optical signal The specific expression of the optimized matching factor is: ; Indicates optical signal The optimized matching factor is: n represents the number of optical signals with wavelength Q in the first category; , Represents optical signals The signal difference value and reception time difference value with the g-th optical signal in the first category; Indicates that the preset parameter factor is greater than zero, and the value is 0.01.

[0074] Among them, the optical signal The expression of the signal difference value with the g-th optical signal in the first category is: ; represents the minimum function; Indicates optical signal With optical signal The signal intensity ratio of the ath optical signal to be matched at wavelength W; represents the signal intensity ratio of the two optical signals in the maximum matching pair corresponding to the g-th optical signal in the first category; Indicates optical signal The number of optical signals to be matched in wavelength W. Optical signal The expression of the difference value of the reception time of the g-th optical signal in the first category is: ; Indicates optical signal With optical signal The absolute value of the difference in reception time of the ath optical signal to be matched in wavelength W; It represents the absolute value of the difference between the receiving times of the two optical signals in the maximum matching pair corresponding to the g-th optical signal in the first category.

[0075] It should be noted that the larger the signal difference value and the receiving time difference value are, the greater the possibility of mismatching due to interference during the optical signal transmission process is, and the larger the corresponding optimization factor is.

[0076] The sixth step: performing a second matching on each optical signal in the second category according to the optimized matching factor of each optical signal in the second category at any other wavelength in combination with the corresponding matching degree.

[0077] Specifically, for each optical signal in the second category of each wavelength, the product of the optimized matching factor of each optical signal in any of the remaining wavelengths and the corresponding matching degree is used as the optimized matching degree of each optical signal in the second category of each wavelength in any of the remaining wavelengths; the optical signal to be matched with the maximum optimized matching degree of each optical signal in the second category of each wavelength in any of the remaining wavelengths is obtained as the second matching result of each optical signal in the second category of each wavelength based on any of the remaining wavelengths, and each optical signal in the second category of each wavelength and the corresponding second matching result are combined into a corresponding maximum matching pair.

[0078] At this point, the matching of each optical signal at each wavelength on the remaining wavelengths is completed, and each optical signal has an optical signal matching it on the remaining wavelengths and a corresponding final matching degree.

[0079] The seventh step: obtaining the interference degree of each optical signal according to the final matching result corresponding to each optical signal of each wavelength; and adjusting the filter window based on the distribution of the interference degree in the filter window of each optical signal.

[0080] The reciprocal of the forward fusion of the optimized matching degrees of each optical signal at each wavelength corresponding to all other wavelengths is taken as the interference degree of each optical signal at each wavelength.

[0081] In some embodiments of the present application, the reciprocal of the sum of the optimized matching degrees of each optical signal at each wavelength at all other wavelengths is used as the interference degree of each optical signal at each wavelength.

[0082] Among them, the interference degree acquisition flow chart is as follows: Figure 2 shown.

[0083] It should be noted that, since only the matching degree of the optical signal in the second category is further optimized, the optimized matching degree of the optical signal in the first category is the original matching degree.

[0084] It should be understood that the greater the matching degree, the less likely the optical signal is to be interfered with.

[0085] Get the normalized value of the mean interference degree of all optical signals in the filtering window of each optical signal at each wavelength, which is abbreviated as ,when When it is greater than or equal to the first preset value, the filter window is adjusted ;when When it is less than the second preset value, the filter window is adjusted ; Continue to calculate the corresponding optical signal after adjusting the filter window , until Stop when the value is less than the first preset value and greater than the second preset value, or when the preset number of iterations is reached;

[0086] Wherein, the first preset value is greater than the second preset value, Indicates the size of the filter window after adjustment. Indicates the size of the pre-filter window. Indicates rounding down to an odd integer.

[0087] In some embodiments of the present application, the first preset value is 0.4; the second preset value is 0.2; The normalized value of the mean interference degree of all optical signals in the filtering window is simply recorded as ,when When it is greater than or equal to 0.4, it is determined that the optical signal interference in the filter window is large and the filter window needs to be increased. The size of the filter window after adjustment is ;when When it is less than 0.2, it means that the interference is small, the filter window can be reduced, and the optical signal details can be retained. ;in, Indicates the size of the filter window after adjustment. Indicates the size of the pre-filter window. means round down to an odd integer, and The minimum value is 3, until When it is greater than or equal to 0.2 and less than 0.4, stop adjusting. To prevent continuous adjustment, the preset number of iterations is 20, which can be adjusted by the implementer.

[0088] All optical signals are filtered through the adjusted median filter window. The median filter process is a well-known technology and will not be described in detail here.

[0089] Based on the same inventive concept as the above method, an embodiment of the present application also provides a signal filtering system for an underwater visible light communication system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned signal filtering methods for an underwater visible light communication system when executing the computer program.

[0090] In summary, the embodiments of the present application collect all optical signal-related data of underwater visible light communication to provide a data basis for the characteristic analysis of optical signals transmitted underwater; compare the receiving time of each wavelength with the optical signals of other wavelengths, obtain the optical signal to be matched of each wavelength among the other wavelengths, and screen optical signals of different wavelengths as optical signals to be matched based on the underwater transmission speed; set a filtering window, construct a signal strength ratio, and effectively measure the similarity of the local signal strength changes of the optical signal and the optical signal to be matched; construct the matching degree between optical signals of different wavelengths to reflect the similarity characteristics of the signal strength distribution of signals of different wavelengths transmitted underwater; and based on The similarity feature is used for the first matching. Due to the complexity of the underwater environment, different optical signals are subject to different interference degrees. Therefore, the optical signals are classified according to the results of the first matching. The optical signals with low matching degrees are optimized according to the change characteristics of the optical signals with good matching degrees to construct the optimized matching factors. The matching degree is optimized to make the second matching result more accurate. Then, the interference degree of the optical signal is constructed based on the matching degree of optical signals of different wavelengths, which effectively characterizes the interference degree of the optical signal. The size of the median filter window is adaptively adjusted based on the interference degree to obtain the optimal filter window, which retains the detailed characteristics of the optical signal while improving the denoising effect.

[0091] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two continuous operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

[0092] For those skilled in the art, it is obvious that the present application is not limited to the details of the above exemplary embodiments, and the present application can be implemented in other specific forms without departing from the basic features of the present application. Therefore, no matter from which point of view, the above embodiments of the present application should be regarded as exemplary and non-restrictive; the technical solutions recorded in the above embodiments are modified, or some of the technical features are replaced by equivalents, which does not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A signal filtering method for an underwater visible light communication system, characterized in that: The method comprises the following steps: Collect all optical signals of different wavelengths for underwater visible light communication and the corresponding receiving times; Compare the receiving time of each wavelength with the optical signals of other wavelengths to obtain the optical signals to be matched among the other wavelengths for each optical signal of each wavelength; A filtering window is set for each optical signal, and each optical signal and an optical signal at the same position in the filtering window of the optical signal to be matched in other wavelengths are combined into a point pair, and a signal intensity ratio of each point pair is obtained according to the signal intensity difference of the optical signals in the point pair; and a matching degree of each optical signal and the optical signal to be matched in other wavelengths is obtained according to the distribution of the corresponding signal intensity ratios of each optical signal; Based on the matching degree, each optical signal of each wavelength is matched for the first time with the optical signals to be matched in the remaining wavelengths; the optical signals of each wavelength are divided into categories according to the first matching results, and the category with the largest average matching degree is recorded as the first category, and the remaining categories are recorded as the second category; According to the point pairs corresponding to each optical signal in the second category of each wavelength in any other wavelength, and the point pairs corresponding to any optical signal in the first category in any other wavelength, combined with the difference distribution of signal strength ratio and receiving time, the optimized matching factor of each optical signal in the second category of each wavelength in any other wavelength is obtained; According to the optimized matching factor of each optical signal in the second category of each wavelength at any other wavelength, combined with the corresponding matching degree, performing a second matching on each optical signal in the second category; The interference degree of each optical signal is obtained according to the final matching result corresponding to each optical signal of each wavelength; and the filter window is adjusted based on the distribution of the interference degree in the filter window of each optical signal.

2. A signal filtering method for an underwater visible light communication system according to claim 1, characterized in that: The step of obtaining the optical signals to be matched among the remaining wavelengths of the optical signals of each wavelength is specifically as follows: For any optical signal at each wavelength, optical signals at other wavelengths whose receiving times are after the receiving time of the any optical signal are used as optical signals to be matched among the other wavelengths for any optical signal at each wavelength.

3. A signal filtering method for an underwater visible light communication system according to claim 1, characterized in that: The signal strength ratio of each point pair is obtained as follows: Each optical signal and the optical signal at the same position in the filtering window of any optical signal to be matched form a point pair; the difference between the maximum signal intensity and the minimum signal intensity in each point pair is taken as the signal intensity ratio of each point pair.

4. The signal filtering method for an underwater visible light communication system according to claim 1, characterized in that: The matching degree between each optical signal and the optical signal to be matched at other wavelengths includes: For the filtering window of each optical signal and the optical signal to be matched in any of the other wavelengths, a negative correlation mapping result of the difference in signal intensity ratios between each point pair in the filtering window and the point pair at the center position is calculated; and a positive fusion result of all the negative correlation mapping results in the filtering window corresponding to each optical signal is used as the matching degree of each optical signal and the optical signal to be matched in any of the other wavelengths.

5. The signal filtering method for an underwater visible light communication system according to claim 1, characterized in that: The specific process of performing the first matching is as follows: An optical signal to be matched that has the greatest matching degree with each optical signal of each wavelength from any other wavelength is obtained as a first matching result of each optical signal of each wavelength based on any other wavelength.

6. A signal filtering method for an underwater visible light communication system according to claim 1, characterized in that: The step of obtaining the optimized matching factor of each optical signal in the second category of each wavelength at any of the remaining wavelengths is specifically as follows: Each optical signal of each wavelength and the corresponding first matching result form each maximum matching pair; Based on each wavelength, the signal strength ratio of any optical signal in the second category to all optical signals to be matched at any other wavelength is recorded as a first signal strength ratio, and the signal strength ratio of any optical signal in the first category corresponding to the maximum matching pair is recorded as a second signal strength ratio; Obtaining a minimum value of the difference between all the first signal strength ratios of any optical signal in the second category and the second signal strength ratio of any optical signal in the first category, and recording it as a signal difference value between any optical signal in the second category and any optical signal in the first category; Using the same calculation method as the signal difference value, the signal strength ratio is replaced by the difference in reception time between the optical signals to obtain a reception time difference value between any optical signal in the second category and any optical signal in the first category; The reciprocal of the forward fusion result of the signal difference value of any optical signal in the second category and the receiving time difference value of any optical signal in the first category is calculated, and the cumulative sum of the reciprocals of any optical signal in the second category and all optical signals in the first category is used as the optimization matching factor of any optical signal in the second category at any of the remaining wavelengths.

7. A signal filtering method for an underwater visible light communication system according to claim 1, characterized in that: The specific steps of performing the second matching are: For each optical signal in the second category of each wavelength, the product of the optimized matching factor of each optical signal at any of the remaining wavelengths and the corresponding matching degree is used as the optimized matching degree of each optical signal in the second category of each wavelength at any of the remaining wavelengths; An optical signal to be matched having the maximum optimized matching degree with each optical signal in the second category of each wavelength in any of the remaining wavelengths is obtained as a second matching result of each optical signal in the second category of each wavelength based on any of the remaining wavelengths.

8. The signal filtering method for an underwater visible light communication system according to claim 1, characterized in that: The interference degree of each optical signal is as follows: The inverse of the forward fusion of the optimized matching degree of each optical signal at each wavelength corresponding to all other wavelengths is taken as the interference degree of each optical signal at each wavelength; wherein the optimized matching degree of the optical signal in the first category is the original matching degree.

9. A signal filtering method for an underwater visible light communication system as claimed in claim 1, characterized in that: The adjusting of the filter window comprises: Get the normalized value of the mean interference degree of all optical signals in the filtering window of each optical signal at each wavelength, which is abbreviated as ,when When it is greater than or equal to the first preset value, the filter window is adjusted ;when When it is less than the second preset value, the filter window is adjusted ; Continue to calculate the corresponding optical signal after adjusting the filter window , until Stop when the value is less than the first preset value and greater than the second preset value, or when the preset number of iterations is reached; Wherein, the first preset value is greater than the second preset value, Indicates the size of the filter window after adjustment. Indicates the size of the pre-filter window. Indicates rounding down to an odd integer.

10. A signal filtering system for an underwater visible light communication system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Remote meter reading method and system for buried well type water meter based on embedded system

    CN112272229A

  • Method and system for optimizing layout of infrared geminate transistors of touch screen

    CN118226984A