A simulation method, device, equipment and medium for a nuclear power instrument control board

By obtaining and packaging the fault logic function diagram of the nuclear power instrument control board card, determining the fault insertion information of the cabinet equipment, and performing fault simulation in the simulation platform, the problem of insufficient simulation accuracy of the nuclear power instrument control board card in the existing technology is solved, and higher simulation accuracy and efficiency are achieved.

CN119292245BActive Publication Date: 2025-06-17YANGJIANG NUCLEAR POWER +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411819430.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-06-17
Estimated Expiration
2044-12-11

AI Technical Summary

Technical Problem

The prior art cannot effectively improve the simulation accuracy of the nuclear power instrument control board, especially when simulating various failure modes such as power failure, board failure and signal failure.

Method used

By obtaining the various mode fault logic function diagrams corresponding to the nuclear power instrument control board, encapsulate it into algorithmic blocks, and determining the fault insertion information of the board in the cabinet equipment based on these blocks, and using the preset human-computer interaction interface to perform fault simulation in the simulation platform.

Benefits of technology

The simulation accuracy of the nuclear power instrument control board card is improved, the modeling workload is reduced, and the cabinet equipment associated with the failure signal of the nuclear power instrument control board card is effectively configured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292245B_ABST
    Figure CN119292245B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of nuclear power plant instrument control simulation, and particularly to a simulation method, device, equipment and medium for nuclear power instrument control board cards, so as to solve the problem that the existing technology cannot improve the simulation accuracy of nuclear power instrument control board cards. The simulation method for the nuclear power instrument control board card includes: obtaining various mode fault logic function diagrams corresponding to the nuclear power instrument control board card; encapsulating the various mode fault logic function diagrams corresponding to the nuclear power instrument control board card into algorithm blocks in the form of logic codes; determining the fault insertion information of the board cards in the cabinet equipment based on the fault input and output parameters of the algorithm blocks in various fault modes; and performing fault simulation in the simulation platform by using a preset human-computer interaction interface according to the fault insertion information of the board cards in the cabinet equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of nuclear power plant instrument control simulation, and particularly to a simulation method, device, equipment and medium for nuclear power instrument control boards. Background Art

[0002] With the development of digital instrument control technology, the distributed control system (DCS) has been widely used in nuclear power plants due to its characteristics such as decentralized control and centralized monitoring, and the control process is reliable and stable. The distributed control system (DCS) brings many conveniences and advantages to the operation and maintenance of nuclear power unit instrument control professionals and equipment management, and at the same time greatly improves the complexity of system commissioning and operation and maintenance.

[0003] Currently, the faults of the distributed control system (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 cages and the boards in them in the cabinet, and there is insufficient simulation of various fault modes such as power supply faults, board faults, and signal faults required at the instrument control board level, resulting in poor simulation accuracy of nuclear power instrument control boards. Therefore, how to improve the simulation accuracy of nuclear power instrument control boards has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the Invention

[0004] Based on this, in view of the above technical problems, embodiments of the present invention provide a simulation method, device, equipment and medium for nuclear power instrument control boards to solve the problem that the existing technology cannot improve the simulation accuracy of nuclear power instrument control boards.

[0005] The first aspect of the embodiments of the present application provides a simulation method for nuclear power instrument control boards, and the simulation method for nuclear power instrument control boards includes:

[0006] Obtain various mode fault logic function diagrams corresponding to nuclear power instrument control boards;

[0007] Encapsulate the various mode fault logic function diagrams corresponding to the nuclear power instrument control boards into algorithm blocks in the form of logic codes;

[0008] Based on the fault input and output parameters of the algorithm block in various fault modes, determine the fault insertion information of the boards in the cabinet equipment;

[0009] According to the fault insertion information of the boards in the cabinet equipment, use a preset human-computer interaction interface to perform fault simulation in the simulation platform.

[0010] The second aspect of the embodiments of the present application provides a simulation device for nuclear power instrument control boards, and the simulation device for nuclear power instrument control boards includes:

[0011] An obtaining module, configured to obtain various mode fault logic function diagrams corresponding to nuclear power instrument control boards;

[0012] An encapsulation module, configured to encapsulate various mode fault logic function diagrams corresponding to the nuclear power I&C board cards into algorithm blocks in the form of logic codes;

[0013] A configuration module, configured to determine the fault insertion information of the board cards in the cabinet equipment based on the fault input and output parameters of the algorithm blocks in various fault modes;

[0014] A simulation module, configured to perform fault simulation in the simulation platform by using a preset human-computer interaction interface according to the fault insertion information of the board cards in the cabinet equipment.

[0015] In a third aspect, an embodiment of the present invention provides a computer device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the simulation method of the nuclear power I&C board card as described in the first aspect is implemented.

[0016] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. The computer program, when executed by a processor, implements the simulation method of the nuclear power I&C board card as described in the first aspect above.

[0017] In summary, the present application proposes a simulation method, device, equipment, and medium for nuclear power I&C board cards. By obtaining various mode fault logic function diagrams corresponding to the nuclear power I&C board cards, encapsulating the various mode fault logic function diagrams corresponding to the nuclear power I&C board cards into algorithm blocks in the form of logic codes, determining the fault insertion information of the board cards in the cabinet equipment based on the fault input and output parameters of the algorithm blocks in various fault modes, and performing fault simulation in the simulation platform by using a preset human-computer interaction interface according to the fault insertion information of the board cards in the cabinet equipment. The present application encapsulates the various mode fault logic function diagrams corresponding to the nuclear power I&C board cards into algorithm blocks in the form of logic codes, greatly reducing the modeling workload, configuring the cabinet equipment associated with the fault signals of the nuclear power I&C board cards, and then performing fault simulation in the simulation platform by using a preset human-computer interaction interface according to the fault insertion information of the board cards in the cabinet equipment, thereby improving the simulation accuracy of the nuclear power I&C board cards. Description of the Drawings

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1 It is a schematic flowchart of a simulation method for a nuclear power instrument control board card provided in an embodiment of the present invention;

[0020] Figure 2 It is a logic diagram of an AI / AO analog board card in a simulation method for a nuclear power instrument control board card provided in an embodiment of the present invention;

[0021] Figure 3 It is a logic diagram of a DI / DO analog board card in a simulation method for a nuclear power instrument control board card provided in an embodiment of the present invention;

[0022] Figure 4 It is an operation interface of a board card in a DCS cabinet in a simulation method for a nuclear power instrument control board card provided in an embodiment of the present invention;

[0023] Figure 5 It is an operation interface for signal faults of an analog board card in a simulation method for a nuclear power instrument control board card provided in an embodiment of the present invention;

[0024] Figure 6 It is a schematic structural diagram of a simulation device for a nuclear power instrument control board card provided in an embodiment of the present invention;

[0025] Figure 7 It is a schematic structural diagram of a computer device provided in an embodiment of the present invention. Detailed implementation manners

[0026] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0027] It should be understood that when used in the specification and the appended claims of the present invention, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0028] It should also be understood that the term " / and" as used in the specification and the appended claims of the present invention refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0029] As used in the specification of the present invention and the appended claims, the term "if" may be construed as "when" or "once" or "in response to determining" depending on the context. Similarly, the phrase "if it is determined" or "if [the described condition or event] is matched" may be construed as meaning "once it is determined" or "in response to determining" or "once [the described condition or event] is matched" or "in response to [the described condition or event] being matched" depending on the context.

[0030] In addition, in the description of the specification of the present invention and the appended claims, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be construed as indicating or implying relative importance.

[0031] Reference to "one embodiment" or "some embodiments" or the like described in the specification of the present invention means that a specific feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present invention. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still 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 another way. The terms "comprising", "including", "having", and their variants all mean "including but not limited to", unless otherwise specifically emphasized in another way.

[0032] It should be understood that the magnitudes of the sequence numbers of the steps in the following embodiments do not mean the order of execution is prior or subsequent. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

[0033] In order to illustrate the technical solution of the present invention, the following specific embodiments are used for illustration.

[0034] Figure 1 is a flowchart of a simulation method for a nuclear power instrument control board card shown according to an exemplary embodiment of the present application. As Figure 1 shown, the simulation method for the nuclear power instrument control board card is implemented through the following steps.

[0035] S101: Obtain various mode fault logic function diagrams corresponding to the nuclear power instrument control board card.

[0036] In the embodiments of the present application, the nuclear power instrument control board is a basic component unit of the DCS fault deduction system, and the multi-mode fault logic function diagram is a diagram used to describe the logic function and fault handling process of the nuclear power instrument control board in different fault modes. This kind of fault logic function diagram usually includes the following information: fault mode, logic function, fault detection and location, and fault handling, etc. Among them, the fault mode lists various fault types that the board may encounter, such as hardware faults, software faults, communication faults, etc.; the logic function describes how the control logic of the board responds in each fault mode, including signal transmission, processing, and final fault handling measures; the fault detection and location shows how to detect and locate faults through logical judgment, including sensors used, detection algorithms, etc.; the fault handling explains what measures the board will take to recover 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 instrument control board, the present application can significantly improve the efficiency of subsequent fault diagnosis to ensure its safe and efficient operation.

[0037] As an alternative embodiment, obtaining the multi-mode fault logic function diagram corresponding to the nuclear power instrument control board includes:

[0038] Obtain the fault information of the nuclear power instrument control board;

[0039] Conduct fault analysis and fault tests on the fault information to determine the fault category and fault requirements of the nuclear power instrument control board;

[0040] According to the fault category and fault requirements of the nuclear power instrument control board, use the simulation platform to draw the multi-mode fault logic function diagram corresponding to the nuclear power instrument control board.

[0041] In the embodiments of the present application, the fault information of the nuclear power I&C board cards may include problem repair orders, fault analysis reports, meeting minutes, etc. The scope of collection of fault information may be fault information, fault diagnosis information, false alarm information, applicability of test equipment, usage and maintenance opinions, etc. that occur during the use and maintenance of the product. Based on machine learning algorithms, fault analysis and fault tests are performed on the fault information to determine the fault categories and fault requirements of the nuclear power I&C board cards. Among them, the fault categories of the nuclear power I&C board cards include hardware faults, software faults, communication faults, environmental faults, and operation faults, etc. Hardware faults include component damage: such as damage or aging of components such as chips, resistors, and capacitors; circuit faults: such as loose, broken, or short-circuited connection lines; interface problems: such as damage or poor contact of input / output interfaces, etc. Software faults include program errors: such as logical errors or improper parameter settings in control programs; virus infections: although relatively rare, in some cases, viruses or malware may also affect the normal operation of the I&C board cards; software conflicts: conflicts between different software or programs may cause the I&C board cards to work abnormally. Communication faults include network problems: such as communication network interruptions, delays, or signal interferences; protocol mismatches: mismatches in communication protocols between different devices may cause data transmission failures. Environmental faults include electromagnetic interference: strong electromagnetic fields may interfere with the electronic components of the I&C board cards, affecting their normal operation; too high / low temperature: extreme temperature environments may cause damage to the internal components of the I&C board cards or a decline in performance. Operation faults include misoperations: the I&C board card settings are incorrectly set or damaged due to the negligence or mistakes of the operators; improper maintenance: the I&C board cards are not maintained and serviced in accordance with the specifications, resulting in a decline in their performance or frequent failures. And the fault categories of the nuclear power I&C board cards are real-time monitoring and early warning, fault diagnosis and location, fault handling and recovery, and data recording and analysis, etc. Real-time monitoring and early warning require the establishment of a real-time monitoring system to continuously monitor the operating status of the I&C board cards and promptly discover and warn of potential faults; fault diagnosis and location require being able to quickly and accurately diagnose the fault type, location, and cause when a fault occurs, providing strong support for fault handling; fault handling and recovery require formulating a scientific and reasonable fault handling plan to quickly and effectively eliminate the fault and restore the normal operation of the I&C board cards; data recording and analysis require recording and analyzing the operating data and fault information of the I&C board cards to provide data support for subsequent fault prevention and optimization.

[0042] In the embodiments of the present application, after determining the fault categories and fault requirements of the nuclear power I&C board cards, furthermore, according to the fault categories and fault requirements of the nuclear power I&C board cards, a variety of mode fault logic function diagrams corresponding to the nuclear power I&C board cards are drawn using a simulation platform, so as to significantly improve the efficiency of subsequent fault diagnosis and handling. It should be noted that the variety of mode fault logic function diagrams corresponding to the nuclear power I&C board cards can also be obtained through other means, and the present application does not impose any restrictions on this.

[0043] S102: Encapsulate the multiple - mode fault logic function diagrams corresponding to the nuclear power I&C board cards into algorithm blocks in the form of logic codes.

[0044] In the embodiments of this application, an algorithm block (Algorithm Block), also known as an algorithm module, refers to encapsulating a specific algorithm or logical processing flow into an independent software module or code block. These modules can be called by different application programs or systems to achieve specific functions or process specific data. The design of algorithm blocks aims to improve the reusability, maintainability, and scalability of the code. In the fault handling of nuclear power I&C board cards, algorithm blocks can encapsulate the logical processing flows in various fault modes to quickly respond to and handle faults during system operation. By analyzing the multiple - mode fault logic function diagrams corresponding to the nuclear power I&C board cards, and then based on the analysis results of the logic function diagrams, design the corresponding algorithm logic, which includes determining the input, output, intermediate variables, and processing flow of the algorithm, etc. When designing the algorithm, it is necessary to ensure that the algorithm can accurately reflect the logical relationship and fault handling process in the logic function diagram, and transform the designed algorithm logic into specific algorithm code. When writing the code, it is necessary to follow the syntax rules and coding specifications 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 structures such as functions, classes, modules, or packages. During the encapsulation process, it is necessary to define the interfaces of the algorithm blocks (such as input and output parameters, return values, etc.) so that other programs or modules can easily call this block. Subsequently, test and verify the encapsulated algorithm blocks to ensure that they can correctly execute and handle the multiple - mode fault deduction of the nuclear power I&C board cards. This is because the calculation cycle of the algorithm blocks is consistent with that of the simulator, and by adopting the task R & D technology of the simulation company, it can be highly compatible with the simulation platform. Therefore, based on the actual data and requirements on the nuclear power site during R & D, in the testing process, different fault scenarios can be simulated to observe whether the output results of the algorithm blocks meet the expectations, that is, to determine whether the fault phenomenon is consistent with the actual DCS fault mode.

[0045] It should be noted that when encapsulating the algorithm section block, the particularity and safety requirements of the nuclear power instrument control board card need to be fully considered. For example, for the fault handling process involving nuclear safety, it is necessary to ensure that the algorithm section block can respond quickly and accurately when dealing with faults and avoid any possible safety risks. The design of the algorithm section block should have a certain degree of flexibility and scalability so that it can be easily adjusted and extended when upgrading or modifying the nuclear power instrument control board card 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 quickly understand the logic and function of the code and modify and maintain it. Through the above steps, the multiple-mode fault logic function diagrams corresponding to the nuclear power instrument control board card can be encapsulated into algorithm section blocks, providing strong support for the stable operation of the nuclear power instrument control system.

[0046] As an alternative embodiment, encapsulating the multiple-mode fault logic function diagrams corresponding to the nuclear power instrument control board card into algorithm section blocks in the form of logic code includes:

[0047] Configuring the input and output signals of the header file and the signal input and output interfaces of the algorithm section block diagram elements according to the board card type and channel number of the nuclear power instrument control board card, where the board card type of the nuclear power instrument control board card is an AIAO analog board card and a DIDO logic board card, and the channel number of the nuclear power instrument control DCS board card includes single-channel board cards and multi-channel board cards;

[0048] Using a preset integration algorithm, encapsulating the multiple-mode fault logic function diagrams corresponding to the nuclear power instrument control board card into algorithm section blocks in the form of logic code according to the input and output signals of the header file and the signal input and output interfaces of the algorithm section block diagram elements.

[0049] In the embodiments of the present application, since the card types of nuclear power I&C boards are AIAO analog boards and DIDO logic boards, and the number of channels of nuclear power I&C DCS boards includes single-channel boards and multi-channel boards, by configuring the input and output signals of the header file and the signal input and output interfaces of the algorithm block diagram elements according to the card type and the number of channels of the nuclear power I&C board, and then using a preset integration algorithm based on the input and output signals of the header file and the signal input and output interfaces of the algorithm block diagram elements, multiple mode fault logic function diagrams corresponding to the nuclear power I&C board are encapsulated into algorithm blocks in the form of logic codes, that is, the logic codes of each mode fault logic function diagram are written in C language, and then an algorithm block composed of a header file and a source file is formed in the way of an integration algorithm. Through the above method, the present application encapsulates the logic diagram of the I&C board into an algorithm block in the form of logic codes, which can independently represent the card function and avoid the possibility of errors caused by building a large number of logic modules. It is easy to upgrade and modify, greatly reducing the modeling workload. The size of the algorithm block is moderate, and it is simple and clear to use, providing strong assistance for DCS fault deduction. It should be noted that the card type of the nuclear power I&C board can also be other analog boards, and the present application does not make any limitation on this.

[0050] Exemplarily, when the card type of the nuclear power I&C board is an AIAO analog board, for a single-channel board, configure 11 input signals in the header file, such as DCS fault list signal, power failure set to 0 signal, manual fault set to 0 signal, fault set to 0 spare signal, manual fault set to 1 signal, breakdown set to 1 signal, fault set to 1 spare signal, manual fault hold signal, power supply 2 fault hold signal, board card fault hold signal, and DC cabinet IO output signal, and 3 output signals including quality bit output value signal, fault status signal, and signal sent to field control. By setting the default initial value of the input signal to 0, configure the input and output position interfaces of the algorithm block display element. After the configuration is completed, write the algorithm logic code, and the logic diagram reference Figure 2, where mf_i represents the original DCS fault list; mf_s1a represents manual fault setting to 0; mf_s1b represents power failure setting to 0; mf_s1c represents spare fault setting to 0; mf_s2a represents manual fault setting to 1; mf_s2b represents breakdown setting to 1; mf_s2c represents spare fault setting to 0; mf_s3a represents manual fault holding; mf_s2b represents power supply 2 fault holding; mf_s2c represents board fault holding; f_in represents the DC cabinet IO output; mf_b represents the quality bit; mf_k represents the fault status; maintain represents fault holding; f_ot represents the output sent to the on-site control. For the program code among them, taking the three input signals of fault holding as an example, if any one of the three signals is triggered, the fault holding output variable can be made 1, resulting in triggering the output value of the quality bit, making the value of the transfer intermediate point maintain 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 on-site control f_ot will maintain the value of maintain unchanged.

[0051] For multi-channel boards, the configured fault signals will act on each channel. In the normal state, the output of each channel will change with the input. When 8 channels are configured in the board, when the fault holding / fault setting to 0 / fault setting to 1 signal is triggered, it will affect the output values of each channel.

[0052] Exemplarily, when the board type of the nuclear power I&C board is the DIDO logic board, for a single-channel board, 11 input signals including the DCS fault list signal, power failure setting to 0 signal, manual fault setting to 0 signal, spare fault setting to 0 signal, manual fault setting to 1 signal, breakdown setting to 1 signal, spare fault setting to 1 signal, manual fault holding signal, power supply 2 fault holding signal, board fault holding signal, and DC cabinet IO output signal in the configuration header file, as well as 3 output signals including the quality bit output value signal, fault status signal, and output signal sent to the on-site control, by setting the default initial value of the input signal to 0, configuring the input and output position interfaces of the algorithm section block display primitive, and writing the algorithm logic code after the configuration is completed, the logic diagram is referenced Figure 3, where mf_i represents the original DCS fault list; mf_s1a represents manual fault setting to 0; mf_s1b represents power fault setting to 0; mf_s1c represents spare fault setting to 0; mf_s2a represents manual fault setting to 1; mf_s2b represents breakdown setting to 1; mf_s2c represents spare fault setting to 0; mf_s3a represents manual fault holding; mf_s2b represents power supply 2 fault holding; mf_s2c represents board card fault holding; f_in represents DC cabinet IO output; mf_b represents quality bit; mf_k represents fault status; maintain represents fault holding; f_ot represents sent to on-site control. For the program code among them, when none of the 3 fault holding signals input is triggered and the input of the channel is 1 at this time, the fault holding output variable is 1; when the input of the channel is 0, the fault holding output variable is 0. When any fault holding signal is triggered, the fault holding output variable is 1, and at this time, the value of the fault holding output variable no longer changes according to the change of the channel input value.

[0053] For a multi-channel board card, the configured fault signals will act on each channel. In the normal state, the output of each channel will change with the change of the input. When there are 32 channels configured in the board card, when the fault holding / fault setting to 0 / fault setting to 1 signals are triggered, it will affect the output values of each channel.

[0054] In the embodiment of the present application, the multiple-mode fault logic function diagrams corresponding to the nuclear power instrument control board card are encapsulated into algorithm blocks in the form of logic codes, which can independently represent the board card functions, avoid the possible errors caused by building a large number of logic modules, and thus provide strong support for the stable operation of the nuclear power instrument control system and the fault deduction of the nuclear power instrument control system.

[0055] S103: Determine the fault insertion information of the board card in the cabinet equipment based on the fault input and output parameters of the algorithm block in various fault modes.

[0056] As an optional embodiment, determining the fault insertion information of the board card in the cabinet equipment includes:

[0057] Input 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 in various fault modes;

[0058] Judge whether the fault input and output parameters of the algorithm block in various fault modes match the fault signals of the nuclear power instrument control board card;

[0059] If they match, determine the fault insertion information of the board card in the cabinet equipment according to the fault type of the algorithm block and the corresponding fault signal characteristics;

[0060] If there is no match, an error prompt is issued, and the algorithm block is re - input into the simulation platform for working condition loading and testing.

[0061] Specifically, after inserting and saving the algorithm block in the simulation platform, the algorithm block is input into the simulation platform for working condition loading and testing to obtain the fault input - output parameters of the algorithm block under various fault modes, deeply understand the fault input - output parameters of the algorithm block and their corresponding fault handling logics, and thus judge whether the fault input - output parameters of the algorithm block under various fault modes match the fault signals of the nuclear power I&C board. If they match, determine the fault types that the algorithm block can identify and the corresponding fault signal characteristics, and then, based on the fault types and their corresponding fault signal characteristics, determine the cabinet equipment associated with the fault signals of the nuclear power I&C board, and set fault simulation points in the cabinet equipment to simulate various fault signals of the nuclear power I&C board. These simulation points should be able to generate the same characteristics as the real fault signals to verify the correctness and reliability of the algorithm block. Furthermore, when performing fault simulation, record the insertion time, type, parameters of each fault signal and the corresponding response of the algorithm block to determine the fault insertion information of the board in the cabinet equipment, as Figure 4 As shown, it is the operation interface of the board in the DCS cabinet in a simulation method of a nuclear power I&C board provided in an embodiment of the present invention. The configured DCS cabinet contains multiple boards; if there is no match, an error prompt is issued, and the algorithm block is re - input into the simulation platform for working condition loading and testing.

[0062] In the embodiment of the present application, based on the fault input - output parameters of the algorithm block under various fault modes, the fault insertion information of the board in the cabinet equipment is successfully determined, so as to effectively implement relevant fault simulations, optimize fault detection and troubleshooting, and improve system safety in the follow - up, providing a strong guarantee for the safe operation of the nuclear power I&C system.

[0063] S104: According to the fault insertion information of the board in the cabinet equipment, use a preset human - machine interaction interface to perform fault simulation in the simulation platform.

[0064] In the embodiment of the present application, after obtaining the fault insertion information of the board in the cabinet equipment, the model engineer pre - draws a human - machine interaction page to make the cabinets, cages and each board in the I&C DCS more intuitive. The operator can click on the board to insert and reset the fault signals. The signal fault of each board is controlled by the operation interface, as Figure 5As shown, it is the analog quantity board card signal fault operation interface in an analog method of a nuclear power instrument control board card provided in an embodiment of the present invention. Among them, the board card 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, the signal fault FALSE button corresponds to the input signal mf_s1a, and the reset button after each button will reset the value of the fault signal to 0. By matching the Figure 5 fault operation interface with the Figure 4 corresponding board card operation interface in the DCS cabinet, so that subsequent fault simulation can be carried out in the simulation platform according to the fault insertion information of the board card in the cabinet equipment by using the preset human-machine interaction interface, so as to realize the deduction of various fault modes of the communication board. It should be noted that the naming of each board card primitive and board card algorithm section is different.

[0065] As an optional embodiment, fault simulation is carried out in the simulation platform according to the fault insertion information of the board card in the cabinet equipment by using the preset human-machine interaction interface, including:

[0066] Determine the quality bit output value of the nuclear power instrument control board card according to the fault insertion information of the board card in the cabinet equipment;

[0067] According to the quality bit output value of the nuclear power instrument control board card, use the preset human-machine interaction interface to perform fault simulation in the simulation platform according to the selected fault mode, so as to realize the deduction of various fault modes of the nuclear power instrument control board card.

[0068] In the embodiment of the present application, by determining the quality bit output value of the nuclear power instrument control board card according to the fault insertion information of the board card in the cabinet equipment, that is, when clicking on any board card of the board card operation interface in the DCS cabinet corresponding to Figure 4 , the Figure 5 fault operation interface will pop up. After inserting various mode faults, the output value of the quality bit output of the board card will become 1, and the states or values of the channels in the module will change according to the selected fault mode. After upstream and downstream connection, the change of the value will affect the change of the simulator unit, so as to realize the deduction of various fault modes of the communication board. Among them, during the deduction process, the board card algorithm section can perform numerical transmission by wiring or point-to-point. The point-to-point method is to write "output algorithm section name.parameter1 → input algorithm section name.parameter2" in the point-to-point file Assign to enable data transmission between the output algorithm section and the input algorithm section for the specified parameters. It can be seen that each similar algorithm section has the same fault input and output point names, which is convenient for using the automatic point-to-point tool for a large number of similar algorithm sections, avoiding misoperation of manual connections, and improving the modeling efficiency.

[0069] As an alternative embodiment, after performing fault simulation in the simulation platform using a preset human-machine interface, it includes:

[0070] Analyze the risks of the nuclear power I&C board after the fault according to the simulated fault type of the nuclear power I&C board;

[0071] Formulate fault risk handling measures according to the risk analysis results and verify them in the simulation platform.

[0072] In the embodiment of the present application, the simulated fault types at least include one of channel communication fault, switching board redundant power supply fault, external input signal power loss, command output line open circuit, controller power loss, network node fault, I / O module fault, I / O channel fault, cabinet power loss, control station power loss, processor module power loss, high-speed link failure, network and communication interface module fault, communication interface bus module fault, communication interface bus module I / O fault, and data link server fault. After performing fault simulation in the simulation platform according to the selected fault mode using a preset human-machine interface, the simulated fault type of the nuclear power I&C board is determined, and then the risks of the nuclear power I&C board after the fault are analyzed according to the simulated fault type of the nuclear power I&C board to obtain the fault risk of the nuclear power I&C board. Based on the obtained fault risk of the nuclear power I&C board, fault risk handling measures are formulated and verified in the simulation platform. It can be seen that through the analysis of the simulated fault types, the present application can more comprehensively understand the impact of different faults on the system, accurately identify potential risks, and then, based on the risk analysis results, can formulate special emergency response procedures and operation plans for different fault types, thereby improving the handling accuracy and avoiding the operation risks of the unit caused by incomplete and inaccurate maintenance risk analysis, providing important support for continuous improvement and technological development.

[0073] In the embodiment of the present application, by using the fault insertion information of the board in the cabinet equipment and performing fault simulation in the simulation platform using a preset human-machine interface, the fault deduction of DCS board components in multiple modes is effectively realized, thereby improving the simulation accuracy and efficiency of the nuclear power I&C board.

[0074] In summary, the present application proposes a simulation method, device, equipment, and medium for nuclear power instrument control boards. By obtaining various mode fault logic function diagrams corresponding to the nuclear power instrument control boards, encapsulating the various mode fault logic function diagrams corresponding to the nuclear power instrument control boards into algorithm blocks in the form of logic codes, determining the fault insertion information of the boards in the cabinet equipment based on the fault input and output parameters of the algorithm blocks in various fault modes, and performing fault simulation in the simulation platform using a preset human-machine interaction interface according to the fault insertion information of the boards in the cabinet equipment. The present application encapsulates the various mode fault logic function diagrams corresponding to the nuclear power instrument control boards into algorithm blocks in the form of logic codes, greatly reducing the modeling workload, configuring the cabinet equipment associated with the fault signals of the nuclear power instrument control boards, and then performing fault simulation in the simulation platform using a preset human-machine interaction interface according to the fault insertion information of the boards in the cabinet equipment, thereby improving the simulation accuracy of the nuclear power instrument control boards.

[0075] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of a simulation device for nuclear power instrument control boards provided by an embodiment of the present invention. Specifically, please refer to Figure 1 and Figure 1 the relevant descriptions in the corresponding embodiments. For the sake of convenience of description, only the parts related to this embodiment are shown. Refer to Figure 6 , the simulation device 60 for nuclear power instrument control boards includes: an acquisition module 61, an encapsulation module 62, a configuration module 63, and a simulation module 64.

[0076] The acquisition module 61 is used to acquire various mode fault logic function diagrams corresponding to the nuclear power instrument control boards;

[0077] The encapsulation module 62 is used to encapsulate the various mode fault logic function diagrams corresponding to the nuclear power instrument control boards into algorithm blocks in the form of logic codes;

[0078] The configuration module 63 is used to determine the fault insertion information of the boards in the cabinet equipment based on the fault input and output parameters of the algorithm blocks in various fault modes;

[0079] The simulation module 64 is used to perform fault simulation in the simulation platform using a preset human-machine interaction interface according to the fault insertion information of the boards in the cabinet equipment.

[0080] In the embodiment of the present application, the acquisition module 61 is specifically used for:

[0081] acquiring the fault information of the nuclear power instrument control boards;

[0082] performing fault analysis and fault tests on the fault information to determine the fault categories and fault requirements of the nuclear power instrument control boards;

[0083] According to the fault categories and fault requirements of the nuclear power I&C board cards, use the simulation platform to draw various mode fault logic function diagrams corresponding to the nuclear power I&C board cards.

[0084] In the embodiment of the present application, the encapsulation module 62 is specifically used for:

[0085] According to the board card type and channel number of the nuclear power I&C board card, configure the input and output signals of the header file and the signal input and output interfaces of the algorithm block diagram elements. Among them, the board card type of the nuclear power I&C board card is an AIAO analog board card and a DIDO logic board card, and the channel number of the nuclear power I&C DCS board card includes single-channel board cards and multi-channel board cards;

[0086] According to the input and output signals of the header file and the signal input and output interfaces of the algorithm block diagram elements, use a preset integration algorithm to encapsulate the various mode fault logic function diagrams corresponding to the nuclear power I&C board card into algorithm blocks in the form of logic codes.

[0087] In the embodiment of the present application, the encapsulation module 62 is further used for:

[0088] The input signals of the header file include at least one of the following: DCS fault list signal, power failure set to 0 signal, manual fault set to 0 signal, fault set to 0 standby signal, manual fault set to 1 signal, breakdown set to 1 signal, fault set to 1 standby signal, manual fault hold signal, power supply 2 fault hold signal, board card fault hold signal, and DC cabinet IO output signal. The output signals of the header file include at least one of the following: quality bit output value signal, fault status signal, and signal sent to on-site control.

[0089] In the embodiment of the present application, the configuration module 63 is specifically used for:

[0090] Input 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 in various fault modes;

[0091] Judge whether the fault input and output parameters of the algorithm block in various fault modes match the fault signals of the nuclear power I&C board card;

[0092] If they match, determine the fault insertion information of the board card in the cabinet equipment according to the fault type of the algorithm block and its corresponding fault signal characteristics;

[0093] If they do not match, issue an error prompt and re-enter the algorithm block into the simulation platform for working condition loading and testing.

[0094] In the embodiment of the present application, the simulation module 64 is specifically used for:

[0095] Determine the quality bit output value of the nuclear power I&C board according to the fault insertion information of the board in the cabinet device;

[0096] According to the quality bit output value of the nuclear power I&C board, use a preset man-machine interface to perform fault simulation in the simulation platform according to the selected fault mode, so as to realize the deduction of various fault modes of the nuclear power I&C board

[0097] In the embodiment of the present application, after the simulation module 64, it is specifically used for:

[0098] Analyze the risk of the nuclear power I&C board after the fault according to the simulated fault type of the nuclear power I&C board;

[0099] According to the risk analysis result, formulate fault risk disposal measures and verify them in the simulation platform.

[0100] It should be noted that for the information interaction, execution process, etc. between the above units, since they are based on the same concept as the method embodiment of the present invention, their specific functions and the technical effects brought are specifically described in the method embodiment part, and will not be repeated here.

[0101] Figure 7 It is a schematic structural diagram of a computer device provided by an embodiment of the present invention. As Figure 7 shown, the computer device of this embodiment includes: at least one processor ( Figure 7 only one is shown in the figure), a memory, and a computer program stored in the memory and executable on at least one processor. When the processor executes the computer program, it implements the steps in the method embodiment of the above-mentioned simulation method of the nuclear power I&C board.

[0102] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 7 merely examples of computer devices do not constitute a limitation to computer devices. A computer device may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, it may also include a network interface, a display screen, and an input device, etc.

[0103] In one embodiment, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by the processor in the computer device, the computer device can execute 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 may be non-volatile or volatile.

[0104] The so-called processor may be a CPU, and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0105] The memory includes a readable storage medium, internal memory, etc. Among them, the internal memory may be the memory of the 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 the hard disk of the computer device, and in some other embodiments, it may also be an external storage device of the computer device. For example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Further, the memory may also include both the internal storage unit of the computer device and the external storage device. The memory is used to store the operating system, application programs, boot loaders, data, and other programs, such as the program code of computer programs. The memory may also be used to temporarily store data that has been output or will be output.

[0106] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. This 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 methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in this application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0107] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, 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. Each functional unit and module in the embodiments can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present invention. The specific working processes of the units and modules in the above device can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein. 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.

[0108] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included within 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; The method of 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 includes: 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 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 primitive, the various mode fault logic function diagrams corresponding to the nuclear power instrumentation and control board card are encapsulated into algorithm node blocks in the form of logic codes using a preset integrated algorithm; Among them, using the preset integrated algorithm, 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: The logic codes of the fault logic function diagrams of each mode corresponding to the nuclear power instrumentation and control board are written in C language, and then an algorithm block consisting of a header file and a source file is formed in an integrated algorithm manner.

2. The method for simulating a nuclear power instrumentation control board according to claim 1, 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.

3. The method for simulating a nuclear power instrumentation control board according to claim 1, characterized in that: The method of obtaining the multiple fault logic function diagrams corresponding to the nuclear power instrumentation and control board includes: 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.

4. The method for simulating a nuclear power instrumentation 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.

5. 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.

6. 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.

7. 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; A simulation module, 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; The method of 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 includes: 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 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 primitive, the various mode fault logic function diagrams corresponding to the nuclear power instrumentation and control board card are encapsulated into algorithm node blocks in the form of logic codes using a preset integrated algorithm; Among them, using the preset integrated algorithm, 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: The logic codes of the fault logic function diagrams of each mode corresponding to the nuclear power instrumentation and control board are written in C language, and then an algorithm block consisting of a header file and a source file is formed in an integrated algorithm manner.

8. 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 6 is implemented.

9. 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 6 is implemented.

Citation Information

Patent Citations

  • DCS hard logic virtualization method and device

    CN117826637A

  • Nuclear-grade instrument control system simulation method, system and device based on mirror image virtualization

    CN118859747A