A method for interacting between nuclear power DCS teaching control instructions and states

By realizing the interaction of instructions and states between the mechanism model simulation server and the DCS simulation server in the nuclear power simulator, the problem of teaching and control instructions and state transitions is solved, which meets the simulation needs of nuclear power plant operators for training and examination, and realizes the effective simulation of various operating states.

CN116224924BActive Publication Date: 2025-10-17CHINA NUCLEAR POWER OPERATION TECH CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211553704.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2025-10-17
Estimated Expiration
2042-12-06

AI Technical Summary

Technical Problem

Existing nuclear power simulator DCS systems lack effective teaching and control command and state interaction mechanisms, making it impossible to achieve communication of teaching and control commands and state transitions, thus affecting the teaching effectiveness of the simulator.

Method used

By setting up instruction and state interaction between the mechanism model simulation server and the DCS simulation server, the communication of teaching and control commands and state migration are realized, including the method flow of steps S1 to S5, to ensure the synchronization and reliable transmission of instructions and states between different servers.

Benefits of technology

It fulfills the simulation needs for training and examination of nuclear power plant operators, and can effectively simulate various operating states, including CONF, INIT, FREEZE, NORMAL RUN, FALL, FAULT RUN, RESET, etc., thereby improving the teaching and training effectiveness of the simulator.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116224924B_ABST
    Figure CN116224924B_ABST
Patent Text Reader

Abstract

The present application belongs to the field of simulation technology, and particularly relates to a nuclear power DCS teaching and control instruction and state interaction method. The method comprises the following steps: a mechanism model simulation server judges whether a received DCS simulation teaching and control instruction can be executed, if yes, the mechanism model simulation server generates a DSC simulation running state and a DCS simulation teaching and control instruction in response to the DCS simulation teaching and control instruction, and sends the DSC simulation running state and the DCS simulation teaching and control instruction to a DCS simulation server; if no, the process ends. The present application has the beneficial effect that through the command and state interaction between the mechanism model simulation server and the DCS simulation server, the simulation of various running states of the application process in the field can be realized, including the simulation of CONF, INIT, FREEZE, NORMAL RUN, FALL, FAULT RUN, RESET and other running states, so as to meet the simulation demand for the training and examination of the operators of nuclear power plants.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of simulation, and particularly relates to a nuclear power DCS teaching-control instruction and state interaction method. BACKGROUND

[0002] The nuclear power simulator simulates the running state of the whole nuclear power plant based on simulation technology, is a key device on the main path of nuclear power station engineering construction, and plays an important role in simulating nuclear power station running training and analyzing and evaluating accident causes.

[0003] At present, the DCS system is an indispensable part of the modern nuclear power plant control system in the nuclear power plant, therefore, the simulation DCS system is an important part of the nuclear power simulator. The DCS simulation technology realizes the virtual controller, the engineer station and the related engineering data.

[0004] In the teaching process of the simulator, the instructor needs to use the teaching control console to send running, freezing, resetting, inserting fault and other teaching related control instructions to the DCS, and these teaching control instructions directly affect the running mode of the simulated interface, various metering software and communication service software. Therefore, in addition to having the same appearance and operation feeling as the real DCS system, the simulation DCS system also needs to have the simulation teaching control function characteristic of the simulator. SUMMARY

[0005] The purpose of the application is to provide a nuclear power DCS teaching-control instruction and state interaction method, which can realize the communication of teaching control commands, the migration of teaching control commands and teaching control states and synchronization between the two by setting the instruction and state interaction between the mechanism model simulation server and the DCS simulation server in the DCS system.

[0006] The technical scheme of the application is as follows: a nuclear power DCS teaching-control instruction and state interaction method, comprising the following steps:

[0007] S1: the mechanism model simulation server judges whether the received DCS simulation teaching control instruction can be executed, if yes, the mechanism model simulation server generates the DSC simulation running state and the DCS simulation teaching control instruction in response to the DCS simulation teaching control instruction, and sends the DSC simulation running state and the DCS simulation teaching control instruction to the DCS simulation server; if not, the process ends;

[0008] S2: after the DCS simulation server acquires the DCS simulation teaching control instruction and periodically reads the DSC simulation running state, it is judged whether the DCS simulation teaching control instruction matches the current DSC simulation running state of the mechanism model simulation server, if yes, the DCS simulation server responds to the DCS simulation teaching control instruction to modify the DCS simulation server state, and simultaneously issues the DCS simulation teaching control instruction to each application process;

[0009] S3: Each application process periodically reads the DCS simulation teaching control instruction and generates the corresponding LV2 application state according to the execution result;

[0010] S4: The DCS simulation server waits for the feedback of each application process, and generates the LV2 feedback state after calculation according to the respective LV2 application state fed back by the application process, and sends the LV2 feedback state to the mechanism model simulation server in the form of a notification signal;

[0011] S5: The mechanism model simulation server receives the notification signal to obtain the LV2 feedback state, and confirms and modifies the locally stored DSC simulation running state according to the LV2 feedback state and the DCS simulation teaching control instruction.

[0012] In step S1, whether the currently received DCS simulation teaching control instruction can be executed is determined according to whether the current state of the mechanism model simulation server and the received DCS simulation teaching control instruction meet the preset global state machine. The working state in the mechanism model simulation server can only migrate according to the preset global state machine, for example, the mechanism model simulation server can only migrate from state A to state B. Therefore, only when the mechanism model simulation server is in state A and receives the DCS simulation teaching control instruction corresponding to state B, the teaching control instruction can be executed. If other teaching control instructions are received, the process is ended.

[0013] The DSC simulation running state and the DCS simulation teaching control instruction are transmitted separately between the mechanism model simulation server and the DCS simulation server.

[0014] The DCS simulation teaching control instruction includes one or more combinations of initialization, running, freezing, fault insertion, fault recovery, playback, reset, and snapshot instructions.

[0015] The DCS simulation server state corresponds to CONF, INIT, FREEZE, NORMAL RUN, FAIL, FAULTRUN, and RESET, wherein CONF and INIT are directly generated by the DCS simulation server, and FREEZE, NORMAL RUN, FAIL, FAULT RUN, and RESET are generated by the mechanism model simulation server in response to external DCS simulation teaching control instructions input by the teaching console.

[0016] Step 4 includes the following:

[0017] S41: If it is determined that all application processes complete the DCS simulation teaching control instruction within a preset time, the LV2 feedback state is set to success.

[0018] S42: If it is determined that all application processes have not completed the DCS simulation teaching and control instructions within the preset time, it is determined whether there is a serious system error. If there is a serious system error, the LV2 feedback state is set to system error;

[0019] If there is no serious system error, it is further determined whether an error report is required. If an error report is required, the LV2 feedback status is set to DCS simulation teaching control instruction response failure.

[0020] The beneficial effect of the present invention is that through the command and status interaction between the mechanism model simulation server and the DCS simulation server, the simulation of various operating states of the on-site application process can be realized, including the simulation of operating states such as CONF, INIT, FREEZE, NORMAL RUN, FALL, FAULT RUN, and RESET, meeting the simulation requirements for training and examination of nuclear power plant operators. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a flow chart of a nuclear power DCS teaching and control instruction and status interaction method provided by the present invention. DETAILED DESCRIPTION

[0022] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0023] like Figure 1 As shown, a method for interacting with a nuclear power DCS instruction and status includes the following steps:

[0024] S1: The mechanism model simulation server determines whether it can execute the received DCS simulation teaching and control instruction. If so, the mechanism model simulation server generates a DSC simulation running state and a DCS simulation teaching and control instruction in response to the DCS simulation teaching and control instruction, and sends the DSC simulation running state and the DCS simulation teaching and control instruction to the DCS simulation server; if not, the process ends;

[0025] S2: After the DCS simulation server obtains the DCS simulation teaching and control instruction and periodically reads the DSC simulation running status, it determines whether the DCS simulation teaching and control instruction matches the current DSC simulation running status of the mechanism model simulation server. If they are consistent, the DCS simulation server responds to the DCS simulation teaching and control instruction to modify the DCS simulation server status and simultaneously sends the DCS simulation teaching and control instruction to each application process;

[0026] S3: Each application process periodically reads the DCS simulation teaching and control instructions and generates the corresponding LV2 application state according to the execution results;

[0027] S4: The DCS simulation server waits for feedback from each application process (DCS function module), and generates Lv2 feedback state after calculation according to the respective Lv2 application state fed back by the application process, and sends the Lv2 feedback state to the mechanism model simulation server in the form of a notification signal;

[0028] S5: The mechanism model simulation server receives the notification signal to obtain the Lv2 feedback state, and confirms the DCS simulation teaching control modification instruction according to the Lv2 feedback state and the stored DCS simulation teaching control instruction, and modifies the locally stored DSC simulation running state accordingly.

[0029] Preferably, in step S1, whether the currently received DCS simulation teaching control instruction can be executed is determined according to whether the current state of the mechanism model simulation server and the received DCS simulation teaching control instruction satisfy a preset global state machine. The working state in the mechanism model simulation server can only be migrated according to the preset global state machine, for example, the mechanism model simulation server can only be migrated from state A to state B, so the DCS simulation teaching control instruction corresponding to state B can only be executed when the mechanism model simulation server is in state A. If other teaching control instructions are received, the process ends.

[0030] Preferably, in the embodiment, the data flow is divided into two categories: state data flow and instruction data flow. The state data flow is periodically sent and periodically read, including the DSC simulation running state, the Lv2 feedback state, and the Lv2 application state. The Lv2 application state is generated by each Lv2 application, and the Lv2 feedback state is generated after the Lv2 application state is combined and calculated. The instruction data flow is triggered and sent only once, including the DCS simulation teaching control instruction (issued by the teacher to the model teaching console), the DCS simulation teaching control instruction, and the DCS simulation teaching control modification instruction (the MST state of the mechanism model simulation server is modified according to the Lv2 feedback state and the DCS simulation teaching control instruction). Because the communication methods, sending periods, and reliability requirements of the two are different, the communication protocols are also different, so in this embodiment, the teaching control instruction and the teaching control state data are separated, which is conducive to the transmission of each information and improves the reliability of each channel transmission, and meets the respective periodic transmission requirements.

[0031] Further, the DSC simulation running state and the DCS simulation teaching control instruction are transmitted separately between the mechanism model simulation server and the DCS simulation server.

[0032] Furthermore, the DCS simulation teaching and control instructions include one or more combinations of initialization (INIT), run, freeze (FREEZE), fault insertion, fault recovery (RESET), playback, reset, and snapshot (SNAP) instructions. The DCS simulation server states include seven corresponding states: CONF, INIT, FREEZE, NORMAL RUN, FALL, FAULT RUN, and RESET. Among them, CONF and INIT are directly generated by the DCS simulation server, and FREEZE, NORMAL RUN, FAILT, FAULT RUN, and RESET states are generated by the mechanism model simulation server in response to external DCS simulation teaching and control instructions input by the teaching and control console.

[0033] The corresponding descriptions of the DCS simulation server status are as follows:

[0034] CONF:

[0035] INIT: The initial state of the simulator after uploading.

[0036] FREEZE: Freeze state, stopping all Layer 2 calculations.

[0037] NORMAL RUN: The system runs without any faults that require special handling by the second layer (such as black screen and mouse failure).

[0038] FAULT RUN: There is a fault that requires special processing on the second layer (black screen, mouse failure, etc.). The fault signal is inserted into the first layer by the teaching console.

[0039] FAIL: The simulator failed to run, and operations such as division by 0 occurred.

[0040] RESET: Layer 2 is processing a reset. After Layer 2 completes the reset, Layer 2 reports the reset completion to Layer 1.

[0041] In this embodiment, when the DCS simulation teaching and control instruction is a fault or reset, step S4, the DCS simulation server waits for feedback from each application process, and generates a Level 2 feedback status according to the respective Level 2 application status feedback from the application process, including: waiting for all application processes to complete the DCS simulation teaching and control instruction,

[0042] If S41 determines that all application processes have completed the DCS simulation teaching and control instructions within the preset time, the LV2 feedback status is set to success;

[0043] If it is determined that all application processes have not completed the DCS simulation teaching and control instructions within the preset time, S42 determines whether there is a serious system error. If there is a serious system error, the LV2 feedback state is set to system error.

[0044] If there is no serious system error, it is further determined whether an error needs to be reported. If an error needs to be reported, the LV2 feedback state is set as DCS simulation teaching control instruction response failure.

[0045] There are two cases of success or failure in response to the DCS simulation teaching control instruction for each application process. However, due to the difference of the DCS simulation teaching control instruction, the running time required by each application process to respond and execute the DCS simulation teaching control instruction is different, and the scene faced during execution also has some differences. In the embodiment, when the DCS simulation teaching control instruction is a fault or reset instruction, for the failure case, it is further distinguished whether the failure is caused by system error or the failure of each application process itself, so as to ensure that the real situation and reason of each application process executing the DCS simulation teaching control instruction can be effectively obtained. If it is judged that the system error, the system must solve the problem before it can run normally. For example, if an important process such as system alarm occurs, if an error needs to be reported, the error is reported after waiting for a timeout, and the log is written and then continued. For example, after the reset timeout, SIM_LV2_FEEDBACK_REST_FAIL is reported. If no error needs to be reported, the subsequent process can be directly continued.

[0046] Step S5: The mechanism model simulation server receives the notification signal to obtain the LV2 feedback state, and confirms and modifies the locally stored DSC simulation running state according to the LV2 feedback state and the DCS simulation teaching control instruction.

Claims

1. A method for interacting between teaching and control instructions and status of a nuclear power DCS, characterized in that: The steps include: S1: The mechanism model simulation server determines whether it can execute the received DCS simulation teaching and control instruction. If so, the mechanism model simulation server generates a DSC simulation running state and a DCS simulation teaching and control instruction in response to the DCS simulation teaching and control instruction, and sends the DSC simulation running state and the DCS simulation teaching and control instruction to the DCS simulation server; if not, the process ends; S2: After the DCS simulation server obtains the DCS simulation teaching and control instruction and periodically reads the DSC simulation running status, it determines whether the DCS simulation teaching and control instruction matches the current DSC simulation running status of the mechanism model simulation server. If they are consistent, the DCS simulation server responds to the DCS simulation teaching and control instruction to modify the DCS simulation server status and simultaneously sends the DCS simulation teaching and control instruction to each application process; S3: Each application process periodically reads the DCS simulation teaching and control instructions and generates the corresponding LV2 application state according to the execution results; S4: The DCS simulation server waits for feedback from each application process, and generates an LV2 feedback state after calculating the LV2 application state fed back by each application process and sends it to the mechanism model simulation server in the form of a notification signal; S5: The mechanism model simulation server receives the notification signal to obtain the LV2 feedback status, and confirms and modifies the DSC simulation operation status stored locally according to the LV2 feedback status and the DCS simulation teaching and control instructions.

2. A method for interacting with a nuclear power DCS teaching and control instruction and status according to claim 1, characterized in that: In the step S1, whether the DCS simulation teaching and control instruction currently received can be executed is judged based on whether the current state of the mechanism model simulation server and the received DCS simulation teaching and control instruction meet the preset global state machine. The working state in the mechanism model simulation server can only be migrated according to the preset global state machine. When the mechanism model simulation server is in state A, it can be migrated to state B. Therefore, only when the mechanism model simulation server receives the DCS simulation teaching and control instruction corresponding to state B when it is in state A can the teaching and control instruction be executed. If other teaching and control instructions are received, the judgment process ends.

3. A method for interacting with a nuclear power DCS teaching and control instruction and status according to claim 1, characterized in that: The DSC simulation running status and the DCS simulation teaching and control instructions are transmitted separately between the mechanism model simulation server and the DCS simulation server.

4. A method for interacting with a nuclear power DCS teaching and control instruction and status according to claim 1, characterized in that: The DCS simulation teaching and control instructions include one or more combinations of initialization, operation, freeze, fault insertion, fault recovery, playback, reset, and snapshot instructions.

5. The method for interacting with a nuclear power DCS teaching and control instruction and status according to claim 1, characterized in that: The DCS simulation server status corresponds to 7 types: CONF, INIT, FREEZE, NORMAL RUN, FALL, FAULT RUN, and RESET. Among them, CONF and INIT are directly generated by the DCS simulation server, and FREEZE, NORMAL RUN, FAILT, FAULT RUN, and RESET states are generated by the mechanism model simulation server in response to external DCS simulation teaching and control instructions input by the teaching and control console.

6. A method for interacting with a nuclear power DCS teaching and control instruction and status according to claim 1, characterized in that: The step 4 includes the following: S41: If it is determined that all application processes complete the DCS simulation teaching and control instructions within the preset time, the LV2 feedback status is set to success.

7. A method for interacting with a nuclear power DCS teaching and control instruction and status according to claim 6, characterized in that: The step 4 includes the following: S42: If it is determined that all application processes have not completed the DCS simulation teaching and control instructions within the preset time, it is determined whether there is a serious system error. If there is a serious system error, the LV2 feedback state is set to system error.

8. A method for interacting with a nuclear power DCS teaching and control instruction and status according to claim 7, characterized in that: The step 4 includes the following: If there is no serious system error, it is further determined whether an error report is required. If an error report is required, the LV2 feedback status is set to DCS simulation teaching control instruction response failure.

Citation Information

Patent Citations

  • Nuclear power plant non-security-level DCS configuration testing method and system

    CN104898633A

  • Nuclear power station simulation instrument control system DCS transformation closed-loop verification system and method

    CN107885097A