Method and device for preventing memory soft error of relay protection device of 6.6 kV medium-voltage system of nuclear power plant

By real-time detection and error correction of data in the relay protection device of the 6.6kV medium-voltage system of nuclear power plants, the problem of soft errors in SRAM memory caused by high-energy particle radiation was solved, improving the reliability of the device and the stability of the power system.

CN121880087APending Publication Date: 2026-04-17CNNC FUJIAN FUQING NUCLEAR POWER +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-19
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In the relay protection devices of the 6.6kV medium-voltage system of nuclear power plants, soft errors in SRAM memory caused by high-energy particle radiation can easily lead to single-bit errors, threatening the stable operation of the power system.

Method used

A real-time detection, comparison, and error correction method using error correction codes is adopted. By calculating the error correction code during initialization and comparing it during the idle time of each protection interrupt task, the data is refreshed or corrected to prevent soft memory errors.

Benefits of technology

This improves the reliability of relay protection devices, reduces the probability of single-bit soft memory errors in static random access memory, and ensures the stable operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121880087A_ABST
    Figure CN121880087A_ABST
Patent Text Reader

Abstract

The invention provides a nuclear power plant 6.6 kV medium voltage system relay protection device memory soft error prevention method and device, and the method comprises the steps: calculating an error correction code of constant data written into a static random access memory when a relay protection device is initialized based on an error correction code verification technology, taking the first calculation result as a standard value and storing the standard value in a static random access memory or a dynamic random access memory; in the normal operation process of the relay protection device, the error correction code of constant data in the same static random access memory is calculated in the idle time of each protection interruption task, and a second calculation result is used as a comparison value to be compared with the standard value; if so, refreshing data in the static random access memory; and if the comparison value and the standard value are different and 1-bit overturning exists, error correction is carried out by an error correction code, otherwise, the comparison value is assigned to the standard value for storage. Through real-time detection, comparison and error correction of the error correction codes, the problem of how to prevent the occurrence of memory soft errors is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electrical system technology for nuclear power plants, specifically relating to a method and device for preventing soft errors in the memory of a relay protection device for a 6.6kV medium-voltage system in a nuclear power plant. Background Technology

[0002] As an indispensable part of nuclear power plants, the 6.6kV medium-voltage system relay protection device can promptly issue alarms and isolate faults when system failures or anomalies occur. Therefore, the reliability of the relay protection device directly affects the stability of the nuclear power plant. With the development of microprocessor-based relay protection devices, the integration of components is becoming increasingly higher. A large number of Static Random Access Memory (SRAM) and Dynamic Random Access Memory (DRAM) chips are used in relay protection devices. If the components themselves malfunction, it will affect the normal operation of the protection device.

[0003] During operation, relay protection device chips are susceptible to radiation impacts from high-energy particles such as protons, heavy ions, electrons, and neutrons in the environment. This can cause the stored logic values ​​to flip (flipping a data bit that was originally in the state of "1" to "0", or vice versa). This is the chip's memory soft error problem. For chips used in relay protection devices, DRAM, due to its dynamic refresh characteristics, generally has a lower probability of soft errors; while SRAM is more sensitive to high-energy particle radiation impacts, especially single event upsets (SEUs), which can easily cause single-bit errors in the internal state. Figure 1 and Figure 2 As shown in the schematic diagram of the SRAM memory soft error mechanism, high-energy particle radiation causes charge transfer. When the charge transfer is large enough, it will cause changes in the logic state of related components. At the same time, as the size of components shrinks and the logic density increases, the capacitance in memory cells also becomes smaller, and the charge required to cause a soft error also decreases, making the probability of a single-event upset (SET) soft error in the memory cell higher.

[0004] For relay protection devices, SRAM often stores protection logic codes or constant data such as setting values. If a soft error in the memory corrupts the data in the SRAM, causing the relay protection device to malfunction, there is a risk of failure to operate or false operation, thus threatening the stable operation of the power system. Therefore, preventing soft errors in the memory is beneficial to further improving the reliability of relay protection devices and the stability of nuclear power plant operation. Summary of the Invention

[0005] In view of this, this application provides a method and device for preventing soft errors in the memory of a 6.6kV medium-voltage system relay protection device in a nuclear power plant. The method solves the problem of how to prevent soft errors in memory by real-time detection, comparison and error correction of error correction codes.

[0006] The first aspect of this application provides a method for preventing soft errors in the memory of a relay protection device for a 6.6kV medium-voltage system in a nuclear power plant. This method includes: Step S1: Based on the error correction code verification technology, calculate the error correction code of the constant data written in the static random access memory during the initialization of the relay protection device, and store the first calculation result as a standard value in the static random access memory or dynamic random access memory. Step S2: During the normal operation of the relay protection device, calculate the error correction code of the constant data in the same static random access memory during each protection interruption task idle time, and compare the second calculation result with the standard value as a comparison value. Step S3: If the two are the same, refresh the data in the static random access memory; Step S4: If the two are different and there is a 1-bit flip, then perform error correction using the error correction code; otherwise, assign the comparison value to the standard value for storage.

[0007] The second aspect of this application provides a memory soft error prevention device for a 6.6kV medium-voltage system relay protection device in a nuclear power plant. The memory soft error prevention method for the 6.6kV medium-voltage system relay protection device in a nuclear power plant includes a calculation module, a refresh module, and an error correction module.

[0008] The calculation module is used to calculate the error correction code of the constant data written in the static random access memory during the initialization of the relay protection device based on the error correction code verification technology, and store the first calculation result as a standard value in the static random access memory or dynamic random access memory; during the normal operation of the relay protection device, the error correction code of the constant data in the same static random access memory is calculated during the idle time of each protection interruption task, and the second calculation result is compared with the standard value as a comparison value.

[0009] The refresh module is used to refresh the data in the static random access memory if the two are the same.

[0010] The error correction module is used to perform error correction code correction if the two are different and there is a 1-bit flip; otherwise, the comparison value is assigned to the standard value for storage.

[0011] A third aspect of this application provides a computer apparatus comprising a processor and a memory. The processor is used to execute a memory-based soft-error prevention method for a 6.6kV medium-voltage system relay protection device in a nuclear power plant, as described in the first aspect of this application. The memory is used to store executable instructions for the processor.

[0012] The fourth aspect of this application provides a computer-readable storage medium having executable instructions stored thereon. When executed by a processor, the executable instructions implement a memory soft error prevention method for a 6.6kV medium-voltage system relay protection device in a nuclear power plant, as described in the first aspect of this application.

[0013] The fifth aspect of this application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements a memory soft error prevention method for a 6.6kV medium-voltage system relay protection device in a nuclear power plant according to the first aspect of this application.

[0014] The beneficial effects of the technical solution of this application are as follows: by real-time detection, comparison and error correction of error correction codes, the reliability of data is guaranteed, the probability of single-bit soft memory errors in static random access memory is reduced, and thus the reliability of relay protection devices is improved. Attached Figure Description

[0015] Figure 1 The diagram shows a schematic of a mechanism for SRAM memory soft errors.

[0016] Figure 2 The diagram shows another mechanism for SRAM memory soft errors.

[0017] Figure 3 The diagram shown is a flowchart illustrating a method for preventing soft errors in the memory of a relay protection device for a 6.6kV medium-voltage system in a nuclear power plant, according to an embodiment of this application.

[0018] Figure 4 The diagram shown is a flowchart illustrating a method for preventing soft errors in the memory of a relay protection device for a 6.6kV medium-voltage system in a nuclear power plant, according to another embodiment of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0020] At least one embodiment of this application provides a method for preventing soft errors in the memory of a relay protection device for a 6.6kV medium-voltage system in a nuclear power plant. (See reference...) Figure 3The method for preventing soft errors in the memory of the relay protection device of the 6.6kV medium-voltage system of the nuclear power plant includes the following steps S1 to S4.

[0021] Step S1: Based on the error correction code verification technology, calculate the error correction code of the constant data written in the static random access memory during the initialization of the relay protection device, and store the first calculation result as a standard value in the static random access memory or dynamic random access memory.

[0022] Specifically, refer to Figure 4 After the relay protection device is powered on and initialized, it calculates the error checking and correcting (ECC) code of constant data such as code stored in SRAM space, and stores the first calculation result as a standard value in SRAM or DRAM.

[0023] It should be noted that constant data includes code, etc.

[0024] Step S2: During the normal operation of the relay protection device, calculate the error correction code of the constant data in the same static random access memory during each protection interruption task idle time, and compare the second calculation result with the standard value.

[0025] Specifically, refer to Figure 4 When the relay protection device is operating normally, it reads the constant data in the static random access memory during the idle time of each protection interruption task, calculates the error correction code of the constant data in the same SRAM, and uses the second calculation result as a comparison value to compare with the error correction code calculated and stored when powered on.

[0026] Step S3: If the two are the same, refresh the data in the static random access memory.

[0027] Specifically, refer to Figure 4 When the comparison results are consistent, it means that the current constant data has not been modified. However, in order to prevent soft memory errors, the data in the SRAM is actively refreshed to interrupt the charge transfer process in the memory cell in advance and prevent charge accumulation from further causing changes in the state of related logic cells.

[0028] Step S4: If the two are different and there is a 1-bit flip, then perform error correction using the error correction code; otherwise, assign the comparison value to the standard value for storage.

[0029] Specifically, refer to Figure 4When the comparison results are inconsistent, it indicates that the constant data has changed. If a 1-bit flip occurs, it indicates that a soft memory error may have occurred, and ECC error correction should be performed. If the two are different and there are multiple bit flips, it indicates that the constant data may have been modified by humans, such as the relay protection device has modified the setting value. In this case, the currently calculated error correction code will be updated to the standard value and stored in SRAM or DRAM.

[0030] It should be noted that the memory-based soft error prevention method for the relay protection device of the 6.6kV medium-voltage system of this nuclear power plant is applied to a system that includes SRAM memory and DRAM. The SRAM memory is used to store the code and constant data after the relay protection device is initialized upon power-up, and to calculate its error correction code based on ECC verification technology; the SRAM or DRAM is used to store the calculated error correction code.

[0031] According to the technical solution provided in this application, during the normal operation of the relay protection device, the error correction code of the constant data in the static random access memory (SRAM) is calculated in real time and compared with the standard value to determine whether the data in the memory space has changed. The SRAM data is then manually refreshed to interrupt potential charge transfer processes, prevent memory errors, and improve the reliability of the relay protection device. The method provided in this application can ensure data reliability and reduce the probability of single-bit soft errors in the SRAM for systems containing both SRAM and DRAM through real-time detection, comparison, and error correction of the error correction code, thereby improving the reliability of the relay protection device.

[0032] At least one embodiment of this application also provides a memory soft error prevention device for a 6.6kV medium-voltage system relay protection device in a nuclear power plant. The memory soft error prevention method for the 6.6kV medium-voltage system relay protection device in a nuclear power plant includes a calculation module, a refresh module, and an error correction module.

[0033] The calculation module is used to calculate the error correction code of the constant data written in the static random access memory during the initialization of the relay protection device based on the error correction code verification technology, and store the first calculation result as a standard value in the static random access memory or dynamic random access memory; during the normal operation of the relay protection device, the error correction code of the constant data in the same static random access memory is calculated during the idle time of each protection interruption task, and the second calculation result is compared with the standard value as a comparison value.

[0034] The refresh module is used to refresh the data in the static random access memory if the two are the same.

[0035] The error correction module is used to perform error correction code correction if the two are different and there is a 1-bit flip; otherwise, the comparison value is assigned to the standard value for storage.

[0036] At least one embodiment of this application also provides a computer device including a processor and a memory. The processor is used to execute a memory-based soft error prevention method for a 6.6kV medium-voltage system relay protection device in a nuclear power plant, as provided in any of the above embodiments of this application. The memory is used to store executable instructions of the processor, such as application programs. There can be one or more processors. The application programs stored in the memory can include one or more modules, each corresponding to a set of instructions. Furthermore, the processor is configured to execute instructions to perform the aforementioned memory-based soft error prevention method for a 6.6kV medium-voltage system relay protection device in a nuclear power plant.

[0037] The computer device may also include a power supply component configured for power management, a wired or wireless network interface configured to connect the computer device to a network, and an input / output (I / O) interface. The computer device can operate on an operating system stored in memory, such as Windows Server. TM Mac OSX TM Unix TM Linux TM FreeBSD TM Or similar.

[0038] At least one embodiment of this application also provides a computer-readable storage medium storing executable instructions for a computer. When executed by a processor, the executable instructions implement a memory-based soft error prevention method for a 6.6kV medium-voltage system relay protection device in a nuclear power plant, as provided in any of the above embodiments of this application.

[0039] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the computer device, enables the computer device to execute the memory-based soft error prevention method for the relay protection device of the 6.6kV medium-voltage system of a nuclear power plant. The memory-based soft error prevention method for the relay protection device of the 6.6kV medium-voltage system of a nuclear power plant is executed by a proxy program.

[0040] Those skilled in the art will recognize that the algorithmic steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0041] At least one embodiment of this application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements a memory soft error prevention method for a 6.6kV medium-voltage system relay protection device in a nuclear power plant provided in any of the above embodiments of this application.

[0042] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a computer program product. This computer program product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the memory-based soft error prevention method for the relay protection device of the 6.6kV medium-voltage system in a nuclear power plant, as described in various embodiments of this application. The aforementioned storage medium includes various media capable of storing program checksums, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0043] It should be noted that the combination of the technical features in the embodiments of this application is not limited to the combination methods described in the embodiments of this application or the combination methods described in specific embodiments. All technical features described in this application can be freely combined or combined in any way, unless they contradict each other.

[0044] As indicated in this application and claims, unless the context clearly indicates otherwise, the words "a," "an," and / or "the" do not specifically refer to the singular and may also include the plural. Generally speaking, the term "comprising" only indicates that it includes the explicitly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.

[0045] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications or equivalent substitutions made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for preventing soft errors in the memory of a relay protection device for a 6.6kV medium-voltage system in a nuclear power plant, characterized in that, include: Step S1: Based on the error correction code verification technology, calculate the error correction code of the constant data written in the static random access memory during the initialization of the relay protection device, and store the first calculation result as a standard value in the static random access memory or dynamic random access memory. Step S2: During the normal operation of the relay protection device, calculate the error correction code of the constant data in the same static random access memory during each protection interruption task idle time, and compare the second calculation result with the standard value as a comparison value. Step S3: If the two are the same, refresh the data in the static random access memory; Step S4: If the two are different and there is a 1-bit flip, then perform error correction using the error correction code; otherwise, assign the comparison value to the standard value for storage.

2. The method for preventing soft errors in the memory of a relay protection device for a 6.6kV medium-voltage system in a nuclear power plant according to claim 1, characterized in that, The constant data includes code.

3. A memory-based soft error prevention device for a 6.6kV medium-voltage system relay protection device in a nuclear power plant, characterized in that: include: The calculation module is used to calculate the error correction code of the constant data written in the static random access memory during the initialization of the relay protection device based on the error correction code verification technology, and to store the first calculation result as a standard value in the static random access memory or dynamic random access memory. During the normal operation of the relay protection device, the error correction code of the constant data in the same static random access memory is calculated during the idle time of each protection interruption task, and the second calculation result is used as a comparison value to compare with the standard value. The refresh module is used to refresh the data in the static random access memory if the two are the same. The error correction module is used to perform error correction code correction if the two are different and there is a 1-bit flip; otherwise, the comparison value is assigned to the standard value for storage.

4. A computer device, characterized in that, include: A processor for executing the memory soft error prevention method for a 6.6kV medium-voltage system relay protection device in a nuclear power plant as described in claim 1; as well as Memory for storing the executable instructions of the processor.

5. A computer-readable storage medium having executable instructions stored thereon, characterized in that, When the executable instructions are executed by the processor, they implement the memory soft error prevention method for the relay protection device of a 6.6kV medium-voltage system in a nuclear power plant as described in claim 1 or 2.

6. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements the memory soft error prevention method for the relay protection device of a 6.6kV medium-voltage system in a nuclear power plant as described in claim 1 or 2.