CN117354170A - Full-automatic response time testing device and method for DCS system - Google Patents

Full-automatic response time testing device and method for DCS system Download PDF

Info

Publication number
CN117354170A
CN117354170A CN202311459812.8A CN202311459812A CN117354170A CN 117354170 A CN117354170 A CN 117354170A CN 202311459812 A CN202311459812 A CN 202311459812A CN 117354170 A CN117354170 A CN 117354170A
Authority
CN
China
Prior art keywords
signal
response time
visual information
target
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311459812.8A
Other languages
Chinese (zh)
Inventor
王旭
李延凯
黄仕龙
原伟超
林萌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xenon Samarium Technology Co ltd
Original Assignee
Shanghai Xenon Samarium Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Xenon Samarium Technology Co ltd filed Critical Shanghai Xenon Samarium Technology Co ltd
Priority to CN202311459812.8A priority Critical patent/CN117354170A/en
Publication of CN117354170A publication Critical patent/CN117354170A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides a full-automatic response time testing device and method for a DCS (distributed control system). The device comprises a test host and a visual information acquisition device. The method comprises the following steps: if the item to be tested is the response time of the uplink signal, transmitting the uplink signal for enabling the item to be tested to output a first response signal to the target DCS cabinet; controlling the visual information acquisition device to enter a waiting acquisition state so as to acquire visual information under the condition of not cutting off an information transmission path between the target DCS cabinet and the upper equipment; and determining the response time of the uplink signal according to the uplink signal sending time and the visual information obtaining time, and judging whether the response time meets the standard. According to the invention, the problem that the existing response time test system applied to the DCS system of the nuclear power plant cannot realize automatic test of the response time of the uplink signal can be solved.

Description

Full-automatic response time testing device and method for DCS system
Technical Field
The invention belongs to the technical field of digital instrument control systems of nuclear power plants, and particularly relates to a full-automatic response time testing device and method of a DCS (distributed control system).
Background
Existing nuclear power plants are typically equipped with a digital control system (DCS system for short) for monitoring and protecting various hardware devices of the nuclear power plant during the operation of the nuclear power plant. At present, for some types of DCS systems related to safety, such as reactor protection systems, before the DCS systems are formally connected to a nuclear power plant system, the response time of the DCS systems needs to be tested, and after the test is passed, the response time of the DCS systems is determined to meet the standard, the DCS systems can be connected to the nuclear power plant system.
The response time test of the existing DCS system mainly comprises three aspects of an uplink signal response time test, a downlink signal response time test and a logic function response time test. The uplink signal response time refers to the time that the lower equipment in the 0 th layer of the DCS system transmits uplink signals to the DCS cabinet in the 1 st layer of the DCS system to the upper equipment in the 2 nd layer of the DCS system, and the response action is carried out according to the output signals of the DCS cabinet; the downlink signal response time refers to the time that elapses from the sending of the downlink signal from the upper device to the DCS cabinet to the response of the lower device according to the output signal of the DCS cabinet; the logic function response time refers to the time taken for the DCS cabinet to execute a logic function, that is, the time taken for the DCS cabinet to pass from receiving a logic function trigger signal from a lower device to outputting a signal acquired based on execution of the logic function.
The response time test of the existing DCS system is usually realized based on the DCS test system. The test mode of the existing DCS test system for the response time of the uplink signal is mainly as follows:
the signal output end of the DCS test system is connected with the signal input end of the DCS cabinet in a hard wiring mode, and the DCS test system simulates lower equipment to send an uplink signal to the DCS cabinet so that the DCS cabinet outputs a corresponding response signal to the upper equipment; for the upper end, a manual observation mode is needed to determine the moment of response action of the upper equipment; after determining the moment of the response action of the upper equipment, taking the time interval between the upper equipment and the uplink signal sending moment as the uplink signal response time, and further judging whether the uplink signal response time meets the standard. In the testing process of the response time of the uplink signal, the time of the response action of the upper equipment needs to be determined by adopting a manual observation mode, because the output signal of the DCS cabinet is a signal of which the corresponding information is displayed on the upper equipment in the form of visual information. In general, the visual information presentation time determined by the observer is used as the time of the response action of the upper device.
According to the above, the existing DCS test system cannot realize automatic test of the response time of the uplink signal, so that the manual participation not only can cause the problems of high labor cost and low efficiency, but also can cause the objectivity and non-uniformity of the determination of the display time of the visual information due to the different response time of different observers, namely, the different display time of the visual information obtained by different observers under the same observation task, which will affect the determination of the response time of the uplink signal and the subsequent determination of whether the response time of the uplink signal meets the standard.
Disclosure of Invention
The invention aims to solve the problem that the existing response time test system applied to the DCS system of the nuclear power plant cannot realize automatic test of the response time of an uplink signal.
In order to achieve the above purpose, the invention provides a full-automatic test device and method for response time of a DCS system.
According to a first aspect of the invention, there is provided a full-automatic test device for response time of a DCS system, the test device comprising a test host and a visual information acquisition device;
the test host is used for responding to the test case execution instruction and executing a target test step, and the execution target test step comprises the following steps:
If the item to be tested is the response time of the uplink signal, simulating the first type of lower equipment to send the uplink signal for enabling the first type of lower equipment to output a first response signal to a target DCS cabinet, wherein the first response signal is configured to be displayed on the upper equipment of the target DCS cabinet in a visual information mode;
controlling the visual information acquisition device to enter a waiting acquisition state so as to acquire the visual information without cutting off an information transmission path between the target DCS cabinet and the upper equipment;
determining the response time of the uplink signal according to the sending time of the uplink signal and the acquisition time of the visual information;
and judging whether the response time of the uplink signal is within a preset response time range of the uplink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
Optionally, the upper device is a device configured to display the visual information in layer 2 of the DCS system, and includes an image display device and a backup disc in a main control room of a nuclear power plant.
Optionally, the visual information obtaining device is configured to collect a target area image of the upper device, process the target area image to obtain the visual information, and upload the obtaining time information of the visual information to the test host;
When the upper device is an image display device, the visual information comprises content information of a target picture;
when the upper device is a backup disc, the visual information comprises state information of a target instrument.
Alternatively, the visual information acquiring means includes first visual information acquiring means and second visual information acquiring means;
the first visual information obtaining device is used for collecting a target area image of the upper device when the upper device is a backup disc or the input signal does not allow the truncated image display device, processing the target area image to obtain the visual information, uploading the visual information obtaining time information to the test host,
when the upper device is a backup disc, the visual information comprises the state information of the target instrument,
when the upper device is an image display device of which the input signal is not allowed to be truncated, the visual information comprises content information of a target picture;
the second visual information obtaining device is used for intercepting and copying the first response signal on the information transmission path when the upper device is an image display device with the input signal being allowed to be intercepted, obtaining corresponding visual information based on the copied first response signal, uploading the obtaining time information of the visual information to the test host,
The visual information includes content information of a target screen.
Optionally, the testing device further comprises a downlink signal triggering device;
the step of performing the target test further includes:
if the item to be tested is downlink signal response time, controlling the downlink signal triggering device to trigger the target image display equipment to send a downlink signal to the target DCS cabinet, wherein the downlink signal is used for enabling the target DCS cabinet to output a second response signal;
simulating a second type of lower equipment to receive the second response signal;
determining the response time of the downlink signal according to the triggering time of the downlink signal triggering device and the receiving time of the second response signal;
judging whether the response time of the downlink signal is within a preset response time range of the downlink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
Optionally, the downlink signal triggering device is configured to trigger the image display device to send a downlink signal to the target DCS cabinet by using a downlink signal sending key on the touch image display device;
the downlink signal sending key is an entity physical key or a touch key formed on a display screen of the image display device.
Optionally, the downlink signal triggering device comprises a first downlink signal triggering device and a second downlink signal triggering device;
the first downlink signal triggering device is used for triggering the image display device to send downlink signals to the target DCS cabinet in a mode of touching a downlink signal sending key on the image display device when the image display device does not allow the third party instruction input device to access,
the downlink signal sending key is an entity physical key or a touch key formed on a display screen of the image display device;
the second downlink signal triggering device is used for sending a downlink signal triggering instruction to the image display device when the image display device allows the third-party instruction input device to be accessed, and the downlink signal triggering instruction is used for enabling the image display device to send a downlink signal to the target DCS cabinet.
Optionally, the step of performing the target test further includes:
if the item to be tested is the logic function response time, simulating the first-class lower equipment to send a logic function trigger signal for enabling the first-class lower equipment to output a third response signal to the target DCS cabinet;
Receiving the third response signal;
determining the response time of the logic function according to the sending time of the logic function trigger signal and the receiving time of the third response signal;
judging whether the response time of the logic function is within a preset response time range of the logic function, if so, judging that the item to be tested passes the test, and executing the next target test step.
Optionally, the first-class lower-level device is a sensing-class device in layer 0 of the DCS system;
the second type lower device is an execution type device in the 0 th layer of the DCS system, and the execution type device is configured to respond to the received second response signal or third response signal to execute corresponding operation.
According to a second aspect of the present invention, there is provided a full-automatic test method for response time of a DCS system, the test method being implemented based on the full-automatic test apparatus for response time of a DCS system described above and applied to the test host, comprising the steps of:
in response to the test case execution instruction, performing a target test step comprising:
if the item to be tested is the response time of the uplink signal, simulating the first type of lower equipment to send the uplink signal for enabling the first type of lower equipment to output a first response signal to a target DCS cabinet, wherein the first response signal is configured to be displayed on the upper equipment of the target DCS cabinet in a visual information mode;
Controlling the visual information acquisition device to enter a waiting acquisition state so as to acquire the visual information without cutting off an information transmission path between the target DCS cabinet and the upper equipment;
determining the response time of the uplink signal according to the sending time of the uplink signal and the acquisition time of the visual information;
and judging whether the response time of the uplink signal is within a preset response time range of the uplink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
The invention has the beneficial effects that:
the full-automatic response time testing device of the DCS system comprises a testing host and a visual information acquisition device; the test host is used for responding to the test case execution instruction to execute a target test step, and the execution target test step comprises the following steps: if the item to be tested is the response time of the uplink signal, simulating the first-class lower equipment to send the uplink signal for enabling the first-class lower equipment to output a first response signal to the target DCS cabinet, wherein the first response signal is configured to be displayed on the upper equipment of the target DCS cabinet in a visual information mode; controlling the visual information acquisition device to enter a waiting acquisition state so as to acquire visual information under the condition that an information transmission path between the target DCS cabinet and the upper equipment is not cut off; determining the response time of the uplink signal according to the sending time of the uplink signal and the acquisition time of the visual information; and judging whether the response time of the uplink signal is within a preset response time range of the uplink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
Compared with the existing response time testing system applied to the DCS system of the nuclear power plant, the full-automatic response time testing device for the DCS system is additionally provided with a visual information acquisition device besides a testing host serving as a response time testing execution main body. Under the control of the test host, the visual information corresponding to the first response signal output by the target DCS cabinet can be acquired based on the visual information acquisition device under the condition that an information transmission channel between the target DCS cabinet and the upper equipment is not cut off, so that key indexes for determining the response time of the uplink signal are automatically acquired, namely the acquisition time of the visual information.
According to the above, the full-automatic response time testing device for the DCS system provided by the invention is capable of realizing full-automatic response time testing of the uplink signal based on the uplink signal sending time acquired by the testing host and the visual information acquiring time acquired by the visual information acquiring device, so that the problem that the existing response time testing system applied to the DCS system of a nuclear power plant cannot realize automatic response time testing of the uplink signal is effectively solved.
The full-automatic response time testing method and the full-automatic response time testing device for the DCS system belong to a general inventive concept, at least have the same beneficial effects as the full-automatic response time testing device for the DCS system, and the beneficial effects are not repeated herein.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The invention may be better understood by referring to the following description in conjunction with the accompanying drawings in which the same or similar reference numerals are used throughout the several drawings to designate the same or similar components.
FIG. 1 shows a first test schematic block diagram of a full-automatic response time testing device for a DCS system under an uplink signal response time test according to an embodiment of the present invention;
FIG. 2 shows a second test schematic block diagram of a full-automatic response time testing device for a DCS system under an uplink signal response time test according to an embodiment of the present invention;
FIG. 3 shows a first test schematic block diagram of a response time full-automatic test device of a DCS system under a downlink signal response time test according to an embodiment of the present invention;
FIG. 4 shows a second test schematic block diagram of a response time full-automatic test device of a DCS system under a downlink signal response time test according to an embodiment of the present invention;
FIG. 5 shows a test schematic block diagram of a full-automatic response time testing device for a DCS system under a logic function response time test according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will more fully understand the technical solutions of the present invention, exemplary embodiments of the present invention will be described more fully and in detail below with reference to the accompanying drawings. It should be apparent that the following description of one or more embodiments of the invention is merely one or more of the specific ways in which the technical solutions of the invention may be implemented and is not intended to be exhaustive. It should be understood that the technical solution of the present invention may be implemented in other ways belonging to one general inventive concept, and should not be limited by the exemplary described embodiments. All other embodiments, which may be made by one or more embodiments of the invention without inventive faculty, are intended to be within the scope of the invention.
Examples: fig. 1 shows a first test schematic block diagram of a response time full-automatic test device of a DCS system under an uplink signal response time test according to an embodiment of the present invention. Referring to fig. 1, a full-automatic response time testing device for a DCS system according to an embodiment of the present invention includes a test host and a visual information acquiring device;
The test host is used for responding to the test case execution instruction and executing a target test step, and the execution target test step comprises the following steps:
if the item to be tested is the response time of the uplink signal, simulating the first-class lower equipment to send the uplink signal for enabling the first-class lower equipment to output a first response signal to the target DCS cabinet, wherein the first response signal is configured to be displayed on the upper equipment of the target DCS cabinet in a visual information mode;
controlling the visual information acquisition device to enter a waiting acquisition state so as to acquire visual information under the condition that an information transmission path between the target DCS cabinet and the upper equipment is not cut off;
determining the response time of the uplink signal according to the sending time of the uplink signal and the acquisition time of the visual information;
and judging whether the response time of the uplink signal is within a preset response time range of the uplink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
Specifically, in the embodiment of the present invention, the number of test hosts is one or more than two. The number of the test hosts is related to the number of test channels of the test hosts, the number of DCS cabinets to be tested and the number of channels to be tested of each DCS cabinet, for example, the number of the DCS cabinets is M1, the number of the channels to be tested of each DCS cabinet is N1, the number of the test channels supportable by each test host is M, and the number of the test hosts is (M1×N1)/M and rounded up. Of course, batch test may be performed on M1 DCS cabinets, and if the number of DCS cabinets in each batch is M2, the number of test hosts is (m2×n1)/M, and rounded up.
Specifically, in the 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 running automatic test software and loading test examples generates a test signal, namely an uplink signal, based on corresponding test signal generation parameters, and sends the test signal to the target DCS cabinet through the signal output device.
Specifically, in the embodiment of the invention, a main body of a test host generates a visual information acquisition instruction and issues the visual information acquisition instruction to a visual information acquisition device, and the visual information acquisition device responds to the visual information acquisition instruction to enter a waiting acquisition state so as to prepare to acquire corresponding visual information; after the visual information is acquired, the visual information acquisition device uploads the acquisition time information of the visual information to the test host body, the test host body determines uplink signal response time according to the transmission time of the uplink signal and the acquisition time of the visual information, judges whether the uplink signal response time is within a preset uplink signal response time range, and if so, judges that the uplink signal response time passes.
The signal output device is realized by adopting a multi-channel IO board card, the number of the signal output device is one or more than two, the actual configuration number of the signal output device is mainly related to the external expansion capacity and specific test requirements of the main body of the test host, and the user can flexibly configure the number of the signal output device according to actual conditions.
The data receiving device is realized by adopting a multi-channel IO board card, the number of the data receiving device is one or more than two, the actual configuration number of the data receiving device is mainly related to the external expansion capacity and specific test requirements of the main body of the test host, and the user can flexibly configure the number of the data receiving device according to actual conditions.
Specifically, in the target testing step, the number of target DCS cabinets is one or more than two, that is, the testing host can test only one DCS cabinet at a time, and can also test more than two DCS cabinets at the same time, which condition is related to the test case; in the target test step, the number of the test signals is one or more than two, namely, the test host can test only one channel to be tested at a time, and can also test more than two channels to be tested simultaneously, and the more than two channels to be tested can all belong to the same DCS cabinet, or can respectively belong to more than two DCS cabinets.
Specifically, in the embodiment of the present invention, the visual information acquiring device is configured to acquire a target area image of the upper device, process the target area image to acquire visual information, and upload the acquisition time information of the visual information to the test host.
In the embodiment of the invention, the number of the upper devices is one or more than two, and the number of the visual information acquisition devices is one or more than two. The actual number of the upper equipment is related to the specific planning of the DCS system of the nuclear power plant; the number of the visual information obtaining devices is related to the size of the visual information display area of the upper device and the layout situation of the upper device, for example, when the visual information display area of one upper device is as large as one visual information obtaining device cannot be covered, more than two visual information obtaining devices are needed at the moment; for another example, the distance between the two upper devices is larger, and one visual information acquisition device cannot cover the visual information display areas of the two upper devices, and at this time, one visual information acquisition device needs to be respectively configured for the two upper devices; for example, the distance between the two upper devices is small, and one visual information acquisition device can cover the visual information display areas of the two upper devices at the same time, and only one visual information acquisition device is required to be arranged at this time.
Specifically, in the embodiment of the invention, when the uplink signal response time test is performed, the time interval between the sending time of the uplink signal and the obtaining time of the visual information is taken as the uplink signal response time. Because the test host sends the uplink signal to replace the first-class lower equipment, and the acquisition time of the visual information is closely related to the display time of the visual information, the response time of the uplink signal is enough to represent the response time of the uplink signal in a strict sense. In practical application, based on the uplink signal response time determining method adopted by the embodiment of the invention, the average difference between the display time of the visual information and the acquisition time of the visual information is considered to formulate a corresponding uplink signal response time range.
Further, in the embodiment of the invention, the upper device is a device configured to be capable of displaying visual information in the layer 2 of the DCS system, and comprises an image display device and a backup disc in a main control room of a nuclear power plant;
when the upper device is an image display device, the visual information comprises content information of a target picture;
when the upper device is a backup disc, the visual information comprises the state information of the target instrument.
Specifically, in the embodiment of the invention, the image display device comprises an image display device under a nuclear power plant computer information and control system and an image display device under a safety display system. The nuclear power plant computer information and control system is used as a man-machine interaction and monitoring and management part to realize the functions of platform starting, shutdown, fault analysis, data backup, user authority allocation and the like so as to ensure the smooth operation of the power plant. The safety display system is used as a part of the reactor protection system and is a safety display unit of a 2-layer man-machine interface, provides relevant parameters of the safety level of the nuclear power plant, and can carry out manual operation commands of safety functions if necessary. The backup disc is used as a standby means after the digital technology of the main control room of the nuclear power plant fails and is used for safely shutting down and maintaining the reactor at the cold shutdown level and processing under the accident working condition, and the backup disc realizes three functions of alarming, displaying and controlling, so that the safety and the reliability of the backup disc are very important for guaranteeing the safe shutdown of the reactor. The image display equipment under the nuclear power plant computer information and control system, the image display equipment under the safety display system and the backup disc are all arranged in the nuclear power plant main control room.
Specifically, in the embodiment of the invention, the state information of the target instrument comprises normal on, normal off and flashing of the indicator lamp on the target instrument and the pointer position of the target instrument. Taking a flashing state as an example, the test host sends an uplink signal to the target DCS cabinet, where the uplink signal is aimed at enabling the target DCS cabinet to output an alarm signal, and the alarm signal is displayed in a form of flashing a target indicator light of a corresponding instrument on the backup disc. The visual information acquisition device continuously acquires target area images of the backup disc to analyze whether the target indicator lamp is in a flickering state, if so, the acquisition time of a first target area image in the multiple target area images which are commonly used for determining that the target indicator lamp is in the flickering state is used as the corresponding visual information acquisition time, and the visual information acquisition time information is uploaded to the test host.
Taking the image display device as an example, the test host sends an uplink signal to the target DCS cabinet, where the uplink signal is for the target DCS cabinet to output a video signal, and the video signal is displayed on the image display device in a video form. The visual information acquisition device continuously acquires target area images of the image display equipment to analyze corresponding video content, takes the acquisition time of a first target area image in a target area image sequence commonly used for analyzing the video content as visual information acquisition time, and uploads visual information acquisition time information to the test host.
The visual information acquisition device is realized by adopting a high-speed camera with an image processing system, wherein the image processing system is based on a Python programming language, tlater is adopted as a window display frame, and an OpenCV (open control channel) is utilized to drive the camera to acquire image information and perform image recognition. The existing Python development library is mature, and the correct application of library functions can effectively improve the efficiency of software development. The library functions adopted by the image processing system are mainly of three types: the first type is a socket library for real-time information communication, the socket layer is an intermediate abstract layer in network communication and is positioned between an application layer and a TCP/IP protocol, and the TCP/IP protocol can be conveniently and rapidly called through an interface of the socket layer, so that real-time information transmission is realized; the second is the library OpenCV for image processing and computer vision direction, which encapsulates many image processing functions that the image processing system uses to help achieve color change recognition; the third type is a deep learning library PaddlePaddle through which a model for character recognition is imported, thereby realizing recognition of text information.
The image processing system specifically includes:
the Tkiner module is responsible for selecting a visual window and an identification area, and the module is responsible for transmitting real-time information;
the DealColor module is responsible for acquiring pictures, preprocessing the pictures and identifying the colors, and comprises a transform color and an identify edge which are respectively responsible for carrying out color space conversion and contour identification;
the DealWords module is responsible for importing a model to perform word recognition processing, comprises a main algorithm of detecting text and identifying text, and has the main functions of text detection and word recognition.
The Tlater module is used as a main module of the program and is responsible for controlling other modules to work, and results generated by the other modules are fed back to the module for analysis, so that a final recognition result is generated.
Still further, fig. 2 shows a second test schematic block diagram of a fully automatic response time testing device for a DCS system under an uplink signal response time test according to an embodiment of the present invention. Referring to fig. 2, as an alternative, in an embodiment of the present invention, the visual information obtaining device includes two types of first visual information obtaining devices and second visual information obtaining devices;
the first visual information obtaining device is used for collecting a target area image of the upper device when the upper device is a backup disc or the input signal does not allow the truncated image display device, processing the target area image to obtain visual information, uploading the visual information obtaining time information to the test host,
When the upper device is a backup disc, the corresponding visual information comprises the state information of the target instrument,
when the upper device is an image display device of which the input signal is not allowed to be truncated, the corresponding visual information comprises content information of a target picture;
the second visual information obtaining device is used for intercepting and copying the first response signal on the information transmission path between the target DCS cabinet and the upper device when the upper device is the image display device which is allowed to be intercepted by the input signal, obtaining the corresponding visual information based on the copied first response signal, uploading the obtaining time information of the visual information to the test host,
the visual information includes content information of the target screen.
Specifically, in the embodiment of the present invention, a composite scheme is adopted for obtaining the visual information, that is, if the upper device is a backup disc or the input signal does not allow the truncated image display device, the first visual information obtaining device is adopted to obtain the visual information, and if the upper device is the input signal allows the truncated image display device, the second visual information obtaining device is adopted to obtain the visual information.
The first visual information obtaining device is also implemented by a high-speed camera with an image processing system, which is not described herein. The second visual information acquisition device is realized by adopting image processing equipment with an image processing system and a video acquisition card, the video acquisition card cuts off, captures and copies video signals output by the target DCS cabinet in the process of transmitting the video signals to the image display equipment, one video signal is transmitted to the image display equipment as usual, and the other video signal is analyzed by the image processing equipment so as to realize acquisition of visual information and determination of visual information acquisition time. The visual information acquisition time is the acquisition time of a first frame image in video acquired by the image processing equipment according to the video signal.
In the embodiment of the invention, for the case that the upper device is a backup disc or the input signal is not allowed to be truncated image display device, a first visual information acquisition device is adopted to acquire visual information; in the case that the upper device is an image display device allowing the input signal to be truncated, namely, although the output signal of the target DCS cabinet is displayed on the upper device in a visual information manner, the security level of the output signal is slightly lower, so that the output signal is allowed to be truncated and copied in the process of being transmitted to the upper device, and in this case, the visual information acquisition is realized by adopting the second visual information acquisition device. The first visual information acquiring device is not adopted in the two cases, and the second visual information acquiring device is compared with the first visual information acquiring device, so that the image acquisition step is saved, and video content information is directly acquired based on a video signal. For the scheme adopting the second visual information acquisition device, when the range of the response time of the uplink signal is formulated, the average difference value between the display time of the visual information and the acquisition time of the visual information needs to be considered.
Still further, fig. 3 shows a first test schematic block diagram of a DCS system response time full-automatic test apparatus under the downlink signal response time test of the embodiment of the present invention. Referring to fig. 3, the full-automatic response time testing device of the DCS system according to the embodiment of the invention further includes a downlink signal triggering device;
the step of performing the target test further includes:
if the item to be tested is the response time of the downlink signal, controlling a downlink signal triggering device to trigger the target image display equipment to send the downlink signal to the target DCS cabinet, wherein the downlink signal is used for enabling the target DCS cabinet to output a second response signal;
simulating the second type lower level equipment to receive a second response signal;
determining the response time of the downlink signal according to the triggering time of the downlink signal triggering device and the receiving time of the second response signal;
judging whether the response time of the downlink signal is within a preset response time range of the downlink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
Specifically, in the embodiment of the invention, the downlink signal triggering device triggers the target image display equipment to send the downlink signal to the target DCS cabinet under the control of the test host, so that the automation of the downlink signal triggering transmission is realized. Compared with the mode of manually triggering the image display equipment to send the downlink signal in the existing downlink signal response time test, the mode adopted by the embodiment of the invention saves manpower and improves efficiency.
Specifically, in the embodiment of the present invention, the time interval between the triggering time of the downlink signal triggering device and the receiving time of the second response signal is taken as the downlink signal response time, and the downlink signal response time has a high correlation with the downlink signal response time in a strict sense, and the former is enough to represent the latter. In practical application, based on the downlink signal response time determining method adopted by the embodiment of the invention, the average execution response time of the second class of lower equipment is considered to formulate a corresponding downlink signal response time range.
Specifically, in the embodiment of the invention, the downlink signal triggering device is used for triggering the image display device to send a downlink signal to the target DCS cabinet in a mode of adopting a downlink signal sending key on the touch image display device;
the downlink signal transmitting key is a physical key or a touch key formed on a display screen of the image display device.
Specifically, in the embodiment of the invention, the downlink signal triggering device is a manipulator controlled by the test host, a micro switch is arranged on the touch end of the end effector of the manipulator, and the manipulator is further provided with a trigger time information sending unit controlled by the micro switch; when the touch end of the end effector of the manipulator touches a downlink signal transmitting key on the image display device, the micro switch is closed under the pressure effect, and the trigger time information transmitting unit transmits trigger time information with a time tag to the test host in response to the closing of the micro switch.
Still further, fig. 4 shows a second test schematic block diagram of a response time full-automatic test device for a DCS system under a downlink signal response time test according to an embodiment of the present invention. Referring to fig. 4, as an alternative, the downlink signal triggering device according to the embodiment of the present invention includes two types of first downlink signal triggering devices and second downlink signal triggering devices;
the first downlink signal triggering device is used for triggering the image display device to send downlink signals to the target DCS cabinet in a mode of touching a downlink signal sending key on the image display device when the image display device does not allow the third party instruction input device to access;
the downlink signal sending key is an entity physical key or a touch key formed on a display screen of the image display device;
the second downlink signal triggering device is used for sending a downlink signal triggering instruction to the image display device when the image display device allows the third-party instruction input device to be accessed, and the downlink signal triggering instruction is used for enabling the image display device to send a downlink signal to the target DCS cabinet.
Specifically, in the embodiment of the present invention, the first downlink signal triggering device also adopts a manipulator controlled by the test host, which is not described herein. The second downlink signal triggering device adopts a mouse which is controlled by the test host and supports macro programming.
Specifically, in the embodiment of the invention, a composite scheme is adopted for triggering and transmitting the downlink signal, and a manipulator is adopted for executing the operation of triggering and transmitting the downlink signal under the condition that the image display device does not allow the third-party instruction input device to be accessed. For the condition that the image display equipment allows the third party instruction input equipment to be accessed, executing the operation of triggering and sending the downlink signal by adopting a mouse supporting macro programming; the method comprises the steps that a mouse supporting macro programming is accessed into an image display device in advance, and meanwhile, an action instruction from a test host can be received, and an operation is performed in a designated area on a display screen in response to the action instruction so as to realize triggering and sending of downlink signals; specifically, a program developed using the PYTHON language can simulate the action of a mouse, move the mouse to a desired position in advance using a pyaugui.moveto () function, and then click the mouse using a pyaugui.click () function.
Specifically, in the embodiment of the invention, for two schemes of implementing downlink signal trigger transmission, a scheme of using a mouse supporting macro programming is preferable, because the scheme of implementing downlink signal trigger transmission based on the mouse supporting macro programming is easy to implement and has lower cost, and only a scheme of using a manipulator for an image display device which is not allowed to be accessed by a third party instruction input device is adopted. For the scheme of adopting the mouse supporting macro programming, the moment when the test host sends the action instruction to the mouse supporting macro programming is taken as the corresponding trigger moment.
Still further, fig. 5 shows a test schematic block diagram of a full-automatic test device for response time of a DCS system under the test of response time of a logic function according to an embodiment of the present invention. Referring to fig. 5, in an embodiment of the present invention, the performing the target test step further includes:
if the item to be tested is the logic function response time, simulating the first-class lower equipment to send a logic function trigger signal for enabling the first-class lower equipment to output a third response signal to the target DCS cabinet;
receiving a third response signal output by the target DCS cabinet;
determining logic function response time according to the sending time of the logic function trigger signal and the receiving time of the third response signal;
judging whether the response time of the logic function is within a preset response time range of the logic function, if so, judging that the item to be tested passes the test, and executing the next target test step.
Specifically, in the embodiment of the present invention, the time interval between the sending time of the logic function trigger signal and the receiving time of the third response signal is taken as the logic function response time, and the logic function response time has high correlation with the logic function response time in the strict sense, and the former is equal to the sum of the latter and the signal transmission time, and is enough to represent the latter. In practical application, the logic function response time range is formulated according to the logic function response time definition mode adopted by the embodiment of the invention.
Still further, in the embodiment of the present invention, the first type of lower equipment is a sensing type equipment in layer 0 of the DCS system, such as a temperature sensor and a pressure sensor;
the second type of lower level device is an execution type device in layer 0 of the DCS system, which is configured to perform a corresponding operation, such as a field alarm, in response to the received second response signal or third response signal, and to control a target device outside the DCS system of the nuclear power plant, such as a device based on the second response signal or third response signal.
Specifically, in the prior art, the DCS system includes a 0 th layer, a 1 st layer and a 2 nd layer, wherein the 0 th layer is a process system layer, and includes sensing devices for collecting relevant operation parameters of the physical equipment of the nuclear power plant and executing devices for controlling the operation state of the physical equipment of the nuclear power plant; the layer 1 is a digital instrument control system layer, mainly a DCS cabinet, and the digital instrument control system layer transmits control instructions to execution equipment through logic calculation processing by collecting various sensing signals of a process system layer, and simultaneously provides information such as nuclear power plant operation parameters, equipment action states and the like for a nuclear power plant main control room; the layer 2 is a nuclear power plant main control room and mainly comprises an image display device under a nuclear power plant computer information and control system, an image display device under a safety display system and a backup disc.
Correspondingly, on the basis of the full-automatic response time testing device of the DCS system provided by the embodiment of the invention, the embodiment of the invention also provides a full-automatic response time testing method of the DCS system, which is realized based on the full-automatic response time testing device of the DCS system provided by the embodiment of the invention and applied to a testing host, and comprises the following steps:
in response to the test case execution instruction, performing a target test step comprising:
if the item to be tested is the response time of the uplink signal, simulating the first-class lower equipment to send the uplink signal for enabling the first-class lower equipment to output a first response signal to the target DCS cabinet, wherein the first response signal is configured to be displayed on the upper equipment of the target DCS cabinet in a visual information mode;
controlling the visual information acquisition device to enter a waiting acquisition state so as to acquire visual information under the condition that an information transmission path between the target DCS cabinet and the upper equipment is not cut off;
determining the response time of the uplink signal according to the sending time of the uplink signal and the acquisition time of the visual information;
and judging whether the response time of the uplink signal is within a preset response time range of the uplink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
Further, in an embodiment of the present invention, the step of performing the target test further includes:
if the item to be tested is the response time of the downlink signal, controlling a downlink signal triggering device to trigger the target image display equipment to send the downlink signal to the target DCS cabinet, wherein the downlink signal is used for enabling the target DCS cabinet to output a second response signal;
simulating the second type lower level equipment to receive a second response signal;
determining the response time of the downlink signal according to the triggering time of the downlink signal triggering device and the receiving time of the second response signal;
judging whether the response time of the downlink signal is within a preset response time range of the downlink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
Still further, in an embodiment of the present invention, the step of performing the target test further includes:
if the item to be tested is the logic function response time, simulating the first-class lower equipment to send a logic function trigger signal for enabling the first-class lower equipment to output a third response signal to the target DCS cabinet;
receiving a third response signal output by the target DCS cabinet;
determining logic function response time according to the sending time of the logic function trigger signal and the receiving time of the third response signal;
Judging whether the response time of the logic function is within a preset response time range of the logic function, if so, judging that the item to be tested passes the test, and executing the next target test step.
According to the full-automatic test method for the response time of the DCS system, after the test host loads the test cases, the test host responds to the test case execution instruction input by the user to execute each test step included in the test cases according to the sequence, and if the current test step passes, the next test step is automatically executed to realize full-automatic response time test; if the current test step fails, reminding the user based on a preset mode so as to facilitate the user to find the problem and solve the problem in time, and setting the method, because the test steps are generally associated, the previous test step is generally the basis for executing the next test step, otherwise, the next test step fails because the previous test step fails, or even if the next test step fails, the method needs to be re-detected after the previous test step passes.
Although one or more embodiments of the present invention have been described above, it will be appreciated by those of ordinary skill in the art that the invention can be embodied in any other form without departing from the spirit or scope thereof. The above-described embodiments are therefore intended to be illustrative rather than limiting, and many modifications and substitutions will now be apparent to those of ordinary skill in the art without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims (10)

1. The full-automatic response time testing device of the DCS system is characterized by comprising a testing host and a visual information acquisition device;
the test host is used for responding to the test case execution instruction and executing a target test step, and the execution target test step comprises the following steps:
if the item to be tested is the response time of the uplink signal, simulating the first type of lower equipment to send the uplink signal for enabling the first type of lower equipment to output a first response signal to a target DCS cabinet, wherein the first response signal is configured to be displayed on the upper equipment of the target DCS cabinet in a visual information mode;
controlling the visual information acquisition device to enter a waiting acquisition state so as to acquire the visual information without cutting off an information transmission path between the target DCS cabinet and the upper equipment;
determining the response time of the uplink signal according to the sending time of the uplink signal and the acquisition time of the visual information;
and judging whether the response time of the uplink signal is within a preset response time range of the uplink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
2. The full-automatic response time testing device of a DCS system according to claim 1, wherein the upper device is a device in layer 2 of the DCS system configured to display the visual information, and comprises an image display device and a backup disc in a main control room of a nuclear power plant.
3. The full-automatic response time testing device of the DCS system according to claim 2, wherein the visual information obtaining device is configured to collect a target area image of the host device, process the target area image to obtain the visual information, and upload the acquisition time information of the visual information to the test host;
when the upper device is an image display device, the visual information comprises content information of a target picture;
when the upper device is a backup disc, the visual information comprises state information of a target instrument.
4. The full-automatic response time testing device of a DCS system according to claim 2, wherein the visual information acquiring means comprises a first visual information acquiring means and a second visual information acquiring means;
the first visual information obtaining device is used for collecting a target area image of the upper device when the upper device is a backup disc or the input signal does not allow the truncated image display device, processing the target area image to obtain the visual information, uploading the visual information obtaining time information to the test host,
When the upper device is a backup disc, the visual information comprises the state information of the target instrument,
when the upper device is an image display device of which the input signal is not allowed to be truncated, the visual information comprises content information of a target picture;
the second visual information obtaining device is used for intercepting and copying the first response signal on the information transmission path when the upper device is an image display device with the input signal being allowed to be intercepted, obtaining corresponding visual information based on the copied first response signal, uploading the obtaining time information of the visual information to the test host,
the visual information includes content information of a target screen.
5. The full-automatic response time testing device of a DCS system according to claim 2, further comprising a downstream signal triggering device;
the step of performing the target test further includes:
if the item to be tested is downlink signal response time, controlling the downlink signal triggering device to trigger the target image display equipment to send a downlink signal to the target DCS cabinet, wherein the downlink signal is used for enabling the target DCS cabinet to output a second response signal;
Simulating a second type of lower equipment to receive the second response signal;
determining the response time of the downlink signal according to the triggering time of the downlink signal triggering device and the receiving time of the second response signal;
judging whether the response time of the downlink signal is within a preset response time range of the downlink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
6. The full-automatic response time testing device of the DCS system according to claim 5, wherein the downlink signal triggering device is configured to trigger the image display device to send a downlink signal to the target DCS cabinet by using a downlink signal sending key on the touch image display device.
7. The full-automatic response time testing device of a DCS system according to claim 5, wherein the downstream signal trigger device comprises a first downstream signal trigger device and a second downstream signal trigger device;
the first downlink signal triggering device is used for triggering the image display equipment to send a downlink signal to the target DCS cabinet in a mode of touching a downlink signal sending key on the image display equipment when the image display equipment does not allow the third party instruction input equipment to access;
The second downlink signal triggering device is used for sending a downlink signal triggering instruction to the image display device when the image display device allows the third-party instruction input device to be accessed, and the downlink signal triggering instruction is used for enabling the image display device to send a downlink signal to the target DCS cabinet.
8. The full-automatic response time testing device of a DCS system of claim 5, wherein the performing the target test step further comprises:
if the item to be tested is the logic function response time, simulating the first-class lower equipment to send a logic function trigger signal for enabling the first-class lower equipment to output a third response signal to the target DCS cabinet;
receiving the third response signal;
determining the response time of the logic function according to the sending time of the logic function trigger signal and the receiving time of the third response signal;
judging whether the response time of the logic function is within a preset response time range of the logic function, if so, judging that the item to be tested passes the test, and executing the next target test step.
9. The full-automatic response time testing device of a DCS system according to claim 8, wherein the first type of lower level device is a sensing type device in layer 0 of the DCS system;
The second type lower device is an execution type device in the 0 th layer of the DCS system, and the execution type device is configured to respond to the received second response signal or third response signal to execute corresponding operation.
10. The full-automatic response time testing method of the DCS system is characterized by being realized based on the full-automatic response time testing device of the DCS system as claimed in claim 1 and applied to the testing host, and comprises the following steps:
in response to the test case execution instruction, performing a target test step comprising:
if the item to be tested is the response time of the uplink signal, simulating the first type of lower equipment to send the uplink signal for enabling the first type of lower equipment to output a first response signal to a target DCS cabinet, wherein the first response signal is configured to be displayed on the upper equipment of the target DCS cabinet in a visual information mode;
controlling the visual information acquisition device to enter a waiting acquisition state so as to acquire the visual information without cutting off an information transmission path between the target DCS cabinet and the upper equipment;
determining the response time of the uplink signal according to the sending time of the uplink signal and the acquisition time of the visual information;
And judging whether the response time of the uplink signal is within a preset response time range of the uplink signal, if so, judging that the item to be tested passes the test, and executing the next target test step.
CN202311459812.8A 2023-11-03 2023-11-03 Full-automatic response time testing device and method for DCS system Pending CN117354170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311459812.8A CN117354170A (en) 2023-11-03 2023-11-03 Full-automatic response time testing device and method for DCS system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311459812.8A CN117354170A (en) 2023-11-03 2023-11-03 Full-automatic response time testing device and method for DCS system

Publications (1)

Publication Number Publication Date
CN117354170A true CN117354170A (en) 2024-01-05

Family

ID=89364872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311459812.8A Pending CN117354170A (en) 2023-11-03 2023-11-03 Full-automatic response time testing device and method for DCS system

Country Status (1)

Country Link
CN (1) CN117354170A (en)

Similar Documents

Publication Publication Date Title
US20180107196A1 (en) Method of Detecting Home Appliance Bus Control System
CN109493985B (en) Digital auxiliary control panel system of nuclear power plant, design method and control system
CN107529667B (en) Mixed reality nuclear power plant simulation and analysis system
US20080183406A1 (en) Online IED Fault Diagnosis Device and Method for Substation Automation System Based on IEC61850
CN103152601A (en) Intelligent failure-reporting camera and network management client system thereof
CN113472079B (en) Power distribution station operation and maintenance monitoring cloud robot system, background processing and operation task method
CN109101398A (en) AOI wire body monitoring method and system
KR102239906B1 (en) System, method and apparatus for smart management based on augmented reality
CN112181549B (en) System and method for recognizing dynamic perception of power icon of transformer substation monitoring interface
CN116582339B (en) Intelligent building network security monitoring method and monitoring system
CN117354170A (en) Full-automatic response time testing device and method for DCS system
CN117037059A (en) Equipment management method and device based on inspection monitoring and electronic equipment
CN103645977A (en) Automatic debugging system and method for electronic products
CN115481941A (en) Multifunctional area combined intelligent security management method and system
CN117311291A (en) Full-automatic logic function testing device and method for DCS system
CN114372003A (en) Test environment monitoring method and device and electronic equipment
CN112871940B (en) Paroxysmal non-fixed point source dust control effect monitoring system and method
CN112085654B (en) Configurable analog screen recognition system
CN111736539B (en) Monitoring data display method, device, system, server and storage medium
CN113419914A (en) Stability testing method based on machine vision detection
CN103513621A (en) Method for analyzing technological parameter default value of digital control system of nuclear power plant
CN105573874A (en) Multi-thread based real-time data transmission bus test method
CN107015815B (en) Device for simulating safety control display equipment of nuclear power station
CN111923042A (en) Virtualization processing method and system for cabinet grid and inspection robot
Zhu et al. Analysis on cognitive behaviors and prevention of human errors of coalmine hoist drivers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination