Relay protection reinforcement method and system for single event upset, and storage medium

Through the sampling and repair of analog data of the relay protection device and the abnormality detection and repair, combined with the comparison of the start relay status and variables and the verification of CPU message, the protection data abnormality and exit position error caused by single particle flip are solved, and the continuous Reliability of electrical protection devices.

CN118944005AActive Publication Date: 2024-11-12CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +4
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410928409.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-12
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

The prior art has failed to effectively prevent the abnormal analog data of the front end of the relay protection device and the error in the exit position caused by single-particle flip, affecting the protection reliability.

Method used

By sampling and abnormal detection of the analog data of the relay protection device, abnormal data are repaired, and the state of the startup relay with the variables of the protection board and the starter board when the power system is disturbed, the starter variable and the exit variable are compared and analyzed. Combined with the message verification of the protection CPU and the start CPU, the exit relay is driven to ensure the reliability and correctness of the data.

Benefits of technology

It effectively prevents protection data abnormalities and exit position errors caused by single-particle flips, improves the reliability of the relay protection device, and solves the problem of poor protection reliability in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944005A_ABST
    Figure CN118944005A_ABST
Patent Text Reader

Abstract

The invention discloses a relay protection reinforcement method and system for single event upset, and a storage medium, and belongs to the technical field of power system relay protection. According to the invention, for the analog quantity data at the front end of the relay protection equipment, the sampling reliability of the analog quantity data is ensured through an abnormal value detection and restoration technology. Aiming at the rear end part of the relay protection equipment, the invention provides the analysis and comparison of a starting relay state and a starting variable, the comparative analysis of the starting variable and an exit variable, and the comprehensive verification of a protection CPU and a starting CPU output message, thereby effectively preventing the exit bit maloperation possibly caused by single event upset. Protection data abnormity and exit bit errors caused by single event upset are effectively prevented from the front end and the rear end of the relay protection device, and the reliability of an exit is improved. The technical problem that in the prior art, protection data exception and exit bit errors are caused by single event upset, and finally the protection reliability is affected is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of relay protection for power systems, and more specifically, to a method, system and storage medium for reinforcing relay protection against single particle upset. Background Art

[0002] With the increasing number of relay protection devices in operation, single-particle upset has become an important hidden danger endangering the safe and stable operation of relay protection.

[0003] Single particle upset soft errors mainly cause abnormal operation of relay protection devices by tampering with a certain bit of data. To solve this problem, a variety of effective technologies have been adopted at home and abroad, including: ECC (Error Checking and Correcting) technology, dual CPU architecture, three-out-of-two redundant design, CRC check, positive and negative code check of fixed value, range self-check, etc. The selection of memory chips with ECC has become the standard configuration of domestic relay protection equipment, but ECC is a common practice in the semiconductor industry and is not a targeted technology for relay protection devices; to ensure the rapidity of relay protection, the general configuration of the dual CPU architecture is a startup board + protection board, and the functions of the two boards are not the same, which weakens the mutual check of the dual CPUs; the positive and negative code check function of the fixed value is simple and has a certain error prevention function, but it is only used in the fixed value and has a small application range; although the three-out-of-two redundant design can improve the reliability of the device, it consumes a lot of resources; CRC check requires additional calculations, which has a certain sacrifice on the rapidity of relay protection; range self-check is mainly used for the verification of analog quantities, has no correction function, and the transient process is easy to cause the protection to be locked incorrectly.

[0004] The invention application with publication number CN116701029A discloses a method for real-time blocking of soft errors and system recovery of a relay protection device, including: decomposing and reconstructing a fault handling program of the relay protection device; reallocating the storage and memory of the relay protection device; setting entry confirmation variables and abnormal judgment logic; reading the protection program and parameter file in the storage area into the corresponding running program and running parameters in the memory area respectively, assigning values ​​to the entry confirmation variables, and the two running programs are executed synchronously and output the exit positive code and the exit reverse code respectively; making an abnormal judgment on the exit positive code and the exit reverse code, if abnormal, blocking the exit execution in real time, performing program and parameter consistency check and recovery processing, otherwise making an abnormal judgment on the entry confirmation variable, if the entry confirmation variable is normal, executing the exit operation, otherwise restarting the system.

[0005] However, the above scheme only prevents the problem of output position error caused by single particle upset from the back end of the relay protection device, ignores the data anomaly problem of the analog data collected by the front end of the relay protection device, and even ignores the problem of erroneous opening caused by memory data anomaly. It cannot effectively prevent the protection data anomaly and output position error caused by single particle upset, resulting in poor protection reliability.

[0006] With respect to the technical problem in the above-mentioned prior art that protection data anomalies and exit bit errors are caused by single particle upsets, which ultimately affect protection reliability, no effective solution has been proposed yet. Summary of the invention

[0007] In view of the deficiencies in the prior art, the present invention provides a method, system and storage medium for reinforcing relay protection against single particle upset.

[0008] According to one aspect of the present invention, a method for reinforcing relay protection against single event upset is provided, comprising:

[0009] Sampling analog data of the relay protection device, storing the sampled analog data in a sampling buffer, and sequentially reading the analog data from the sampling buffer for abnormality detection and repair;

[0010] When the analog data is normal or correct after being repaired, the analog data is transmitted to the software program for protection operation, and when the power system is disturbed, the state of the start relay is compared with the start variables of the protection board and the start board, and it is determined whether an abnormal situation occurs based on the comparison result;

[0011] When it is determined that no abnormality occurs according to the comparison result, the start-up variable and the output variable of the relay protection device are compared and analyzed, and it is determined whether an abnormality occurs according to the comparison and analysis result;

[0012] When it is determined that no abnormal situation occurs according to the result of the comparison analysis, the outgoing messages of the protection CPU and the startup CPU are checked, and the output relay is driven to output when the check is passed, wherein the analog data is read from the sampling buffer in turn to perform abnormality detection and repair, specifically including:

[0013] Sequentially intercept 3 consecutive data windows from the sampling buffer;

[0014] When the data in the three data windows are all less than the no-flow threshold, no abnormality determination is performed; when the data in two data windows are greater than the no-flow threshold, the analog data is abnormally detected and repaired through the following steps:

[0015] Perform linear interpolation on the intercepted first point data window and the third point data window to obtain a virtual middle point;

[0016] It is determined whether the signs of the virtual midpoint and the actual midpoint are the same, and if the signs are the same, it is determined whether the difference between the modulus value of the virtual midpoint and the modulus value of the actual midpoint is within the preset range (-K, +K) according to the following formula:

[0017]

[0018] In the formula, A vir is the virtual midpoint; A mid is the actual middle point, obtained through actual sampling; A1 is the data window for the first point, A3 is the data window for the third point;

[0019] Furthermore, considering the sampling error, the range of A1 and A3 is extended halfway to the adjacent points. Let the previous point of A1 be B1 and the next point of A3 be B3. The further processing formula of K is as follows:

[0020]

[0021] When the signs are different or the gap exceeds the preset range, the analog data is judged to be abnormal, the abnormal analog data is discarded, and the data of the virtual middle point replaces the data of the second point data window and is stored in the sampling buffer.

[0022] 2. The method according to claim 1 is characterized in that the step of comparing the state of the starting relay with the starting variables of the protection board and the starting board, and judging whether an abnormal situation occurs according to the comparison result, specifically comprises:

[0023] The program reads the status of the pin of the start relay connected to the start power supply in real time and compares it with the start variables of the protection board and the start board;

[0024] If the status is consistent, it is judged as normal; if the status is different, it is judged as abnormal;

[0025] If an abnormality occurs for the first time within a time period T, the protection device will automatically restart; if an abnormality occurs more than once within a time period T, the protection will be locked and an alarm will be issued.

[0026] Optionally, comparing the state of the start relay with the start variables of the protection board and the start board, and judging whether an abnormal situation occurs according to the comparison result, specifically includes:

[0027] The program reads the status of the pin of the start relay connected to the start power supply in real time and compares it with the start variables of the protection board and the start board;

[0028] If the status is consistent, it is judged as normal; if the status is different, it is judged as abnormal;

[0029] If an abnormality occurs for the first time within a time period T, the protection device will automatically restart; if an abnormality occurs more than once within a time period T, the protection will be locked and an alarm will be issued.

[0030] Optionally, the comparing and analyzing the start-up variables and the output variables of the relay protection device, and judging whether an abnormal situation occurs according to the result of the comparing and analyzing, specifically includes:

[0031] Compare and analyze the start-up variables and output variables of the relay protection device;

[0032] When the startup variable and the exit variable are both 0 or both 1, it is determined that no abnormal situation occurs;

[0033] When the startup variable is 1 and the exit variable is 0, it is judged that no abnormal situation occurs;

[0034] When the startup variable is 0 and the exit variable is 1, it is judged that an abnormal situation has occurred.

[0035] Optionally, the method further comprises:

[0036] When an abnormality is determined to occur according to the comparison result and occurs for the first time within a time period T, the relay protection device automatically restarts;

[0037] When it is determined based on the comparison result that an abnormal situation occurs and the abnormal situation occurs more than once within a time period T, the relay protection device is locked and alarms.

[0038] Optionally, the method further comprises:

[0039] When an abnormality is judged to occur according to the result of the comparison analysis and occurs for the first time within a time period T, the relay protection device automatically restarts;

[0040] When it is determined based on the results of the comparison and analysis that an abnormal situation occurs and the abnormal situation occurs more than once within a time period T, the relay protection device is locked and an alarm is sounded.

[0041] Optionally, the method further includes: when the verification fails, the relay protection device is locked and an alarm is issued.

[0042] According to another aspect of the present invention, there is provided a relay protection reinforcement system for single event upset, comprising:

[0043] The anomaly detection and repair module is used to sample the analog data of the relay protection device, store the sampled analog data in a sampling buffer, and sequentially read the analog data from the sampling buffer to perform anomaly detection and repair;

[0044] The abnormality judgment module is used to transmit the analog data to the software program for protection operation when the analog data is normal or correct after being repaired, and compare the state of the starting relay with the starting variables of the protection board and the starting board when the power system is disturbed, and judge whether an abnormal situation occurs according to the comparison result;

[0045] The comparison and analysis module is used to compare and analyze the start-up variables and the output variables of the relay protection device when it is judged that no abnormal situation occurs according to the comparison result, and judge whether an abnormal situation occurs according to the comparison and analysis result;

[0046] The verification module is used to verify the output messages of the protection CPU and the startup CPU when it is determined that no abnormal situation occurs according to the result of the comparison analysis, and drive the output relay output when passing the verification;

[0047] The step of sequentially reading analog data from the sampling buffer to perform anomaly detection and repair specifically includes:

[0048] Sequentially intercept 3 consecutive data windows from the sampling buffer;

[0049] When the data in the three data windows are all less than the no-flow threshold, no abnormality determination is performed; when the data in two data windows are greater than the no-flow threshold, the analog data is abnormally detected and repaired through the following steps:

[0050] Perform linear interpolation on the intercepted first point data window and the third point data window to obtain a virtual middle point;

[0051] It is determined whether the signs of the virtual midpoint and the actual midpoint are the same, and if the signs are the same, it is determined whether the difference between the modulus value of the virtual midpoint and the modulus value of the actual midpoint is within the preset range (-K, +K) according to the following formula:

[0052]

[0053] In the formula, A vir is the virtual midpoint; A mid is the actual middle point, obtained through actual sampling; A1 is the data window for the first point, A3 is the data window for the third point;

[0054] Furthermore, considering the sampling error, the range of A1 and A3 is extended halfway to the adjacent points. Let the previous point of A1 be B1 and the next point of A3 be B3. The further processing formula of K is as follows:

[0055]

[0056] When the signs are different or the gap exceeds the preset range, the analog data is judged to be abnormal, the abnormal analog data is discarded, and the data of the virtual middle point replaces the data of the second point data window and is stored in the sampling buffer.

[0057] Optionally, comparing the state of the start relay with the start variables of the protection board and the start board, and judging whether an abnormal situation occurs according to the comparison result, specifically includes:

[0058] The program reads the status of the pin of the start relay connected to the start power supply in real time and compares it with the start variables of the protection board and the start board;

[0059] If the status is consistent, it is judged as normal; if the status is different, it is judged as abnormal;

[0060] If an abnormality occurs for the first time within a time period T, the protection device will automatically restart; if an abnormality occurs more than once within a time period T, the protection will be locked and an alarm will be issued.

[0061] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method described in any one of the above aspects of the present invention.

[0062] According to another aspect of the present invention, an electronic device is provided, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the executable instructions to implement the method described in any one of the above aspects of the present invention.

[0063] The present invention aims at the analog data at the front end of the relay protection device, and ensures the reliability of analog data sampling through abnormal value detection and repair technology. For the back end of the relay protection device, it is proposed to analyze and compare the starting relay state and the starting variable, compare and analyze the starting variable and the export variable, and comprehensively check the messages issued by the protection CPU and the starting CPU, so as to effectively prevent the export position misoperation that may be caused by a single particle flip. The present invention effectively prevents the protection data abnormality and export position error caused by a single particle flip from the front and back ends of the relay protection device, and improves the reliability of the export. It solves the technical problem in the prior art that the protection data abnormality and export position error caused by a single particle flip ultimately affect the protection reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] A more complete understanding of exemplary embodiments of the present invention may be obtained by referring to the following drawings:

[0065] Figure 1 It is a flow chart of a method for reinforcing relay protection against single event upset provided by an exemplary embodiment of the present invention;

[0066] Figure 2 A schematic diagram of the structure of a relay protection reinforcement system for single event upset provided by an embodiment of the present invention;

[0067] Figure 3 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0068] Below, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described here.

[0069] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0070] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present invention are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.

[0071] It should also be understood that, in the embodiments of the present invention, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.

[0072] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0073] In addition, the term "and / or" in the present invention is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects before and after are in an "or" relationship.

[0074] It should also be understood that the description of the various embodiments of the present invention focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0075] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0076] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0077] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0078] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0079] The present invention provides a relay protection reinforcement method, system and electronic equipment for single particle upset. Figure 1 FIG. 1 is a flow chart of a method for reinforcing relay protection against single event upset provided by an exemplary embodiment of the present invention. Figure 1 As shown in the figure, the relay protection reinforcement methods for single event upset include:

[0080] Step S1: sampling analog data of the relay protection device, storing the sampled analog data in a sampling buffer, and sequentially reading analog data from the sampling buffer for abnormality detection and repair;

[0081] Optionally, the step of sequentially reading analog data from a sampling buffer for abnormality detection and repair specifically includes: the step of sequentially reading analog data from a sampling buffer for abnormality detection and repair specifically includes:

[0082] Sequentially intercept 3 consecutive data windows from the sampling buffer;

[0083] When the data in the three data windows are all less than the no-flow threshold, no abnormality determination is performed; when the data in two data windows are greater than the no-flow threshold, the analog data is abnormally detected and repaired through the following steps:

[0084] Perform linear interpolation on the intercepted first point data window and the third point data window to obtain a virtual middle point;

[0085] It is determined whether the signs of the virtual midpoint and the actual midpoint are the same, and if the signs are the same, it is determined whether the difference between the modulus value of the virtual midpoint and the modulus value of the actual midpoint is within the preset range (-K, +K) according to the following formula:

[0086]

[0087] In the formula, A vir is the virtual midpoint; A mid is the actual middle point, obtained through actual sampling; A1 is the data window for the first point, A3 is the data window for the third point;

[0088] Furthermore, considering the sampling error, the range of A1 and A3 is extended halfway to the adjacent points. Let the previous point of A1 be B1 and the next point of A3 be B3. The further processing formula of K is as follows:

[0089]

[0090] When the signs are different or the gap exceeds the preset range, the analog data is judged to be abnormal, the abnormal analog data is discarded, and the data of the virtual middle point replaces the data of the second point data window and is stored in the sampling buffer.

[0091] In an embodiment of the present invention, the control module of the relay protection device is composed of two CPUs, namely a starting CPU and a protection CPU. The two CPUs collect analog quantities through their respective ADs. When the two CPUs are started at the same time, the starting relay of the outlet board is opened; when started, the protection board is activated, and the outlet board issues a tripping command.

[0092] After the relay protection device is powered on, the analog data of the relay protection device is sampled and stored in the sampling buffer. After that, the relay protection device reads the data from the buffer in turn to perform abnormality detection and repair. Specifically, three consecutive data windows are intercepted from the sampling buffer in turn. Considering the case of no flow, the data in the data window is less than the no flow threshold I mk When , no abnormal judgment is performed; if two points of the data window data are greater than the no-flow threshold I mk , then carry out sampling anomaly discrimination. Linear interpolation is performed on the first and third intercepted points to obtain the virtual midpoint. First, determine whether the signs of the virtual midpoint and the actual midpoint are the same. If the signs are the same, then use the following formula (1) to determine whether the modulus difference between the modulus value of the virtual midpoint and the actual sampling midpoint (the second point) is within the preset interval (-K, +K). If the signs are different or exceed the interval, the sampling data is judged to be abnormal. After being judged as abnormal data, it is discarded and the virtual midpoint replaces the actual midpoint and is stored in the analog cache. The following formula is the sampling detection criterion:

[0093]

[0094] In the formula, A vir is a virtual middle point, obtained by linear interpolation of the data on both sides of the data window; A mid is the actual middle point, obtained through actual sampling; K is the deviation between the actual sampling value and the virtual sampling value, and the K value is related to the sampling frequency.

[0095] The selection of K is based on the sampling rate: the virtual point and the actual sampling value are both located between the first and third points, and the gap between the virtual point and the actual sampling value should be less than half of the gap between the first and third points. Therefore, the value of K is as follows:

[0096]

[0097] Where A1 and A3 are the first and third points of the data window respectively.

[0098] The values ​​of A1 and A3 should be two points adjacent to the zero crossing (the distance between the zero crossings is the largest). Taking the sampling rate of 4000Hz as an example, K is 0.07846. Considering the sampling error, the range of A1 and A3 can be expanded to half of the adjacent points. Let the previous point of A1 be B1 and the next point of A3 be B3. Assuming that the sampling value of 0.0195 seconds is B1 and the sampling value of 0.0205 seconds is B3, the further processing formula of K is as follows, and the final value of K is 0.1174:

[0099]

[0100] Step S2: after the analog data is normal or correct after being repaired, the analog data is transmitted to the software program for protection operation, and when the power system is disturbed, the state of the start relay is compared with the start variables of the protection board and the start board, and it is determined whether an abnormal situation occurs according to the comparison result;

[0101] Optionally, the method also includes: when it is determined according to the comparison result that an abnormal situation occurs and the abnormal situation occurs for the first time within a time period T, the relay protection device automatically restarts; when it is determined according to the comparison result that an abnormal situation occurs and the abnormal situation occurs more than once within a time period T, the relay protection device locks and alarms.

[0102] In the embodiment of the present invention, a startup detection scheme combining software and hardware is proposed. The program reads the status of the startup power pin in real time and compares it with the startup status variables of the protection board and the startup board. If the status is consistent, it is judged as normal; if the status is different, it is judged as abnormal. Within a time period T, if the abnormality occurs for the first time, the protection device restarts automatically; within a time period T, if the abnormality occurs more than once, the protection is locked and an alarm is issued.

[0103] Step S3: when it is determined that no abnormality occurs according to the comparison result, the start-up variable and the output variable of the relay protection device are compared and analyzed, and it is determined whether an abnormality occurs according to the comparison and analysis result;

[0104] Optionally, the comparison and analysis of the starting variables and the output variables of the relay protection device, and judging whether an abnormal situation occurs according to the result of the comparison and analysis, specifically includes: comparing and analyzing the starting variables and the output variables of the relay protection device; when the starting variables and the output variables are both 0 or both 1, judging that no abnormal situation occurs; when the starting variable is 1 and the output variable is 0, judging that no abnormal situation occurs; when the starting variable is 0 and the output variable is 1, judging that an abnormal situation occurs.

[0105] Optionally, the method also includes: when it is determined according to the results of the comparison analysis that an abnormal situation occurs and the abnormal situation occurs for the first time within a time period T, the relay protection device automatically restarts; when it is determined according to the results of the comparison analysis that an abnormal situation occurs and the abnormal situation occurs more than once within a time period T, the relay protection device is locked and alarms.

[0106] In the embodiment of the present invention, the program verifies the startup variable and the exit variable in real time. If the startup variable and the exit variable are both 0 or both 1, it is judged as normal; if the startup variable is 1 and the exit variable is 0, it is judged as normal; if the startup variable is 0 and the exit variable is 1, it is judged as abnormal. If the abnormality occurs for the first time within a time period T, the protection device automatically restarts; if the abnormality occurs more than once within a time period T, the protection is locked and an alarm is issued.

[0107] Step S4: When it is determined that no abnormal situation occurs according to the result of the comparison analysis, the output messages of the protection CPU and the startup CPU are verified, and the output relay is driven to output when the verification is passed.

[0108] Optionally, the method further includes: when the verification fails, the relay protection device is locked and an alarm is issued.

[0109] In the embodiment of the present invention, when the protection CPU fills in the export variables in real time, the positive and negative codes are backed up, and the export instructions are sent in a combination of periodic sending and sudden sending. There is no change in the export, and the protection board sends a frame of positive and negative codes + CRC message to the export board every N seconds (for example but not limited to 5 seconds); when the export changes, the protection board continuously sends 3 frames of positive and negative codes + CRC change messages to the export board; when the protection action is taken, in addition to sending the start message in advance, the start board will send another frame in the same format when the protection board sends the export message. After the export board receives the export messages from the two CPUs, it first checks the correctness of the positive and negative codes and CRC codes of each message, and then checks the two CPU export messages against each other to ensure the reliability of the export.

[0110] In summary, the present invention aims at the analog data at the front end of the relay protection device, and ensures the reliability of analog data sampling through abnormal value detection and repair technology. For the back end of the relay protection device, it is proposed to analyze and compare the starting relay state and the starting variables, compare and analyze the starting variables and the export variables, and comprehensively check the messages issued by the protection CPU and the starting CPU, so as to effectively prevent the export position misoperation that may be caused by a single particle flip. The present invention effectively prevents the protection data anomaly and export position error caused by a single particle flip from the front and back ends of the relay protection device, and improves the reliability of the export. It solves the technical problem in the prior art that the protection data anomaly and export position error caused by a single particle flip ultimately affect the protection reliability.

[0111] Figure 2 FIG. 1 is a schematic diagram of a structure of a relay protection reinforcement system for single event upset provided by an exemplary embodiment of the present invention. Figure 2 As shown, the system includes:

[0112] The anomaly detection and repair module 210 is used to sample the analog data of the relay protection device, store the sampled analog data in a sampling buffer, and sequentially read the analog data from the sampling buffer to perform anomaly detection and repair;

[0113] The abnormality judgment module 220 is used to transmit the analog data to the software program for protection operation when the analog data is normal or correct after being repaired, and compare the state of the starting relay with the starting variables of the protection board and the starting board when the power system is disturbed, and judge whether an abnormal situation occurs according to the comparison result;

[0114] The comparison and analysis module 230 is used to compare and analyze the start-up variables and the output variables of the relay protection device when it is determined that no abnormal situation occurs according to the comparison result, and to determine whether an abnormal situation occurs according to the comparison and analysis result;

[0115] The verification module 240 is used to verify the output messages of the protection CPU and the startup CPU when it is determined that no abnormal situation occurs according to the result of the comparison analysis, and drive the output relay output when passing the verification;

[0116] The step of sequentially reading analog data from the sampling buffer to perform anomaly detection and repair specifically includes:

[0117] Sequentially intercept 3 consecutive data windows from the sampling buffer;

[0118] When the data in the three data windows are all less than the no-flow threshold, no abnormality determination is performed; when the data in two data windows are greater than the no-flow threshold, the analog data is abnormally detected and repaired through the following steps:

[0119] Perform linear interpolation on the intercepted first point data window and the third point data window to obtain a virtual middle point;

[0120] It is determined whether the signs of the virtual midpoint and the actual midpoint are the same, and if the signs are the same, it is determined whether the difference between the modulus value of the virtual midpoint and the modulus value of the actual midpoint is within the preset range (-K, +K) according to the following formula:

[0121]

[0122] In the formula, A vir is the virtual midpoint; A mid is the actual middle point, obtained through actual sampling; A1 is the data window for the first point, A3 is the data window for the third point;

[0123] Furthermore, considering the sampling error, the range of A1 and A3 is extended halfway to the adjacent points. Let the previous point of A1 be B1 and the next point of A3 be B3. The further processing formula of K is as follows:

[0124]

[0125] When the signs are different or the gap exceeds the preset range, the analog data is judged to be abnormal, the abnormal analog data is discarded, and the data of the virtual middle point replaces the data of the second point data window and is stored in the sampling buffer.

[0126] Optionally, comparing the state of the start relay with the start variables of the protection board and the start board, and judging whether an abnormal situation occurs according to the comparison result, specifically includes:

[0127] The program reads the status of the pin of the start relay connected to the start power supply in real time and compares it with the start variables of the protection board and the start board;

[0128] If the status is consistent, it is judged as normal; if the status is different, it is judged as abnormal;

[0129] If an abnormality occurs for the first time within a time period T, the protection device will automatically restart; if an abnormality occurs more than once within a time period T, the protection will be locked and an alarm will be issued.

[0130] The relay protection reinforcement system against single-particle upset of an embodiment of the present invention corresponds to the relay protection reinforcement method against single-particle upset of another embodiment of the present invention, which will not be described in detail herein.

[0131] Figure 3 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. Figure 3 As shown, the electronic device 30 includes one or more processors 31 and a memory 32 .

[0132] The processor 31 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0133] The memory 32 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 31 may run the program instructions to implement the methods of the software programs of the various embodiments of the present invention described above and / or other desired functions. In one example, the electronic device may also include: an input device 33 and an output device 34, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0134] In addition, the input device 33 may also include, for example, a keyboard, a mouse, and the like.

[0135] The output device 34 can output various information to the outside. The output device 34 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto.

[0136] Of course, to simplify, Figure 3 Only some of the components related to the present invention in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device may also include any other appropriate components.

[0137] In addition to the above-mentioned methods and devices, an embodiment of the present invention may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present invention described in the above-mentioned "Exemplary Method" section of this specification.

[0138] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0139] In addition, an embodiment of the present invention may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0140] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, system or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0141] The basic principle of the present invention is described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, strengths, effects, etc. mentioned in the present invention are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present invention. In addition, the specific details disclosed above are only for the purpose of illustration and facilitation of understanding, rather than limitation, and the above details do not limit the present invention to being implemented by adopting the above specific details.

[0142] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0143] The block diagrams of the devices, systems, equipment, and systems involved in the present invention are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, systems, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The word "such as" used here refers to the phrase "such as but not limited to", and can be used interchangeably with it.

[0144] The method and system of the present invention may be implemented in many ways. For example, the method and system of the present invention may be implemented by software, hardware, firmware or any combination of software, hardware, firmware. The above order of steps for the method is only for illustration, and the steps of the method of the present invention are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present invention may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.

[0145] It should also be noted that in the system, device and method of the present invention, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. The above description of the disclosed aspects is provided to enable any technician in the field to make or use the present invention. Various modifications to these aspects are very obvious to those skilled in the art, and the general principles defined here can be applied to other aspects without departing from the scope of the present invention. Therefore, the present invention is not intended to be limited to the aspects shown here, but in accordance with the widest range consistent with the principles and novel features disclosed here.

[0146] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present invention to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for reinforcing relay protection against single event upsets, It is characterized in that include: Sampling analog data of the relay protection device, storing the sampled analog data in a sampling buffer, and sequentially reading the analog data from the sampling buffer for abnormality detection and repair; When the analog data is normal or correct after being repaired, the analog data is transmitted to the software program for protection operation, and when the power system is disturbed, the state of the start relay is compared with the start variables of the protection board and the start board, and it is determined whether an abnormal situation occurs based on the comparison result; When it is determined that no abnormality occurs according to the comparison result, the start-up variable and the output variable of the relay protection device are compared and analyzed, and it is determined whether an abnormality occurs according to the comparison and analysis result; When it is determined that no abnormal situation occurs according to the result of the comparison and analysis, the output messages of the protection CPU and the startup CPU are checked, and the output relay output is driven when the check is passed; The step of sequentially reading analog data from the sampling buffer to perform anomaly detection and repair specifically includes: Sequentially intercept 3 consecutive data windows from the sampling buffer; When the data in the three data windows are all less than the no-flow threshold, no abnormality determination is performed; when the data in two data windows are greater than the no-flow threshold, the analog data is abnormally detected and repaired through the following steps: Perform linear interpolation on the intercepted first point data window and the third point data window to obtain a virtual middle point; It is determined whether the signs of the virtual midpoint and the actual midpoint are the same, and if the signs are the same, it is determined whether the difference between the modulus value of the virtual midpoint and the modulus value of the actual midpoint is within the preset range (-K, +K) according to the following formula: In the formula, A vir is the virtual midpoint; A mid is the actual middle point, obtained through actual sampling; A 1 is the first point data window, A 3 Point 3 data window; Furthermore, considering the sampling error, A 1 and A 3 The range of A is extended to half of the neighboring points. 1 The previous point is B 1 , A 3 The last point is B 3 , the further processing formula of K is as follows: When the signs are different or the gap exceeds the preset range, the analog data is judged to be abnormal, the abnormal analog data is discarded, and the data of the virtual middle point replaces the data of the second point data window and is stored in the sampling buffer.

2. The method according to claim 1, It is characterized in that The state of the start relay is compared with the start variables of the protection board and the start board, and judging whether an abnormal situation occurs according to the comparison result, specifically including: The program reads the status of the pin of the start relay connected to the start power supply in real time and compares it with the start variables of the protection board and the start board; If the status is consistent, it is judged as normal; if the status is different, it is judged as abnormal; If an abnormality occurs for the first time within a time period T, the protection device will automatically restart; if an abnormality occurs more than once within a time period T, the protection will be locked and an alarm will be issued.

3. The method according to claim 1, It is characterized in that The comparison and analysis of the start-up variables and the output variables of the relay protection device and judging whether an abnormal situation occurs according to the result of the comparison and analysis specifically include: Compare and analyze the start-up variables and output variables of the relay protection device; When the startup variable and the exit variable are both 0 or both 1, it is determined that no abnormal situation occurs; When the startup variable is 1 and the exit variable is 0, it is judged that no abnormal situation occurs; When the startup variable is 0 and the exit variable is 1, it is judged that an abnormal situation has occurred.

4. The method according to claim 1, It is characterized in that Also includes: When an abnormality is determined to occur according to the comparison result and occurs for the first time within a time period T, the relay protection device automatically restarts; When it is determined based on the comparison result that an abnormal situation occurs and the abnormal situation occurs more than once within a time period T, the relay protection device is locked and alarms.

5. The method according to claim 1, It is characterized in that Also includes: When an abnormality is judged to occur according to the result of the comparison analysis and occurs for the first time within a time period T, the relay protection device automatically restarts; When it is determined based on the results of the comparison and analysis that an abnormal situation occurs and the abnormal situation occurs more than once within a time period T, the relay protection device is locked and an alarm is sounded.

6. The method according to claim 1, It is characterized in that Also includes: If the verification fails, the relay protection device will be locked and an alarm will be issued.

7. A relay protection reinforcement system for single event upset, It is characterized in that include: The anomaly detection and repair module is used to sample the analog data of the relay protection device, store the sampled analog data in a sampling buffer, and sequentially read the analog data from the sampling buffer to perform anomaly detection and repair; The abnormality judgment module is used to transmit the analog data to the software program for protection operation when the analog data is normal or correct after being repaired, and compare the state of the starting relay with the starting variables of the protection board and the starting board when the power system is disturbed, and judge whether an abnormal situation occurs according to the comparison result; The comparison and analysis module is used to compare and analyze the start-up variables and the output variables of the relay protection device when it is judged that no abnormal situation occurs according to the comparison result, and judge whether an abnormal situation occurs according to the comparison and analysis result; The verification module is used to verify the output messages of the protection CPU and the startup CPU when it is determined that no abnormal situation occurs according to the result of the comparison analysis, and drive the output relay output when passing the verification; The step of sequentially reading analog data from the sampling buffer to perform anomaly detection and repair specifically includes: Sequentially intercept 3 consecutive data windows from the sampling buffer; When the data in the three data windows are all less than the no-flow threshold, no abnormality determination is performed; when the data in two data windows are greater than the no-flow threshold, the analog data is abnormally detected and repaired through the following steps: Perform linear interpolation on the intercepted first point data window and the third point data window to obtain a virtual middle point; It is determined whether the signs of the virtual midpoint and the actual midpoint are the same, and if the signs are the same, it is determined whether the difference between the modulus value of the virtual midpoint and the modulus value of the actual midpoint is within the preset range (-K, +K) according to the following formula: In the formula, A vir is the virtual midpoint; A mid is the actual middle point, obtained through actual sampling; A 1 is the first point data window, A 3 Point 3 data window; Furthermore, considering the sampling error, A 1 and A 3 The range of A is extended to half of the neighboring points. 1 The previous point is B 1 , A 3 The last point is B 3 , the further processing formula of K is as follows: When the signs are different or the gap exceeds the preset range, the analog data is judged to be abnormal, the abnormal analog data is discarded, and the data of the virtual middle point replaces the data of the second point data window and is stored in the sampling buffer.

8. The system according to claim 7, It is characterized in that The state of the start relay is compared with the start variables of the protection board and the start board, and judging whether an abnormal situation occurs according to the comparison result, specifically including: The program reads the status of the pin of the start relay connected to the start power supply in real time and compares it with the start variables of the protection board and the start board; If the status is consistent, it is judged as normal; if the status is different, it is judged as abnormal; If an abnormality occurs for the first time within a time period T, the protection device will automatically restart; if an abnormality occurs more than once within a time period T, the protection will be locked and an alarm will be issued.

9. A computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program is used to execute the method according to any one of claims 1 to 6.

10. An electronic device, It is characterized in that The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Cache single event upset resisting effect verification method based on AT697

    CN111708695A

  • Relay protection device and method for preventing single event upset

    CN114825293A

  • High-reliability relay protection device sampling system and method

    CN116643081A

  • Soft error real-time blocking and system recovery method for relay protection device

    CN116701029A

  • Single event upset detection system and method of relay protection device

    CN116754871A