Full range simulation environment nuclear power DCS application software configuration diagnosis system and method

By using automatic testing systems, virtual DCS systems and process simulation systems in a full-range simulation environment, the simulation process signal triggers the tested software to execute chain control logic, solving the problem of inaccurate diagnosis of DCS software in the prior art, and achieving a more accurate configuration diagnosis and a safer debugging process.

CN119126734BActive Publication Date: 2025-03-04CHINA TECHENERGY +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411641874.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-03-04
Estimated Expiration
2044-11-18

AI Technical Summary

Technical Problem

The existing DCS software diagnostic methods cannot effectively close-loop verification of dynamic logic, resulting in inaccurate diagnostic results and affecting the development and use of DCS systems.

Method used

Provide a nuclear power DCS application software configuration diagnostic system with a full range simulation environment, including an automatic test system, a virtual DCS system and a process simulation system. The software under test is triggered to execute chain control logic through simulated process signals to verify whether there is a problem.

Benefits of technology

It realizes more comprehensive and accurate configuration and diagnostic results, reduces DCS software defects in the on-site debugging stage, reduces security risks, and shortens debugging cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119126734B_ABST
    Figure CN119126734B_ABST
Patent Text Reader

Abstract

The present application discloses a nuclear power DCS application software configuration diagnosis system and method in a full-range simulation environment. The system comprises: an automatic test system, a virtual DCS system connected to the automatic test system, and a process simulation system connected to the virtual DCS system; the process simulation system is used to feed back a simulated process signal to the virtual DCS system, the simulated process signal characterizing the process parameters and operating status of the on-site controlled equipment to be controlled by the tested nuclear power DCS application software; the virtual DCS system is used to run the tested nuclear power DCS application software, the tested nuclear power DCS application software is used to execute a target test case provided by the automatic test system according to the simulated process signal; the automatic test system is used to obtain and send a target test case for configuration diagnosis to the virtual DCS system, and monitor the target variable during the execution of the target test case by the tested nuclear power DCS application software, so as to obtain the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of DCS software configuration diagnosis, and in particular to a nuclear power DCS application software configuration diagnosis system and method in a full-range simulation environment. Background Art

[0002] Distributed Control System (DCS) is a control system commonly used in industry. The DCS system consists of hardware and DCS software running on the hardware.

[0003] In the current DCS system in the nuclear power field, the main diagnostic method for DCS software by equipment manufacturers is to compare the design input file of the DCS system with the configuration logic output. In this diagnostic method, the DCS system is not connected to the on-site controlled equipment, resulting in the inability to verify the closed-loop dynamic logic of the DCS software that performs interlocking control based on the actions and states of the on-site controlled equipment. Therefore, the existing diagnostic method cannot detect whether there are problems with these dynamic logics of the DCS software, and the obtained diagnostic results are inaccurate, so that after the DCS software diagnosis enters the debugging stage, a large number of software configuration problems related to these dynamic logics are exposed, affecting the development and use of the DCS system. Summary of the invention

[0004] To this end, this application discloses the following technical solutions:

[0005] The first aspect of the present application provides a full-range simulation environment nuclear power DCS application software configuration diagnosis system, including: an automatic test system, a virtual DCS system and a process simulation system;

[0006] The automatic test system is connected to the virtual DCS system, and the virtual DCS system is connected to the process simulation system;

[0007] The process simulation system is used to feed back simulated process signals to the virtual DCS system, wherein the simulated process signals represent process parameters and operating status of the on-site controlled equipment to be controlled by the tested nuclear power DCS application software;

[0008] The virtual DCS system is used to run the nuclear power DCS application software under test, and the nuclear power DCS application software under test is used to execute the target test case provided by the automatic test system according to the simulated process signal;

[0009] The automatic test system is used to obtain and send a target test case for configuration diagnosis to the virtual DCS system, and monitor the target variables during the execution of the target test case by the tested nuclear power DCS application software, so as to obtain the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable values.

[0010] Optionally, the virtual DCS system includes a non-safety-level virtual DCS subsystem and a safety-level virtual DCS subsystem;

[0011] The non-safety-level virtual DCS subsystem is used to run the tested nuclear power DCS application software;

[0012] The safety-level virtual DCS subsystem is used to communicate with the process simulation system to verify whether the function of the process simulation system is normal.

[0013] Optionally, when the automatic test system obtains the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable value, it is specifically used to:

[0014] A test report of the tested nuclear power DCS application software is generated according to the monitored variable values, and the test report serves as a configuration diagnosis result of the tested nuclear power DCS application software.

[0015] Optionally, when the automatic testing system obtains the target test case, it is specifically used to:

[0016] Determine the process system corresponding to the tested nuclear power DCS application software and the test program run by the automatic test system;

[0017] A corresponding target test case is obtained from a plurality of optional test cases according to the process system and the test program.

[0018] Optionally, the automatic testing system is also used for:

[0019] Determine the target diagnosis level to which the tested nuclear power DCS application software belongs, wherein the target diagnosis level includes any one of equipment-level diagnosis, system-level diagnosis and unit-level diagnosis;

[0020] When the automatic test system obtains a corresponding target test case from a plurality of optional test cases according to the process system and the test program, it is specifically used to:

[0021] A target test case corresponding to the target diagnosis level is obtained from a plurality of optional test cases according to the process system and the test program.

[0022] The second aspect of the present application provides a full-range simulation environment nuclear power DCS application software configuration diagnosis method, which is applied to a full-range simulation environment nuclear power DCS application software configuration diagnosis system, the system comprising an automatic test system, a virtual DCS system and a process simulation system;

[0023] The method comprises:

[0024] The automatic test system obtains and sends a target test case for configuration diagnosis to the virtual DCS system;

[0025] The virtual DCS system executes the target test case provided by the automatic test system according to the simulated process signal through the tested nuclear power DCS application software, wherein the simulated process signal is obtained from the process simulation system, and the simulated process signal represents the process parameters and operation status of the on-site controlled equipment to be controlled by the tested nuclear power DCS application software;

[0026] The automatic test system monitors the target variables during the execution of the target test case by the tested nuclear power DCS application software, so as to obtain the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable values.

[0027] Optionally, the virtual DCS system includes a non-safety-level virtual DCS subsystem and a safety-level virtual DCS subsystem;

[0028] The method further comprises:

[0029] The virtual DCS system communicates with the process simulation system based on the safety-level virtual DCS subsystem to verify whether the function of the process simulation system is normal.

[0030] Optionally, the automatic test system obtains the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable value, including:

[0031] The automatic test system generates a test report of the tested nuclear power DCS application software according to the monitored variable values, and the test report serves as a configuration diagnosis result of the tested nuclear power DCS application software.

[0032] Optionally, the automatic testing system obtains a target test case, including:

[0033] Determine the process system corresponding to the tested nuclear power DCS application software and the test program run by the automatic test system;

[0034] A corresponding target test case is obtained from a plurality of optional test cases according to the process system and the test program.

[0035] Optionally, also include:

[0036] The automatic test system determines the target diagnosis level to which the tested nuclear power DCS application software belongs, wherein the target diagnosis level includes any one of equipment-level diagnosis, system-level diagnosis and unit-level diagnosis;

[0037] The step of obtaining a corresponding target test case from a plurality of optional test cases according to the process system and the test program includes:

[0038] A target test case corresponding to the target diagnosis level is obtained from a plurality of optional test cases according to the process system and the test program.

[0039] The beneficial effect of this solution is that when testing nuclear power DCS application software, this solution provides simulated process signals that characterize the process parameters and operating status of the on-site controlled equipment to the software under test through the process simulation system, thereby triggering the software under test to execute the interlocking control logic based on the actions and status of the on-site controlled equipment during the test, thereby verifying whether there are problems with these interlocking control logics of the software under test. Therefore, compared with the solutions in the prior art, this solution can obtain more comprehensive and accurate configuration diagnosis results. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0041] Figure 1 It is a structural diagram of a nuclear power DCS application software configuration diagnosis system in a full-range simulation environment provided by an embodiment of the present application;

[0042] Figure 2 It is a structural diagram of another full-range simulation environment nuclear power DCS application software configuration diagnosis system provided by an embodiment of the present application;

[0043] Figure 3 is a schematic diagram of a diagnostic verification process provided by an embodiment of the present application;

[0044] Figure 4 It is a schematic diagram of the composition of an automatic testing system provided in an embodiment of the present application;

[0045] Figure 5 It is a flow chart of a nuclear power DCS application software configuration diagnosis method in a full-range simulation environment provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] DCS software configuration diagnosis can be understood as testing the software part of the distributed control system (DCS) through various test cases to verify whether there are loopholes in the DCS software and whether various functions can be used normally.

[0048] At present, the common methods of DCS software configuration diagnosis are: simulation diagnosis, virtual (Emulation) diagnosis and physical simulation (Stimulation) diagnosis. Among them, simulation diagnosis refers to the use of third-party software and hardware other than the original DCS to simulate the control function of the DCS to carry out diagnosis. Physical simulation diagnosis refers to the use of a real DCS to implement simulation diagnosis tasks. Virtual diagnosis is between simulation diagnosis and physical simulation diagnosis. It generally uses the same software and logic algorithms as the original DCS, but does not include the real DCS hardware part. It uses ordinary computers and other hardware devices to complete logical operation diagnosis.

[0049] With the development of simulation technology, virtual DCS and simulation platform are connected to realize virtual DCS software configuration diagnosis based on process simulation, which has greater advantages. However, there is no method to build a full range simulation environment for nuclear power DCS and perform configuration diagnosis on nuclear power DCS software based on this environment.

[0050] In addition, the current virtual DCS test system does not implement batch automatic testing based on the simulation environment, and the verification efficiency is low.

[0051] In addition, after the nuclear power DCS leaves the factory and enters the nuclear power site commissioning stage, there are still the following problems:

[0052] First, the verification and commissioning period is tight. The scale of new reactors is increasing while the construction period remains unchanged. In addition, considering that the DCS factory test phase cannot simulate the actual operating conditions of the power plant, the test environment is limited and the DCS configuration logic cannot be fully verified, resulting in a large number of on-site DCS application software configuration problems during the commissioning phase. The re-verification of the configuration logic after the DCS function verification has eliminated defects has a greater impact on the project schedule.

[0053] Second, technical control and management are difficult, and the DCS transformation verification investment is large. When DCS configuration errors are found during debugging, DCS transformation requires a lot of isolation and re-verification of the process system. Test problem discovery, transmission, configuration change technical management, version management, and transformation management all require huge manpower on site, and there are technical control and management risks.

[0054] Third, high safety risks. Problems left over from the DCS design, manufacturing, and installation stages may lead to equipment damage, personal injury, and other situations once the commissioning stage begins. The analysis, processing, and verification of the problems double the related risks.

[0055] In view of the above situation, it is necessary to pre-verify the on-site debugging of the application software configuration in a virtual environment, so as to discover in advance the problems that may occur in the actual operation of the process system, thereby reducing DCS defects in the on-site debugging stage, reducing the safety risks caused by DCS defects, and shortening the on-site debugging cycle.

[0056] To achieve the above effects, the present application embodiment provides a full range simulation environment nuclear power DCS application software configuration diagnosis system, see Figure 1 , is a structural diagram of the system, which may include: an automatic test system 101, a virtual DCS system 102 and a process simulation system 103.

[0057] The automatic test system 101 is connected to the virtual DCS system 102 , and the virtual DCS system 102 is connected to the process simulation system 103 .

[0058] The process simulation system 103 is used to feed back simulated process signals to the virtual DCS system 102, where the simulated process signals represent the process parameters and operating status of the on-site controlled equipment to be controlled by the tested nuclear power DCS application software;

[0059] On the other hand, the process simulation system 103 can also receive various equipment operation instructions for controlling the on-site controlled equipment generated by the virtual DCS system 102 during the execution of the target test case. For example, it can receive equipment operation instructions such as valves, actuators, and circuit breakers, and output corresponding simulation process signals based on these equipment operation instructions to characterize the process parameters and operating status of the on-site controlled equipment after the operation based on the equipment operation instructions.

[0060] As some examples, the simulated process signals sent by the process simulation system 103 to the virtual DCS system 102 may include, but are not limited to, signals representing process parameters such as temperature, pressure, flow, and liquid level, and signals representing the operating status of equipment such as valves, actuators, and circuit breakers. The equipment operating instructions sent by the virtual DCS system 102 to the process simulation system include, but are not limited to, equipment operating instructions that control the operation of equipment such as valves, actuators, and circuit breakers.

[0061] The virtual DCS system 102 is used to run the nuclear power DCS application software under test, and the nuclear power DCS application software under test is used to execute the target test case provided by the automatic test system 101 according to the simulated process signal;

[0062] The automatic test system 101 is used to obtain and send target test cases for configuration diagnosis to the virtual DCS system 102, and monitor the target variables during the execution of the target test cases by the tested nuclear power DCS application software, so as to obtain the configuration diagnosis results of the tested nuclear power DCS application software according to the monitored variable values.

[0063] The beneficial effect of this solution is that when testing nuclear power DCS application software, this solution provides simulated process signals representing the process parameters and operating status of the on-site controlled equipment to the software under test through the process simulation system 103, thereby triggering the software under test to execute the interlocking control logic based on the actions and status of the on-site controlled equipment during the test, thereby verifying whether there are problems with these interlocking control logics of the software under test. Therefore, compared with the solutions in the prior art, this solution can obtain more comprehensive and accurate configuration diagnosis results.

[0064] The system of this solution can perform DCS software configuration diagnosis in a virtual simulation environment based on the process simulation system, which is conducive to discovering problems that may occur when the DCS software is actually applied to the process system in advance, thereby reducing DCS software defects in the field debugging stage, reducing the safety risks caused by DCS software defects, and shortening the field debugging cycle. In addition, the diagnostic system of this embodiment can be used in the nuclear power DCS factory test and factory acceptance test stages, increasing the diversity and coverage of diagnostic test methods, and can improve the comprehensiveness of the test environment in the nuclear power DCS design and manufacturing factory, and improve the product quality before delivery.

[0065] Furthermore, in the diagnostic system of this embodiment, the automatic testing system can automatically send a large number of test cases to the virtual DCS system in sequence to obtain corresponding test results. Therefore, this solution can realize batch automatic testing based on the process simulation system and effectively improve the verification efficiency.

[0066] In some optional embodiments, see Figure 2 , the virtual DCS system 102 may include a non-safety-level virtual DCS subsystem and a safety-level virtual DCS subsystem.

[0067] The non-safety-level virtual DCS subsystem is used to run the nuclear power DCS application software under test;

[0068] The safety-level virtual DCS subsystem is used to communicate with the process simulation system 103 to verify whether the function of the process simulation system 103 is normal.

[0069] like Figure 2 As shown, in this embodiment, the non-safety-level virtual DCS subsystem is the object to be tested. The non-safety-level virtual DCS subsystem consists of an engineer station, a server, a network switch, an operator station and a virtual control station. The connection relationship between the various devices is as shown in FIG. Figure 2 shown.

[0070] The non-safety-level virtual DCS subsystem may include two network switches, one of which (e.g. Figure 2 The network switch 130.0.0.x shown in the figure can provide an MNET interface for the automatic test system to receive the target test case sent by the automatic test system. Another network switch (e.g. Figure 2 The network switch 128.0.0.x) shown can provide an interface for IO signals and control instructions for the process simulation system. Through this switch, the non-safety-level virtual DCS subsystem can receive simulated process signals sent by the process simulation system, and can send equipment operation instructions for controlling the on-site controlled equipment to the process simulation system.

[0071] In this embodiment, the safety-level virtual DCS subsystem can be used as a companion test system. The safety-level virtual DCS system can include equipment such as an engineer station, a control simulator and terminal, and a safety-level virtual control station to realize the virtualization of a safety-level DCS system.

[0072] The safety-level virtual DCS subsystem also includes a network switch, which is used to realize information interaction between the system's internal engineer station, control simulator and terminal, safety-level virtual control station and other devices. The safety-level virtual DCS subsystem can be connected to the process simulation system through the safety-level virtual control station.

[0073] In this embodiment, the safety-level virtual DCS subsystem can be used to communicate with the process simulation system 103 to verify whether the function of the process simulation system 103 is normal. For example, when the non-safety-level virtual DCS subsystem interacts with the process simulation system and finds that the process parameters and operating status fed back by the process simulation system are abnormal, the safety-level virtual DCS subsystem can obtain these abnormal process parameters and operating status from the process simulation system to determine whether the abnormal process parameters and operating status are caused by the process simulation system. If these abnormalities are not caused by the process simulation system, it can be considered that the DCS software running in the non-safety-level virtual DCS subsystem has corresponding defects.

[0074] The safety-level virtual DCS subsystem may have a maintenance protocol communication interface, thereby assuming the system communication function as a companion test system.

[0075] The automatic testing system mainly includes testing hardware devices and corresponding testing software.

[0076] like Figure 2 As shown, the test hardware device of the automatic test system 101 may include a data server, a tester station and a test communication station, wherein the data server may be TD-SVR and the tester station may be TD-TOPS.

[0077] Among them, the test communication station is used to communicate with non-security-level virtual subsystems.

[0078] See also Figure 4 The software part of the automatic test system can include the test execution basic platform TD-Base system and the test software TD_ACTs.

[0079] The data server can be used to run test service software, specifically IO management services, test communication services, data services and model gateway services.

[0080] The tester station can be used to run test service software and test client software, and provide testers with test interfaces and test applications through the above software.

[0081] See also Figure 2 ,The process simulation system can include hardware devices such as process model server, ,floppy disk operation station, development workstation and simulation management terminal, ,among which the process model server can run software products such as ,standard simulation models, GENUS tool software, test-specific simulation tools, and so on.

[0082] In this embodiment, the automatic test system and the non-safety-level virtual DCS subsystem can be connected via the M-NET communication protocol data to realize the automatic test system's forcing and monitoring functions on the L2 layer variables of the non-safety-level virtual DCS subsystem. Thus, the automatic test system can monitor the target variables during the execution of the target test case by the tested nuclear power DCS application software in the non-safety-level virtual DCS subsystem through the data connection relationship, so as to obtain the configuration diagnosis results of the tested nuclear power DCS application software according to the monitored variable values.

[0083] There is no need to establish a data connection between the automatic test system and the safety-level virtual DCS subsystem. However, for the automatic test system based on TD-Base, a maintenance protocol communication interface can be set in the safety-level virtual DCS subsystem.

[0084] The architecture of the process simulation system can be consistent with the full range simulator of the nuclear power plant, and the software part of the process simulation system can be developed based on the GENUS simulation support platform. The platform is a highly integrated simulation development environment developed based on the Windows operating system, including various software required for model development, operation, maintenance and testing, database management, and test record compilation management.

[0085] In this embodiment, when the automatic test system 101 obtains the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable value, it is specifically used to:

[0086] A test report of the tested nuclear power DCS application software is generated according to the monitored variable values, and the test report serves as a configuration diagnosis result of the tested nuclear power DCS application software.

[0087] Specifically, the automatic testing system 101 can compare the monitored variable value with a preset standard value or standard value range to obtain a corresponding comparison result. The comparison result can indicate whether the monitored variable value is consistent with the standard value, or whether the monitored variable value is within the standard value range.

[0088] Then, the automatic test system 101 may obtain a preset test report template, add the monitored variable values ​​and the corresponding comparison results to the test report template to obtain a test report, and output the test report as a configuration diagnosis result.

[0089] In this embodiment, the automatic test system may first establish a plurality of optional test cases for performing configuration diagnosis tests on the DCS software in the following manner.

[0090] like Figure 3 As shown in the figure, the automatic test system can obtain the system design manual of the nuclear power plant as a basis, refer to the system commissioning outline and test procedures of the nuclear power plant system, analyze the DCS-related process system functions that can be verified in advance in the factory and the operating conditions required for verification; at the same time, combined with the analysis of missed problems on site, improve the test method, and form a test method suitable for in-plant diagnostic verification of DCS software configuration; finally, combined with the DCS-related process system functions and the operating conditions required for verification, as well as the test method suitable for in-plant diagnostic verification of DCS software configuration, write a number of optional test cases for in-plant diagnostic verification of DCS software configuration.

[0091] After obtaining multiple optional test cases, such as Figure 3 As shown, when the automatic testing system 101 performs a test, it can obtain a target test case from a plurality of optional test cases in the following manner:

[0092] Determine the process system corresponding to the tested nuclear power DCS application software and the test program run by the automatic test system 101;

[0093] Obtain corresponding target test cases from multiple optional test cases based on the process system and test procedures.

[0094] In this embodiment, the process system corresponding to the tested nuclear power DCS application software can be understood as the process system to which the field controlled equipment to be controlled by the tested nuclear power DCS application software belongs. For example, if a certain actuator controlled by the tested nuclear power DCS application software belongs to process system A, then process system A is the process system corresponding to the tested nuclear power DCS application software.

[0095] The test program run by the automatic test system 101 refers to the test program run in the data server of the automatic test system when the target test case is determined. The data server can run a variety of different test programs according to the operation of the tester station. Depending on the different test programs being run, the applicable test cases are also different.

[0096] In this embodiment, the automatic test system can screen out several test cases related to the process system corresponding to the nuclear power DCS application software under test from multiple optional test cases, and then further screen out test cases suitable for the currently running test program from these several test cases related to the process system. Finally, a test case can be randomly selected from at least one screened test case related to the process system and suitable for the currently running test program as a target test case and sent to the non-safety-level virtual DCS subsystem for testing, or each screened test case can be sent as a target test case to the non-safety-level virtual DCS subsystem for testing, thereby performing batch testing.

[0097] In some optional embodiments, the multiple optional test cases obtained by the automatic testing system can also be divided into three levels according to the different objects under test, specifically including device-level diagnostic test cases suitable for device-level diagnosis, system-level diagnostic test cases suitable for system-level diagnosis (i.e. single-system experiments), and unit-level diagnostic test cases suitable for unit-level diagnosis (i.e. multi-system or overall experiments).

[0098] Based on the above hierarchical division, the automatic test system can also:

[0099] Determine the target diagnostic level to which the tested nuclear power DCS application software belongs, and the target diagnostic level includes any one of equipment-level diagnosis, system-level diagnosis and unit-level diagnosis.

[0100] The nuclear power DCS application software under test may have multiple functions. In the above steps, the target diagnosis level to which the nuclear power DCS application software under test belongs can be understood as the level to which the function currently required to be tested in the nuclear power DCS application software under test belongs. For example, if the function of the nuclear power DCS application software under test to control a specific device currently needs to be tested, the level to which it belongs may be the device-level diagnosis; if the function of the nuclear power DCS application software under test to control a single process system currently needs to be tested, the level to which it belongs may be the system-level diagnosis; if the function of the nuclear power DCS application software under test to control multiple process systems currently needs to be tested, the level to which it belongs may be the unit-level diagnosis.

[0101] After determining the target diagnosis level, the automatic test system 101 can be used to obtain the corresponding target test case from multiple optional test cases according to the process system and the test program, specifically:

[0102] According to the process system and the test procedure, a corresponding target test case in the target diagnosis level is obtained from a plurality of optional test cases.

[0103] That is, the automatic test system 101 may further select one or more test cases belonging to the target diagnosis level as target test cases from the at least one test case screened out that is related to the process system and applicable to the currently running test program.

[0104] That is to say, if the target diagnostic level is device-level diagnosis, select the device-level diagnostic test case as the target test case; if the target diagnostic level is system-level diagnosis, select the system-level diagnostic test case as the target test case; if the target diagnostic level is unit-level diagnosis, select the unit-level diagnostic test case as the target test case.

[0105] The test cases can be divided into levels as follows:

[0106] Determine the equipment involved when the DCS software executes the test case, and determine the level based on the equipment involved. For example, when the DCS software executes a test case A, it only controls a specific actuator, then the test case A can belong to the equipment-level diagnostic test case; when the DCS software executes a test case B, it can control multiple equipment in a process system, such as actuators, valves, fans and other equipment in a process system, then the test case B can belong to the system-level diagnostic test case; when the DCS software executes a test case C, it can control multiple equipment in multiple different process systems, such as actuators, valves, fans and other equipment in multiple different process systems, then the test case C can belong to the unit-level diagnostic test case.

[0107] The diagnostic system provided in the embodiment of the present application also has the following beneficial effects:

[0108] First, when the system of this solution performs DCS software diagnosis, it can simulate the on-site DCS application software configuration problems that may occur when the DCS software is applied on-site in the nuclear reactor through the simulated process signals provided by the process simulation system, thereby verifying whether the DCS software can effectively deal with these problems, avoiding repeated verification during the on-site debugging stage, and effectively shortening the verification and debugging period.

[0109] Secondly, when a DCS configuration error is found during debugging, it is necessary to perform DCS transformation on site, and DCS transformation requires a large amount of isolation and re-verification of the process system, which consumes a lot of resources and has technical control and management risks. However, this solution simulates the on-site environment in the configuration diagnosis stage through the process simulation system, which can more comprehensively discover potential configuration errors of DCS software in the configuration diagnosis stage, and avoid DCS configuration errors during debugging as much as possible, thereby reducing the technical control and management risks caused by DCS transformation on site.

[0110] Thirdly, configuration errors in the DCS software during the equipment commissioning phase can easily lead to equipment damage, personal injury, etc. However, this solution uses a process simulation system to simulate the on-site environment during the configuration diagnosis phase, which can effectively avoid DCS configuration errors during commissioning, thereby reducing the above safety risks.

[0111] The embodiment of the present application also provides a full-range simulation environment nuclear power DCS application software configuration diagnosis method, which is applied to a full-range simulation environment nuclear power DCS application software configuration diagnosis system, and the system includes an automatic test system, a virtual DCS system and a process simulation system.

[0112] See also Figure 5 , is a flow chart of the method, and the method may include the following steps.

[0113] S501: The automatic test system obtains and sends a target test case for configuration diagnosis to the virtual DCS system.

[0114] S502, the virtual DCS system executes the target test case provided by the automatic test system according to the simulated process signal through the tested nuclear power DCS application software, the simulated process signal is obtained from the process simulation system, and the simulated process signal represents the process parameters and operating status of the on-site controlled equipment to be controlled by the tested nuclear power DCS application software.

[0115] S503, the automatic test system monitors the target variables during the execution of the target test case by the tested nuclear power DCS application software, so as to obtain the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable values.

[0116] Optionally, the virtual DCS system includes a non-safety-level virtual DCS subsystem and a safety-level virtual DCS subsystem;

[0117] The method also includes:

[0118] The virtual DCS system communicates with the process simulation system based on the safety-level virtual DCS subsystem to verify whether the function of the process simulation system is normal.

[0119] Optionally, the automatic test system obtains the configuration diagnosis results of the tested nuclear power DCS application software based on the monitored variable values, including:

[0120] The automatic test system generates a test report of the tested nuclear power DCS application software according to the monitored variable values, and the test report serves as a configuration diagnosis result of the tested nuclear power DCS application software.

[0121] Optionally, the automatic test system obtains target test cases, including:

[0122] Determine the test procedures for the process system and automatic test system running corresponding to the nuclear power DCS application software under test;

[0123] Obtain corresponding target test cases from multiple optional test cases based on the process system and test procedures.

[0124] Optionally, also include:

[0125] The automatic test system determines the target diagnosis level to which the tested nuclear power DCS application software belongs, and the target diagnosis level includes any one of equipment-level diagnosis, system-level diagnosis and unit-level diagnosis;

[0126] Obtain the corresponding target test cases from multiple optional test cases according to the process system and test procedures, including:

[0127] According to the process system and the test procedure, a corresponding target test case in the target diagnosis level is obtained from a plurality of optional test cases.

[0128] The full-range simulation environment nuclear power DCS application software configuration diagnosis method provided in this embodiment can be specifically implemented by referring to the working principle of the full-range simulation environment nuclear power DCS application software configuration diagnosis system provided in any embodiment of the present application, which will not be repeated here.

[0129] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0130] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0131] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0132] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0133] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A full range simulation environment nuclear power DCS application software configuration diagnosis system, characterized in that: include: Automatic test system, virtual DCS system and process simulation system; The automatic test system is connected to the virtual DCS system, and the virtual DCS system is connected to the process simulation system; The process simulation system is used to feed back a simulated process signal to the virtual DCS system, wherein the simulated process signal represents the process parameters and operating status of the field controlled equipment to be controlled by the tested nuclear power DCS application software, and the simulated process signal is a signal corresponding to the output of the equipment operating instruction, wherein the equipment operating instruction is an instruction for controlling the field controlled equipment generated during the execution of the target test case by the virtual DCS system, wherein the process parameters include temperature, pressure, flow rate and liquid level, the operating status is the operating status of valves, actuators and circuit breakers, and the equipment operating instruction includes an equipment operating instruction for controlling the operation of valves, actuators or circuit breakers; The virtual DCS system is used to run the nuclear power DCS application software under test, and the nuclear power DCS application software under test is used to execute the target test case provided by the automatic test system according to the simulated process signal, wherein the virtual DCS system includes a non-safety-level virtual DCS subsystem and a safety-level virtual DCS subsystem; the non-safety-level virtual DCS subsystem is used to run the nuclear power DCS application software under test; the safety-level virtual DCS subsystem is used to communicate with the process simulation system to verify whether the function of the process simulation system is normal, specifically: when the non-safety-level virtual DCS subsystem interacts with the process simulation system to determine that the process parameters and operating status fed back by the process simulation system are abnormal, the safety-level virtual DCS subsystem obtains the abnormal process parameters and operating status from the process simulation system, and determines whether the abnormal process parameters and operating status are caused by the process simulation system. If not, it is determined that the DCS software run by the non-safety-level virtual DCS subsystem has corresponding defects; The automatic test system is used to obtain and send a target test case for configuration diagnosis to the virtual DCS system, and monitor the target variable during the execution of the target test case by the tested nuclear power DCS application software, so as to obtain the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable value, wherein when the automatic test system obtains the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable value, it is specifically used to: generate a test report of the tested nuclear power DCS application software according to the monitored variable value, and the test report is used as the configuration diagnosis result of the tested nuclear power DCS application software; Wherein, when the automatic test system obtains the target test case, it is also used to: Determine the target diagnosis level to which the tested nuclear power DCS application software belongs, wherein the target diagnosis level includes any one of equipment-level diagnosis, system-level diagnosis and unit-level diagnosis.

2. The system according to claim 1, characterized in that When the automatic test system obtains the target test case, it is specifically used to: Determine the process system corresponding to the tested nuclear power DCS application software and the test program run by the automatic test system; A corresponding target test case is obtained from a plurality of optional test cases according to the process system and the test program.

3. The system according to claim 2, characterized in that When the automatic test system obtains a corresponding target test case from a plurality of optional test cases according to the process system and the test program, it is specifically used to: A target test case corresponding to the target diagnosis level is obtained from a plurality of optional test cases according to the process system and the test program.

4. A full range simulation environment nuclear power DCS application software configuration diagnosis method, characterized in that: A nuclear power DCS application software configuration diagnosis system applied to a full range simulation environment, the system includes an automatic test system, a virtual DCS system and a process simulation system, the virtual DCS system includes a non-safety-level virtual DCS subsystem and a safety-level virtual DCS subsystem; The method comprises: The automatic test system obtains and sends a target test case for configuration diagnosis to the virtual DCS system; The virtual DCS system executes the target test case provided by the automatic test system according to the simulated process signal through the tested nuclear power DCS application software, the simulated process signal is obtained from the process simulation system, the simulated process signal represents the process parameters and operation status of the field controlled equipment to be controlled by the tested nuclear power DCS application software, the simulated process signal is a signal corresponding to the output of the equipment operation instruction, the equipment operation instruction is an instruction for controlling the field controlled equipment generated during the execution of the target test case by the virtual DCS system, the process parameters include temperature, pressure, flow and liquid level, the operation status is the operation status of valves, actuators and circuit breakers, and the equipment operation instruction includes the equipment operation instruction for controlling the operation of valves, actuators or circuit breakers; The automatic test system monitors the target variables during the execution of the target test case by the tested nuclear power DCS application software to obtain the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable values, wherein the automatic test system obtains the configuration diagnosis result of the tested nuclear power DCS application software according to the monitored variable values, including: the automatic test system generates a test report of the tested nuclear power DCS application software according to the monitored variable values, and the test report serves as the configuration diagnosis result of the tested nuclear power DCS application software; The virtual DCS system communicates with the process simulation system based on the safety-level virtual DCS subsystem to verify whether the function of the process simulation system is normal, specifically: when the non-safety-level virtual DCS subsystem interacts with the process simulation system to determine that the process parameters and operating status fed back by the process simulation system are abnormal, the safety-level virtual DCS subsystem obtains the abnormal process parameters and operating status from the process simulation system, and determines whether the abnormal process parameters and operating status are caused by the process simulation system. If not, it is determined that the DCS software running by the non-safety-level virtual DCS subsystem has corresponding defects; The automatic test system determines the target diagnosis level to which the tested nuclear power DCS application software belongs, and the target diagnosis level includes any one of equipment-level diagnosis, system-level diagnosis and unit-level diagnosis.

5. The method according to claim 4, characterized in that The automatic testing system obtains a target test case, including: Determine the process system corresponding to the tested nuclear power DCS application software and the test program run by the automatic test system; A corresponding target test case is obtained from a plurality of optional test cases according to the process system and the test program.

6. The method according to claim 5, characterized in that The step of obtaining a corresponding target test case from a plurality of optional test cases according to the process system and the test program includes: A target test case corresponding to the target diagnosis level is obtained from a plurality of optional test cases according to the process system and the test program.

Citation Information

Patent Citations

  • Fault diagnosis method and system for electronic information system and readable medium

    CN111176877A

  • Logic function test method and platform compatible with simulation and entities

    CN111427781A

  • Nuclear power plant digital instrument control verification system and method based on field equipment and virtual equipment

    CN113835356A