CN111641184B - Method for identifying self-loop of device and on-site device - Google Patents
Method for identifying self-loop of device and on-site device Download PDFInfo
- Publication number
- CN111641184B CN111641184B CN202010372290.8A CN202010372290A CN111641184B CN 111641184 B CN111641184 B CN 111641184B CN 202010372290 A CN202010372290 A CN 202010372290A CN 111641184 B CN111641184 B CN 111641184B
- Authority
- CN
- China
- Prior art keywords
- loop
- self
- identification code
- random number
- channel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H1/00—Details of emergency protective circuit arrangements
- H02H1/0061—Details of emergency protective circuit arrangements concerning transmission of signals
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H3/00—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
- H02H3/02—Details
- H02H3/05—Details with means for increasing reliability, e.g. redundancy arrangements
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H3/00—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
- H02H3/26—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to difference between voltages or between currents; responsive to phase angle between voltages or between currents
- H02H3/28—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to difference between voltages or between currents; responsive to phase angle between voltages or between currents involving comparison of the voltage or current values at two spaced portions of a single system, e.g. at opposite ends of one line, at input and output of apparatus
- H02H3/30—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to difference between voltages or between currents; responsive to phase angle between voltages or between currents involving comparison of the voltage or current values at two spaced portions of a single system, e.g. at opposite ends of one line, at input and output of apparatus using pilot wires or other signalling channel
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Optical Communication System (AREA)
Abstract
The invention relates to a method for identifying self-loop of a device and a local device, which adopts the generation of a random number function and sends the random number to the opposite side through a longitudinal optical fiber channel, and when the received random number and the number of the longitudinal optical fiber channel are consistent with the sent random number and the number of the longitudinal optical fiber channel, the channel self-loop is judged. And sending the identification code of the local side of the device to the opposite side through the pilot fiber channel, judging to be a setting self-loop when the identification code of the opposite side received by the channel is consistent with the identification code of the local side and the identification code of the local side set by the device is consistent with the identification code of the opposite side, and judging to be the self-loop state of the device only when the self-loop of the channel and the setting self-loop both meet the requirements. The invention judges the self-loop by the combination of the channel self-loop and the setting self-loop, thereby avoiding misjudgment. The channel self-loop judgment is carried out by adopting the generated random number and the pilot fiber channel number, the realization is easy, and the efficiency is high.
Description
Technical Field
The invention relates to the technical field of relay protection, in particular to a method for identifying self-loop of a device and a local device.
Background
The current differential protection has the advantages of high sensitivity, simplicity, reliability, high action speed and the like, so the differential protection is widely applied to in-situ line protection devices.
The device self-loop refers to a single in-situ line protection device, the receiving and sending of the channel are connected, and the identification code of the local side of the device is consistent with the identification code of the opposite side.
In practical application, two in-situ line protection devices are interconnected, each device has a device identification code, and the identification codes of the two devices are set to be inconsistent under general conditions; since the logic of the channel self-loop only needs to judge whether the received pilot fiber channel number is consistent with the sent pilot fiber channel number in the prior art, if the two devices are interconnected as shown in fig. 1, and the identification codes of the two devices are both determined to be consistent, the two devices are misjudged to be the device self-loop, and differential protection is opened, so that differential protection misoperation is caused.
The technical problem to be solved in the field is to judge the device self-loop by mistake under the condition that the side identification code and the opposite side identification code are set to be consistent.
Disclosure of Invention
In order to avoid misjudgment of the self-loop of the device, the invention provides a method for identifying the self-loop of the device and a localization device. And sending the identification code of the local side of the device to the opposite side through the pilot fiber channel, judging to be a setting self-loop when the identification code of the opposite side received by the channel is consistent with the identification code of the local side and the identification code of the local side set by the device is consistent with the identification code of the opposite side, and judging to be the self-loop state of the device only when the self-loop of the channel and the setting self-loop both meet the requirements.
In order to achieve the above object, the present invention provides a method for identifying a self-loop status of a device, comprising:
(1) generating a random number, and sending the random number and the number of the longitudinal optical fiber channel to the opposite side through the longitudinal optical fiber channel;
(2) comparing the received random number and the pilot optical fiber channel number with the sent random number and the pilot optical fiber channel number, and judging that the channel is self-loop if the random number and the pilot optical fiber channel number are consistent;
(3) setting a local side identification code and an opposite side identification code of the identification device, and sending the local side identification code to the opposite side through a pilot optical fiber channel;
(4) comparing the received opposite side identification code with the local side identification code, and judging that the identification device is a setting self-loop if the received opposite side identification code is consistent with the local side identification code and the opposite side identification code which are set by the identification device are consistent; when the channel self-loop and the setting self-loop are simultaneously satisfied, judging that the device is the self-loop; otherwise, judging that no self-loop occurs, and returning to the step (1).
And further, judging that no self-loop occurs, and locking differential protection after the identification process is finished.
Further, the differential protection is opened after the judgment device is looped.
The invention provides a local device for identifying the self-loop state of the device, which comprises a random number generation module, a sending module, a receiving module and a main control module;
the random number generation module generates a random number under the control of the main control module;
the sending module sends the generated random number and the number of the pilot fiber channel to a receiving module of the opposite-side in-place device through the pilot fiber channel under the control of the main control module; sending the identification code to a receiving module of the opposite side in-situ device under the control of the main control module;
the receiving module receives the random number and the pilot fiber channel number sent by the opposite-side in-situ device sending module and sends the random number and the pilot fiber channel number to the main control module; receiving the identification code sent by the opposite-side local device sending module and sending the identification code to the main control module;
the main control module controls the random number generation module to generate a random number, and the sending module sends the random number and the pilot fiber channel number; receiving the random number and the tandem fiber channel number sent by the opposite-side in-situ device sending module, judging, and judging that the channel is a channel self-loop if the random number and the tandem fiber channel number sent by the sending module are consistent; when the channel is judged to be self-looped, the sending module is controlled to send the identification code; comparing the received identification code with the transmitted identification code, if the received identification code is consistent with the transmitted identification code, further judging that the set local identification code is consistent with the set opposite identification code, if the local identification code is consistent with the set opposite identification code, judging that the self-loop is set, and when the channel self-loop and the set self-loop are simultaneously satisfied, judging that the self-loop is the device self-loop; otherwise, judging that no self-loop occurs, and ending the identification process.
Further, the main control module controls locking differential protection if judging that no self-loop occurs, and controls opening differential protection after judging that the device self-loops.
The technical scheme of the invention has the following beneficial technical effects:
(1) the invention judges the self-loop by the combination of the channel self-loop and the setting self-loop, thereby avoiding misjudgment.
(2) The method adopts the generation of the random number, judges the channel self-loop through the random number and the channel number, and performs double judgment, so that the self-loop judgment is more reliable; the method can not judge which pilot optical fiber channel self-loop by singly adopting random numbers, and can determine which pilot channel of the self-loop is which channel after adding the channel number.
Drawings
FIG. 1 is a schematic diagram of device interconnection;
FIG. 2 is a flow chart of self-loop decision;
FIG. 3 is a schematic structural diagram of a localization apparatus.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
The invention relates to a method for identifying the self-loop of a device and a localized device, when two localized line protection devices are interconnected and the local side identification code and the opposite side identification code on both sides are set to be consistent, the two local side identification codes are not considered to be in a self-loop state; and when the identification code of the side of the device is set to be consistent with the identification code of the opposite side, the pilot fiber is considered to be in a self-loop state when the pilot fiber is in self-loop. And adopting a function for generating random numbers, sending the random numbers to the opposite side through a pilot fiber channel, and considering the channel self-loop when the received random numbers and channel numbers are consistent with the sent random numbers and channel numbers. And sending the identification code of the local side of the device to the opposite side through a pilot fiber channel, when the identification code of the opposite side received by the channel is consistent with the identification code of the local side and the identification code of the local side set by the device is consistent with the identification code of the opposite side, considering the self-loop state of the device, opening differential protection only when the self-loop state of the channel and the self-loop state of the setting device are both satisfied, otherwise, considering the setting of the identification codes of the two sides to be inconsistent, and locking the differential protection.
In one aspect, the present invention provides a method for identifying a self-loop status of a device, as shown in fig. 2, including the following steps:
(1) generating a random number by adopting a function, and sending the random number and the number of the longitudinal optical fiber channel to the opposite side through the longitudinal optical fiber channel; for example, the protection device has 2 pairs of longitudinal optical fiber channels; the 2 tandem fiber channels are distinguished by channel numbers 0 and 1.
(2) Comparing the received random number and the pilot fiber channel number with the random number and the channel number sent by the pilot fiber channel number, and judging that the channel is self-loop if the random number and the pilot fiber channel number are consistent; if not, judging that no self-loop occurs, and ending the identification process;
(3) setting a local side identification code and an opposite side identification code of the device, and sending the local side identification code to the opposite side through a pilot optical fiber channel;
(4) comparing the received opposite side identification code with the local side identification code, judging that the opposite side identification code is a set self-loop if the received opposite side identification code is consistent with the local side identification code and the set local side identification code of the device are consistent with the opposite side identification code, and judging that the opposite side identification code is the device self-loop if the channel self-loop and the set self-loop meet the requirements at the same time, and sending an alarm prompt; otherwise, judging that no self-loop occurs, and returning to the step (1) to continue monitoring. The device is internally provided with a fixed value of the identification code of the side and the fixed value of the identification code of the opposite side, and the fixed values are required to be set to be consistent, and the identification codes are numbers. If the two devices are interconnected, the received identification code is inconsistent with the set opposite side identification code on the side.
Judging that no self-loop occurs, and locking differential protection after finishing the identification process. The decision device opens the differential protection after looping.
In one aspect, the present invention provides a localization apparatus for identifying a self-loop status of a device, which, with reference to fig. 3, includes a random number generation module, a transmission module, a reception module, and a main control module.
The random number generation module generates a random number under the control of the main control module;
the sending module sends the generated random number and the channel number to a receiving module of the opposite-side in-place device through a pilot fiber channel under the control of the main control module; sending the identification code to a receiving module of the opposite side in-situ device under the control of the main control module;
the receiving module receives the random number and the channel number sent by the opposite-side local device sending module and sends the random number and the channel number to the main control module; receiving the identification code sent by the opposite-side local device sending module and sending the identification code to the main control module;
the main control module controls the random number generation module to generate a random number, and the sending module sends the random number and the pilot fiber channel number; receiving the random number and the tandem fiber channel number sent by the opposite-side in-situ device sending module, judging, and judging that the channel is a channel self-loop if the random number and the tandem fiber channel number sent by the sending module are consistent; when the channel is judged to be self-looped, the sending module is controlled to send the identification code; comparing the received identification code with the transmitted identification code, if the received identification code is consistent with the transmitted identification code, further judging that the set local identification code is consistent with the set opposite identification code, if the local identification code is consistent with the set opposite identification code, judging that the self-loop is set, and when the channel self-loop and the set self-loop are simultaneously satisfied, judging that the self-loop is the device self-loop; if the self-loop is not generated, the identification process is ended, the locking differential protection is controlled, and the opening differential protection is controlled after the self-loop of the device is determined.
In summary, the present invention relates to a method for identifying device self-loop and a localization device, which generates a random number function and transmits the random number to the opposite side through a longitudinal fiber channel, and when the received random number and channel number are consistent with the transmitted random number and longitudinal fiber channel number, it is determined that the channel self-loop is performed. And sending the identification code of the local side of the device to the opposite side through the pilot fiber channel, judging to be a setting self-loop when the identification code of the opposite side received by the channel is consistent with the identification code of the local side and the identification code of the local side set by the device is consistent with the identification code of the opposite side, and judging to be the self-loop state of the device only when the self-loop of the channel and the setting self-loop both meet the requirements. The invention judges the self-loop by the combination of the channel self-loop and the setting self-loop, thereby avoiding misjudgment. The channel self-loop judgment is carried out by adopting the generated random number and the channel number, the realization is easy, and the efficiency is high.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.
Claims (5)
1. A method of identifying a self-loop status of a device, comprising:
(1) generating a random number, and sending the random number and the number of the longitudinal optical fiber channel to the opposite side through the longitudinal optical fiber channel;
(2) comparing the received random number and the pilot optical fiber channel number with the sent random number and the pilot optical fiber channel number, and judging that the channel is self-loop if the random number and the pilot optical fiber channel number are consistent;
(3) setting a local side identification code and an opposite side identification code of the identification device, and sending the local side identification code to the opposite side through a pilot optical fiber channel;
(4) comparing the received opposite side identification code with the local side identification code, and judging that the identification device is a setting self-loop if the received opposite side identification code and the local side identification code are consistent and the local side identification code and the opposite side identification code which are set by the identification device are consistent; when the channel self-loop and the setting self-loop are simultaneously satisfied, judging that the device is the self-loop; otherwise, judging that no self-loop occurs, and returning to the step (1).
2. The method for identifying the self-loop status of a device according to claim 1, wherein the differential protection is locked after the identification process is finished if the self-loop is determined not to occur.
3. The method for identifying the self-loop status of a device according to claim 1 or 2, wherein the differential protection is opened after the self-loop of the device is judged.
4. A local device for identifying the self-loop state of a device is characterized by comprising a random number generation module, a sending module, a receiving module and a main control module;
the random number generation module generates a random number under the control of the main control module;
the sending module sends the generated random number and the number of the pilot fiber channel to a receiving module of the opposite-side in-place device through the pilot fiber channel under the control of the main control module; sending the identification code to a receiving module of the opposite side in-situ device under the control of the main control module;
the receiving module receives the random number and the tandem fiber channel number sent by the opposite-side in-situ device sending module and sends the random number and the tandem fiber channel number to the main control module; receiving the identification code sent by the opposite-side local device sending module and sending the identification code to the main control module;
the main control module controls the random number generation module to generate a random number, and the sending module sends the random number and the pilot fiber channel number; receiving the random number and the tandem fiber channel number sent by the opposite-side in-situ device sending module, judging, and judging that the channel is a channel self-loop if the random number and the tandem fiber channel number sent by the sending module are consistent; when the channel is judged to be self-looped, the sending module is controlled to send the identification code; comparing the received identification code with the transmitted identification code, if the received identification code is consistent with the transmitted identification code, further judging that the set local identification code is consistent with the set opposite identification code, if the local identification code is consistent with the set opposite identification code, judging that the self-loop is set, and when the channel self-loop and the set self-loop are simultaneously satisfied, judging that the self-loop is the device self-loop; otherwise, judging that no self-loop occurs, and ending the identification process.
5. The apparatus of claim 4, wherein the main control module controls to lock the differential protection if it is determined that the loop does not occur, and controls to open the differential protection if it is determined that the apparatus is looped.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010372290.8A CN111641184B (en) | 2020-05-06 | 2020-05-06 | Method for identifying self-loop of device and on-site device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010372290.8A CN111641184B (en) | 2020-05-06 | 2020-05-06 | Method for identifying self-loop of device and on-site device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111641184A CN111641184A (en) | 2020-09-08 |
CN111641184B true CN111641184B (en) | 2022-04-08 |
Family
ID=72332701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010372290.8A Active CN111641184B (en) | 2020-05-06 | 2020-05-06 | Method for identifying self-loop of device and on-site device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111641184B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426196A (en) * | 2001-12-19 | 2003-06-25 | 深圳市中兴通讯股份有限公司上海第二研究所 | Self circulation method for program control exchanger |
CN1859688A (en) * | 2005-09-28 | 2006-11-08 | 华为技术有限公司 | A interface circuit turn-on detecting method and device |
CN101626320A (en) * | 2009-08-18 | 2010-01-13 | 北京华环电子股份有限公司 | Method and device for detecting loopback of channel |
CN102271063A (en) * | 2011-07-22 | 2011-12-07 | 中兴通讯股份有限公司 | Self loop detecting method and system |
JP2016072851A (en) * | 2014-09-30 | 2016-05-09 | Kddi株式会社 | PON system, OLT, ONU and transmission method |
CN107438253A (en) * | 2016-05-26 | 2017-12-05 | 中兴通讯股份有限公司 | A kind of hardware detection method, apparatus of base station and base station |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8199679B2 (en) * | 2009-05-29 | 2012-06-12 | Alcatel Lucent | Enterprise virtual private LAN services |
-
2020
- 2020-05-06 CN CN202010372290.8A patent/CN111641184B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426196A (en) * | 2001-12-19 | 2003-06-25 | 深圳市中兴通讯股份有限公司上海第二研究所 | Self circulation method for program control exchanger |
CN1859688A (en) * | 2005-09-28 | 2006-11-08 | 华为技术有限公司 | A interface circuit turn-on detecting method and device |
CN101626320A (en) * | 2009-08-18 | 2010-01-13 | 北京华环电子股份有限公司 | Method and device for detecting loopback of channel |
CN102271063A (en) * | 2011-07-22 | 2011-12-07 | 中兴通讯股份有限公司 | Self loop detecting method and system |
JP2016072851A (en) * | 2014-09-30 | 2016-05-09 | Kddi株式会社 | PON system, OLT, ONU and transmission method |
CN107438253A (en) * | 2016-05-26 | 2017-12-05 | 中兴通讯股份有限公司 | A kind of hardware detection method, apparatus of base station and base station |
Non-Patent Citations (1)
Title |
---|
光纤电流差动保护通道告警问题研究;徐聪;《山西电力》;20190630;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111641184A (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101667864B (en) | Method of descending physical link fault diagnosis, system and device | |
CN104176605B (en) | Elevator door control method and system | |
CN101520744B (en) | Self-checking serial communication system and self-checking method thereof | |
CN107508831B (en) | Bus-based intrusion detection method | |
CN101847302B (en) | Infrared anti-theft device and method thereof for automatically transforming modulating frequency | |
KR101402527B1 (en) | Protecting System And Method For Passive Optical Network | |
CN105843094B (en) | Garage control method, apparatus and system | |
CN105502119A (en) | Elevator light curtain failure self-inspection method and device | |
CN111641184B (en) | Method for identifying self-loop of device and on-site device | |
CN101577584B (en) | Automated diagnosis and control method of ONU performance degradation | |
CN109547465B (en) | Safety transmission system for dynamic information acquisition and double verification between railway stations | |
CN113630187B (en) | PHY initialization method, system, equipment and medium | |
CN107688547A (en) | A kind of method and system of controller active-standby switch | |
CN106647697A (en) | Verification method for switching quantity input signals | |
CN101626320A (en) | Method and device for detecting loopback of channel | |
CN101202677A (en) | Method and device for detecting link | |
CN102970074B (en) | Device for detecting abnormal-luminescence optical network unit (ONU) hardware on optical line terminal (OLT) side in Ethernet passive optical network (EPON) system | |
CN206237406U (en) | Cable's Fault monitoring system based on OTDR | |
CN108958019B (en) | Safety adapter, serial safety control loop and safety control method | |
US8320757B2 (en) | Method and device for starting up an optical transmission link | |
CN114407020B (en) | Mining robot methane locking control device and control method | |
CA2294968C (en) | Passive remote loop-back method and apparatus for optical circuit verification | |
CN112184478A (en) | Method and system for controlling boundary operation equipment in heterogeneous system in distribution network fault recovery | |
CN113132307B (en) | Method, device and storage medium for detecting illegal actions suffered by CAN network in vehicle | |
CN106410973B (en) | A kind of analysis method of the inspecting state of relay protection device of intelligent substation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |