Relay protection soft error rate evaluation method and device, medium and electronic equipment
By analyzing the composition structure and component characteristics of the relay protection device, combined with hardware and software error prevention measures, the soft error rate of the relay protection device is evaluated, which solves the problem of rising soft error rate in the existing technology and improves the security and stability of the power grid. operational capabilities.
Patent Information
- Application Number
- CN202410807856.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-17
AI Technical Summary
The soft error rate in existing relay protection devices has increased, resulting in a decrease in device reliability, which may threaten the safe and stable operation of the power grid. There is a lack of effective soft error assessment methods.
A method for evaluating the soft error rate of relay protection is proposed. By analyzing the structure of the device, the initial soft error rate of each component is calculated, and combined with hardware and software error prevention measures, the soft error rate of the hardware architecture and software architecture is calculated. Finally, Calculate the total soft error rate, and provide a relay protection soft error rate evaluation device and electronic equipment to implement this method.
It achieves a quantitative assessment of potential failure risks in relay protection devices, guides component selection and equipment performance improvement, and improves the safe and stable operation capabilities of the power grid.
Smart Images

Figure CN118656239A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of relay protection of power systems, and more specifically, to a relay protection soft error rate evaluation method, device, medium and electronic equipment. Background Art
[0002] As an indispensable infrastructure in modern society, the development of power grid is crucial to ensuring the operation of the national economy and the safety of people's lives. However, with the continuous expansion of the scale of the power grid and the continuous updating of technology, the fault characteristics of the power grid have become complex. In order to adapt to the development of the power grid, relay protection has entered the era of microcomputer protection. The protection functions have become more and more diversified, and the procedures and structures have become more and more complex. On the basis of ensuring the real-time performance of relay protection, meeting the development needs of the power grid, and supporting the requirements of intelligent, networked, and platform-based relay protection, there are many types of components in the equipment, and the performance of its components is constantly enhanced.
[0003] After more than 30 years of development and application, the hardware architecture model of microcomputer protection has been continuously developed. At present, domestic and foreign relay protection manufacturers mainly adopt the following architecture modes for control and protection devices according to different application principles and objects: single CPU (DSP) mode, multi-CPU mode, CPU+DSP mode, and multi-processor (CPU or DSP) mode. A typical microcomputer protection device mainly includes 8 types of plug-ins: CPU plug-in, process layer interface plug-in (intelligent station), ADC plug-in (conventional station), power plug-in, bus interface plug-in, human-machine plug-in, input and output plug-in (input, output, signal), and AC input plug-in (acquisition). The components involved are mainly composed of seven categories: CPU, FPGA, ADC, storage components, power components, communication components, and other components. The input and output plug-in and process layer interface plug-in involve optical ports or relays.
[0004] As the integration of components increases, the operating voltage decreases, and the anti-interference ability decreases, the unit soft error rate of components is on the rise; on the other hand, the relay protection function is enhanced, the number of smart boards increases, and the scale of the components included continues to grow, which further increases the overall soft error rate of the relay protection device, which may lead to a decrease in the reliability of the device or even incorrect operation, endangering the safe and stable operation of the power grid. This problem has gradually become impossible to ignore. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention provides a method, device, medium and electronic equipment for evaluating the soft error rate of relay protection.
[0006] According to one aspect of the present invention, a method for evaluating a relay protection soft error rate is provided, comprising:
[0007] Analyze the composition and structure of the relay protection device to be evaluated;
[0008] Calculate the hardware soft error rate of each component under hardware error prevention measures and the software soft error rate of each component under software error prevention measures according to the initial soft error rate of each component on each board in the composition structure;
[0009] Calculate the soft error rate of the plug-in that takes into account the fault transmission mechanism between components and plug-ins;
[0010] Calculate the hardware architecture soft error rate of the relay protection device to be evaluated under the condition of hardware architecture support verification self-test according to the plug-in soft error rate;
[0011] Calculate the software architecture soft error rate of the relay protection device to be evaluated when the software architecture supports detection and correction based on the plug-in soft error rate;
[0012] The total soft error rate of the relay protection device to be evaluated is calculated based on the plug-in soft error rate, hardware architecture soft error rate, and software architecture soft error rate.
[0013] Optionally, calculating the hardware soft error rate of each component under hardware error prevention measures and the software soft error rate of each component under software error prevention measures according to the initial soft error rate of each component on each board in the composition structure includes:
[0014] Determine the initial soft error rate of each component according to the component model on each board of the relay protection device to be evaluated;
[0015] According to the initial soft error rate of each component, the hardware soft error rate of each component under the hardware error prevention measure and the software soft error rate under the software error prevention measure are calculated.
[0016] Optionally, the expression of the hardware soft error rate of each component is:
[0017] SER crate1 =k1×SER rate
[0018] In the formula, SER crate1 is the hardware soft error rate of the component to be evaluated under the hardware error prevention measures, k1 is the hardware detection effectiveness coefficient; SER rate is the initial soft error rate of the component under evaluation.
[0019] Optionally, the expression of the software soft error rate of each component is:
[0020] SER scrate1 =k s1 ×SER crate1
[0021] In the formula, SER scrate1 is the software soft error rate of the component to be evaluated under software error prevention measures, k s1 is the effectiveness coefficient of software error prevention measures, SERcrate1 It is the soft error rate of the component to be evaluated after hardware error correction.
[0022] Optionally, the calculation formula of the plug-in soft error rate is:
[0023]
[0024] In the formula, SER plug_in is the plugin soft error rate of the plugin to be evaluated, SER scrate_i is the soft error rate of the i-th component to be evaluated on the plug-in to be evaluated after software and hardware error correction, n is the number of components on the plug-in to be evaluated, LDR is the logic derating factor, TDR is the timing derating factor, MDR is the storage derating factor, and FDR is the function derating factor.
[0025] Optionally, the calculation formula of the hardware architecture soft error rate is:
[0026] SER crate2 =k2×SER plug_in
[0027] In the formula, SER crate2 is the soft error rate of the plug-in of the device to be evaluated under the hardware architecture correction, k2 is the effective coefficient of the hardware architecture error prevention method, SER plug_in is the plugin soft error rate of the plugin to be evaluated.
[0028] Optionally, the calculation formula of the software architecture soft error rate is:
[0029] SER scrate2 =k s2 ×SER crate2
[0030] In the formula, SER scrate2 is the soft error rate of the plug-in of the device to be evaluated under hardware and software correction, k s2 It is the effectiveness coefficient of the software architecture error-proofing method.
[0031] Optionally, the calculation formula for the total soft error rate of the relay protection device to be evaluated is:
[0032]
[0033] Where β is the propagation probability of the plugin to the system level.
[0034] According to another aspect of the present invention, there is provided a relay protection soft error rate evaluation device, comprising:
[0035] An analysis module, used to analyze the composition structure of the relay protection device to be evaluated;
[0036] The first calculation module is used to calculate the hardware soft error rate of each component under the hardware error prevention measure and the software soft error rate under the software error prevention measure according to the initial soft error rate of each component on each board in the composition structure;
[0037] The second calculation module is used to calculate the plug-in soft error rate taking into account the fault conduction mechanism between components and plug-ins;
[0038] The third calculation module is used to calculate the hardware architecture soft error rate of the relay protection device to be evaluated in the case of hardware architecture support verification self-test according to the plug-in soft error rate;
[0039] A fourth calculation module is used to calculate the software architecture soft error rate of the relay protection device to be evaluated when the software architecture supports detection and correction according to the plug-in soft error rate;
[0040] The fifth calculation module is used to calculate the total soft error rate of the relay protection device to be evaluated according to the plug-in soft error rate, the hardware architecture soft error rate, and the software architecture soft error rate.
[0041] 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.
[0042] According to another aspect of the present invention, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method described in any one of the above aspects of the present invention.
[0043] Therefore, the present invention provides a method for evaluating the soft error rate of relay protection, combining the characteristics of the hardware and software architecture of relay protection equipment and the single-particle flip of core components, and proposes the characteristics of hardware architecture, component selection and software architecture under different application conditions, and combines multiple error correction effects such as hardware self-check design, software self-check design, and system-level reliability measures, and comprehensively considers the soft error conduction mechanism between components, plug-ins, and systems to complete the method for evaluating the soft error of relay protection. The method and system realize the quantitative evaluation of the potential failure risk in the relay protection equipment, can guide the relay protection manufacturers to carry out component selection, promote the performance improvement of relay protection equipment, and develop high-reliability relay protection equipment, thereby improving the ability of the power grid to operate safely and stably. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] A more complete understanding of exemplary embodiments of the present invention may be obtained by referring to the following drawings:
[0045] Figure 1It is a flow chart of a method for evaluating a relay protection soft error rate provided by an exemplary embodiment of the present invention;
[0046] Figure 2 is a schematic diagram of the logical relationship between the device failure rate and the component failure rate provided by an exemplary embodiment of the present invention;
[0047] Figure 3 It is a schematic diagram of derating factor and components and plug-in SER provided by an exemplary embodiment of the present invention;
[0048] Figure 4 is a hardware architecture diagram of a relay protection device provided by an exemplary embodiment of the present invention;
[0049] Figure 5 is a schematic diagram of a dual CPU (protection + protection) mode provided by an exemplary embodiment of the present invention;
[0050] Figure 6 It is a schematic diagram of a dual CPU (protection+startup) mode provided by an exemplary embodiment of the present invention;
[0051] Figure 7 It is a structural schematic diagram of a relay protection soft error rate evaluation device provided by an exemplary embodiment of the present invention;
[0052] Figure 8 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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.
[0060] 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.
[0061] 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.
[0062] 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.
[0063] 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.
[0064] Embodiments of the present invention can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0065] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.
[0066] Exemplary Methods
[0067] Figure 1 FIG. 1 is a flow chart of a method for evaluating a relay protection soft error rate provided by an exemplary embodiment of the present invention. This embodiment can be applied to electronic devices, such as Figure 1 As shown, the relay protection soft error rate evaluation method 100 includes the following steps:
[0068] Step 101, analyzing the composition structure of the relay protection device to be evaluated;
[0069] Step 102, calculating the hardware soft error rate of each component under hardware error prevention measures and the software soft error rate under software error prevention measures according to the initial soft error rate of each component on each board in the composition structure;
[0070] Step 103, calculating the plug-in soft error rate taking into account the fault transmission mechanism between components and plug-ins;
[0071] Step 104, calculating the hardware architecture soft error rate of the relay protection device to be evaluated when the hardware architecture supports verification self-test according to the plug-in soft error rate;
[0072] Step 105, calculating the software architecture soft error rate of the relay protection device to be evaluated when the software architecture supports detection and correction according to the plug-in soft error rate;
[0073] Step 106, calculating the total soft error rate of the relay protection device to be evaluated according to the plug-in soft error rate, the hardware architecture soft error rate, and the software architecture soft error rate.
[0074] Specifically, in order to reduce the potential safety hazards of soft errors to relay protection equipment, guide the design of relay protection products for the reliability needs of power grid users, support the research and development of high-reliability relay protection equipment, improve the ability of power grids to operate safely and stably, and solve the problem of the lack of soft error evaluation methods in existing relay protection technologies, the present invention provides a relay protection soft error rate evaluation method and system. The present invention proposes a method for evaluating the soft error rate of relay protection equipment, referring to Figure 2 As shown, the method includes:
[0075] (1) First, in combination with the relay protection device, analyze the composition characteristics of its hardware architecture and software architecture, the characteristics of its components, the purpose of the components and their importance in the device, and the components or software error prevention measures used.
[0076] (2) In conjunction with the relay protection device, determine the components and soft error rate of each board on the relay protection device.
[0077] (3) Determine the soft error rate taking into account the hardware error prevention method of the components of the relay protection device.
[0078] (4) Determine the soft error rate of the software algorithm error prevention method taking into account the components of the relay protection device.
[0079] (5) Soft error rate taking into account the fault transmission mechanism between components and plug-ins.
[0080] (6) Determine the soft error rate of the hardware architecture of the relay protection device.
[0081] (7) Determine the soft error rate of the software architecture of the relay protection device.
[0082] (8) Based on the above results, determine the soft error rate of the relay protection device system to be evaluated.
[0083] In one embodiment of the present invention, the relay protection device to be evaluated is divided into: single CPU (DSP) mode, multi-CPU mode, CPU+DSP mode, and multi-processor (CPU or DSP) mode according to the hardware characteristics of the relay protection device to be evaluated.
[0084] The relay protection software architecture is characterized in that it is divided into: dual CPU (protection + protection) mode; dual CPU (protection + startup) mode; single CPU (protection + startup) mode according to the software architecture characteristics of the relay protection device to be evaluated.
[0085] The hardware boards of the device include: main CPU plug-in, input plug-in, output plug-in, trip plug-in, DC small signal acquisition plug-in and power supply plug-in. Generally, the soft errors involved in each plug-in include components (such as DSP, CPU, MCU, FPGA, FLASH (EMMC, Nand FLash, Nor Flash), RAM (SDRAM, DDR, DRAM), etc.) and logic circuits.
[0086] Among them, the CPU and DSP cache and RAM contain program area and data area;
[0087] DDR includes program area and data area (constant area and variable area); RAM in FPGA includes program area and data area; FLASH is mainly used to store files; MCU includes program area and data area.
[0088] The anti-error measures mainly include: regular CRC check code self-check; three-out-of-two redundancy; hardware CRC self-check; CRC check; dual remote signal collection; independent board design for startup and exit, and self-check at the start.
[0089] In one embodiment of the present invention, the components and soft error rates of each board on the relay protection device are determined in combination with the relay protection hardware architecture. The component model can be obtained through the manufacturer's BOM list, and the soft error rate can be obtained by looking up the component data sheet provided by the component manufacturer corresponding to the component model on the BOM list.
[0090] In one embodiment of the present invention, a soft error rate taking into account a method for preventing errors of components of a relay protection device is determined.
[0091] When the component to be evaluated supports hardware detection and correction of soft errors, the soft error expression is:
[0092] SER crate1 =k1×SER rate
[0093] In the formula, SER crate1 is the corrected soft error rate under the hardware error prevention measures of the component to be evaluated, k1 is the effectiveness coefficient of the error prevention method; SER rate is the initial soft error rate of the component under evaluation.
[0094] In one embodiment of the present invention, a soft error rate of a method for preventing errors by taking into account software algorithms of components of a relay protection device is determined.
[0095] When the component to be evaluated supports software algorithm error prevention measures, the soft error expression is:
[0096] SER scrate1 =k s1 ×SER crate1
[0097] In the formula, SER scrate1 is the corrected soft error rate of the component to be evaluated under software error prevention measures, k s1 is the effectiveness coefficient of software error prevention measures, SER crate1 It is the soft error rate of the component to be evaluated after hardware error correction.
[0098] In one embodiment of the present invention, the soft error rate of the fault transmission mechanism between components and plug-ins is taken into account. The components constituting the device are divided into logic modules, storage modules, and hybrid modules containing logic functions and storage functions. The hybrid modules are divided in proportion according to the different proportions of logic functions and storage functions. The derating factor effect of each component is also considered.
[0099] The calculation formula for plug-in soft errors is obtained:
[0100]
[0101] In the formula, SER plug_in is the soft error rate of the plug-in to be evaluated, SER scrate_i It is the soft error rate of the i-th component to be evaluated on the evaluated plug-in after software and hardware error correction. LDR is logic derating, TDR is timing derating, MDR is storage derating, and FDR is function derating.
[0102] In one embodiment of the present invention, the soft error rate of the hardware architecture of the relay protection device is determined. When the device to be evaluated supports the verification self-check of the hardware architecture, the soft error expression is:
[0103] SER crate2 =k2×SER plug_in
[0104] In the formula, SER crate2 is the soft error rate of the plug-in of the device to be evaluated under the hardware architecture correction, k2 is the effective coefficient of the hardware architecture error prevention method, SER plug_in is the initial soft error rate of the plugin to be evaluated.
[0105] In one embodiment of the present invention, a soft error rate of a software architecture of a relay protection device is determined.
[0106] When the software architecture of the device to be evaluated supports the algorithm for detecting and correcting soft errors, the soft error expression is:
[0107] SER scrate2 =k s2 ×SER crate2
[0108] In the formula, SER scrate2 is the soft error rate of the plug-in of the device to be evaluated under hardware and software correction, k s2 is the effectiveness coefficient of the software architecture error prevention method, SER cra te2 is the soft error rate of the plug-in of the device under evaluation under the hardware architecture correction.
[0109] The method according to claim 1 is characterized in that the soft errors of the relay protection device to be evaluated are comprehensively determined in combination with the characteristics of the components, the purpose of the components and their importance in the device, and the components or software error prevention measures adopted.
[0110]
[0111] Where β is the propagation probability of the plugin to the system level.
[0112] In one embodiment, according to the relay protection data from 2019 to 2021, a manufacturer in the State Grid region has a total of 55,940 devices in operation, 321 recorded defects in the protection device body, and a total of 100 failures of various components. Soft errors may occur in the main control CPU / DSP / MCU components, FPGA, storage components, ADC, etc. of the relay protection device.
[0113] The possible fault locations of soft errors of CPU / DSP / MCU are internal storage units, triggers, user and control register bits, registers that cannot be accessed through the processor instruction set, and embedded memories such as register files and caches. Soft errors in the main control components may affect the real-time operation of the CPU on the collected data according to a certain protection algorithm, resulting in the driving of the output signal outside the protection action conditions, which in turn acts on the corresponding relay of the outlet plug-in, and finally drives the operation plug-in to malfunction.
[0114] There are two types of soft error fault models for SRAM-type FPGAs: SEU in user bits can cause transient errors, while SEU in configuration bits can cause permanent errors. Soft errors in FPGAs may affect FPGA timing multi-channel parallel acquisition, which in turn affects the real-time operation of the CPU on the acquired data and eventually causes malfunctions. For smart stations, it may affect the reception of SV and GOOSE messages, which in turn affects the CPU's processing and the reception of CPU trip commands.
[0115] There are two types of soft error failures in Flash. Occurring in the storage unit, the mechanism of action is mainly related to the charge loss process on the floating gate. When the amount of charge on the floating gate changes, the storage state also changes, and the floating gate error still exists after continuous re-reading; the flipping of the control circuit and page buffer will cause the bit failure of the storage unit, and the error disappears after continuous reading. There are two types of soft error failures in DDR. Contains a large number of erroneous address locations, covering a wide area of logical memory, and is divided into address position flip failure on logical rows and address position flip failure on logical columns.
[0116] A soft error in RAM may affect the CPU's ability to copy programs to RAM through instructions, change data variables during operation, and cause program abnormality. A soft error in Flash may affect the CPU's ability to copy programs stored in FLASH through instructions, causing program abnormality.
[0117] Soft error failures mainly occur in the digital circuit part of the ADC, such as the output latch.
[0118] The probability of a soft error occurring in a component is called the soft error rate (SER), and its unit is FIT (Failure in Time). 1 FIT means a soft error occurs once every 1 billion hours. FIT / Mbit and FIT / Mcell are also commonly used to represent the soft error rate per megabyte of storage bits or logic cells.
[0119] SER rate =K×F×A×exp(-Q crit / Q s )
[0120] Where K is a constant, F is the injection rate of particles with energy greater than 1 MeV, A is the area of the circuit sensitive area, Q crit is the critical charge, i.e. the minimum charge that can flip the cell state, Q s It is the amount of electricity transferred by collision when particles are injected. It can be seen that the development of semiconductor process will affect the unit SER in the following aspects: the transistor drain capacity becomes smaller and the operating voltage is reduced, both of which can lead to the critical charge Q crit becomes smaller, thereby increasing the SER; the circuit sensitive area A becomes smaller, thereby reducing the SER.
[0121] By analyzing the composition of each plug-in of the relay protection device and its SER, and appropriately simplifying the analysis of the relationship between the plug-in and the system soft error, it can be seen that the SER of the relay protection device is the superposition of the SER of each internal plug-in, but it is not a simple addition. Only the plug-in soft errors that ultimately lead to system functional errors will be included in the statistics of the device SER, and only a part of the plug-in soft errors will ultimately lead to functional errors in the system. The plug-in is composed of various components connected. According to the type of components and the function of the components, the components that constitute the above-mentioned device are divided into logic modules and storage modules, and mixed modules with logic functions and storage functions. Mixed modules are divided according to the different proportions of logic functions and storage functions. The main SER derating factors in the plug-in are:
[0122] (1) Logic Derating (LDR): The soft error logic circuit transmits the input to the subsequent logic circuit, but does not affect the correct output of the subsequent circuit. For example, if the subsequent circuit is an AND gate and the other input signal is 0, no matter what the output value of the circuit where the soft error occurs is, the output of the subsequent circuit is always 0, and the soft error is shielded. There are many fault models in the industry, such as PPSFP (Parallel Pattern Single Fault Propagation), which can be used to evaluate LDR.
[0123] (2) Temporal Derating (TDR): When the transient pulse of the soft error reaches the latch, it is discarded because it does not fall within the valid sampling time window. Nicolaidis pointed out that TDR increases linearly with the operating frequency.
[0124] (3) Memory Derating (MDR): In memory cells where soft errors occur, the error data is overwritten by the system before it is read. MDR is related to the proportion and interval of read and write operations of the memory cell.
[0125] (4) Functional Derating (FDR): The module where the soft error occurred was idle at the time and was not used by the system. This soft error will not cause a system error. FDR is related to the resource utilization rate of the system during operation.
[0126] Based on the above derating factors and referring to the IEC 62396-1 "Process management for avionics: Atmospheric radiation effects" standard, the calculation formula for plug-in soft errors is obtained:
[0127]
[0128] By dividing the plug-in into logic modules where SET occurs mainly, storage modules where SEU / MBU occurs mainly, and mixed modules, we can get the influence of four derating factors on them. Figure 3 shown.
[0129] In terms of hardware architecture, a distributed design method with multiple boards and multiple CPU cores is adopted, and components with ECC function are selected.
[0130] After two or three decades of development, the hardware architecture of microcomputer protection has been continuously improved. At present, most of the hardware design of medium and high voltage protection devices adopts a distributed design method of multiple boards and multiple CPU cores, making full use of the processing power of multi-core CPUs, and reasonably distributing functions on multiple CPUs or multiple CPU cores according to requirements, thereby improving the overall performance and reliability of the platform. At the same time, due to the current requirements for large-capacity and high-speed data processing in smart substations, especially in the case of the integration of three networks (SV, GOOSE, and MMS), if only the CPU is used to process these data, it may affect high-real-time calculations such as SV interpolation and protection calculations in extreme environments (such as network storms). Therefore, it is necessary to use the high integration, high performance, and parallel processing characteristics of the field-programmable gate array FPGA (Field-programmable Gate Array) to pre-process these data, filter and screen them, and then hand over the valid data to the CPU for further processing, effectively reducing the processing workload of the CPU and improving the real-time performance of the system. Referring to the current relatively mature protection device platform solution based on imported components and the requirements of relevant industry technical specifications, the overall hardware architecture design of the platform is as follows: Figure 4 shown.
[0131] The measures to suppress soft errors in electronic systems at the hardware memory level mainly include parity check (Parity), error checking and correcting code check (ECC) and other verification methods. ECC has a more powerful automatic identification and correction capability than Parity, and many component manufacturers apply ECC verification technology to the design of memory devices. The error correction code ECC used in the memory uses reinforced latches / triggers and parallel error detection and retry technology in the logic circuit. In the memory, ECC can tolerate errors and correct them.
[0132] When writing data to SRAM, the corresponding ECC code is also saved. When reading data, the ECC code is compared with the read data. When they are inconsistent, the abnormal data will be decoded and confirmed, and then the wrong data will be discarded and the correct data will be released, thus ensuring that the data collected by the CPU is normal when the single-particle upset measure occurs.
[0133] When designing the relay protection hardware system, components with ECC verification mechanism should be selected first and set to use this function. Generally, components with ECC function can eliminate 99.8% of soft errors.
[0134] In terms of software architecture, from the perspective of reliability, a redundant architecture design should be adopted when designing the microcomputer relay protection device system. A dual CPU design is recommended. The optional modes are as follows: Figure 4 , Figure 5shown.
[0135] 1) Dual CPU (protection + protection) mode: Figure 5 As shown in the figure, the dual CPUs contain the same complete set of protection logic. In the event of a fault, the protection can only be activated after both CPUs meet the complete action output logic.
[0136] 2) Dual CPU (protection + startup) mode: Figure 6 As shown, in this mode, both CPUs contain complete protection startup logic, but the action logics in the two CPUs are different, and some protection action logic only exists in one CPU. The action exit can only be performed when both CPUs meet the independent startup elements and the single CPU meets the action logic.
[0137] Both CPU architectures have the ability to resist single-particle upset soft errors, which can prevent protection misoperation caused by single CPU board abnormalities during normal operation. Since the protection logic of the "protection + start" mode is only in one CPU, the ability to resist soft errors is slightly weaker than the dual protection mode, and memory self-check measures can be added to improve it.
[0138] In terms of self-checking measures, a well-designed self-checking mechanism is designed for the code segments, constant segments, etc. in the software. When there is an abnormality, it can quickly detect the abnormality, lock the protection and issue an alarm.
[0139] The memory soft error monitoring and self-correction measures are adopted. The idea is to compare the code running in real time in the hardware memory and RAM memory for the code data. For constants, a redundant solution is adopted to back up the constant data twice, adopting the idea of "three out of two". This solution requires real-time reading of peripheral information, which occupies more resources. The three-out-of-two solution also requires a large amount of memory space. When the device resources are tight, the solution is difficult to implement.
[0140] Since the memory information of the code segment and constant segment will remain unchanged after power-on initialization, a self-checking scheme is designed based on this feature:
[0141] 1) After the device is powered on and initialized, the CRC of the code segment and constant segment data in the memory is calculated and saved.
[0142] 2) During normal protection operation, in the protection interrupt (main loop) task, the CRC of the constant data in the same memory is calculated and compared with the CRC calculated at power-on.
[0143] 3) When the comparison results are inconsistent, it means that there is a change in the data in the constant area, which can instantly lock the protection and delay the alarm.
[0144] For relay protection devices, in addition to self-checking the constant area, self-checking and verification can also be performed on some data in the variable area. The scheme is briefly described as follows.
[0145] 1) Self-check of fixed value components: When writing fixed values into fixed value storage components, write positive and negative code information at the same time. Each time the fixed value is read, read the positive and negative code information at the same time, and check both of them. After they are correct, they are used to protect the logic. The positive and negative code check can correct single-bit errors and detect most of the double-bit errors. The correction rate is high, so the errors that can be corrected, that is, the reinforcement effect, is the ratio of single-bit flips to the total number of flips (about 75% to 98%). It can be determined based on the proportion of single-bit flips occurring in specific locations (for example, the proportion of single-bit flips occurring in Beijing accounts for about 92% of the total number of flips). The reinforcement effect of the above measures to reduce the occurrence of soft errors is 0.92.
[0146]
[0147] Where P panc It is the corrected soft error rate of the system's positive and negative code verification self-check, SBU is the ratio of single-bit flip to total soft error flip failures, and MBU is the ratio of multi-bit flip to total soft error flip failures.
[0148] 2) Fixed value CRC self-check: After the device is powered on or the fixed value is modified, the fixed value is read from the fixed value storage device and transferred to the variable area. At this time, the CRC of the fixed value in the variable area is calculated and backed up. During normal operation, the fixed value CRC in the variable area is calculated and compared with the backup CRC. When an inconsistency is detected, it is considered that there is an abnormality. The essence of CRC verification is modulo-2 division. If the remainders are all 0, the CRC code is discarded and the data is accepted; otherwise, the received data is discarded. There are two commonly used CRC check codes: CRC-16 and CRC-32. CRC has extremely strong error detection capabilities, and the errors that it cannot detect are only less than 0.0047%. The reinforcement effect of the above measures to reduce the occurrence of soft errors is 0.999.
[0149] 3) Range self-check: Most of the data in the variable area will change during operation, such as AC sampling data, counters, intermediate state flags, etc. Range check can be used to set upper and lower limits for specific variables. When the variable size exceeds the upper and lower limits, it is considered abnormal. Taking the electrical quantity with 16-bit precision stored in 2 bytes and a maximum value of 20 times the rated value as an example, the reinforcement effect of the above measures to reduce the occurrence of soft errors is about 0.63.
[0150] In one embodiment:
[0151] The CPU in the main control components can be obtained through the soft error rate data provided by the component manufacturers and the radiation effect test data provided by domestic and foreign aerospace agencies. The relevant websites include ESA irradiation database, aerospace electronic device space radiation effect database, TI's FIT estimator, etc. For example, a certain ARM9-based processor of TI can be consulted to obtain an original soft error rate of 1.5FIT, and the converted fault frequency is 1.5 / 10E-09*24=3.6E-08 times / (day·piece), which is consistent with the relay protection defect data of a certain manufacturer in the China network area in the above embodiment.
[0152] For FPGA, the raw soft error rate can be determined by obtaining the single-particle upset saturation cross-section value. For example, for a Spartan-6 series FPGA with 0.5Mbit CRAM and 18Kb BRAM, according to the single-particle upset test, the CRAM upset saturation cross-section value is 8.1E-15cm2 / bit, and the BRAM upset saturation cross-section value is 1.41E-14cm2 / bit. Using the formula SER rate =R fluxT ×σ device Calculation shows that the original soft error rate of CRAM is 104.98FIT / Mb, and the original soft error rate of BRAM is 182.74FIT / Mb.
[0153] For Flash components and DDR2, when the original soft error rate and single-particle upset saturation cross-section value cannot be obtained, the original soft error rate can be determined based on the process and storage medium capacity of the storage abnormality risk point to be evaluated. For example, when the storage capacity of the Flash component is 4Mb, the typical value of its soft error rate is 10FIT / Mb when using a 32nm process, and the original soft error rate can be determined to be 40FIT according to the calculation formula. When the storage capacity of the DDR component is 1Gb, the typical value of the soft error rate is 1FIT / Mb, and the original soft error rate can be determined to be 1024FIT according to the calculation formula.
[0154] In one embodiment, when the configured RAM supports the ECC algorithm, 99.8% of the errors can be corrected.
[0155] The soft error assessment method for relay protection equipment described in this preferred embodiment adopts an analytical method to perform soft error quantitative analysis on the device hardware architecture, software architecture, hardware self-test measures, software self-test measures, etc., and combines the software self-test range and effect of the constant area and variable area data, analyzes the hardware self-test range and effect based on the hardware architecture, takes into account the soft error conduction mechanism between components, plug-ins, and systems, and completes the relay protection soft error assessment. Other methods add a small amount of assessment range and objects that have little impact on soft errors on this basis, and the technical effects achieved are the same, which will not be repeated here.
[0156] The method and system achieve a quantitative evaluation of potential soft errors in relay protection, can guide manufacturers in device development and chip selection, promote manufacturers to strengthen soft error prevention and improvement, and develop high-reliability relay protection, thereby improving the ability of the power grid to operate safely and stably.
[0157] The present invention provides a method for evaluating the soft error rate of relay protection equipment. The method combines the characteristics of the hardware and software architecture of the relay protection equipment and the single-particle flip of the core components, proposes the characteristics of the hardware architecture, component selection and software architecture under different application conditions, and combines multiple error correction effects such as hardware self-check design, software self-check design, and system-level reliability measures, and comprehensively considers the soft error conduction mechanism between components, plug-ins, and systems to complete the method for evaluating the soft error of relay protection. The method and system realize the quantitative evaluation of the potential failure risk in the relay protection equipment, can guide the relay protection manufacturers to carry out component selection, promote the performance improvement of the relay protection equipment, and develop high-reliability relay protection equipment, thereby improving the ability of the power grid to operate safely and stably.
[0158] Exemplary Devices
[0159] Figure 7 FIG. 1 is a schematic diagram of a relay protection soft error rate evaluation device provided by an exemplary embodiment of the present invention. Figure 7 As shown, the apparatus 700 includes:
[0160] An analysis module 710 is used to analyze the composition structure of the relay protection device to be evaluated;
[0161] The first calculation module 720 is used to calculate the hardware soft error rate of each component under the hardware error prevention measure and the software soft error rate under the software error prevention measure according to the initial soft error rate of each component on each board in the composition structure;
[0162] A second calculation module 730 is used to calculate the soft error rate of the plug-in taking into account the fault transmission mechanism between components and plug-ins;
[0163] The third calculation module 740 is used to calculate the hardware architecture soft error rate of the relay protection device to be evaluated in the case of hardware architecture support verification self-test according to the plug-in soft error rate;
[0164] A fourth calculation module 750 is used to calculate the software architecture soft error rate of the relay protection device to be evaluated when the software architecture supports detection and correction according to the plug-in soft error rate;
[0165] The fifth calculation module 760 is used to calculate the total soft error rate of the relay protection device to be evaluated according to the plug-in soft error rate, the hardware architecture soft error rate, and the software architecture soft error rate.
[0166] Optionally, the first calculation module 720 includes:
[0167] A determination submodule, used to determine the initial soft error rate of each component according to the component model on each board of the relay protection device to be evaluated;
[0168] The calculation submodule is used to calculate the hardware soft error rate of each component under the hardware error prevention measure and the software soft error rate under the software error prevention measure according to the initial soft error rate of each component.
[0169] Optionally, the expression of the hardware soft error rate of each component is:
[0170] SER crate1 =k1×SER rate
[0171] In the formula, SER crate1 is the hardware soft error rate of the component to be evaluated under the hardware error prevention measures, k1 is the hardware detection effectiveness coefficient; SER ra te is the initial soft error rate of the component under evaluation.
[0172] Optionally, the expression of the software soft error rate of each component is:
[0173] SER scrate1 =k s1 ×SER crate1
[0174] In the formula, SER scrate1 is the software soft error rate of the component to be evaluated under software error prevention measures, k s1 is the effectiveness coefficient of software error prevention measures, SER crate1 It is the soft error rate of the component to be evaluated after hardware error correction.
[0175] Optionally, the calculation formula of the plug-in soft error rate is:
[0176]
[0177] In the formula, SER plug_in is the plugin soft error rate of the plugin to be evaluated, SER scrate_i is the soft error rate of the i-th component to be evaluated on the plug-in to be evaluated after software and hardware error correction, n is the number of components on the plug-in to be evaluated, LDR is the logic derating factor, TDR is the timing derating factor, MDR is the storage derating factor, and FDR is the function derating factor.
[0178] Optionally, the calculation formula of the hardware architecture soft error rate is:
[0179] SER crate2 =k2×SERplug_in
[0180] In the formula, SER crate2 is the soft error rate of the plug-in of the device to be evaluated under the hardware architecture correction, k2 is the effective coefficient of the hardware architecture error prevention method, SER plug_in is the plugin soft error rate of the plugin to be evaluated.
[0181] Optionally, the calculation formula of the software architecture soft error rate is:
[0182] SER scrate2 =k s2 ×SER crate2
[0183] In the formula, SER scrate2 is the soft error rate of the plug-in of the device to be evaluated under hardware and software correction, k s 2 is the effectiveness coefficient of the software architecture error prevention method.
[0184] Optionally, the calculation formula for the total soft error rate of the relay protection device to be evaluated is:
[0185]
[0186] Where β is the propagation probability of the plugin to the system level.
[0187] Exemplary Electronic Devices
[0188] Figure 8 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. Figure 8 As shown, the electronic device 80 includes one or more processors 81 and a memory 82 .
[0189] The processor 81 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.
[0190] The memory 82 may include one or more computer program products, which 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 81 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 83 and an output device 84, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0191] In addition, the input device 83 may also include, for example, a keyboard, a mouse, etc.
[0192] The output device 84 can output various information to the outside, and can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto.
[0193] Of course, to simplify, Figure 8 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, the electronic device may further include any other appropriate components according to specific application conditions.
[0194] Exemplary computer program products and computer-readable storage media
[0195] 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.
[0196] 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.
[0197] 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.
[0198] 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.
[0199] 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.
[0200] 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.
[0201] 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.
[0202] 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.
[0203] 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.
[0204] 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 evaluating the soft error rate of relay protection, characterized in that: include: Analyze the composition and structure of the relay protection device to be evaluated; Calculating the hardware soft error rate of each component under hardware error prevention measures and the software soft error rate of each component under software error prevention measures according to the initial soft error rate of each component on each board in the composition structure; Calculate the soft error rate of the plug-in that takes into account the fault transmission mechanism between components and plug-ins; Calculate the hardware architecture soft error rate of the relay protection device to be evaluated when the hardware architecture supports verification self-test according to the plug-in soft error rate; Calculating the software architecture soft error rate of the relay protection device to be evaluated when the software architecture supports detection and correction according to the plug-in soft error rate; The total soft error rate of the relay protection device to be evaluated is calculated according to the plug-in soft error rate, the hardware architecture soft error rate, and the software architecture soft error rate.
2. The method according to claim 1, characterized in that Calculating the hardware soft error rate of each component under hardware error prevention measures and the software soft error rate of each component under software error prevention measures according to the initial soft error rate of each component on each board in the composition structure, including: Determining the initial soft error rate of each component according to the component model on each board of the relay protection device to be evaluated; According to the initial soft error rate of each component, the hardware soft error rate of each component under the hardware error prevention measure and the software soft error rate under the software error prevention measure are calculated.
3. The method according to claim 1, characterized in that The expression of the hardware soft error rate of each component is: TO BE crate1 =k1×BE rate In the formula, SER crate1 is the hardware soft error rate of the component to be evaluated under the hardware error prevention measures, k1 is the hardware detection effectiveness coefficient; SER rate is the initial soft error rate of the component under evaluation.
4. The method according to claim 1, characterized in that The expression of the software soft error rate of each component is: CHEESE scrate1 =k s1 ×CHEESE crate1 In the formula, SER scrate1 is the software soft error rate of the component to be evaluated under software error prevention measures, k s1 is the effectiveness coefficient of software error prevention measures, SER crate1 It is the soft error rate of the component to be evaluated after hardware error correction.
5. The method according to claim 1, characterized in that The calculation formula of the plug-in soft error rate is: In the formula, SER plug_in is the plugin soft error rate of the plugin to be evaluated, SER scrate_i is the soft error rate of the i-th component to be evaluated on the plug-in to be evaluated after software and hardware error correction, n is the number of components on the plug-in to be evaluated, LDR is the logic derating factor, TDR is the timing derating factor, MDR is the storage derating factor, and FDR is the function derating factor.
6. The method according to claim 1, characterized in that The calculation formula of the soft error rate of the hardware architecture is: TO BE crate2 =k2×BE plug_in In the formula, SER crate2 is the soft error rate of the plug-in of the device to be evaluated under the hardware architecture correction, k2 is the effective coefficient of the hardware architecture error prevention method, SER plug_in is the plugin soft error rate of the plugin to be evaluated.
7. The method according to claim 6, characterized in that The calculation formula of the soft error rate of the software architecture is: CHEESE scrate2 =k s2 ×CHEESE crate2 In the formula, SER scrate2 is the soft error rate of the plug-in of the device to be evaluated under hardware and software correction, k s2 It is the effectiveness coefficient of the software architecture error-proofing method.
8. The method according to claim 1, characterized in that: The calculation formula of the total soft error rate of the relay protection device to be evaluated is: Where β is the propagation probability of the plugin to the system level.
9. A relay protection soft error rate evaluation device, characterized in that: include: An analysis module, used to analyze the composition structure of the relay protection device to be evaluated; A first calculation module, used for calculating the hardware soft error rate of each component under the hardware error prevention measure and the software soft error rate under the software error prevention measure according to the initial soft error rate of each component on each board in the composition structure; The second calculation module is used to calculate the plug-in soft error rate taking into account the fault conduction mechanism between components and plug-ins; A third calculation module is used to calculate the hardware architecture soft error rate of the relay protection device to be evaluated under the condition that the hardware architecture supports verification self-test according to the plug-in soft error rate; A fourth calculation module, configured to calculate the software architecture soft error rate of the relay protection device to be evaluated when the software architecture supports detection and correction according to the plug-in soft error rate; The fifth calculation module is used to calculate the total soft error rate of the relay protection device to be evaluated according to the plug-in soft error rate, the hardware architecture soft error rate, and the software architecture soft error rate.
10. The method according to claim 1, characterized in that The first computing module includes: A determination submodule, used to determine the initial soft error rate of each component according to the component model on each board of the relay protection device to be evaluated; The calculation submodule is used to calculate the hardware soft error rate of each component under the hardware error prevention measure and the software soft error rate under the software error prevention measure according to the initial soft error rate of each component.
11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 8.
12. An electronic device, 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 instructions to implement the method described in any one of claims 1 to 8.
