A method and system for automatic switching of communication links in a smart grid
Through variational mode decomposition algorithm and trend decomposition technology, the electromagnetic interference characteristic analysis of the optical fiber communication link in the smart grid solves the signal problem caused by electromagnetic interference in the fiber communication link, and realizes self-healing protection and stable operation of the smart grid communication network.
Patent Information
- Application Number
- CN202510099708.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2045-01-22
AI Technical Summary
The optical fiber communication link in the smart grid is caused by electromagnetic interference, and the existing technology cannot accurately determine whether to turn on the optical fiber communication link, resulting in failures not being handled in time, affecting the operation of the smart grid.
The modal components are extracted through the variational modal decomposition algorithm, the characteristics of electromagnetic interference are analyzed, the communication outliers are obtained in combination with trend decomposition, the communication quality reliability is calculated, and the communication quality is automatically switched according to the comparison results of the reliability and the preset threshold.
It improves the accuracy of the fiber communication quality, switches the fiber communication link in a timely manner, ensures the safe and stable operation of the smart grid communication network, and avoids interruptions and serious consequences caused by failures.
Smart Images

Figure CN119519826B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of communication link switching, and in particular to a method and system for automatic switching of communication links in a smart grid. Background Art
[0002] In the process of continuous construction and improvement of smart grid, communication technology plays a vital role. Strengthening the application of information and communication technology in smart grid can ensure the normal operation of power system and promote the overall development of smart grid. However, in the daily operation of smart grid communication links, communication failures occur more and more frequently, and communication failures will cause the coordination between various links in smart grid to decline. If communication failures are not handled in a timely and proper manner, it will have serious consequences for the operation of smart grid.
[0003] Since fiber-optic communication has high frequency bandwidth, low latency and strong anti-electromagnetic interference capabilities, it is widely used in smart grids. In the fiber-optic communication of smart grids, the principle of "first open, then repair" is adopted to deal with communication failures. Most of them use communication link switching technology to achieve self-healing protection of optoelectronic communication, thereby effectively ensuring the safe and stable operation of smart grid communication networks. For example, the Chinese invention patent with patent number CN201822115087.3 discloses an automatic switching protection system for optical fiber lines. By setting up a main line and a backup line between site A and site B, and comparing the monitoring results of the optical fiber signal during optical fiber communication with the preset threshold, it is determined whether to start the switching of the optical fiber communication link, thereby ensuring the service quality of optical fiber communication.
[0004] However, in the fiber optic communication of the smart grid, since the smart grid will generate high electromagnetic interference in the external environment, it is easy to cause jitter, distortion, noise and other problems in the monitoring results of the fiber optic signal. It is impossible to accurately judge whether to start the switching of the fiber optic communication link only by comparing the monitoring results of the fiber optic signal during fiber optic communication with the preset threshold value, so that the failure of fiber optic communication cannot be handled in a timely and proper manner, which will have serious consequences for the operation of the smart grid. Summary of the invention
[0005] In order to solve the above technical problems, the purpose of this application is to provide a method and system for automatic switching of smart grid communication links. The technical solutions adopted are as follows:
[0006] The present application provides a method for automatically switching a smart grid communication link, comprising the following steps:
[0007] Obtain optical power data of the main optical fiber communication link at each sampling time;
[0008] Extract the short-time sampling moment and the short-time optical power vector at each sampling moment, extract the modal component of the short-time optical power vector at each sampling moment, determine the component jitter effect value of each modal component based on the degree of change fluctuation of each modal component, and determine the electromagnetic interference amount at each sampling moment in combination with the degree of change confusion of each modal component corresponding to each sampling moment;
[0009] Performing trend decomposition on the optical power short-time vector at each sampling moment to obtain a trend component vector, analyzing the change of elements in the trend component vector, and combining the electromagnetic interference amount to obtain the optical fiber communication abnormal value at each sampling moment;
[0010] Based on the optical fiber communication abnormal value at each sampling moment and the difference between the optical fiber communication abnormal value at each sampling moment and its short-time sampling moment, the communication quality reliability at each sampling moment is obtained;
[0011] According to the comparison result of the communication quality reliability and the preset reliability threshold, the communication status of the main optical fiber communication link is judged, and the optical fiber communication link is automatically switched.
[0012] Preferably, the short-term sampling moments of the sampling moments are a plurality of sampling moments with the shortest time intervals to the sampling moments.
[0013] Preferably, the acquisition of the optical power short-time vector further comprises: combining the optical powers at each sampling moment and all short-time sampling moments into the optical power short-time vector at each sampling moment.
[0014] Preferably, the process of determining the component jitter effect value of each modal component is as follows:
[0015] For any modal component at any sampling time, the expression of its component jitter effect value is: , where is the component jitter effect value of the g-th modal component, is the number of elements in the gth modal component, is the jth element in the gth modal component, is the mean of the elements in the g-th modal component.
[0016] Preferably, the calculation formula corresponding to the electromagnetic interference amount at each sampling moment is:
[0017] , where is the electromagnetic interference amount at the tth sampling moment, is the number of modal components of the optical power short-time vector at the t-th sampling moment, is the exponential normalization function, is the information entropy of all elements in the g-th modal component, is the component jitter effect value of the g-th modal component.
[0018] Preferably, the calculation formula corresponding to the optical fiber communication abnormal value at each sampling moment is:
[0019] , where are the optical fiber communication abnormal value and electromagnetic interference value at the t-th sampling moment, respectively. is the number of elements in the first-order difference vector of the trend component vector at the t-th sampling moment, is the uth element in the first-order difference vector of the trend component vector at the tth sampling moment, is an exponential function with a natural constant as its base.
[0020] Preferably, the corresponding calculation formula for the communication quality reliability at each sampling moment is:
[0021] , where is the communication quality reliability at the t-th sampling moment, is the optical fiber communication abnormal value at the t-th sampling moment, is the number of short-time sampling moments at the t-th sampling moment, is the optical fiber communication abnormal value at the s-th short-term sampling moment at the t-th sampling moment, is an exponential function with a natural constant as its base.
[0022] Preferably, determining the communication status of the primary optical fiber communication link includes:
[0023] If the communication quality reliability is greater than or equal to the reliability threshold, the communication of the main optical fiber communication link of the optical fiber communication is normal, otherwise, the communication of the main optical fiber communication link of the optical fiber communication is abnormal.
[0024] Preferably, the automatic switching of the optical fiber communication link further comprises:
[0025] When the main optical fiber communication link of the optical fiber communication is communicating normally, the optical fiber communication link is not switched; when the main optical fiber communication link of the optical fiber communication is communicating abnormally, the main optical fiber communication link of the optical fiber communication is switched to the backup optical fiber communication link.
[0026] An embodiment of the present application also provides a smart grid communication link automatic switching system, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the steps of any one of the above methods when executing the computer program.
[0027] From the above, it can be seen that the method and system for automatic switching of smart grid communication links provided by the present application have at least the following beneficial effects:
[0028] The present application uses the modal components extracted by the variational modal decomposition algorithm to analyze the characteristics of jitter, distortion and noise of optical fiber signals caused by electromagnetic interference in smart grids. First, the component jitter effect characteristics of each modal component are analyzed, and the exponential normalization result of the information entropy of all elements in each modal component is used to perform weighted summation on the component jitter effect value of each modal component, so as to more accurately reflect the electromagnetic interference characteristics of the optical power short-time vector, and improve the accuracy of the subsequent communication quality reliability analysis;
[0029] At the same time, the present application considers the influence of electromagnetic interference in smart grid on optical fiber signal in optical fiber communication, and more accurately extracts the reliability characteristics of communication quality in the process of optical fiber signal communication, so as to more accurately judge whether to start the switching of optical fiber communication link, realize the self-healing protection of optoelectronic communication in smart grid, ensure the communication service in smart grid will not be interrupted, and effectively guarantee the safe and stable operation of smart grid communication network;
[0030] In the process of automated switching of fiber optic communication links in smart grids, this application takes into account that interference sources such as high-voltage wires, strong light sources, and radio equipment in smart grids may generate electromagnetic wave interference in the fiber optic communication process of smart grids, and uses the comparison result of communication quality reliability and reliability threshold to determine whether to start switching of fiber optic communication links. This can more accurately determine whether to start switching of fiber optic communication links in smart grids, so that fiber optic communication failures can be handled in a timely and proper manner, avoiding serious consequences for the operation of smart grids. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0032] Figure 1 A flowchart of the steps of a smart grid communication link automatic switching method provided in this application. DETAILED DESCRIPTION
[0033] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a smart grid communication link automatic switching method and system proposed in the present application in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0034] Unless otherwise specified and limited, terms such as "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such articles or devices. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items. All technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of this application.
[0035] The following is a detailed description of a specific solution of a smart grid communication link automatic switching method and system provided by the present application in conjunction with the accompanying drawings.
[0036] See also Figure 1 , which shows a flowchart of a method for automatic switching of a smart grid communication link provided by an embodiment of the present application, including the following steps:
[0037] The purpose of this embodiment is to analyze the electromagnetic interference characteristics in the optical fiber communication signals of the smart grid, consider the impact of electromagnetic interference in the smart grid on the optical fiber signals in the optical fiber communication, so as to accurately extract the reliability characteristics of the communication quality in the optical fiber signal communication process, and then more accurately determine whether to start the switching of the optical fiber communication link, so as to more accurately realize the self-healing protection of the optoelectronic communication in the smart grid.
[0038] Step 1: Obtain optical power data of the primary optical fiber communication link.
[0039] In the optical fiber communication of the smart grid, a main optical fiber communication link and a backup optical fiber communication link are established. The communication link switching system is provided with a communication monitoring unit, which can monitor the power status of the optical fiber signal of the current optical fiber communication link in real time. The optical power of the main optical fiber communication link within one minute before the current moment is collected by the communication monitoring unit in the communication link switching system. In this embodiment, the sampling frequency is 1kHz.
[0040] So far, according to the above process of this embodiment, the optical power data of the primary optical fiber communication link at each sampling time can be obtained.
[0041] Step 2: extract the short-time sampling moment and the short-time vector of optical power at each sampling moment, extract the modal component of the short-time vector of optical power at each sampling moment, determine the component jitter effect value of each modal component based on the degree of change fluctuation of each modal component, and determine the electromagnetic interference amount at each sampling moment in combination with the degree of change confusion of each modal component corresponding to each sampling moment.
[0042] The environment in the smart grid is relatively complex, with many interference sources, such as high-voltage wires, strong light sources, radio equipment, etc. These interference sources will generate electromagnetic waves in the optical fiber communication process of the smart grid. Due to the aging of the optical fiber in the communication link and the damage of the optical fiber, its anti-electromagnetic interference ability will be reduced, so that the optical power in the optical fiber communication is subject to strong electromagnetic interference and jitter, distortion and noise will appear, which will reduce the communication quality and even cause communication failures in the optical fiber communication process of the smart grid. The traditional optical fiber communication link switching technology lacks the characteristics of electromagnetic interference in optical power, which makes it impossible to accurately judge whether it is necessary to turn on the switching of the optical fiber communication link, thereby affecting the self-healing protection ability of optoelectronic communication in the smart grid. Therefore, in order to more accurately judge whether it is necessary to turn on the switching of the optical fiber communication link, it is necessary to analyze the electromagnetic interference characteristics of the optical power in the communication link.
[0043] In order to analyze the short-term optical fiber communication change characteristics at different sampling moments, the T=30 sampling moments with the closest time interval to each sampling moment are recorded as the short-term sampling moments of each sampling moment, and the vector composed of the optical power of the main optical fiber communication link at each sampling moment and its short-term sampling moment in chronological order is recorded as the optical power short-time vector of each sampling moment. The optical power short-time vector reflects the short-term change characteristics of the optical power of the main optical fiber communication link at each sampling moment in a short time.
[0044] In order to analyze the impact of electromagnetic interference in the external smart grid and accurately extract the communication quality characteristics in the process of optical fiber signal communication, the optical power short-time vector at the t-th sampling moment is input into the traditional VMD variational modal decomposition algorithm (Variational Modal Decomposition). The preset mode number is 10. The modal components of the optical power short-time vector at the t-th sampling moment are obtained through the traditional VMD variational modal decomposition algorithm, where the data form of the modal component is vector form.
[0045] Since electromagnetic interference in the external smart grid can cause jitter, distortion and noise problems in optical fiber signals, and when the communication quality decreases during optical fiber communication, the change in optical power often shows an obvious downward trend, the VMD variational mode decomposition algorithm can separate the electromagnetic interference component in the short-time vector of optical power. When measuring the fault characteristics of optical fiber communication, the influence of external electromagnetic interference should be considered to more accurately extract the communication quality characteristics during optical fiber communication.
[0046] Through the above analysis, based on the variation fluctuation degree of each modal component corresponding to each sampling moment, the component jitter effect value of each modal component is calculated. In this embodiment, the specific calculation formula is:
[0047] , where is the component jitter effect value of the g-th modal component, is the number of elements in the gth modal component, is the jth element in the gth modal component, is the mean value of the elements in the gth modal component. The greater the difference between each element in the modal component and the mean value, the more obvious the random fluctuation phenomenon of the modal component is, and the more it can reflect the jitter, distortion and noise problems caused by the external electromagnetic interference of the optical fiber signal during optical fiber communication, which greatly affects the communication quality of optical fiber communication. That is, the more the modal component can reflect the characteristics of the electromagnetic interference component, the greater the component jitter effect value.
[0048] Further, according to the component jitter effect value of each modal component corresponding to each sampling moment and the degree of information change confusion of each modal component, the electromagnetic interference amount at each sampling moment is calculated. In this embodiment, the specific calculation formula is:
[0049] , where is the electromagnetic interference amount at the tth sampling moment, is the number of modal components of the optical power short-time vector at the t-th sampling moment, is the exponential normalization function, is the information entropy of all elements in the g-th modal component, where the calculation of information entropy is a well-known technology and the specific process is not repeated here. The uncertainty of the component information in the modal component is measured by the information entropy of all elements in each modal component. The larger the information entropy, the stronger the randomness of the modal component information in the modal component. The modal component can better reflect the random characteristics of electromagnetic interference of optical power in optical fiber communication. Therefore, the exponential normalization result of information entropy is used to weighted sum the component jitter effect values of each modal component, which more accurately reflects the electromagnetic interference characteristics of the optical power short-time vector. The larger the electromagnetic interference, the stronger the interference to the optical fiber signal in the optical fiber communication at this time, and the more likely it is that the communication quality will be reduced or even a communication failure will occur.
[0050] Step 3, performing trend decomposition on the optical power short-time vector at each sampling moment to obtain a trend component vector, analyzing the change of elements in the trend component vector, and combining the electromagnetic interference amount to obtain the optical fiber communication abnormal value at each sampling moment.
[0051] When the communication quality decreases during the optical fiber communication process, the change of optical power often shows an obvious downward trend. In order to more accurately analyze the abnormal characteristics of optical fiber during optical fiber communication, the optical power short-time vector at the t-th sampling moment is input into the STL decomposition algorithm (Seasonal-Trend Decomposition using LOESS). The STL decomposition algorithm outputs the trend component vector of the optical power short-time vector at the t-th sampling moment. The trend component vector reflects the trend change of the modal component in the optical power short-time vector during the optical fiber communication process. If the trend change of each modal component shows a more significant downward trend, it reflects that the trend characteristics of the optical power decrease in the optical power short-time vector at this time are more significant, and the phenomenon of communication quality degradation or even communication failure in the optical fiber communication process can be more reflected.
[0052] If the trend change of the trend component vector shows a more significant downward trend, it means that the optical power short-time vector at this time can more truly reflect the abnormal characteristics of optical fiber communication in the optical fiber communication process. Therefore, in order to accurately evaluate the abnormal characteristics of optical fiber at each sampling moment, the present invention is based on the electromagnetic interference characteristics at each sampling moment, combined with the trend characteristics of optical power decline, to more accurately extract the abnormal characteristics of optical fiber communication in the optical fiber communication process.
[0053] Through the above analysis, based on the changes in the elements in the trend component vector and the electromagnetic interference amount, the optical fiber communication abnormal value at each sampling time is calculated. In this embodiment, the calculation formula is:
[0054] , where is the optical fiber communication abnormal value at the t-th sampling moment, is the number of elements in the first-order difference vector of the trend component vector at the t-th sampling moment, is an exponential function with a natural constant as base, It is the uth element in the first-order difference vector of the trend component vector at the t-th sampling moment, wherein the calculation of the first-order difference vector is a well-known technology, and the specific process is not repeated here. When measuring the abnormal characteristics of optical fiber communication during optical fiber communication, the present invention is based on the electromagnetic interference characteristics at each sampling moment, and uses the first-order difference of the trend component vector to measure the downward trend characteristics of the modal component. If more elements in the first-order difference vector are negative and the smaller the value, the more it can reflect the downward trend characteristics of the modal component, indicating that the trend of optical power decline in the optical power short-time vector at this time is more significant, that is, the worse the quality of optical fiber communication at this time, the more likely it is that the optical fiber communication will produce abnormal conditions, and the larger the optical fiber communication abnormality value, the more it can explain the phenomenon that the optical fiber communication has a communication failure or the optical fiber communication quality has declined at the current sampling moment.
[0055] Step 4: Based on the optical fiber communication abnormal value at each sampling moment and the difference between the optical fiber communication abnormal value at each sampling moment and its short-time sampling moment, obtain the communication quality reliability at each sampling moment.
[0056] If an abnormal communication failure occurs in the main optical fiber communication link at the current sampling moment, then the optical fiber communication abnormal value at the historical sampling moment in the local time before the current sampling moment will have a significant increase, so that the optical fiber communication abnormal value before the increase and the optical fiber communication abnormal value after the increase will have a significant difference, which can more clearly indicate that there is a communication failure or a decrease in the quality of optical fiber communication at the current sampling moment, and then the more it is necessary to switch on the optical fiber communication link, so as to more accurately realize the self-healing protection of optoelectronic communication in the smart grid. Therefore, in this embodiment, the change phenomenon of the optical fiber communication abnormal value when there is a communication failure or a decrease in the quality of optical fiber communication is considered, and the communication quality reliability is obtained through the increase and change of the optical fiber communication abnormal value.
[0057] Through the above analysis, the communication quality reliability at each sampling moment is calculated. In this embodiment, the specific calculation formula is:
[0058] , where is the communication quality reliability at the t-th sampling moment, is the optical fiber communication abnormal value at the t-th sampling moment, is the number of short-time sampling moments at the t-th sampling moment, is the optical fiber communication abnormal value at the s-th short-term sampling moment at the t-th sampling moment, is an exponential function with a natural constant as the base. In this embodiment, the communication quality reliability is normalized by the exponential function to ensure that the value range of the communication quality reliability is 0 to 1.
[0059] It can be understood that the greater the difference in the optical fiber communication anomaly value between the current sampling moment and its short-term sampling moment, and the optical fiber communication anomaly value at the current sampling moment is at a higher level, it indicates that there is a significant growth change in the optical fiber communication anomaly value between the current sampling moment and its historical sampling moment, so that the increased optical fiber communication anomaly value is at a higher level and has a significant difference from the optical fiber communication anomaly value at the historical sampling moment, which can better explain the phenomenon of communication failure in the optical fiber communication at the current sampling moment, that is, the lower the reliability of the communication quality at this time, the smaller the reliability of the communication quality.
[0060] Step 5: According to the comparison result between the communication quality reliability and the preset reliability threshold, the communication status of the main optical fiber communication link is determined, and the optical fiber communication link is automatically switched.
[0061] The communication link of the optical fiber communication in the smart grid is automatically switched, and the communication quality reliability at the current sampling moment is transmitted to the communication link switching system. The communication quality reliability at the current sampling moment is compared with the preset reliability threshold value through the comparator in the communication link switching system. If the communication quality reliability at the current sampling moment is greater than or equal to the preset reliability threshold value, it indicates that the communication of the main optical fiber communication link of the optical fiber communication at this time is normal. In this embodiment, the preset reliability threshold value is 0.2; on the contrary, if the communication quality reliability at the current sampling moment is less than the preset reliability threshold value, it indicates that the main optical fiber communication link of the optical fiber communication at this time is abnormal, the optical fiber communication fails, and the optical fiber communication quality is poor. The communication link switching system issues an alarm and switches the main optical fiber communication link of the optical fiber communication at this time to the backup optical fiber communication link. When the main optical fiber communication link is repaired, the backup optical fiber communication link of the optical fiber communication is switched to the main optical fiber communication link, so that the communication failure is handled in a timely and proper manner to avoid serious consequences for the operation of the smart grid.
[0062] Compared with the prior art, this embodiment takes into account the impact of electromagnetic interference in the smart grid on the optical fiber signal in the optical fiber communication, so as to accurately extract the reliability characteristics of the communication quality in the optical fiber signal communication process, and then more accurately judge whether to start the switching of the optical fiber communication link, so as to more accurately realize the self-healing protection of the optoelectronic communication in the smart grid, ensure that the communication service in the smart grid will not be interrupted, and effectively guarantee the safe and stable operation of the smart grid communication network.
[0063] On the other hand, based on the same inventive concept as the above method, an embodiment of the present application also provides a smart grid communication link automatic switching system, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, it implements the steps of any one of the above-mentioned smart grid communication link automatic switching methods.
[0064] It is to be understood that the sequence of the embodiments of the present application described above is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of the present specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0065] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0066] The above content is only an implementation method of the present application and is not intended to limit the scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the protection scope of the present application.
Claims
1. A method for automatic switching of smart grid communication links, characterized in that: The following steps are involved: Obtain optical power data of the main optical fiber communication link at each sampling time; Extract the short-time sampling moment and the short-time optical power vector at each sampling moment, extract the modal component of the short-time optical power vector at each sampling moment, determine the component jitter effect value of each modal component based on the degree of change fluctuation of each modal component, and determine the electromagnetic interference amount at each sampling moment in combination with the degree of change confusion of each modal component corresponding to each sampling moment; Performing trend decomposition on the optical power short-time vector at each sampling moment to obtain a trend component vector, analyzing the change of elements in the trend component vector, and combining the electromagnetic interference amount to obtain the optical fiber communication abnormal value at each sampling moment; Based on the optical fiber communication abnormal value at each sampling moment and the difference between the optical fiber communication abnormal value at each sampling moment and its short-time sampling moment, the communication quality reliability at each sampling moment is obtained; According to the comparison result of the communication quality reliability and the preset reliability threshold, the communication status of the main optical fiber communication link is judged, and the optical fiber communication link is automatically switched.
2. A method for automatic switching of smart grid communication links according to claim 1, characterized in that: The short-term sampling moments of each sampling moment are a plurality of sampling moments with the shortest time intervals to each sampling moment.
3. A method for automatic switching of smart grid communication links according to claim 1, characterized in that: The acquisition of the optical power short-time vector further includes: combining the optical powers at each sampling moment and all the short-time sampling moments into the optical power short-time vector at each sampling moment.
4. A method for automatic switching of smart grid communication links according to claim 1, characterized in that: The process of determining the component jitter effect value of each modal component is as follows: For any modal component at any sampling time, the expression of its component jitter effect value is: , where is the component jitter effect value of the g-th modal component, is the number of elements in the gth modal component, is the jth element in the gth modal component, is the mean of the elements in the g-th modal component.
5. A method for automatic switching of smart grid communication links according to claim 1, characterized in that: The corresponding calculation formula of the electromagnetic interference amount at each sampling time is: , where is the electromagnetic interference amount at the tth sampling moment, is the number of modal components of the optical power short-time vector at the t-th sampling moment, is the exponential normalization function, is the information entropy of all elements in the g-th modal component, is the component jitter effect value of the g-th modal component.
6. A method for automatic switching of smart grid communication links according to claim 1, characterized in that: The corresponding calculation formula of the optical fiber communication abnormal value at each sampling time is: , where are the optical fiber communication abnormal value and electromagnetic interference value at the t-th sampling moment, respectively. is the number of elements in the first-order difference vector of the trend component vector at the t-th sampling moment, is the uth element in the first-order difference vector of the trend component vector at the tth sampling moment, is an exponential function with a natural constant as its base.
7. A method for automatic switching of smart grid communication links according to claim 1, characterized in that: The corresponding calculation formula for the communication quality reliability at each sampling time is: , where is the communication quality reliability at the t-th sampling moment, is the optical fiber communication abnormal value at the t-th sampling moment, is the number of short-time sampling moments at the t-th sampling moment, is the optical fiber communication abnormal value at the s-th short-term sampling moment at the t-th sampling moment, is an exponential function with a natural constant as its base.
8. A method for automatic switching of smart grid communication links according to claim 1, characterized in that: Determining the communication status of the primary optical fiber communication link includes: If the communication quality reliability is greater than or equal to a preset reliability threshold, the communication of the main optical fiber communication link of the optical fiber communication is normal; otherwise, the communication of the main optical fiber communication link of the optical fiber communication is abnormal.
9. A method for automatic switching of smart grid communication links according to claim 8, characterized in that: The automatic switching of the optical fiber communication link further includes: When the main optical fiber communication link of the optical fiber communication is communicating normally, the optical fiber communication link is not switched; when the main optical fiber communication link of the optical fiber communication is communicating abnormally, the main optical fiber communication link of the optical fiber communication is switched to the backup optical fiber communication link.
10. A smart grid communication link automatic switching 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
Optical fiber line automatic switching protection system
CN208971516U
Method, device and system for realizing optical link fault recognition
CN114070397A
Detection method and device, electronic equipment and storage medium
CN115882944A