A full-automatic testing device and method for logic functions of a DCS system

The fully automated logic function testing device for DCS systems uses a test host and a visualization information acquisition device to acquire and compare visualization information without interrupting the information transmission path. This solves the problem that existing DCS systems cannot test high-security-level signals and enables the logical function testing of downstream equipment in nuclear power plant DCS systems.

CN117311291BActive Publication Date: 2026-07-07SHANGHAI XENON SAMARIUM TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI XENON SAMARIUM TECH CO LTD
Filing Date
2023-11-03
Publication Date
2026-07-07

Smart Images

  • Figure CN117311291B_ABST
    Figure CN117311291B_ABST
Patent Text Reader

Abstract

The application provides a kind of logic function full-automatic testing device and method of DCS system.The device includes test host and visual information acquisition device.The method is applied to test host, including: executing target test step: sending test signal to target DCS cabinet, if the information corresponding to the output signal of target DCS cabinet is the visual information shown by downstream equipment, in the case that the information transmission path between target DCS cabinet and downstream equipment is not cut off, control visual information acquisition device to acquire and upload visual information, compare the received visual information with expected result, to determine whether the current function test passes.According to the application, the problem that the existing logic function test system applied to nuclear power plant DCS system is not suitable for corresponding logic function test of DCS cabinet whose output signal is configured to be displayed in the form of visual information on corresponding downstream equipment of nuclear power plant DCS system can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the technical field of digital instrumentation and control systems for nuclear power plants, and more specifically, relates to a fully automatic testing device and method for the logical functions of a DCS system. Background Technology

[0002] Existing nuclear power plants are typically equipped with a Digital Control and Instrumentation System (DCS system). The DCS system is used to monitor and protect various hardware devices in the nuclear power plant during operation. Before the DCS system is officially connected to the nuclear power plant system, its logical functions need to be tested. Only after the test is passed, confirming that the DCS system's logical functions are correct, can it be connected to the nuclear power plant system.

[0003] The logical function testing of existing DCS systems is usually implemented based on DCS test systems. The testing method of existing DCS test systems is mainly as follows: the test signal output terminal of the DCS test system is connected to the test signal input terminal of the DCS cabinet under test, and the test signal output terminal of the DCS cabinet is connected to the test signal input terminal of the DCS test system; the DCS test system sends a test signal to the DCS cabinet, and the DCS cabinet responds to the test signal by outputting the test signal; the DCS test system collects the test signal and compares it with the corresponding expected signal; if the two are consistent, the corresponding logical function test is deemed to have passed.

[0004] However, the aforementioned DCS testing system is only applicable when the test signal output by the DCS cabinet is a low-security type 1 signal, i.e., the test signal of the DCS cabinet is the signal output from the cabinet's IO board, and the DCS testing system connects to the IO board via hardwiring to obtain the test signal. However, if the test signal output by the DCS cabinet is a high-security type 2 signal, i.e., the DCS testing system cannot connect to the DCS cabinet's IO board via hardwiring to obtain this type of output signal, and this type of output signal is configured to be displayed as visual information on the corresponding downstream equipment of the nuclear power plant DCS system, then the existing DCS testing system is obviously unsuitable, as it cannot test the corresponding logical functions of the DCS cabinet whose output signal is configured to be displayed as visual information on the corresponding downstream equipment of the nuclear power plant DCS system. Summary of the Invention

[0005] The purpose of this invention is to solve the problem that existing logic function testing systems applied to nuclear power plant DCS systems are not suitable for testing the corresponding logic functions of DCS cabinets whose output signals are configured to be displayed in a visual manner on the corresponding downstream equipment of the nuclear power plant DCS system.

[0006] To achieve the above objectives, the present invention provides a fully automated testing device and method for the logical functions of a DCS system.

[0007] According to a first aspect of the present invention, a fully automated logical function testing device for a DCS system is provided, the testing device comprising a test host and a visualization information acquisition device;

[0008] The test host is used to execute target test steps in response to test case execution instructions, the execution of target test steps including:

[0009] A test signal is sent to the target DCS cabinet. If the information corresponding to the output signal of the target DCS cabinet is visualized information displayed through downstream devices, then without severing the information transmission path between the target DCS cabinet and the downstream devices, the visualized information acquisition device is controlled to acquire and upload the visualized information, and the received visualized information is compared with its expected result. If the comparison passes, the current functional test is deemed to have passed.

[0010] It is also used to execute the next target test step in response to the result of the current functional test passing.

[0011] Optionally, the downstream equipment includes image display equipment and backup panels in the main control room of the nuclear power plant, and both the target DCS cabinet and the downstream equipment belong to the nuclear power plant DCS system.

[0012] Optionally, the visualization information acquisition device is used to acquire images of the target area of ​​the downstream device and process the images of the target area to obtain the visualization information;

[0013] When the downstream device is an image display device, the visualization information includes the content information of the target image;

[0014] When the downstream device is a backup disk, the visualization information includes the status information of the target instrument, which includes whether the indicator lights on the target instrument are constantly on, constantly off, or flashing, as well as the pointer position of the target instrument.

[0015] Optionally, the visualization information acquisition device includes a first visualization information acquisition device;

[0016] The first visualization information acquisition device is used to acquire a target area image of the downstream device when the downstream device is a backup disk or an image display device whose input signal cannot be truncated, and to process the target area image to obtain the visualization information, which includes the status information of the target instrument or the content information of the target screen.

[0017] Optionally, the visualization information acquisition device further includes a second visualization information acquisition device;

[0018] The second visualization information acquisition device is used to truncate and copy the output signal on the information transmission path when the downstream device is an image display device whose input signal can be truncated, and to acquire corresponding visualization information based on the copied output signal. The visualization information includes the content information of the target image.

[0019] Optionally, the testing device may also include a screen switching device;

[0020] The visualization information acquisition device is further configured to determine whether the current display screen of the image display device is the display screen corresponding to the visualization information when the downstream device is an image display device. If not, the screen switching device switches the current display screen to the display screen corresponding to the visualization information by touching the screen switching key on the image display device.

[0021] The screen switching key is either a physical button or a touch button formed on the display screen of the image display device.

[0022] Optionally, the testing device may also include a first screen switching device;

[0023] The first visualization information acquisition device is further configured to determine whether the current display screen of the image display device is the display screen corresponding to the visualization information when the downstream device is an image display device whose input signal is not allowed to be truncated;

[0024] The first screen switching device is used to switch the current screen to the screen corresponding to the visualization information by touching the screen switching key on the image display device when the current screen of the image display device is not the screen corresponding to the visualization information and the image display device does not allow access from a third-party command input device;

[0025] The screen switching key is either a physical button or a touch button formed on the display screen of the image display device.

[0026] Optionally, the testing device further includes a second screen switching device connected to the image display device;

[0027] The second screen switching device is used to send a screen switching command to the image display device to switch the current screen to the screen corresponding to the visualization information when the current screen of the image display device is not the screen corresponding to the visualization information and the image display device allows access from a third-party command input device.

[0028] Optionally, the first screen switching device is a robotic arm controlled by the test host.

[0029] And / or, the second screen switching device is a macro-programmable mouse controlled by the test host.

[0030] Alternatively, the screen switching device may be a robotic arm controlled by the test host.

[0031] According to a second aspect of the present invention, a fully automated logical function testing method for a DCS system is provided. This testing method is implemented based on the aforementioned fully automated logical function testing device for a DCS system and applied to the test host, comprising the following steps:

[0032] In response to the test case execution instruction, the target test steps are executed, the execution of the target test steps includes:

[0033] Send a test signal to the target DCS cabinet. If the information corresponding to the output signal of the target DCS cabinet is the visualized information displayed by the downstream device, then without cutting off the information transmission path between the target DCS cabinet and the downstream device, control the visualized information acquisition device to acquire and upload the visualized information, and compare the received visualized information with its expected result. If the comparison is successful, the current function test is determined to be successful.

[0034] In response to the current functional test passing the result, proceed to the next target test step.

[0035] The beneficial effects of this invention are as follows:

[0036] The fully automated logical function testing device for a DCS system of the present invention includes a test host and a visualization information acquisition device. The test host, in response to a test case execution command, executes target test steps, which include: sending a test signal to a target DCS cabinet; if the information corresponding to the output signal of the target DCS cabinet is visualization information displayed through downstream devices, then, without severing the information transmission path between the target DCS cabinet and the downstream devices, controlling the visualization information acquisition device to acquire and upload the visualization information, and comparing the received visualization information with its expected result; if the comparison passes, the current functional test is determined to be passed. The test host also, in response to the result of the current functional test passing, executes the next target test step.

[0037] Compared with existing DCS testing systems, the fully automated logic function testing device for the DCS system of the present invention, in addition to having a test host as the main body for functional testing, adds a visualization information acquisition device for acquiring visualization information corresponding to the output signal of the target DCS cabinet without cutting off the information transmission path between the target DCS cabinet and downstream equipment, thereby realizing the testing of the corresponding logic function of the target DCS cabinet.

[0038] As can be seen from the above, the fully automatic logic function test device for DCS systems of the present invention can effectively solve the problem that existing logic function test systems applied to nuclear power plant DCS systems are not suitable for testing the corresponding logic functions of DCS cabinets whose output signals are configured to be displayed in a visual manner on the corresponding downstream equipment of the nuclear power plant DCS system.

[0039] The fully automated logic function testing method for the DCS system of the present invention and the fully automated logic function testing device for the DCS system described above belong to the same general inventive concept, and have at least the same beneficial effects as the fully automated logic function testing device for the DCS system described above, the beneficial effects of which will not be repeated here.

[0040] Other features and advantages of the present invention will be described in detail in the following detailed description section. Attached Figure Description

[0041] The present invention can be better understood by referring to the following description taken in conjunction with the accompanying drawings, in which the same or similar reference numerals are used throughout the drawings to denote the same or similar parts.

[0042] Figure 1 A structural block diagram of a fully automated logic function testing device for a DCS system according to an embodiment of the present invention is shown.

[0043] Figure 2 A structural block diagram of another fully automated logic function testing device for a DCS system according to an embodiment of the present invention is shown;

[0044] Figure 3 A structural block diagram of another fully automated logic function test apparatus for a DCS system according to an embodiment of the present invention is shown.

[0045] Figure 4 A structural block diagram of a fully automated logic function test apparatus for a DCS system according to an embodiment of the present invention is shown.

[0046] Figure 5 A flowchart illustrating the implementation of a fully automated logical function testing method for a DCS system according to an embodiment of the present invention is shown. Detailed Implementation

[0047] To enable those skilled in the art to more fully understand the technical solutions of the present invention, exemplary embodiments of the present invention will be described more comprehensively and in detail below with reference to the accompanying drawings. Obviously, the one or more embodiments of the present invention described below are merely one or more specific ways to implement the technical solutions of the present invention, and are not exhaustive. It should be understood that other ways belonging to a general inventive concept can be used to implement the technical solutions of the present invention, and should not be limited to the embodiments described exemplary. Based on one or more embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0048] Example: Figure 1 A structural block diagram of a fully automated logic function testing device for a DCS system according to an embodiment of the present invention is shown. (Refer to...) Figure 1 The fully automated logical function testing device for the DCS system of this invention includes a test host and a visualization information acquisition device.

[0049] The test host is used to execute target test steps in response to test case execution instructions, the execution of target test steps including:

[0050] A test signal is sent to the target DCS cabinet. If the output signal of the target DCS cabinet corresponds to the visualized information displayed by the downstream device, the visualized information acquisition device is controlled to acquire and upload the visualized information without cutting off the information transmission path between the target DCS cabinet and the downstream device. The received visualized information is then compared with the expected result. If the comparison passes, the current functional test is deemed to have passed.

[0051] It is also used to execute the next target test step in response to the result of the current functional test passing.

[0052] Specifically, in this embodiment of the invention, the number of test hosts is one or more. The number of test hosts is related to the number of test channels on the test hosts, the number of DCS racks to be tested, and the number of test channels in each DCS rack. For example, if there are M1 DCS racks, N1 test channels in each DCS rack, and m test channels supported by each test host, then the number of test hosts is (M1×N1) / m, rounded up. Alternatively, the M1 DCS racks can be tested in batches. If each batch contains M2 DCS racks, then the number of test hosts is (M2×N1) / m, rounded up.

[0053] Specifically, in this embodiment of the invention, the test host includes a test host body, a signal output device, and a data receiving device. When the target test step is executed, the test host body, which runs automatic test software and loads test examples, generates test signals based on corresponding test signal generation parameters and sends the test signals to the target DCS cabinet through the signal output device.

[0054] When the output signal of the target DCS cabinet is a first type signal, the test signal output terminal of the target DCS cabinet is connected to the test host through the data receiving device. The output test signal directly reaches the test host through the data receiving device. The test host compares the received test signal with its expected result to determine whether the corresponding logical function test has passed.

[0055] When the test signal output by the target DCS cabinet is configured to be displayed as visual information on the corresponding downstream equipment of the nuclear power plant DCS system, the test host generates a visualization information acquisition command and sends the command to the visualization information acquisition device. The visualization information acquisition device responds to the command, acquires the corresponding visualization information, and uploads it to the test host. The test host compares the received visualization information with its expected result to determine whether the corresponding logical function test has passed.

[0056] The signal output device is implemented using a multi-channel IO board. The number of signal output devices can be one or more. The actual number of devices is mainly related to the external expansion capability of the test host and the specific test requirements. Users can flexibly configure the number of devices according to the actual situation.

[0057] The data receiving device is implemented using a multi-channel I / O board. The number of data receiving devices can be one or more. The actual number of devices is mainly related to the external expansion capability of the test host and specific test requirements. Users can flexibly configure the number of devices according to their actual situation.

[0058] Specifically, in the target test step, the number of target DCS cabinets is one or more, that is, the test host can test only one DCS cabinet at a time, or it can test two or more DCS cabinets at the same time. The specific situation is related to the test case. In the target test step, the number of test signals is one or more, that is, the test host can test only one channel to be tested at a time, or it can test two or more channels to be tested at the same time. The two or more channels to be tested can both belong to the same DCS cabinet, or they can belong to two or more DCS cabinets respectively.

[0059] Specifically, in this embodiment of the invention, the visualization information acquisition device is used to acquire images of the target area of ​​the downstream device and process the images of the target area to obtain visualization information.

[0060] In this embodiment of the invention, the number of downstream devices is one or more, and the number of visualization information acquisition devices is one or more. The actual number of downstream devices is related to the specific planning of the nuclear power plant's DCS system; the number of visualization information acquisition devices is related to the size of the visualization information display area of ​​the downstream devices and the layout of the downstream devices. For example, when the visualization information display area of ​​a downstream device is too large for one visualization information acquisition device to cover, two or more visualization information acquisition devices are needed. Alternatively, if the distance between two downstream devices is large, and one visualization information acquisition device cannot cover the visualization information display areas of both downstream devices, then one visualization information acquisition device needs to be configured for each of the two downstream devices. Conversely, if the distance between two downstream devices is small, and one visualization information acquisition device can simultaneously cover the visualization information display areas of both downstream devices, then only one visualization information acquisition device is needed.

[0061] Furthermore, in this embodiment of the invention, both the target DCS cabinet and the downstream equipment belong to the nuclear power plant DCS system. The downstream equipment includes two types of equipment in the main control room of the nuclear power plant: one type of equipment is image display equipment, and the other type of equipment is a backup disk.

[0062] When the downstream device is an image display device, the visualization information acquired by the visualization information acquisition device includes the content information of the target image;

[0063] When the downstream device is a backup panel, the visualization information acquired by the visualization information acquisition device includes the status information of the target instrument.

[0064] Specifically, in this embodiment of the invention, the image display device includes an image display device under the nuclear power plant computer information and control system and an image display device under the safety display system. The nuclear power plant computer information and control system, as a human-machine interface and monitoring and management component, implements functions such as platform startup and shutdown, fault analysis, data backup, and user permission allocation to ensure the smooth operation of the power plant. The safety display system, as part of the reactor protection system, is a safety display unit with a two-layer human-machine interface, providing relevant parameters for the nuclear power plant's safety level and allowing manual operation commands for safety functions when necessary. The backup panel serves as a backup measure in case of failure of the digital technology in the main control room of the nuclear power plant. It is used for safe reactor shutdown and maintaining the reactor at a cold shutdown level, as well as handling accident conditions. The backup panel implements three functions: alarm, display, and control. Its safety and reliability are crucial for ensuring safe reactor shutdown. The image display device under the nuclear power plant computer information and control system, the image display device under the safety display system, and the backup panel are all located in the main control room of the nuclear power plant.

[0065] Specifically, in this embodiment of the invention, the status information of the target instrument includes whether the indicator light on the target instrument is constantly on, constantly off, or flashing, as well as the pointer position of the target instrument. Taking the flashing state as an example, the test host sends a test signal to the target DCS cabinet. The purpose of this test signal is to cause the target DCS cabinet to output an alarm signal, which is displayed in the form of flashing target indicator lights on the corresponding instrument on the backup panel. The visualization information acquisition device continuously acquires images of the target area on the backup panel to analyze whether the target indicator light is flashing. If so, it sends 1 to the test host; if not, it sends 0 to the test host.

[0066] Taking the downstream device as an image display device as an example, the test host sends a test signal to the target DCS cabinet. The purpose of this test signal is to cause the target DCS cabinet to output a video signal, which is then displayed on the image display device in video format. The visualization information acquisition device continuously acquires images of the target area of ​​the image display device to analyze the corresponding video content and sends the video content information to the test host.

[0067] The visualization information acquisition device utilizes a high-speed camera with a built-in image processing system. This system, based on the Python programming language, uses Tkinter as the window display framework and OpenCV to drive the camera to acquire and recognize images. Existing Python development libraries are mature, and proper application of library functions can effectively improve software development efficiency. The image processing system employs three main types of library functions: First, the socket library for real-time communication. The socket layer is an intermediate abstraction layer in network communication, located between the application layer and the TCP / IP protocol. Its interface allows for convenient and quick calls to the TCP / IP protocol, enabling real-time information transmission. Second, OpenCV, a library for image processing and computer vision, encapsulates many image processing functions, which the system uses to help achieve color change recognition. Third, the deep learning library PaddlePaddle imports a text recognition model through PaddlePaddle, enabling text information recognition.

[0068] Image processing systems specifically include:

[0069] The Tkinter module is responsible for selecting the visualization window and recognition area, and it is also responsible for real-time information transmission.

[0070] The DealColor module is responsible for image acquisition, image preprocessing, and color recognition. Its main functions are TransformColor and IdentifyEdge, which are responsible for color space conversion and contour recognition, respectively.

[0071] The DealWords module is responsible for importing models for text recognition processing. It mainly includes the DetectText and IdentifyText algorithms, and its main functions are text detection and recognition.

[0072] The Tkinter module, as the main module of the program, is responsible for controlling the work of other modules. The results generated by other modules are also fed back to this module for analysis to produce the final recognition result.

[0073] Furthermore, Figure 2 A structural block diagram of another fully automated logic function testing device for a DCS system according to an embodiment of the present invention is shown. (Refer to...) Figure 2 As an optional solution, in this embodiment of the invention, the visualization information acquisition device includes two types: a first visualization information acquisition device and a second visualization information acquisition device.

[0074] The first visualization information acquisition device is used to acquire images of the target area of ​​the downstream device when the downstream device is a backup disk or an image display device whose input signal cannot be truncated, and to process the target area images to obtain visualization information, which includes the status information of the target instrument or the content information of the target screen.

[0075] The second visualization information acquisition device is used to cut off and copy the output signal of the target DCS cabinet on the information transmission path when the downstream device is an image display device whose input signal can be truncated, and to acquire the corresponding visualization information based on the copied output signal. The visualization information includes the content information of the target screen.

[0076] Specifically, in this embodiment of the invention, a composite scheme is adopted for acquiring visualization information. That is, if the downstream device is a backup disk or an image display device whose input signal cannot be truncated, a first visualization information acquisition device is used to acquire visualization information; if the downstream device is an image display device whose input signal can be truncated, a second visualization information acquisition device is used to acquire visualization information.

[0077] The first visualization information acquisition device also uses a high-speed camera with a built-in image processing system, which will not be described in detail here. The second visualization information acquisition device uses an image processing device with a built-in image processing system and a video capture card. The video capture card intercepts, captures, and copies the video signal output from the target DCS cabinet during transmission to the image display device. One copy of the video signal is transmitted to the image display device as usual, while the other copy is analyzed by the image processing device to acquire visualization information.

[0078] In this embodiment of the invention, when the downstream device is a backup disk or an image display device whose input signal cannot be truncated, a first visualization information acquisition device is used to acquire visualization information. When the downstream device is an image display device whose input signal can be truncated—that is, although the output signal of the target DCS cabinet will be displayed on the downstream device in a visual manner, but the security level of the output signal is slightly lower, allowing it to be truncated and copied during transmission to the downstream device—a second visualization information acquisition device is used to acquire visualization information. The reason why the first visualization information acquisition device is not used in both cases is that the second visualization information acquisition device, compared to the first, saves the image acquisition step and directly acquires video content information based on the video signal.

[0079] Furthermore, Figure 3 A structural block diagram of another fully automated logic function testing device for a DCS system according to an embodiment of the present invention is shown. (Refer to...) Figure 3The fully automatic logic function testing device for the DCS system in this embodiment of the invention also includes a screen switching device;

[0080] The visualization information acquisition device is also used to determine whether the current display screen of the image display device is the display screen corresponding to the visualization information when the downstream device is an image display device. If not, the screen switching device switches the current display screen to the display screen corresponding to the visualization information by touching the screen switching key on the image display device.

[0081] The screen switching keys are either physical buttons or touch buttons on the display screen of the image display device.

[0082] Specifically, in this embodiment of the invention, the screen switching device is a robotic arm controlled by the test host.

[0083] Furthermore, Figure 4 This diagram illustrates a structural block diagram of another fully automated logic function testing device for a DCS system according to an embodiment of the present invention. (Refer to...) Figure 4 As an optional solution, the fully automatic logic function testing device for the DCS system in this embodiment of the invention includes a first screen switching device and a second screen switching device connected to an image display device.

[0084] The first visualization information acquisition device is also used to determine whether the current display screen of the image display device is the display screen corresponding to the visualization information when the downstream device is an image display device whose input signal is not allowed to be truncated.

[0085] The first screen switching device is used to switch the current screen to the screen corresponding to the visual information by touching the screen switching key on the image display device when the current screen of the image display device is not the screen corresponding to the visual information and the image display device does not allow third-party command input devices to access.

[0086] The screen switching keys are either physical buttons or touch buttons on the display screen of the image display device.

[0087] The second screen switching device is used to send a screen switching command to the image display device to switch the current screen to the screen corresponding to the visual information when the current screen of the image display device is not the screen corresponding to the visual information and the image display device allows access from a third-party command input device.

[0088] Specifically, in this embodiment of the invention, the first screen switching device is a robotic arm controlled by the test host, and the second screen switching device is a macro-programmable mouse controlled by the test host.

[0089] In this embodiment of the invention, when the current display screen of the image display device is not the display screen corresponding to the visualization information, it is necessary to switch the current display screen of the image display device to the display screen corresponding to the visualization information. The relevant display screen switching operation can adopt two schemes. The first is that all image display devices use robotic arms, which switch the display screen by touching the screen switching key on the image display device. The second is that robotic arms are used for image display devices that do not allow third-party command input devices, while macro-programmable mice are used for image display devices that do allow third-party command input devices. Specifically, the macro-programmable mouse is pre-connected to the image display device and can receive action commands from the test host, and respond to the action commands by operating on a specified area on the display screen to achieve the switching of the display screen. A program developed using the PYTHON language can simulate mouse actions. The pyautogui.moveTo() function is used to move the mouse to the desired position in advance, and then the pyautogui.click() function is used to perform the mouse click action.

[0090] In this embodiment of the invention, the second method described above is preferred because the solution of switching display screens based on a mouse that supports macro programming is easy to implement and has a low cost. It only requires the use of a robotic arm for image display devices that do not allow access to third-party command input devices.

[0091] Accordingly, based on the fully automated test device for the logic function of a DCS system proposed in the embodiments of the present invention, the embodiments of the present invention also propose a fully automated test method for the logic function of a DCS system.

[0092] Figure 5 A flowchart illustrating the implementation of a fully automated logical function testing method for a DCS system according to an embodiment of the present invention is shown. (Refer to...) Figure 5 The fully automated logical function testing method for a DCS system according to embodiments of the present invention is implemented based on the fully automated logical function testing device for a DCS system proposed in embodiments of the present invention and applied to a test host, specifically including the following steps:

[0093] Step S100: In response to the test case execution instruction, execute the target test steps, which include:

[0094] Send a test signal to the target DCS cabinet. If the information corresponding to the output signal of the target DCS cabinet is the visualized information displayed by the downstream device, then without cutting off the information transmission path between the target DCS cabinet and the downstream device, control the visualized information acquisition device to acquire and upload the visualized information, and compare the received visualized information with its expected result. If the comparison is successful, the current function test is determined to be successful.

[0095] Step S200: In response to the result of the current functional test passing, execute the next target test step.

[0096] The fully automated logic function testing method for a DCS system according to this invention involves the test host loading a test case. After the test host loads the test case, it responds to the user-inputted test case execution command and executes each test step in the test case sequentially. If the current test step passes, the next test step is automatically executed to achieve fully automated logic function testing. If the current test step fails, the user is alerted in a predetermined manner to promptly identify and resolve the problem. This setup is because the test steps are usually interconnected; the previous test step is typically the basis for the execution of the next test step. Otherwise, the next test step will fail due to the previous test step's failure, or even if the next test step passes, it will be meaningless and requires retesting after the previous test step passes.

[0097] While one or more embodiments of the present invention have been described above, those skilled in the art will recognize that the present invention can be implemented in any other form without departing from its spirit and scope. Therefore, the embodiments described above are illustrative and not restrictive, and many modifications and substitutions will be apparent to those skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims

1. A fully automated logic function testing device for a DCS system, characterized in that, Includes a test host and a visualization information acquisition device; The test host is used to execute target test steps in response to test case execution instructions, the execution of target test steps including: A test signal is sent to the target DCS cabinet. If the information corresponding to the output signal of the target DCS cabinet is visualized information displayed through downstream devices, then without severing the information transmission path between the target DCS cabinet and the downstream devices, the visualized information acquisition device is controlled to acquire and upload the visualized information, and the received visualized information is compared with its expected result. If the comparison passes, the current functional test is deemed to have passed. In addition, it is also used to execute the next target test step in response to the result of the current functional test passing; The downstream equipment includes image display equipment and backup disks in the main control room of the nuclear power plant; The visualization information acquisition device includes a first visualization information acquisition device; The first visualization information acquisition device is used to acquire a target area image of the downstream device when the downstream device is a backup disk or an image display device whose input signal cannot be truncated, and to process the target area image to obtain the visualization information, which includes the status information of the target instrument or the content information of the target screen.

2. The fully automated logic function testing device for a DCS system according to claim 1, characterized in that, The visualization information acquisition device further includes a second visualization information acquisition device; The second visualization information acquisition device is used to truncate and copy the output signal on the information transmission path when the downstream device is an image display device whose input signal can be truncated, and to acquire corresponding visualization information based on the copied output signal. The visualization information includes the content information of the target image.

3. The fully automated logic function testing device for a DCS system according to claim 1, characterized in that, It also includes a first-screen switching device; The first visualization information acquisition device is further configured to determine whether the current display screen of the image display device is the display screen corresponding to the visualization information when the downstream device is an image display device whose input signal is not allowed to be truncated; The first screen switching device is used to switch the current screen to the screen corresponding to the visualization information by touching the screen switching key on the image display device when the current screen of the image display device is not the screen corresponding to the visualization information and the image display device does not allow access from a third-party command input device.

4. The fully automated logic function testing device for a DCS system according to claim 3, characterized in that, It also includes a second screen switching device connected to the image display device; The second screen switching device is used to send a screen switching command to the image display device to switch the current screen to the screen corresponding to the visualization information when the current screen of the image display device is not the screen corresponding to the visualization information and the image display device allows access from a third-party command input device.

5. The fully automated logic function testing device for a DCS system according to claim 4, characterized in that, The first screen switching device is a robotic arm controlled by the test host; And / or, the second screen switching device is a macro-programmable mouse controlled by the test host.

6. A fully automated test method for the logical functions of a DCS system, characterized in that, The fully automated logical function testing device for the DCS system described in claim 1, implemented and applied to the test host, includes the following steps: In response to the test case execution instruction, the target test steps are executed, the execution of the target test steps includes: Send a test signal to the target DCS cabinet. If the information corresponding to the output signal of the target DCS cabinet is the visualized information displayed by the downstream device, then without cutting off the information transmission path between the target DCS cabinet and the downstream device, control the visualized information acquisition device to acquire and upload the visualized information, and compare the received visualized information with its expected result. If the comparison is successful, the current function test is determined to be successful. In response to the current functional test passing the result, proceed to the next target test step.