[go: up one dir, main page]

CN113013852B - A method and device for processing line protection fiber channel transmission data - Google Patents

A method and device for processing line protection fiber channel transmission data Download PDF

Info

Publication number
CN113013852B
CN113013852B CN202110221250.8A CN202110221250A CN113013852B CN 113013852 B CN113013852 B CN 113013852B CN 202110221250 A CN202110221250 A CN 202110221250A CN 113013852 B CN113013852 B CN 113013852B
Authority
CN
China
Prior art keywords
data
value
current
sampling
opposite side
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
Application number
CN202110221250.8A
Other languages
Chinese (zh)
Other versions
CN113013852A (en
Inventor
李旭
李宝伟
倪传坤
董新涛
方正
唐艳梅
姜自强
郝慧贞
都磊
滕晨旭
王振宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN202110221250.8A priority Critical patent/CN113013852B/en
Publication of CN113013852A publication Critical patent/CN113013852A/en
Priority to PCT/CN2021/122670 priority patent/WO2022179111A1/en
Application granted granted Critical
Publication of CN113013852B publication Critical patent/CN113013852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/26Sectionalised protection of cable or line systems, e.g. for disconnecting a section on which a short-circuit, earth fault, or arc discharge has occured
    • H02H7/261Sectionalised protection of cable or line systems, e.g. for disconnecting a section on which a short-circuit, earth fault, or arc discharge has occured involving signal transmission between at least two stations
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H1/00Details of emergency protective circuit arrangements
    • H02H1/0061Details of emergency protective circuit arrangements concerning transmission of signals
    • H02H1/0069Details of emergency protective circuit arrangements concerning transmission of signals by means of light or heat rays
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H1/00Details of emergency protective circuit arrangements
    • H02H1/0092Details of emergency protective circuit arrangements concerning the data processing means, e.g. expert systems, neural networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/26Sectionalised protection of cable or line systems, e.g. for disconnecting a section on which a short-circuit, earth fault, or arc discharge has occured
    • H02H7/261Sectionalised protection of cable or line systems, e.g. for disconnecting a section on which a short-circuit, earth fault, or arc discharge has occured involving signal transmission between at least two stations
    • H02H7/263Sectionalised protection of cable or line systems, e.g. for disconnecting a section on which a short-circuit, earth fault, or arc discharge has occured involving signal transmission between at least two stations involving transmissions of measured values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/12Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment
    • Y04S40/124Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment using wired telecommunication networks or data transmission busses

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Optical Communication System (AREA)
  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention discloses a method and a device for processing transmission data of a line protection optical fiber channel, which comprises the following steps: acquiring a data frame format value in a communication message sent by the opposite side; when the numerical value is a first preset numerical value, the devices on the two sides of the optical fiber channel regularly transmit sampling data and switching value data after sampling is interrupted; when the numerical value is a second preset numerical value, sending the sampling data and the sampling sequence number of the previous frame with abnormal verification and the sampling data of the current frame to the opposite side; when the value is a third preset value, carrying out phasor calculation on the sampling data of 1/4 cycle before the abnormal frame, sending the real part and the imaginary part of the three-phase current and the corresponding sampling serial number to the opposite side, and using current phasor of 1/4 cycle of current on the same side and the opposite side the differential current and the braking current for differential protection are synthesized. By sending sampling data after sampling interruption, when 2 times of continuous data abnormality is detected, phasor is calculated by using a short window algorithm and transmitted to the opposite side, so that the influence of accidental communication abnormality of the optical fiber channel on differential protection is reduced.

Description

一种线路保护光纤通道传输数据处理方法及装置A method and device for processing line protection fiber channel transmission data

技术领域technical field

本发明涉及高压输电线路保护技术领域,特别涉及一种线路保护光纤通道传输数据处理方法及装置。The present invention relates to the technical field of high-voltage transmission line protection, in particular to a method and device for processing data of line protection optical fiber channel transmission data.

背景技术Background technique

现阶段,我国高压电网输电线路保护已普遍采用光纤差动保护原理,差动保护具有选择性好、动作速度快等优点,对保护电网安全起到了重要作用。At this stage, the protection of high-voltage power grid transmission lines in my country has generally adopted the principle of optical fiber differential protection. Differential protection has the advantages of good selectivity and fast action speed, which plays an important role in protecting the security of the power grid.

但在现场运行过程中,由于电磁干扰等原因可能造成光纤通信异常导致差动保护闭锁的情况,严重时可能导致故障时差动保护拒动。However, in the process of on-site operation, due to electromagnetic interference and other reasons, the optical fiber communication may be abnormal and the differential protection may be blocked.

发明内容SUMMARY OF THE INVENTION

本发明实施例的目的是提供一种线路保护光纤通道传输数据处理方法及装置,针对光纤通道数据异常后导致差动保护闭锁的情况,通过在每个采样中断后发送采样点,并在检测到数据异常时,利用短窗算法计算相量并传递给对侧,以降低光纤通道偶发的通信异常对差动保护的影响。The purpose of the embodiments of the present invention is to provide a method and device for processing data transmitted through a line protection fiber channel. In view of the situation of differential protection blocking after abnormal fiber channel data, by sending sampling points after each sampling interruption, and detecting When the data is abnormal, the short-window algorithm is used to calculate the phasor and transmit it to the opposite side, so as to reduce the impact of the occasional communication abnormality of the Fibre Channel on the differential protection.

为解决上述技术问题,本发明实施例的第一方面提供了一种线路保护光纤通道传输数据处理方法,包括如下步骤:In order to solve the above technical problem, a first aspect of the embodiments of the present invention provides a method for processing line protection fiber channel transmission data, including the following steps:

通过所述光纤通道获取对侧通信报文中的数据帧格式的数值;Obtain the value of the data frame format in the communication message of the opposite side through the Fibre Channel;

当所述数据帧格式的数值为第一预设数值时,所述光纤通道两侧装置均在每个采样中断后定时发送采样数据和开关量数据,利用本侧和接收到对侧采样数据以合成差动电流和制动电流;When the value of the data frame format is the first preset value, the devices on both sides of the optical fiber channel regularly send sampling data and switching data after each sampling interruption, and use the sampling data on the local side and the opposite side to receive the sampling data. Synthesized differential current and braking current;

当所述数据帧格式的数值为第二预设数值时,通过所述采样数据的若干个预设第一数据位将前一帧校验异常的所述采样数据和采样序号及本帧的所述采样数据发送至对侧,所述光纤通道两侧装置利用本侧及对侧的采样数据合成用于差动保护的差动电流和制动电流;When the value of the data frame format is the second preset value, the sampled data and the sampling serial number of the previous frame with abnormal verification and all the data of the current frame are converted by several preset first data bits of the sampled data. The sampled data is sent to the opposite side, and the devices on both sides of the fiber channel synthesize the differential current and the braking current for differential protection using the sampled data on the current side and the opposite side;

当所述数据帧格式的数值为第三预设数值时,对异常帧之前的1/4周波的所述采样数据进行相量计算,以得到三相电流的实部和虚部,并通过所述数据的若干个预设第一数据位和若干个预设第二数据位将所述三相电流的实部和虚部及相应的采样序号发送至对侧,所述光纤通道两侧装置利用本侧和对侧1/4周波的电流相量合成用于差动保护的差动电流和制动电流。When the value of the data frame format is the third preset value, phasor calculation is performed on the sampled data of the 1/4 cycle before the abnormal frame to obtain the real part and imaginary part of the three-phase current, and the Several preset first data bits and several preset second data bits of the data send the real part and imaginary part of the three-phase current and the corresponding sampling sequence number to the opposite side, and the devices on both sides of the fiber channel use The 1/4 cycle current phasor of the current side and the opposite side is used to synthesize the differential current and braking current for differential protection.

进一步地,所述通过所述光纤通道获取对侧采样数据中的数据帧格式的数值之后,还包括:Further, after obtaining the value of the data frame format in the sampling data on the opposite side through the optical fiber channel, the method further includes:

获取所述数据帧格式的数值;Obtain the value in the data frame format;

判断所述数据帧格式的数值是否为所述第三预设数值;Judging whether the value of the data frame format is the third preset value;

当所述数据帧格式的数值为所述第三预设数值时,获取所述对侧传输的短窗电流相量与本侧电流相量合成差动电流和制动电流,在第一预设时长内均采用短窗完成差动保护功能;When the value of the data frame format is the third preset value, obtain the short-window current phasor transmitted by the opposite side and the current phasor of the local side to synthesize the differential current and the braking current, and the first preset value is obtained. The short window is used to complete the differential protection function within the duration;

且在所述第一预设时长后,当所述采样数据始终正常时,则切换为采用对侧采样数据和本侧采样数据计算差动电流和制动电流,以完成差动保护。And after the first preset time period, when the sampled data is always normal, it is switched to use the opposite-side sampled data and the local-side sampled data to calculate the differential current and the braking current, so as to complete the differential protection.

进一步地,所述对异常帧之前的1/4周波的采样数据进行相量计算,包括:Further, the phasor calculation is performed on the sampled data of the 1/4 cycle before the abnormal frame, including:

将每个采样周期的采样点数设定为N;Set the number of sampling points per sampling period to N;

对第一预设时长的短窗数据,所述三相电流的实部为:For the short window data of the first preset duration, the real part of the three-phase current is:

Figure BDA0002954992400000021
Figure BDA0002954992400000021

且,所述三相电流的虚部为:And, the imaginary part of the three-phase current is:

Figure BDA0002954992400000022
Figure BDA0002954992400000022

其中,xl表示输入信号的第l个采样点;Among them, x l represents the l-th sampling point of the input signal;

则,发送给所述对侧的相量计算公式为:Then, the calculation formula of the phasor sent to the opposite side is:

Figure BDA0002954992400000031
Figure BDA0002954992400000031

进一步地,所述通过所述光纤通道获取对侧采样数据中的数据帧格式的数值之前,还包括:Further, before obtaining the value of the data frame format in the sampling data on the opposite side through the optical fiber channel, the method further includes:

对通过所述光纤通道接收到的所述采样数据进行CRC校验;performing a CRC check on the sampled data received through the Fibre Channel;

当所述CRC校验无错误时,将所述数据帧格式值设置为所述第一预设数值;When there is no error in the CRC check, the data frame format value is set to the first preset value;

当所述CRC校验包括单次错误时,将所述数据帧格式值设置为所述第二预设数值;When the CRC check includes a single error, setting the data frame format value to the second preset value;

当所述CRC校验包括连续两次错误时,将所述数据帧格式值设置为所述第三预设数值。When the CRC check includes two consecutive errors, the data frame format value is set to the third preset value.

进一步地,所述线路保护光纤通道传输数据处理方法还包括:Further, the method for processing line protection Fibre Channel transmission data further includes:

当所述CRC校验包括连续三次错误时,则闭锁所述差动保护。When the CRC check includes three consecutive errors, the differential protection is blocked.

相应地,本发明实施例的第二方面提供了一种线路保护光纤通道传输数据处理装置,包括:Correspondingly, a second aspect of the embodiments of the present invention provides a line protection fiber channel transmission data processing device, including:

第一获取模块,其用于通过所述光纤通道获取对侧通信报文中的数据帧格式的数值;a first obtaining module, which is used to obtain the numerical value of the data frame format in the communication message of the opposite side through the Fibre Channel;

第一控制模块,其用于当所述数据帧格式的数值为第一预设数值时,所述光纤通道两侧装置均在每个采样中断后定时发送采样数据和开关量数据,并利用本侧和接收到对侧采样数据合成差动电流和制动电流;The first control module is used to send sampling data and switching data regularly after each sampling interruption when the value of the data frame format is the first preset value, and use this Synthesize differential current and braking current by receiving the sampling data from the side and the opposite side;

第二控制模块,其用于当所述数据帧格式的数值为第二预设数值时,通过所述采样数据的若干个预设第一数据位将前一帧校验异常的所述采样数据和采样序号及本帧的所述采样数据发送至对侧,所述光纤通道两侧装置利用本侧及对侧的采样数据合成用于差动保护的差动电流和制动电流;The second control module is configured to, when the value of the data frame format is a second preset value, use a plurality of preset first data bits of the sampled data to check the abnormal sampling data of the previous frame and the sampling serial number and the sampling data of this frame are sent to the opposite side, and the devices on both sides of the fiber channel use the sampling data of this side and the opposite side to synthesize the differential current and braking current for differential protection;

第三控制模块,其用于当所述数据帧格式的数值为第三预设数值时,对异常帧之前的1/4周波的所述采样数据进行相量计算,以得到三相电流的实部和虚部,并通过所述数据的若干个预设第一数据位和若干个预设第二数据位将所述三相电流的实部和虚部及相应的采样序号发送至对侧,所述光纤通道两侧装置利用本侧和对侧接收到的1/4周波的电流相量合成用于差动保护的差动电流和制动电流。The third control module is configured to perform phasor calculation on the sampled data of 1/4 cycle before the abnormal frame when the value of the data frame format is the third preset value, so as to obtain the actual value of the three-phase current. part and imaginary part, and send the real part and imaginary part of the three-phase current and the corresponding sampling sequence number to the opposite side through several preset first data bits and several preset second data bits of the data, The devices on both sides of the optical fiber channel utilize the 1/4-cycle current phasors received by the current side and the opposite side to synthesize the differential current and the braking current for differential protection.

进一步地,所述线路保护光纤通道传输数据处理装置还包括:Further, the line protection Fibre Channel transmission data processing device further includes:

第二获取模块,其用于获取所述数据帧格式的数值;A second acquisition module, which is used to acquire the numerical value of the data frame format;

第一判断模块,其用于判断所述数据帧格式的数值是否为所述第三预设数值;a first judgment module, which is used for judging whether the value of the data frame format is the third preset value;

第四控制模块,其用于当所述数据帧格式的数值为所述第三预设数值时,获取所述对侧传输的短窗电流相量与本侧电流相量合成差动电流和制动电流,在第一预设时长内均采用短窗完成差动保护功能;The fourth control module is used to obtain the short-window current phasor transmitted by the opposite side and the current phasor of the local side to synthesize the differential current and control when the value of the data frame format is the third preset value. Dynamic current, the short window is used to complete the differential protection function within the first preset time period;

第五控制模块,其用于在所述第一预设时长后,当所述采样数据始终正常时,则切换为采用对侧采样数据和本侧采样数据计算差动电流和制动电流,以完成差动保护。The fifth control module is configured to switch to using the opposite-side sampling data and the local-side sampling data to calculate the differential current and the braking current when the sampling data is always normal after the first preset time period, so as to Complete differential protection.

进一步地,所述第三控制模块包括:设定单元和计算单元;Further, the third control module includes: a setting unit and a calculation unit;

所述设定单元用于将每个采样周期的采样点数设定为N;The setting unit is used to set the number of sampling points in each sampling period to N;

所述计算单元用于对第一预设时长的短窗数据,计算所述三相电流的实部:The calculation unit is used to calculate the real part of the three-phase current for the short-window data of the first preset duration:

Figure BDA0002954992400000041
Figure BDA0002954992400000041

且,计算所述三相电流的虚部为:And, calculate the imaginary part of the three-phase current as:

Figure BDA0002954992400000042
Figure BDA0002954992400000042

其中,xl表示输入信号的第l个采样点;Among them, x l represents the l-th sampling point of the input signal;

并计算发送给所述对侧的相量为:and calculate the phasor sent to the opposite side as:

Figure BDA0002954992400000051
Figure BDA0002954992400000051

进一步地,所述线路保护光纤通道传输数据处理装置还包括:Further, the line protection Fibre Channel transmission data processing device further includes:

数据校验模块,其用于对通过所述光纤通道接收到的所述采样数据进行校验;a data verification module, which is used to verify the sampled data received through the Fibre Channel;

设定模块,其用于当CRC校验无错误时将所述数据帧格式值设置为所述第一预设数值,还用于当所述CRC校验包括单次错误时将所述数据帧格式值设置为所述第二预设数值,还用于当所述CRC校验包括连续两次错误时,将所述数据帧格式值设置为所述第三预设数值。A setting module, which is used for setting the format value of the data frame to the first preset value when the CRC check has no errors, and is also used for setting the data frame when the CRC check includes a single error The format value is set to the second preset value, and is further configured to set the data frame format value to the third preset value when the CRC check includes two consecutive errors.

进一步地,所述线路保护光纤通道传输数据处理装置还包括:Further, the line protection Fibre Channel transmission data processing device further includes:

第六控制模块,其用于在所述CRC校验包括连续三次错误时闭锁所述差动保护。A sixth control module, configured to block the differential protection when the CRC check includes three consecutive errors.

相应地,本发明实施例的第三方面提供了一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器连接的存储器;其中,所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述一个处理器执行,以使所述至少一个处理器执行上述线路保护光纤通道传输数据处理方法。Correspondingly, a third aspect of the embodiments of the present invention provides an electronic device, including: at least one processor; and a memory connected to the at least one processor; wherein, the memory stores data that can be processed by the one processor The instructions are executed by the processor, and the instructions are executed by the one processor, so that the at least one processor executes the above-mentioned method for processing line protection Fibre Channel transmission data.

此外,本发明实施例的第四方面还提供了一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现上述线路保护光纤通道传输数据处理方法。In addition, a fourth aspect of the embodiments of the present invention further provides a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, implement the above line protection fiber channel transmission data processing method.

本发明实施例的上述技术方案具有如下有益的技术效果:The above-mentioned technical solutions of the embodiments of the present invention have the following beneficial technical effects:

针对光纤通道数据异常后导致差动保护闭锁的情况,通过在每个采样中断后发送采样点,并在检测到数据异常时,利用短窗算法计算相量并传递给对侧,以降低光纤通道偶发的通信异常对差动保护的影响。In view of the situation that the differential protection is blocked after the abnormal data of the fiber channel, the sampling point is sent after each sampling interruption, and when the abnormal data is detected, the short-window algorithm is used to calculate the phasor and transmit it to the opposite side, so as to reduce the loss of the fiber channel. The impact of occasional communication anomalies on differential protection.

附图说明Description of drawings

图1是本发明实施例提供的高压输电线路保护示意图;1 is a schematic diagram of the protection of a high-voltage transmission line provided by an embodiment of the present invention;

图2是本发明实施例提供的线路保护光纤通道传输数据处理方法流程图;FIG. 2 is a flowchart of a method for processing line protection Fibre Channel transmission data provided by an embodiment of the present invention;

图3是本发明实施例提供的线路保护光纤通道传输数据处理方法逻辑图;3 is a logic diagram of a method for processing data for line protection fiber channel transmission provided by an embodiment of the present invention;

图4a是本发明实施例提供的光纤通道采样数据正常时的数据帧示意图;FIG. 4a is a schematic diagram of a data frame when Fibre Channel sampling data is normal according to an embodiment of the present invention;

图4b是本发明实施例提供的光纤通道采样数据异常时的数据帧示意图;4b is a schematic diagram of a data frame when the sampling data of the Fibre Channel provided by an embodiment of the present invention is abnormal;

图4c是本发明实施例提供的光纤通道采样数据连续异常时的数据帧示意图;FIG. 4c is a schematic diagram of a data frame when Fibre Channel sampling data is continuously abnormal according to an embodiment of the present invention;

图5是本发明实施例提供的线路保护光纤通道传输数据处理装置模块框图;FIG. 5 is a block diagram of a module of a line protection Fibre Channel transmission data processing device provided by an embodiment of the present invention;

图6是本发明实施例提供的第三控制模块示意图。FIG. 6 is a schematic diagram of a third control module provided by an embodiment of the present invention.

附图标记:Reference number:

1、第一获取模块,2、第一控制模块,3、第二控制模块,4、第三控制模块,41、设定单元,42、计算单元,5、第二获取模块,6、第一判断模块,7、第四控制模块,8、第五控制模块,9、第六控制模块,10、数据校验模块,11、设定模块。1. The first acquisition module, 2. The first control module, 3. The second control module, 4. The third control module, 41. The setting unit, 42, The calculation unit, 5. The second acquisition module, 6. The first Judgment module, 7, fourth control module, 8, fifth control module, 9, sixth control module, 10, data verification module, 11, setting module.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明了,下面结合具体实施方式并参照附图,对本发明进一步详细说明。应该理解,这些描述只是示例性的,而并非要限制本发明的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本发明的概念。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings. It should be understood that these descriptions are exemplary only and are not intended to limit the scope of the invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present invention.

图1是本发明实施例提供的高压输电线路保护示意图。FIG. 1 is a schematic diagram of the protection of a high-voltage transmission line provided by an embodiment of the present invention.

图2是本发明实施例提供的线路保护光纤通道传输数据处理方法流程图。FIG. 2 is a flowchart of a method for processing data transmitted over a line protection fiber channel provided by an embodiment of the present invention.

图3是本发明实施例提供的线路保护光纤通道传输数据处理方法逻辑图。FIG. 3 is a logic diagram of a method for processing data transmitted over a line protection fiber channel provided by an embodiment of the present invention.

图4a是本发明实施例提供的光纤通道采样数据正常时的数据帧示意图。FIG. 4a is a schematic diagram of a data frame when sampling data of a fiber channel according to an embodiment of the present invention is normal.

图4b是本发明实施例提供的光纤通道采样数据异常时的数据帧示意图。FIG. 4b is a schematic diagram of a data frame when sampling data of an optical fiber channel is abnormal according to an embodiment of the present invention.

图4c是本发明实施例提供的光纤通道采样数据连续异常时的数据帧示意图。FIG. 4c is a schematic diagram of a data frame when Fibre Channel sampling data is continuously abnormal according to an embodiment of the present invention.

请参照图1、图2、图3、图4a、图4b和图4c,本发明实施例的第一方面提供了一种线路保护光纤通道传输数据处理方法,包括如下步骤:Please refer to FIG. 1 , FIG. 2 , FIG. 3 , FIG. 4 a , FIG. 4 b and FIG. 4 c , a first aspect of the embodiments of the present invention provides a method for processing data transmitted through a line protection fiber channel, including the following steps:

S200,通过光纤通道获取对侧通信报文中的数据帧格式的数值。S200. Obtain the value of the data frame format in the communication packet of the opposite side through the fiber channel.

S300,当数据帧格式的数值为第一预设数值时,光纤通道两侧装置均在每个采样中断后定时发送采样数据和开关量数据,利用本侧和接收到对侧采样数据合成差动电流和制动电流。S300, when the value of the data frame format is the first preset value, the devices on both sides of the optical fiber channel regularly send sampling data and switching data after each sampling interruption, and synthesize the differential by using the sampling data received from the local side and the opposite side. current and braking current.

具体的,采样数据正常时,数据帧格式如图4a所示。Specifically, when the sampled data is normal, the data frame format is as shown in Figure 4a.

S400,当数据帧格式的数值为第二预设数值时,通过采样数据的若干个预设第一数据位将前一帧校验异常的采样数据和采样序号及本帧的采样数据发送至对侧,光纤通道两侧装置利用本侧及对侧的采样数据合成用于差动保护的差动电流和制动电流。S400, when the value of the data frame format is the second preset value, send the sampled data and the sampled serial number of the previous frame with abnormal verification and the sampled data of the current frame to a pair of The devices on both sides of the fiber channel use the sampling data of the current side and the opposite side to synthesize the differential current and braking current for differential protection.

具体的,当数据帧格式的数值为第二预设数值时,在发送数据组帧时,该数据帧中不再传输开关量1-3,利用开关量1-3的6个字节,将上一帧校验异常的采样数据及采样序号和本次新的采样数据同时发给对侧。Specifically, when the value of the data frame format is the second preset value, when the data frame is sent, the switching quantities 1-3 are no longer transmitted in the data frame, and the 6 bytes of the switching quantities 1-3 are used to convert the The sampling data and sampling sequence number of the previous frame with abnormal verification and the new sampling data of this time are sent to the opposite side at the same time.

S500,当数据帧格式的数值为第三预设数值时,对异常帧之前的1/4周波的采样数据进行相量计算,以得到三相电流的实部和虚部,并通过数据的若干个预设第一数据位和若干个预设第二数据位将三相电流的实部和虚部及相应的采样序号发送至对侧,光纤通道两侧装置利用本侧和对侧1/4周波的电流相量合成用于差动保护的差动电流和制动电流。S500, when the value of the data frame format is the third preset value, perform phasor calculation on the sampled data of the 1/4 cycle before the abnormal frame to obtain the real part and the imaginary part of the three-phase current, and pass several A preset first data bit and a number of preset second data bits send the real part and imaginary part of the three-phase current and the corresponding sampling sequence number to the opposite side, and the devices on both sides of the fiber channel use 1/4 of the current side and the opposite side The current phasor of the cycle is used to synthesize the differential current and the braking current for the differential protection.

具体的,当数据帧格式的数值为第二预设数值时,在发送数据组帧时,该数据帧中不再传输开关量1-6,利用异常帧之前的1/4周波的采样点,进行相量计算,并将计算的三相电流实部、虚部以及对应的采样序号发送给对侧。Specifically, when the value of the data frame format is the second preset value, when the data frame is sent, the switching quantities 1-6 are no longer transmitted in the data frame, and the sampling point of the 1/4 cycle before the abnormal frame is used to Perform phasor calculation, and send the calculated real and imaginary parts of the three-phase current and the corresponding sampling number to the opposite side.

具体的,上述过程执行完之后,通过光纤通道获取对侧采样数据中的数据帧格式的数值完毕,还包括步骤:Specifically, after the above process is completed, the acquisition of the value of the data frame format in the sampling data of the opposite side through the optical fiber channel is completed, and the step further includes:

S610,获取数据帧格式的数值。S610, obtain the numerical value in a data frame format.

S620,判断数据帧格式的数值是否为第三预设数值。S620. Determine whether the value in the data frame format is a third preset value.

S630,当数据帧格式的数值为第三预设数值时,获取对侧传输的短窗电流相量与本侧电流相量合成差动电流和制动电流,在第一预设时长内均采用短窗完成差动保护功能。S630, when the value in the data frame format is a third preset value, obtain the short-window current phasor transmitted on the opposite side and the current phasor on the local side to synthesize the differential current and the braking current, and use both within the first preset duration The short window completes the differential protection function.

S640,且在第一预设时长后,当采样数据始终正常时,则切换为采用对侧采样数据和本侧采样数据计算差动电流和制动电流,以完成差动保护。S640, and after the first preset time period, when the sampled data is always normal, switching to using the opposite-side sampled data and the local-side sampled data to calculate the differential current and the braking current to complete the differential protection.

可选的,第一预设时长的数值为10ms。Optionally, the value of the first preset duration is 10ms.

具体的,步骤S400中,对异常帧之前的1/4周波的采样数据进行相量计算,具体包括:Specifically, in step S400, phasor calculation is performed on the sampled data of the 1/4 cycle before the abnormal frame, which specifically includes:

S510,将每个采样周期的采样点数设定为N。S510, the number of sampling points in each sampling period is set as N.

S520,对第一预设时长的短窗数据,三相电流的实部为:S520, for the short window data of the first preset duration, the real part of the three-phase current is:

Figure BDA0002954992400000081
Figure BDA0002954992400000081

且,三相电流的虚部为:And, the imaginary part of the three-phase current is:

Figure BDA0002954992400000082
Figure BDA0002954992400000082

其中,xl表示输入信号的第l个采样点;Among them, x l represents the l-th sampling point of the input signal;

则,发送给对侧的相量计算公式为:Then, the calculation formula of the phasor sent to the opposite side is:

Figure BDA0002954992400000091
Figure BDA0002954992400000091

此外,步骤S200中,通过光纤通道获取对侧采样数据中的数据帧格式的数值之前,还包括:In addition, in step S200, before acquiring the value of the data frame format in the sampling data on the opposite side through the fiber channel, the method further includes:

S110,对通过光纤通道接收到的采样数据进行CRC校验。S110, perform CRC check on the sampled data received through the fiber channel.

S120,当CRC校验无错误时,将数据帧格式值设置为第一预设数值。S120, when there is no error in the CRC check, set the data frame format value to a first preset value.

可选的,第一预设数值的数值为0。Optionally, the value of the first preset value is 0.

S130,当CRC校验包括单次错误时,将数据帧格式值设置为第二预设数值。S130, when the CRC check includes a single error, set the data frame format value to a second preset value.

可选的,第二预设数值的数值为1。Optionally, the value of the second preset value is 1.

S140,当CRC校验包括连续两次错误时,将数据帧格式值设置为第三预设数值。S140, when the CRC check includes two consecutive errors, set the data frame format value to a third preset value.

可选的,第三预设数值的数值为2。Optionally, the value of the third preset value is 2.

进一步地,步骤S140之后还包括如下步骤:Further, after step S140, the following steps are also included:

S150,当CRC校验包括连续三次错误时,则闭锁差动保护。S150, when the CRC check includes three consecutive errors, the differential protection is blocked.

图5是本发明实施例提供的线路保护光纤通道传输数据处理装置模块框图。FIG. 5 is a block diagram of a module of an apparatus for processing data for line protection fiber channel transmission provided by an embodiment of the present invention.

相应地,请参照图5,本发明实施例的第二方面提供了一种线路保护光纤通道传输数据处理装置,包括:第一获取模块1、第一控制模块2、第二控制模块3和第三控制模块4。其中,第一获取模块1用于通过光纤通道获取对侧通信报文中的数据帧格式的数值;第一控制模块2用于当数据帧格式的数值为第一预设数值时,光纤通道两侧装置均在每个采样中断后定时发送采样数据和开关量数据,并利用本侧和接收到对侧采样数据合成差动电流和制动电流;第二控制模块3用于当数据帧格式的数值为第二预设数值时,通过采样数据的若干个预设第一数据位将前一帧校验异常的采样数据和采样序号及本帧的采样数据发送至对侧,光纤通道两侧装置利用本侧及对侧的采样数据合成用于差动保护的差动电流和制动电流;第三控制模块4用于当数据帧格式的数值为第三预设数值时,对异常帧之前的1/4周波的采样数据进行相量计算,以得到三相电流的实部和虚部,并通过数据的若干个预设第一数据位和若干个预设第二数据位将三相电流的实部和虚部及相应的采样序号发送至对侧,光纤通道两侧装置利用本侧和对侧接收到的1/4周波的电流相量合成用于差动保护的差动电流和制动电流。Correspondingly, referring to FIG. 5 , a second aspect of the embodiments of the present invention provides a line protection fiber channel transmission data processing device, including: a first acquisition module 1 , a first control module 2 , a second control module 3 , and a first Three control modules 4 . Wherein, the first acquisition module 1 is used for acquiring the value of the data frame format in the communication message of the opposite side through the fiber channel; the first control module 2 is used for when the value of the data frame format is the first preset value, the fiber channel two Both side devices regularly send sampling data and switching data after each sampling interruption, and synthesize differential current and braking current by using the sampling data of this side and the opposite side received; the second control module 3 is used when the data frame format is When the value is the second preset value, the sampling data and sampling sequence number of the previous frame with abnormal verification and the sampling data of this frame are sent to the opposite side, the devices on both sides of the fiber channel through several preset first data bits of the sampling data. The differential current and braking current used for differential protection are synthesized by using the sampling data of the current side and the opposite side; the third control module 4 is used for, when the value of the data frame format is the third preset value, The phasor calculation is performed on the sampled data of 1/4 cycle to obtain the real part and imaginary part of the three-phase current, and the three-phase current is calculated by several preset first data bits and several preset second data bits of the data. The real part, the imaginary part and the corresponding sampling number are sent to the opposite side. The devices on both sides of the fiber channel use the current phasors of 1/4 cycle received on the local and opposite sides to synthesize the differential current and braking for differential protection. current.

具体的,线路保护光纤通道传输数据处理装置还包括:第二获取模块5、第一判断模块6、第四控制模块7和第五控制模块8。其中,第二获取模块5用于获取数据帧格式的数值;第一判断模块6用于判断数据帧格式的数值是否为第三预设数值;第四控制模块7用于当数据帧格式的数值为第三预设数值时,获取对侧传输的短窗电流相量与本侧电流相量合成差动电流和制动电流,在第一预设时长内均采用短窗完成差动保护功能;第五控制模块8用于在第一预设时长后,当采样数据始终正常时,则切换为采用对侧采样数据和本侧采样数据计算差动电流和制动电流,以完成差动保护。Specifically, the line protection fiber channel transmission data processing device further includes: a second acquisition module 5 , a first judgment module 6 , a fourth control module 7 and a fifth control module 8 . Wherein, the second obtaining module 5 is used to obtain the numerical value of the data frame format; the first judgment module 6 is used to judge whether the numerical value of the data frame format is the third preset value; the fourth control module 7 is used to obtain the numerical value of the data frame format When the value is the third preset value, obtain the short-window current phasor transmitted on the opposite side and the current phasor on the local side to synthesize the differential current and braking current, and use the short-window to complete the differential protection function within the first preset duration; The fifth control module 8 is configured to switch to calculate the differential current and the braking current by using the opposite-side sampling data and the local-side sampling data to complete the differential protection when the sampling data is always normal after the first preset time period.

图6是本发明实施例提供的第三控制模块示意图。FIG. 6 is a schematic diagram of a third control module provided by an embodiment of the present invention.

具体的,请参照图6,第三控制模块4包括:设定单元41和计算单元42。其中,设定单元41用于将每个采样周期的采样点数设定为N;计算单元42用于对第一预设时长的短窗数据,计算三相电流的实部:Specifically, please refer to FIG. 6 , the third control module 4 includes: a setting unit 41 and a calculation unit 42 . Wherein, the setting unit 41 is used to set the number of sampling points of each sampling period to N; the calculation unit 42 is used to calculate the real part of the three-phase current for the short window data of the first preset duration:

Figure BDA0002954992400000101
Figure BDA0002954992400000101

且,计算三相电流的虚部为:And, the imaginary part of the three-phase current is calculated as:

Figure BDA0002954992400000102
Figure BDA0002954992400000102

其中,xl表示输入信号的第l个采样点;Among them, x l represents the l-th sampling point of the input signal;

并计算发送给对侧的相量为:And calculate the phasor sent to the opposite side as:

Figure BDA0002954992400000111
Figure BDA0002954992400000111

进一步地,线路保护光纤通道传输数据处理装置还包括:数据校验模块10和设定模块11。其中,数据校验模块10用于对通过光纤通道接收到的采样数据进行校验;设定模块11用于当CRC校验无错误时将数据帧格式值设置为第一预设数值,还用于当CRC校验包括单次错误时将数据帧格式值设置为第二预设数值,还用于当CRC校验包括连续两次错误时,将数据帧格式值设置为第三预设数值。Further, the line protection fiber channel transmission data processing device further includes: a data verification module 10 and a setting module 11 . Wherein, the data verification module 10 is used to verify the sampled data received through the fiber channel; the setting module 11 is used to set the data frame format value to the first preset value when the CRC verification is error-free, and also use When the CRC check includes a single error, the data frame format value is set to a second preset value, and when the CRC check includes two consecutive errors, the data frame format value is set to a third preset value.

线路保护光纤通道传输数据处理装置还包括:第六控制模块9,其用于在CRC校验包括连续三次错误时闭锁差动保护。The line protection optical fiber channel transmission data processing device further includes: a sixth control module 9, which is configured to block the differential protection when the CRC check includes three consecutive errors.

相应地,本发明实施例的第三方面提供了一种电子设备,包括:至少一个处理器;以及与至少一个处理器连接的存储器;其中,存储器存储有可被一个处理器执行的指令,指令被一个处理器执行,以使至少一个处理器执行上述线路保护光纤通道传输数据处理方法。Correspondingly, a third aspect of the embodiments of the present invention provides an electronic device, including: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions that can be executed by one processor, and the instructions Executed by one processor, so that at least one processor executes the above-mentioned method for processing line protection Fibre Channel transmission data.

此外,本发明实施例的第四方面还提供了一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现上述线路保护光纤通道传输数据处理方法。In addition, a fourth aspect of the embodiments of the present invention further provides a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, implement the above line protection fiber channel transmission data processing method.

本发明实施例旨在保护一种线路保护光纤通道传输数据处理方法及装置,其中方法包括如下步骤:通过光纤通道获取对侧通信报文中的数据帧格式的数值;当数据帧格式的数值为第一预设数值时,光纤通道两侧装置均在每个采样中断后定时发送采样数据和开关量数据,利用本侧和接收到对侧采样数据合成差动电流和制动电流;当数据帧格式的数值为第二预设数值时,通过采样数据的若干个预设第一数据位将前一帧校验异常的采样数据和采样序号及本帧的采样数据发送至对侧,光纤通道两侧装置利用本侧及对侧的采样数据合成用于差动保护的差动电流和制动电流;当数据帧格式的数值为第三预设数值时,对异常帧之前的1/4周波的采样数据进行相量计算,以得到三相电流的实部和虚部,并通过数据的若干个预设第一数据位和若干个预设第二数据位将三相电流的实部和虚部及相应的采样序号发送至对侧,光纤通道两侧装置利用本侧和对侧1/4周波的电流相量合成用于差动保护的差动电流和制动电流。上述技术方案具备如下效果:The embodiments of the present invention are intended to protect a method and device for processing data transmitted through a line protection fiber channel, wherein the method includes the following steps: obtaining the value of the data frame format in the communication message on the opposite side through the fiber channel; when the value of the data frame format is When the first preset value is used, the devices on both sides of the fiber channel send sampling data and switching data regularly after each sampling interruption, and synthesize the differential current and braking current by using the sampling data received from the current side and the opposite side; When the value of the format is the second preset value, the sampling data and sampling sequence number of the previous frame with abnormal verification and the sampling data of this frame are sent to the opposite side through several preset first data bits of the sampling data. The side device uses the sampling data of the current side and the opposite side to synthesize the differential current and braking current for differential protection; when the value of the data frame format is the third preset value, the 1/4 cycle before the abnormal frame The sampled data is calculated by phasor to obtain the real part and imaginary part of the three-phase current, and the real part and imaginary part of the three-phase current are calculated by several preset first data bits and several preset second data bits of the data. and the corresponding sampling serial number is sent to the opposite side. The devices on both sides of the fiber channel synthesize the differential current and braking current for differential protection by using the current phasor of the current side and the opposite side 1/4 cycle. The above technical solution has the following effects:

针对光纤通道数据异常后导致差动保护闭锁的情况,通过在每个采样中断后发送采样点,并在检测到数据异常时,利用短窗算法计算相量并传递给对侧,以降低光纤通道偶发的通信异常对差动保护的影响。In view of the situation that the differential protection is blocked after the abnormal data of the fiber channel, the sampling point is sent after each sampling interruption, and when the abnormal data is detected, the short-window algorithm is used to calculate the phasor and transmit it to the opposite side, so as to reduce the loss of the fiber channel. The impact of occasional communication anomalies on differential protection.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the present invention can still be Modifications or equivalent replacements are made to the specific embodiments of the present invention, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention shall be included within the protection scope of the claims of the present invention.

Claims (6)

1.一种线路保护光纤通道传输数据处理方法,其特征在于,包括如下步骤:1. A method for processing line protection Fibre Channel transmission data, comprising the steps of: 通过所述光纤通道获取对侧通信报文中的数据帧格式的数值;Obtain the value of the data frame format in the communication message of the opposite side through the Fibre Channel; 当所述数据帧格式的数值为第一预设数值时,所述光纤通道两侧装置均在每个采样中断后定时发送采样数据和开关量数据,利用本侧和接收到对侧采样数据合成差动电流和制动电流;When the value of the data frame format is the first preset value, the devices on both sides of the optical fiber channel regularly send sampling data and switching data after each sampling interruption, and combine the sampling data received from the local side and the opposite side. Differential current and braking current; 当所述数据帧格式的数值为第二预设数值时,通过所述采样数据的若干个预设第一数据位将前一帧校验异常的所述采样数据和采样序号及本帧的所述采样数据发送至对侧,所述光纤通道两侧装置利用本侧及对侧的采样数据合成用于差动保护的差动电流和制动电流;When the value of the data frame format is the second preset value, the sampled data and the sampling serial number of the previous frame with abnormal verification and all the data of the current frame are converted by several preset first data bits of the sampled data. The sampled data is sent to the opposite side, and the devices on both sides of the fiber channel synthesize the differential current and the braking current for differential protection using the sampled data on the current side and the opposite side; 当所述数据帧格式的数值为第三预设数值时,对异常帧之前的1/4周波的所述采样数据进行相量计算,以得到三相电流的实部和虚部,并通过所述数据的若干个预设第一数据位和若干个预设第二数据位将所述三相电流的实部和虚部及相应的采样序号发送至对侧,所述光纤通道两侧装置利用本侧和对侧1/4周波的电流相量合成用于差动保护的差动电流和制动电流;When the value of the data frame format is the third preset value, phasor calculation is performed on the sampled data of the 1/4 cycle before the abnormal frame to obtain the real part and imaginary part of the three-phase current, and the Several preset first data bits and several preset second data bits of the data send the real part and imaginary part of the three-phase current and the corresponding sampling sequence number to the opposite side, and the devices on both sides of the fiber channel use The 1/4 cycle current phasor of the current side and the opposite side is used to synthesize the differential current and braking current for differential protection; 所述通过所述光纤通道获取对侧通信报文中的数据帧格式的数值之后,还包括:After obtaining the value of the data frame format in the communication message of the opposite side through the fiber channel, the method further includes: 获取所述数据帧格式的数值;判断所述数据帧格式的数值是否为所述第三预设数值;当所述数据帧格式的数值为所述第三预设数值时,获取对侧传输的短窗电流相量与本侧电流相量合成差动电流和制动电流,在第一预设时长内均采用短窗完成差动保护功能;且在所述第一预设时长后,当所述采样数据始终正常时,则切换为采用对侧采样数据和本侧采样数据计算差动电流和制动电流,以完成差动保护;Obtain the value of the data frame format; determine whether the value of the data frame format is the third preset value; when the value of the data frame format is the third preset value, obtain the data transmitted by the opposite side. The short window current phasor and the local current phasor synthesize the differential current and the braking current, and the short window is used to complete the differential protection function within the first preset time period; and after the first preset time period, when all the When the sampling data is always normal, switch to use the sampling data of the opposite side and the sampling data of the local side to calculate the differential current and braking current to complete the differential protection; 其中,所述对异常帧之前的1/4周波的采样数据进行相量计算,包括:Wherein, the phasor calculation is performed on the sampling data of the 1/4 cycle before the abnormal frame, including: 将每个采样周期的采样点数设定为N;Set the number of sampling points per sampling period to N; 对第一预设时长的短窗数据,所述三相电流的实部为:For the short window data of the first preset duration, the real part of the three-phase current is:
Figure FDA0003740040090000021
Figure FDA0003740040090000021
且,所述三相电流的虚部为:And, the imaginary part of the three-phase current is:
Figure FDA0003740040090000022
Figure FDA0003740040090000022
其中,xl表示输入信号的第l个采样点;Among them, x l represents the l-th sampling point of the input signal; 则,发送给所述对侧的相量计算公式为:Then, the calculation formula of the phasor sent to the opposite side is:
Figure FDA0003740040090000023
Figure FDA0003740040090000023
2.根据权利要求1所述的线路保护光纤通道传输数据处理方法,其特征在于,所述通过所述光纤通道获取对侧采样数据中的数据帧格式的数值之前,还包括:2 . The method for processing line protection Fibre Channel transmission data according to claim 1 , wherein before acquiring the value of the data frame format in the sampling data on the opposite side through the Fibre Channel, the method further comprises: 2 . 对通过所述光纤通道接收到的所述采样数据进行CRC校验;performing a CRC check on the sampled data received through the Fibre Channel; 当所述CRC校验无错误时,将所述数据帧格式值设置为所述第一预设数值;When there is no error in the CRC check, the data frame format value is set to the first preset value; 当所述CRC校验包括单次错误时,将所述数据帧格式值设置为所述第二预设数值;When the CRC check includes a single error, setting the data frame format value to the second preset value; 当所述CRC校验包括连续两次错误时,将所述数据帧格式值设置为所述第三预设数值。When the CRC check includes two consecutive errors, the data frame format value is set to the third preset value. 3.根据权利要求2所述的线路保护光纤通道传输数据处理方法,其特征在于,还包括:3. The method for processing line protection Fibre Channel transmission data according to claim 2, further comprising: 当所述CRC校验包括连续三次错误时,则闭锁差动保护。When the CRC check includes three consecutive errors, the differential protection is blocked. 4.一种线路保护光纤通道传输数据处理装置,其特征在于,包括:4. A line protection Fibre Channel transmission data processing device, comprising: 第一获取模块,其用于通过所述光纤通道获取对侧通信报文中的数据帧格式的数值;a first obtaining module, which is used to obtain the numerical value of the data frame format in the communication message of the opposite side through the Fibre Channel; 第一控制模块,其用于当所述数据帧格式的数值为第一预设数值时,所述光纤通道两侧装置均在每个采样中断后定时发送采样数据和开关量数据,并利用本侧和接收到对侧采样数据合成差动电流和制动电流;The first control module is used to send sampling data and switching data regularly after each sampling interruption when the value of the data frame format is the first preset value, and use this Synthesize differential current and braking current by receiving the sampling data from the side and the opposite side; 第二控制模块,其用于当所述数据帧格式的数值为第二预设数值时,通过所述采样数据的若干个预设第一数据位将前一帧校验异常的所述采样数据和采样序号及本帧的所述采样数据发送至对侧,所述光纤通道两侧装置利用本侧及对侧的采样数据合成用于差动保护的差动电流和制动电流;The second control module is configured to, when the value of the data frame format is a second preset value, use a plurality of preset first data bits of the sampled data to check the abnormal sampling data of the previous frame and the sampling serial number and the sampling data of this frame are sent to the opposite side, and the devices on both sides of the fiber channel use the sampling data of this side and the opposite side to synthesize the differential current and braking current for differential protection; 第三控制模块,其用于当所述数据帧格式的数值为第三预设数值时,对异常帧之前的1/4周波的所述采样数据进行相量计算,以得到三相电流的实部和虚部,并通过所述数据的若干个预设第一数据位和若干个预设第二数据位将所述三相电流的实部和虚部及相应的采样序号发送至对侧,所述光纤通道两侧装置利用本侧和对侧接收到的1/4周波的电流相量合成用于差动保护的差动电流和制动电流;The third control module is configured to perform phasor calculation on the sampled data of 1/4 cycle before the abnormal frame when the value of the data frame format is the third preset value, so as to obtain the actual value of the three-phase current. part and imaginary part, and send the real part and imaginary part of the three-phase current and the corresponding sampling sequence number to the opposite side through several preset first data bits and several preset second data bits of the data, The devices on both sides of the optical fiber channel synthesize the differential current and the braking current for differential protection by using the current phasor of the 1/4 cycle received by the current side and the opposite side; 还包括:Also includes: 第二获取模块,其用于获取所述数据帧格式的数值;A second acquisition module, which is used to acquire the numerical value of the data frame format; 第一判断模块,其用于判断所述数据帧格式的数值是否为所述第三预设数值;a first judgment module, which is used for judging whether the value of the data frame format is the third preset value; 第四控制模块,其用于当所述数据帧格式的数值为所述第三预设数值时,获取对侧传输的短窗电流相量与本侧电流相量合成差动电流和制动电流,在第一预设时长内均采用短窗完成差动保护功能;the fourth control module, which is used to obtain the short-window current phasor transmitted by the opposite side and the current phasor of the local side to synthesize the differential current and the braking current when the value of the data frame format is the third preset value , the short window is used to complete the differential protection function within the first preset duration; 第五控制模块,其用于在所述第一预设时长后,当所述采样数据始终正常时,则切换为采用对侧采样数据和本侧采样数据计算差动电流和制动电流,以完成差动保护;The fifth control module is configured to switch to using the opposite-side sampling data and the local-side sampling data to calculate the differential current and the braking current when the sampling data is always normal after the first preset time period, so as to Complete differential protection; 所述第三控制模块包括:设定单元和计算单元;The third control module includes: a setting unit and a computing unit; 所述设定单元用于将每个采样周期的采样点数设定为N;The setting unit is used to set the number of sampling points in each sampling period to N; 所述计算单元用于对第一预设时长的短窗数据,计算所述三相电流的实部:The calculation unit is used to calculate the real part of the three-phase current for the short-window data of the first preset duration:
Figure FDA0003740040090000041
Figure FDA0003740040090000041
且,计算所述三相电流的虚部为:And, the imaginary part of the three-phase current is calculated as:
Figure FDA0003740040090000042
Figure FDA0003740040090000042
其中,xl表示输入信号的第l个采样点;Among them, x l represents the l-th sampling point of the input signal; 并计算发送给所述对侧的相量为:and calculate the phasor sent to the opposite side as:
Figure FDA0003740040090000043
Figure FDA0003740040090000043
5.根据权利要求4所述的线路保护光纤通道传输数据处理装置,其特征在于,还包括:5. The line protection Fibre Channel transmission data processing device according to claim 4, further comprising: 数据校验模块,其用于对通过所述光纤通道接收到的所述采样数据进行校验;a data verification module, configured to verify the sampled data received through the fiber channel; 设定模块,其用于当CRC校验无错误时将所述数据帧格式值设置为所述第一预设数值,还用于当所述CRC校验包括单次错误时将所述数据帧格式值设置为所述第二预设数值,还用于当所述CRC校验包括连续两次错误时,将所述数据帧格式值设置为所述第三预设数值。A setting module, which is used for setting the format value of the data frame to the first preset value when the CRC check has no errors, and is also used for setting the data frame when the CRC check includes a single error The format value is set to the second preset value, and is further configured to set the data frame format value to the third preset value when the CRC check includes two consecutive errors. 6.根据权利要求5所述的线路保护光纤通道传输数据处理装置,其特征在于,还包括:6. The line protection Fibre Channel transmission data processing device according to claim 5, further comprising: 第六控制模块,其用于在所述CRC校验包括连续三次错误时闭锁差动保护。A sixth control module, configured to block differential protection when the CRC check includes three consecutive errors.
CN202110221250.8A 2021-02-26 2021-02-26 A method and device for processing line protection fiber channel transmission data Active CN113013852B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110221250.8A CN113013852B (en) 2021-02-26 2021-02-26 A method and device for processing line protection fiber channel transmission data
PCT/CN2021/122670 WO2022179111A1 (en) 2021-02-26 2021-10-08 Method and apparatus for processing transmission data of line-protection fiber channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110221250.8A CN113013852B (en) 2021-02-26 2021-02-26 A method and device for processing line protection fiber channel transmission data

Publications (2)

Publication Number Publication Date
CN113013852A CN113013852A (en) 2021-06-22
CN113013852B true CN113013852B (en) 2022-10-04

Family

ID=76386642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110221250.8A Active CN113013852B (en) 2021-02-26 2021-02-26 A method and device for processing line protection fiber channel transmission data

Country Status (2)

Country Link
CN (1) CN113013852B (en)
WO (1) WO2022179111A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113013852B (en) * 2021-02-26 2022-10-04 许继集团有限公司 A method and device for processing line protection fiber channel transmission data
CN113690859B (en) * 2021-08-04 2023-02-21 国电南瑞科技股份有限公司 Starting and acting method and system for power grid differential protection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4760487A (en) * 1985-04-12 1988-07-26 The General Electric Company P.L.C. Differential relay for protecting an electrical power transmission system
CN1635680A (en) * 2003-12-30 2005-07-06 许继电气股份有限公司 Calculation method of fast variable data window phasor
CN101662143A (en) * 2009-09-25 2010-03-03 国电南京自动化股份有限公司 Differential protection method for preventing false operation during current disappearance
CN101841446A (en) * 2010-05-25 2010-09-22 许继集团有限公司 Pilot channel transmission device, optical fiber differential protective device and method
CN205565711U (en) * 2016-04-22 2016-09-07 南京国电南自电网自动化有限公司 Self -adaptation fiber channel's line protection system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6915219B2 (en) * 2003-08-29 2005-07-05 General Electric Company Method for canceling transient errors in unsynchronized digital current differential transmission line protection systems
CN100495858C (en) * 2007-05-18 2009-06-03 南京力导科技股份有限公司 Method for sampling and processing transmission data for protecting transmission line optical-fiber longitudinal difference
JP2010016960A (en) * 2008-07-02 2010-01-21 Mitsubishi Electric Corp Pcm current differential protection relay device
US8929218B2 (en) * 2010-09-10 2015-01-06 Brocade Communication Systems, Inc. Congestion notification across multiple layer-2 domains
JP6034059B2 (en) * 2012-05-31 2016-11-30 株式会社東芝 Current differential protection relay
CN102946274B (en) * 2012-11-23 2015-09-16 国家电网公司 Detection fiber passway by method
CN106026040B (en) * 2016-08-04 2018-05-11 南京国电南自电网自动化有限公司 It is a kind of to prevent the abnormal differential protection method for bus several greatly of sampling
CN106300288B (en) * 2016-08-27 2018-12-04 许继集团有限公司 A kind of station domain differential protecting method and device
CN107276053B (en) * 2017-07-13 2019-09-20 天津凯发电气股份有限公司 A kind of equipment for protecting optical fibre longitudinal difference and method of data synchronization
CN111130070B (en) * 2019-12-18 2021-10-22 南京国电南自电网自动化有限公司 A Line Differential Protection Method Based on Wireless Network Retransmission Mechanism
CN112188420B (en) * 2020-09-28 2022-03-11 南京国电南自电网自动化有限公司 Method and system for identifying fault section of optical fiber multiplexing channel by using short message
CN113013852B (en) * 2021-02-26 2022-10-04 许继集团有限公司 A method and device for processing line protection fiber channel transmission data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4760487A (en) * 1985-04-12 1988-07-26 The General Electric Company P.L.C. Differential relay for protecting an electrical power transmission system
CN1635680A (en) * 2003-12-30 2005-07-06 许继电气股份有限公司 Calculation method of fast variable data window phasor
CN101662143A (en) * 2009-09-25 2010-03-03 国电南京自动化股份有限公司 Differential protection method for preventing false operation during current disappearance
CN101841446A (en) * 2010-05-25 2010-09-22 许继集团有限公司 Pilot channel transmission device, optical fiber differential protective device and method
CN205565711U (en) * 2016-04-22 2016-09-07 南京国电南自电网自动化有限公司 Self -adaptation fiber channel's line protection system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WXH-803光纤电流差动保护的研究;李瑞生等;《继电器》;20040116;第32卷(第2期);第40-43页 *

Also Published As

Publication number Publication date
WO2022179111A1 (en) 2022-09-01
CN113013852A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN113013852B (en) A method and device for processing line protection fiber channel transmission data
CN114900480B (en) Communication safety management and control system based on data platform
EP2889772B1 (en) Serial link fault detection system and method
CN106598889A (en) SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate
CN105527564B (en) Self-diagnosis method and system for internal functions of FPGA (field programmable Gate array)
CN106487746A (en) A kind of method and device of BMP message authentication
EP3827566A1 (en) Modulating signal level transitions to increase data throughput over communication channels
CN109980611B (en) Pilot differential protection adaptive synchronization method and device meeting IEEE C37.94 standard
CN108881413A (en) Communication control method, device, equipment and medium for wind generating set
CN112013505A (en) Method and device for controlling communication compensation and air conditioner
CN114444096A (en) Network data storage encryption detection system based on data analysis
US20110264832A1 (en) Systems, methods, and apparatus for facilitating communications between an external controller and fieldbus devices
CN111726288B (en) Real-time data transmission and recovery method and system for power secondary equipment
CN103888372B (en) Traffic shaping method and data processing equipment
CN102930069B (en) A kind of transmission channel emulation mode for relay protection and system
CN117118992A (en) Trusted DCS upper computer trusted state synchronization method, system, equipment and storage medium
CN112260241B (en) Protection device, pilot protection method and pilot protection system
CN115022078A (en) Controller built-in network safety protection method and device and electronic equipment
CN102970074A (en) Device for detecting abnormal-luminescence optical network unit (ONU) hardware on optical line terminal (OLT) side in Ethernet passive optical network (EPON) system
CN210092965U (en) Power distribution terminal and power distribution network system
CN107888598A (en) A kind of nuclear power station secondary electrical system Information Security Risk evaluating system and method
JP2015508977A (en) Communication apparatus and communication method
CN102946274A (en) Method for detecting optical fiber channel router
CN119402338A (en) Secondary equipment debugging method, system, equipment, storage medium and product
CN107276683B (en) Decoding method, sending method and device of underwater sound signal

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