Simulation method, device and equipment of nuclear power instrument control board card and medium
By obtaining and packaging the fault logic function diagram of the nuclear power instrument control board card, and using the simulation platform to perform fault simulation, the problem of insufficient simulation accuracy in the existing technology is solved, and more efficient fault simulation is achieved.
Patent Information
- Application Number
- CN202411819430.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-12-11
AI Technical Summary
The existing distributed control system (DCS) cannot effectively simulate the various failure modes of nuclear power instrument control board cards in nuclear power plants, resulting in poor simulation accuracy.
By obtaining the various mode fault logic function diagrams of the nuclear power instrument control board card, it is packaged into algorithm blocks, and using the preset human-computer interactive interface to perform fault simulation in the simulation platform to determine the fault insertion information of the board card in the cabinet equipment. To improve simulation accuracy.
It greatly reduces the modeling workload, improves the simulation accuracy and efficiency of the nuclear power instrument control board, and can more accurately simulate various failure modes such as power supply failure, board failure and signal failure.
Smart Images

Figure CN119292245A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of nuclear power plant instrumentation and control simulation, and in particular to a simulation method, device, equipment and medium for a nuclear power plant instrumentation and control board. Background Art
[0002] With the development of digital instrumentation and control technology, distributed control systems (DCS) have been widely used in nuclear power plants because of their characteristics of distributed control, centralized monitoring, and reliable and stable control process. Distributed control systems (DCS) bring many conveniences and advantages to the professional operation and maintenance of nuclear power unit instrumentation and control and equipment management, but also greatly increase the complexity of system debugging and operation and maintenance.
[0003] At present, the faults of distributed control systems (DCS) are generally only simulated at the cabinet level. The scope and accuracy of this simulation are limited, and it is usually an abnormal signal simulation, which cannot cover all the cages in the cabinet and the boards in them. The simulation of multiple fault modes such as power failure, board failure, signal failure, etc. required at the instrumentation and control board level is insufficient, resulting in poor simulation accuracy of nuclear power instrumentation and control boards. Therefore, how to improve the simulation accuracy of nuclear power instrumentation and control boards has become a technical problem that needs to be solved urgently by technicians in this field. Summary of the invention
[0004] Based on this, it is necessary to address the above technical problems. The embodiments of the present invention provide a simulation method, device, equipment and medium for a nuclear power instrumentation and control board card to solve the problem that the prior art cannot improve the simulation accuracy of the nuclear power instrumentation and control board card.
[0005] A first aspect of an embodiment of the present application provides a method for simulating a nuclear power instrumentation and control board, the method comprising: Obtain the various fault logic function diagrams corresponding to the nuclear power instrumentation and control board; Encapsulating the various fault logic function diagrams corresponding to the nuclear power instrumentation and control board into algorithm blocks in the form of logic codes; Determine the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm block under various fault modes; According to the fault insertion information of the board in the cabinet device, a fault simulation is performed in the simulation platform using a preset human-computer interaction interface.
[0006] A second aspect of an embodiment of the present application provides a simulation device for a nuclear power instrumentation and control board, the simulation device for a nuclear power instrumentation and control board comprising: An acquisition module is used to obtain the fault logic function diagrams of various modes corresponding to the nuclear power instrumentation and control board; A packaging module, used for packaging various fault logic function diagrams corresponding to the nuclear power instrumentation and control board into algorithm blocks in the form of logic codes; A configuration module, used to determine the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm node under various fault modes; The simulation module is used to perform fault simulation in a simulation platform using a preset human-computer interaction interface according to the fault insertion information of the board in the cabinet device.
[0007] In a third aspect, an embodiment of the present invention provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the simulation method of the nuclear power instrumentation and control board card as described in the first aspect is implemented.
[0008] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein when the computer program is executed by a processor, the simulation method of the nuclear power instrumentation and control board card described in the first aspect is implemented.
[0009] In summary, the present application proposes a simulation method, device, equipment and medium for a nuclear power instrument and control board, by obtaining the multiple mode fault logic function diagrams corresponding to the nuclear power instrument and control board, encapsulating the multiple mode fault logic function diagrams corresponding to the nuclear power instrument and control board into algorithm nodes in the form of logic codes, and determining the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm node under various fault modes, and performing fault simulation in the simulation platform using a preset human-computer interaction interface according to the fault insertion information of the board in the cabinet device. The present application encapsulates the multiple mode fault logic function diagrams corresponding to the nuclear power instrument and control board into algorithm nodes in the form of logic codes, which greatly reduces the modeling workload, so as to configure the cabinet device associated with the fault signal of the nuclear power instrument and control board, and then performs fault simulation in the simulation platform using a preset human-computer interaction interface according to the fault insertion information of the board in the cabinet device, thereby improving the simulation accuracy of the nuclear power instrument and control board. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0011] Figure 1 It is a flow chart of a simulation method of a nuclear power instrumentation and control board provided in one embodiment of the present invention; Figure 2It is a logic diagram of an AIAO analog quantity board in a simulation method of a nuclear power instrumentation and control board provided in one embodiment of the present invention; Figure 3 It is a logic diagram of a DIDO analog quantity board in a simulation method of a nuclear power instrumentation and control board provided in one embodiment of the present invention; Figure 4 It is a board card operation interface in a DCS cabinet in a simulation method of a nuclear power instrumentation and control board card provided in one embodiment of the present invention; Figure 5 It is an analog board signal fault operation interface in a simulation method of a nuclear power instrumentation and control board provided in one embodiment of the present invention; Figure 6 It is a structural schematic diagram of a simulation device of a nuclear power instrumentation and control board provided in one embodiment of the present invention; Figure 7 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0012] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0013] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0014] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0015] As used in the present specification and the appended claims, the term “if” may be interpreted as “when” or “uponce” or “in response to determining”, depending on the context. Similarly, the phrase “if it is determined” or “if matched to [described condition or event]” may be interpreted as meaning “upon determination” or “in response to determination” or “uponce matched to [described condition or event]” or “in response to matching to [described condition or event]”, depending on the context.
[0016] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0017] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0018] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0019] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0020] Figure 1 is a flow chart of a simulation method of a nuclear power instrumentation control board card according to an exemplary embodiment of the present application, such as Figure 1 As shown, the simulation method of the nuclear power instrumentation and control board is implemented through the following steps.
[0021] S101: Obtain multiple mode fault logic function diagrams corresponding to the nuclear power instrumentation and control board.
[0022] In the embodiment of the present application, the nuclear power instrumentation and control board is the basic component unit of the DCS fault deduction system, and the multi-mode fault logic function diagram is a method for describing the logical functions and fault handling procedures of the nuclear power instrumentation and control board under different fault modes. This fault logic function diagram usually contains the following information: fault mode, logical function, fault detection and location, and fault handling, etc., wherein the fault mode lists the various types of faults that the board may encounter, such as hardware faults, software faults, communication faults, etc.; the logical function describes how the control logic of the board responds in each fault mode, including signal transmission, processing, and the final fault handling measures; fault detection and location is to show how to detect and locate faults through logical judgment, including the sensors and detection algorithms used; fault handling is to explain what measures the board will take to restore or isolate the fault after the fault is detected to ensure the stable operation of the system. By obtaining the multi-mode fault logic function diagram corresponding to the nuclear power instrumentation and control board, the present application can significantly improve the efficiency of subsequent fault diagnosis to ensure its safe and efficient operation.
[0023] As an optional embodiment, multiple fault logic function diagrams corresponding to the nuclear power instrumentation and control board are obtained, including: Obtain fault information of nuclear power instrumentation and control boards; Performing fault analysis and fault testing on the fault information to determine the fault type and fault requirements of the nuclear power instrumentation and control board; According to the fault type and fault requirements of the nuclear power instrument and control board, a simulation platform is used to draw a multi-mode fault logic function diagram corresponding to the nuclear power instrument and control board.
[0024] In the embodiment of the present application, the fault information of the nuclear power instrumentation and control board may include a problem return repair order, a fault analysis report, meeting minutes, etc. The scope of collection of fault information may include fault information, fault diagnosis information, false alarm information, test equipment applicability, usage and maintenance opinions, etc. that occur during the use and maintenance of the product. Fault analysis and fault testing of fault information are performed based on machine learning algorithms to determine the fault category and fault requirements of the nuclear power instrumentation and control board. Among them, the fault categories of the nuclear power instrumentation and control board include hardware failure, software failure, communication failure, environmental failure, and operation failure. Hardware failures include component damage: such as damage or aging of components such as chips, resistors, and capacitors; line failures: such as loose, broken, or short-circuited connection lines; interface problems: such as damage to the input and output interfaces or poor contact, etc. Software failures include program errors: such as logical errors in the control program or improper parameter settings; virus infection: although relatively rare, in some cases, viruses or malware may also affect the normal operation of the instrumentation and control board; software Software conflicts: conflicts between different software or programs may cause the instrumentation and control board to work abnormally; communication failures include network problems: such as communication network interruption, delay or signal interference; protocol mismatch: mismatch of communication protocols between different devices may cause data transmission failure; environmental failures include electromagnetic interference: strong electromagnetic fields may interfere with the electronic components of the instrumentation and control board, affecting their normal operation; temperature is too high / too low: extreme temperature environment may cause damage to the internal components of the instrumentation and control board or performance degradation; operational failures include misoperation: incorrect settings or damage to the instrumentation and control board due to negligence or error of the operator; improper maintenance: failure to maintain and service the instrumentation and control board in accordance with specifications, resulting in performance degradation or frequent failures. The fault categories of nuclear power instrument and control boards are real-time monitoring and early warning, fault diagnosis and location, fault handling and recovery, and data recording and analysis. Real-time monitoring and early warning require the establishment of a real-time monitoring system to continuously monitor the operating status of the instrument and control boards, and promptly discover and warn of potential faults; fault diagnosis and location require that when a fault occurs, the type, location and cause of the fault can be quickly and accurately diagnosed to provide strong support for fault handling; fault handling and recovery require the formulation of a scientific and reasonable fault handling plan to quickly and effectively eliminate faults and restore the normal operation of the instrument and control boards; data recording and analysis require the recording and analysis of the operating data and fault information of the instrument and control boards to provide data support for subsequent fault prevention and optimization.
[0025] In the embodiment of the present application, after determining the fault category and fault requirement of the nuclear power instrument and control board, the simulation platform is used to draw the multi-mode fault logic function diagram corresponding to the nuclear power instrument and control board according to the fault category and fault requirement of the nuclear power instrument and control board, so as to significantly improve the efficiency of subsequent fault diagnosis and processing. It should be noted that the multi-mode fault logic function diagram corresponding to the nuclear power instrument and control board can also be obtained by other means, and the present application does not impose any restrictions on this.
[0026] S102: Encapsulating the various fault mode logic function diagrams corresponding to the nuclear power instrumentation and control board into algorithm blocks in the form of logic codes.
[0027] In the embodiments of the present application, an algorithm block, or an algorithm module, refers to encapsulating a specific algorithm or logic processing flow into an independent software module or code block, which can be called by different applications or systems to implement specific functions or process specific data. The design of the algorithm block is intended to improve the reusability, maintainability and scalability of the code. In the fault handling of nuclear power instrumentation and control boards, the algorithm block can encapsulate the logic processing flow under various fault modes so as to quickly respond to and handle faults when the system is running. By analyzing the various fault logic function diagrams corresponding to the nuclear power instrumentation and control boards, and then designing the corresponding algorithm logic based on the analysis results of the logic function diagram, this includes determining the input, output, intermediate variables and processing flow of the algorithm. When designing the algorithm, it is necessary to ensure that the algorithm can accurately reflect the logical relationship and fault handling flow in the logic function diagram, and convert the designed algorithm logic into a specific algorithm code. When writing code, it is necessary to follow the grammatical rules and coding standards of the programming language. At the same time, in order to improve the readability and maintainability of the code, it is recommended to adopt reasonable naming rules, comments and documentation descriptions, and then encapsulate the written algorithm code into independent algorithm blocks, which usually involves organizing the code into structural forms such as functions, classes, modules or packages. During the encapsulation process, it is necessary to define the interface of the algorithm block (such as input and output parameters, return values, etc.) so that other programs or modules can easily call the block. The encapsulated algorithm block is subsequently tested and verified to ensure that it can correctly execute and handle the various mode fault deductions of the nuclear power instrumentation and control board. This is because the algorithm block calculation cycle is consistent with the simulator. By adopting the task research and development technology of the simulation company, it can be highly compatible with the simulation platform. Therefore, based on the actual data and demand research and development of the nuclear power site, different fault scenarios can be simulated during the test process to observe whether the output results of the algorithm block meet expectations, that is, to determine whether the fault phenomenon is consistent with the actual DCS fault mode.
[0028] It should be noted that when encapsulating the algorithm nodes, the particularity and safety requirements of the nuclear power instrumentation and control board need to be fully considered. For example, for the fault handling process involving nuclear safety, it is necessary to ensure that the algorithm nodes can respond quickly and accurately when handling faults and avoid any possible safety risks. The design of the algorithm nodes should have certain flexibility and scalability, so that the functions of the algorithm nodes can be easily adjusted and expanded when the nuclear power instrumentation and control board is upgraded or modified in the future. When writing the algorithm code, attention should be paid to the readability and maintainability of the code. This helps other developers or maintenance personnel to quickly understand the logic and functions of the code, and modify and maintain it. Through the above steps, the various mode fault logic function diagrams corresponding to the nuclear power instrumentation and control board can be encapsulated into algorithm nodes, providing strong support for the stable operation of the nuclear power instrumentation and control system.
[0029] As an optional embodiment, the various fault logic function diagrams corresponding to the nuclear power instrumentation and control board are encapsulated into algorithm blocks in the form of logic codes, including: According to the card type and the number of channels of the nuclear power instrumentation and control card, the input and output signals of the header file and the signal input and output interfaces of the algorithm node block primitives are configured, wherein the card type of the nuclear power instrumentation and control card is an AIAO analog card and a DIDO logic card, and the number of channels of the nuclear power instrumentation and control DCS card includes a single-channel card and a multi-channel card; According to the input and output signals of the header file and the signal input and output interface of the algorithm node block element, the various mode fault logic function diagrams corresponding to the nuclear power instrumentation and control board card are encapsulated into algorithm nodes in the form of logic codes using a preset integrated algorithm.
[0030] In the embodiment of the present application, since the board type of the nuclear power instrumentation board is AIAO analog board and DIDO logic board, and the number of channels of the nuclear power instrumentation DCS board includes single-channel board and multi-channel board, the input and output signals of the header file and the signal input and output interface of the algorithm node block primitive are configured according to the board type and the number of channels of the nuclear power instrumentation board, and then according to the input and output signals of the header file and the signal input and output interface of the algorithm node block primitive, the preset integrated algorithm is used to encapsulate the various mode fault logic function diagrams corresponding to the nuclear power instrumentation board into algorithm nodes in the form of logic code, that is, the logic code of each mode fault logic function diagram is written in C language, and then the algorithm node block composed of the header file and the source file is formed in the form of an integrated algorithm. In the above manner, the present application encapsulates the logic diagram of the instrumentation board into an algorithm node in the form of logic code, which can independently represent the board function and avoid the possibility of errors caused by building a large number of logic modules. It is easy to upgrade and modify, which greatly reduces the workload of modeling. The size of the algorithm node is moderate, and the use is simple and clear, which provides powerful assistance for DCS fault deduction. It should be noted that the board type of the nuclear power instrumentation and control board can also be other analog boards, and this application does not impose any limitation on this.
[0031] For example, when the card type of the nuclear power instrumentation and control card is an AIAO analog card, for a single-channel card, 11 input signals including the DCS fault list signal, power fault reset signal, manual fault reset signal, fault reset spare signal, manual fault reset signal, breakdown reset signal, fault reset spare signal, manual fault hold signal, power supply 2 fault hold signal, card fault hold signal, and DC cabinet IO output signal are configured in the header file, as well as 3 output signals including the quality bit output value signal, fault status signal, and the signal sent to the field control. By setting the default initial value of the input signal to 0, the input and output position interfaces of the algorithm node display primitive are configured. After the configuration is completed, write the algorithm logic code. The logic diagram can be referred to in Figure 2, where mf_i represents the original DCS fault list; mf_s1a represents manual fault set to 0; mf_s1b represents power supply fault set to 0; mf_s1c represents fault set to 0 standby; mf_s2a represents manual fault set to 1; mf_s2b represents breakdown set to 1; mf_s2c represents fault set to 0 standby; mf_s3a represents manual fault hold; mf_s2b represents power supply 2 fault hold; mf_s2c represents board fault hold; f_in represents DC cabinet IO output; mf_b represents quality bit; mf_k represents fault status; maintain represents fault hold; f_ot represents sending to field control. For the program code, taking the three input signals of fault retention as an example, if any one of the three signals is triggered, the fault retention output variable can be set to 1, resulting in the triggering of the quality bit output value, so that the value of the intermediate point of the value transmission remains unchanged in this state. At this time, if other fault signals are not triggered, no matter how the input signal f_in (DC cabinet IO output) changes, its output sent to the field control f_ot will maintain the value of maintain unchanged.
[0032] For multi-channel boards, the configured fault signal will act on each channel. Under normal conditions, the output of each channel will change with the input. When 8 channels are configured in the board, when the fault hold / fault set 0 / fault set 1 signal is triggered, it will affect the output value of each channel.
[0033] For example, when the card type of the nuclear power instrumentation and control card is a DIDO logic card, for a single-channel card, 11 input signals including the DCS fault list signal, power fault reset signal, manual fault reset signal, fault reset spare signal, manual fault reset signal, breakdown reset signal, fault reset spare signal, manual fault hold signal, power supply 2 fault hold signal, card fault hold signal and DC cabinet IO output signal in the configuration header file are configured, as well as 3 output signals including the quality bit output value signal, fault status signal and the signal sent to the field control. By setting the default initial value of the input signal to 0, the input and output position interfaces of the algorithm node display graphic element are configured. After the configuration is completed, the algorithm logic code is written. The logic diagram reference Figure 3, where mf_i represents the original DCS fault list; mf_s1a represents manual fault reset; mf_s1b represents power supply fault reset; mf_s1c represents fault reset to standby; mf_s2a represents manual fault reset; mf_s2b represents breakdown reset; mf_s2c represents fault reset to standby; mf_s3a represents manual fault retention; mf_s2b represents power supply 2 fault retention; mf_s2c represents board fault retention; f_in represents DC cabinet IO output; mf_b represents quality bit; mf_k represents fault status; maintain represents fault retention; f_ot represents sending to field control. For the program code, when the three fault retention signals input are not triggered, when the input of the channel is 1, the fault retention output variable is 1; when the input of the channel is 0, the fault retention output variable is 0. When any fault hold signal is triggered, the fault hold output variable is 1. At this time, the value of the fault hold output variable no longer changes according to the change of the channel input value.
[0034] For multi-channel boards, the configured fault signal will act on each channel. Under normal conditions, the output of each channel will change with the input. When 32 channels are configured in the board, when the fault hold / fault set 0 / fault set 1 signal is triggered, it will affect the output value of each channel.
[0035] The embodiment of the present application encapsulates the various fault mode logic function diagrams corresponding to the nuclear power instrumentation and control board into algorithm nodes in the form of logic codes, which can independently represent the board functions and avoid the possibility of errors caused by building a large number of logic modules, thereby providing strong support for the stable operation of the nuclear power instrumentation and control system and the fault deduction of the nuclear power instrumentation and control system.
[0036] S103: Determine the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm block under various fault modes.
[0037] As an optional embodiment, determining the fault insertion information of the board in the cabinet device includes: Inputting the algorithm block into the simulation platform for working condition loading and testing to obtain the fault input and output parameters of the algorithm block under various fault modes; Determine whether the fault input and output parameters of the algorithm block under various fault modes match the fault signal of the nuclear power instrumentation and control board; If they match, the fault insertion information of the board in the cabinet device is determined according to the fault type of the algorithm node and its corresponding fault signal characteristics; If there is a mismatch, an error message is issued, and the algorithm block is re-input into the simulation platform for working condition loading and testing.
[0038] Specifically, after the algorithm node is inserted into the simulation platform and saved, the algorithm node is input into the simulation platform for working condition loading and testing to obtain the fault input and output parameters of the algorithm node under various fault modes, and to have an in-depth understanding of the fault input and output parameters of the algorithm node and its corresponding fault processing logic, so as to determine whether the fault input and output parameters of the algorithm node under various fault modes match the fault signal of the nuclear power instrumentation and control board. If they match, the fault type that the algorithm node can identify and its corresponding fault signal characteristics are determined, and then the cabinet equipment associated with the fault signal of the nuclear power instrumentation and control board is determined according to the fault type and its corresponding fault signal characteristics, and the fault simulation points are set in the cabinet equipment to simulate various fault signals of the nuclear power instrumentation and control board. These simulation points should be able to generate the same characteristics as the real fault signal, so as to verify the correctness and reliability of the algorithm node. Then, when performing fault simulation, the insertion time, type, parameters and corresponding algorithm node response of each fault signal are recorded to determine the fault insertion information of the board in the cabinet equipment, such as Figure 4 As shown, it is a board card operation interface in a DCS cabinet in a simulation method of a nuclear power instrumentation and control board card provided in one embodiment of the present invention, wherein the configured DCS cabinet contains multiple boards; if there is a mismatch, an error message is issued, and the algorithm block is re-input into the simulation platform for working condition loading and testing.
[0039] In the embodiment of the present application, the fault insertion information of the board in the cabinet equipment is successfully determined based on the fault input and output parameters of the algorithm block under various fault modes, so that related fault simulations can be effectively implemented, fault detection and troubleshooting can be optimized, and system safety can be improved, thereby providing a strong guarantee for the safe operation of the nuclear power instrumentation and control system.
[0040] S104: According to the fault insertion information of the board in the cabinet device, a fault simulation is performed in a simulation platform using a preset human-computer interaction interface.
[0041] In the embodiment of the present application, after obtaining the fault insertion information of the board in the cabinet equipment, the model engineer draws the human-computer interaction page in advance to make the cabinet, cage and each board in the instrumentation and control DCS more intuitive. The operator can click on the board to insert and reset the fault signal. The signal failure of each board is controlled by the operation interface, such as Figure 5 As shown, it is an analog board signal fault operation interface in a simulation method of a nuclear power instrumentation board provided in an embodiment of the present invention, wherein the board fault button corresponds to the input signal mf_s3c, the signal fault hold button corresponds to the input signal mf_s3a, the signal fault TRUE button corresponds to the input signal mf_s2a, and the signal fault FALSE button corresponds to the input signal mf_s1a. The reset button after each button will reset the value of the fault signal to 0. Figure 5 The fault operation interface and Figure 4 The corresponding board operation interface in the DCS cabinet is matched, so that the fault insertion information of the board in the cabinet equipment can be used to perform fault simulation in the simulation platform using the preset human-computer interaction interface to achieve multiple fault mode deduction of the communication board. It should be noted that the naming of each board primitive and board algorithm node is different.
[0042] As an optional embodiment, according to the fault insertion information of the board in the cabinet device, a fault simulation is performed in a simulation platform using a preset human-computer interaction interface, including: Determining the quality bit output value of the nuclear power instrumentation and control board card according to the fault insertion information of the board card in the cabinet device; According to the quality bit output value of the nuclear power instrument and control board, a fault simulation is performed in a simulation platform according to the selected fault mode using a preset human-computer interaction interface to achieve multiple fault mode deductions of the nuclear power instrument and control board.
[0043] In the embodiment of the present application, the quality bit output value of the nuclear power instrumentation and control board is determined according to the fault insertion information of the board in the cabinet device, that is, when the click Figure 4 When you click any card in the card operation interface of the DCS cabinet corresponding to the Figure 5 The fault operation interface, after inserting multiple mode faults, the output value of the quality bit of the board will become 1, and each channel in the module changes the state or value of the channel according to the selected fault mode. After the upstream and downstream are connected, the change of the value will affect the change of the simulator unit, thereby realizing the deduction of multiple fault modes of the communication board. Among them, during the deduction process, the board algorithm block can transmit values through wiring or point-to-point. The point-to-point method is to write "output algorithm block name. Parameter 1 → input algorithm block name. Parameter 2" in the point-to-point file Assign, so that the specified parameters between the output algorithm block and the input algorithm block can realize data transmission. It can be seen that each similar algorithm block has the same fault input and output point name, which is convenient for using automatic point-to-point tools for a large number of similar algorithm blocks, avoiding the misoperation of human contacts, and improving modeling efficiency.
[0044] As an optional embodiment, after performing fault simulation in a simulation platform using a preset human-computer interaction interface, the following steps are included: Analyze the risk of the nuclear power instrumentation and control board after the failure according to the simulated failure type of the nuclear power instrumentation and control board; According to the risk analysis results, fault risk disposal measures are formulated and verified on the simulation platform.
[0045] In the embodiment of the present application, the simulated fault type includes at least one of channel communication failure, switching disk redundant power failure, external input signal power loss, command output line break, controller power loss, network node failure, I / O module failure, I / O channel failure, cabinet power loss, control station power loss, processor module power loss, high-speed link failure, network and communication interface module failure, communication interface bus module failure, communication interface bus module I / O failure and data link server failure. By using a preset human-computer interaction interface to perform fault simulation according to the selected fault mode in the simulation platform, the simulated fault type of the nuclear power instrument and control board is determined, and then according to the simulated fault type of the nuclear power instrument and control board, the risk of the nuclear power instrument and control board after the failure is analyzed, and the failure risk of the nuclear power instrument and control board is obtained. According to the obtained failure risk of the nuclear power instrument and control board, fault risk disposal measures are formulated and verified on the simulation platform. It can be seen that through the analysis of simulated fault types, this application can have a more comprehensive understanding of the impact of different faults on the system, thereby accurately identifying potential risks, and then based on the risk analysis results, it can formulate special emergency response procedures and operation plans for different fault types, thereby improving the accuracy of disposal and avoiding unit operation risks caused by incomplete and inaccurate maintenance risk analysis, providing important support for continuous improvement and technological development.
[0046] In the embodiment of the present application, by performing fault simulation in a simulation platform based on the fault insertion information of the board in the cabinet equipment using a preset human-computer interaction interface, multiple modes of DCS board fault deduction are effectively implemented, thereby improving the simulation accuracy and efficiency of the nuclear power instrumentation and control board.
[0047] In summary, the present application proposes a simulation method, device, equipment and medium for a nuclear power instrument and control board, by obtaining the multiple mode fault logic function diagrams corresponding to the nuclear power instrument and control board, encapsulating the multiple mode fault logic function diagrams corresponding to the nuclear power instrument and control board into algorithm nodes in the form of logic codes, and determining the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm node under various fault modes, and performing fault simulation in the simulation platform using a preset human-computer interaction interface according to the fault insertion information of the board in the cabinet device. The present application encapsulates the multiple mode fault logic function diagrams corresponding to the nuclear power instrument and control board into algorithm nodes in the form of logic codes, which greatly reduces the modeling workload, so as to configure the cabinet device associated with the fault signal of the nuclear power instrument and control board, and then performs fault simulation in the simulation platform using a preset human-computer interaction interface according to the fault insertion information of the board in the cabinet device, thereby improving the simulation accuracy of the nuclear power instrument and control board.
[0048] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of a simulation device for a nuclear power instrumentation and control board provided by an embodiment of the present invention. Figure 1 as well as Figure 1 For the convenience of explanation, only the parts related to this embodiment are shown. Figure 6 The simulation device 60 of the nuclear power instrumentation and control board includes: an acquisition module 61, a packaging module 62, a configuration module 63, and a simulation module 64.
[0049] An acquisition module 61 is used to acquire multiple mode fault logic function diagrams corresponding to the nuclear power instrumentation and control board; The encapsulation module 62 is used to encapsulate the various fault logic function diagrams corresponding to the nuclear power instrumentation and control board into algorithm blocks in the form of logic codes; A configuration module 63, configured to determine the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm node under various fault modes; The simulation module 64 is used to perform fault simulation in a simulation platform using a preset human-computer interaction interface according to the fault insertion information of the board in the cabinet device.
[0050] In the embodiment of the present application, the acquisition module 61 is specifically used for: Obtain fault information of nuclear power instrumentation and control boards; Performing fault analysis and fault testing on the fault information to determine the fault type and fault requirements of the nuclear power instrumentation and control board; According to the fault type and fault requirements of the nuclear power instrument and control board, a simulation platform is used to draw a multi-mode fault logic function diagram corresponding to the nuclear power instrument and control board.
[0051] In the embodiment of the present application, the encapsulation module 62 is specifically used for: According to the card type and the number of channels of the nuclear power instrumentation and control card, the input and output signals of the header file and the signal input and output interfaces of the algorithm node block primitives are configured, wherein the card type of the nuclear power instrumentation and control card is an AIAO analog card and a DIDO logic card, and the number of channels of the nuclear power instrumentation and control DCS card includes a single-channel card and a multi-channel card; According to the input and output signals of the header file and the signal input and output interface of the algorithm node block element, the various mode fault logic function diagrams corresponding to the nuclear power instrumentation and control board card are encapsulated into algorithm nodes in the form of logic codes using a preset integrated algorithm.
[0052] In the embodiment of the present application, the encapsulation module 62 is also used for: The input signal of the header file includes at least one of the following: DCS fault list signal, power supply fault reset signal, manual fault reset signal, fault reset standby signal, manual fault reset signal, breakdown reset signal, fault reset standby signal, manual fault hold signal, power supply 2 fault hold signal, board fault hold signal and DC cabinet IO output signal; the output signal of the header file includes at least one of the following: quality bit output value signal, fault status signal and signal sent to field control.
[0053] In the embodiment of the present application, the configuration module 63 is specifically used for: Inputting the algorithm block into the simulation platform for working condition loading and testing to obtain the fault input and output parameters of the algorithm block under various fault modes; Determine whether the fault input and output parameters of the algorithm block under various fault modes match the fault signal of the nuclear power instrumentation and control board; If they match, the fault insertion information of the board in the cabinet device is determined according to the fault type of the algorithm node and its corresponding fault signal characteristics; If there is a mismatch, an error message is issued, and the algorithm block is re-input into the simulation platform for working condition loading and testing.
[0054] In the embodiment of the present application, the simulation module 64 is specifically used for: Determining the quality bit output value of the nuclear power instrumentation and control board card according to the fault insertion information of the board card in the cabinet device; According to the quality bit output value of the nuclear power instrumentation and control board, a fault simulation is performed in the simulation platform according to the selected fault mode using a preset human-computer interaction interface to achieve multiple fault mode deduction of the nuclear power instrumentation and control board In the embodiment of the present application, the simulation module 64 is specifically used for: Analyze the risk of the nuclear power instrumentation and control board after the failure according to the simulated failure type of the nuclear power instrumentation and control board; According to the risk analysis results, fault risk disposal measures are formulated and verified on the simulation platform.
[0055] It should be noted that the information interaction, execution process and other contents between the above-mentioned units are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0056] Figure 7 Schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Figure 7 As shown, the computer device of this embodiment includes: at least one processor ( Figure 7Only one is shown), a memory, and a computer program stored in the memory and executable on at least one processor, and when the processor executes the computer program, the steps in the above-mentioned nuclear power instrumentation and control board simulation method embodiment are implemented.
[0057] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 7 This is merely an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.
[0058] In one embodiment, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor in a computer device, the computer device can perform the steps of any embodiment of the automatic access control authorization disclosed in the present invention, which will not be repeated here. The computer-readable storage medium can be non-volatile or volatile.
[0059] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0060] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of a computer device, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of a computer device, and in other embodiments, it may also be an external storage device of the computer device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device. Further, the memory may also include both an internal storage unit of the computer device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of a computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0061] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0062] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0063] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for simulating a nuclear power instrumentation control board, characterized in that: include: Obtain the various fault logic function diagrams corresponding to the nuclear power instrumentation and control board; Encapsulating the various fault logic function diagrams corresponding to the nuclear power instrumentation and control board into algorithm blocks in the form of logic codes; Determine the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm block under various fault modes; According to the fault insertion information of the board in the cabinet device, a fault simulation is performed in the simulation platform using a preset human-computer interaction interface.
2. The method for simulating a nuclear power instrumentation control board according to claim 1, characterized in that: The method encapsulates the various fault logic function diagrams corresponding to the nuclear power instrumentation and control board into algorithm blocks in the form of logic codes, including: According to the card type and the number of channels of the nuclear power instrumentation and control card, the input and output signals of the header file and the signal input and output interfaces of the algorithm node block primitives are configured, wherein the card type of the nuclear power instrumentation and control card is an AIAO analog card and a DIDO logic card, and the number of channels of the nuclear power instrumentation and control DCS card includes a single-channel card and a multi-channel card; According to the input and output signals of the header file and the signal input and output interface of the algorithm node block element, the various mode fault logic function diagrams corresponding to the nuclear power instrumentation and control board card are encapsulated into algorithm nodes in the form of logic codes using a preset integrated algorithm.
3. The method for simulating a nuclear power instrumentation control board according to claim 2, characterized in that: The input signal of the header file includes at least one of the following: DCS fault list signal, power supply fault reset signal, manual fault reset signal, fault reset standby signal, manual fault reset signal, breakdown reset signal, fault reset standby signal, manual fault hold signal, power supply 2 fault hold signal, board fault hold signal and DC cabinet IO output signal; the output signal of the header file includes at least one of the following: quality bit output value signal, fault status signal and signal sent to field control.
4. The method for simulating a nuclear power instrumentation and control board according to claim 1, characterized in that: Said Obtain various fault logic function diagrams corresponding to nuclear power instrumentation boards, including: Obtain fault information of nuclear power instrumentation and control boards; Performing fault analysis and fault testing on the fault information to determine the fault type and fault requirements of the nuclear power instrumentation and control board; According to the fault type and fault requirements of the nuclear power instrument and control board, a simulation platform is used to draw a multi-mode fault logic function diagram corresponding to the nuclear power instrument and control board.
5. The method for simulating a nuclear power instrumentation and control board according to claim 1, characterized in that: The method of determining the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm block under various fault modes includes: Inputting the algorithm block into the simulation platform for working condition loading and testing to obtain the fault input and output parameters of the algorithm block under various fault modes; Determine whether the fault input and output parameters of the algorithm block under various fault modes match the fault signal of the nuclear power instrumentation and control board; If they match, the fault insertion information of the board in the cabinet device is determined according to the fault type of the algorithm node and its corresponding fault signal characteristics; If there is a mismatch, an error message is issued, and the algorithm block is re-input into the simulation platform for working condition loading and testing.
6. The method for simulating a nuclear power instrumentation and control board according to claim 1, characterized in that: The method of performing fault simulation in a simulation platform using a preset human-computer interaction interface according to the fault insertion information of the board in the cabinet device includes: Determining the quality bit output value of the nuclear power instrumentation and control board card according to the fault insertion information of the board card in the cabinet device; According to the quality bit output value of the nuclear power instrument and control board, a fault simulation is performed in a simulation platform according to the selected fault mode using a preset human-computer interaction interface to achieve multiple fault mode deductions of the nuclear power instrument and control board.
7. The method for simulating a nuclear power instrumentation and control board according to claim 1, characterized in that: After the fault simulation is performed in the simulation platform using the preset human-computer interaction interface, the method includes: Analyze the risk of the nuclear power instrumentation and control board after the failure according to the simulated failure type of the nuclear power instrumentation and control board; According to the risk analysis results, fault risk disposal measures are formulated and verified on the simulation platform.
8. A simulation device for a nuclear power instrumentation control board, characterized in that: include: An acquisition module is used to obtain the fault logic function diagrams of various modes corresponding to the nuclear power instrumentation and control board; A packaging module, used for packaging various fault logic function diagrams corresponding to the nuclear power instrumentation and control board into algorithm blocks in the form of logic codes; A configuration module, used to determine the fault insertion information of the board in the cabinet device based on the fault input and output parameters of the algorithm node under various fault modes; The simulation module is used to perform fault simulation in a simulation platform using a preset human-computer interaction interface according to the fault insertion information of the board in the cabinet device.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the simulation method of the nuclear power instrumentation and control board card according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the simulation method of the nuclear power instrumentation and control board card according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Instrument control card fault diagnosis system and method
CN111948511A
Data processing method, device and system applied to nuclear power station hardware instrument control system
CN117806282A
DCS hard logic virtualization method and device
CN117826637A
Nuclear-grade instrument control system simulation method, system and device based on mirror image virtualization
CN118859747A
Cited By
Control system of nuclear power steam turbine and reliability analysis method
CN119882396A
Method and system for debugging man-machine interaction equipment for nuclear power simulation
CN121386703A