Detection method and device of distributed control system, equipment and medium

By realizing network communication between the module to be detected and the detection device in the distributed control system, generating and outputting input quantity signals, collecting actual output quantities, and generating control signals based on preset conditions and detection accuracy, the DCS detection process is solved The problems of low multi-person collaboration efficiency and high error rate have achieved efficient and accurate detection results.

CN119225339APending Publication Date: 2024-12-31STATE NUCLEAR POWER AUTOMATION SYST ENGCO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411348594.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

During the detection process of existing distributed control system (DCS), multiple people collaborate with walkie-talkies to communicate, resulting in low detection efficiency and prone to human-caused errors.

Method used

By realizing network communication between the module to be detected and the detection device in a distributed control system, the input quantity signal is generated and output, the actual output quantity is collected, and the control signal is generated based on preset conditions and detection accuracy, and high-precision instruments are used for detection. , ensure the accuracy of the test results.

Benefits of technology

It improves the test speed and operation execution efficiency, reduces the frequency of human errors, and ensures the accuracy and reliability of the detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225339A_ABST
    Figure CN119225339A_ABST
Patent Text Reader

Abstract

The invention provides a distributed control system detection method and device, equipment and a medium, the detection method is applied to the detection equipment, and the detection method comprises the following steps: obtaining a plurality of detection tasks corresponding to a to-be-detected module in a distributed control system; wherein the detection task is used for representing a task requirement for detecting the to-be-detected module; based on the detection task, performing network communication between the detection equipment and the to-be-detected module, and obtaining an actual output quantity through processing of the to-be-detected module; based on the actual output quantity and a preset output condition, obtaining an initial detection result corresponding to each detection task; and obtaining a target detection result corresponding to the to-be-detected module based on the initial detection result. Through network communication with the to-be-detected module in the distributed control system, detection data acquisition of the distributed operation system is realized, the test speed and the action execution efficiency are improved, the occurrence frequency of human errors is reduced, and the accuracy and the reliability of a detection result are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of distributed control systems, and in particular to a detection method, device, equipment and medium for a distributed control system. Background Art

[0002] After the DCS (Distributed Control System) is installed and powered on, it needs to be tested. System testing requires the collaboration of multiple people, who communicate through intercoms. Specifically, one person carries a signal meter to operate on the DCS channel, and after the operation is completed, another person is informed through the intercom to collect data at the detection end. This results in slow testing speed, low efficiency of action execution, and prone to human errors. Summary of the invention

[0003] The technical problem to be solved by the present disclosure is to overcome the defects of low detection efficiency and easy errors in the detection process of DCS in the prior art where multiple people collaborate and communicate using walkie-talkies, and to provide a detection method, device, equipment and medium for a distributed control system.

[0004] The present invention solves the above technical problems through the following technical solutions:

[0005] The present disclosure provides a detection method for a distributed control system, the detection method is applied to a detection device, and the detection method includes:

[0006] Acquire a number of detection tasks corresponding to the modules to be detected in the distributed control system;

[0007] The detection task is used to characterize the task requirements for detecting the module to be detected;

[0008] Based on the detection task, the detection device and the module to be detected perform network communication, and the actual output is obtained through processing by the module to be detected;

[0009] Based on the actual output and the preset output condition, obtaining an initial detection result corresponding to each of the detection tasks;

[0010] Based on the initial detection result, a target detection result corresponding to the module to be detected is obtained.

[0011] Preferably, the module to be detected includes an input module;

[0012] The step of enabling the detection device to communicate with the module to be detected through a network based on the detection task and obtaining the actual output after processing by the module to be detected comprises:

[0013] Based on the detection task, generating an input quantity signal;

[0014] Wherein, the input quantity signal includes an electrical quantity signal or a switch quantity signal;

[0015] Based on the detection task, the detection device is connected to a preset channel of the input module through a network;

[0016] Outputting the input quantity signal to the preset channel through the network connection, so that the input module outputs the actual output quantity based on the input quantity signal;

[0017] Wherein, the actual output quantity corresponds to the input quantity signal one by one;

[0018] The actual output is received via the network connection.

[0019] Preferably, the step of generating an input quantity signal based on the detection task includes:

[0020] Based on the detection task, determining the detection accuracy;

[0021] In response to the detection accuracy being greater than a preset accuracy, a corresponding control signal is generated and output to a high-precision instrument, so that the high-precision instrument outputs the input quantity signal.

[0022] Preferably, the module to be detected includes an output module;

[0023] The step of enabling the detection device to communicate with the module to be detected through a network based on the detection task and obtaining the actual output after processing by the module to be detected comprises:

[0024] Based on the detection task, the detection device is connected to a preset channel of the output module through a network;

[0025] The actual output quantity output by the output module is collected through the network connection.

[0026] Preferably, the step of collecting the actual output amount output by the output module through the network connection includes:

[0027] Based on the detection task, determining the detection accuracy;

[0028] In response to the detection accuracy being greater than a preset accuracy, a corresponding control signal is generated and output to a high-precision instrument, so that the high-precision instrument collects the actual output through the network connection.

[0029] Preferably, the control signal includes at least one of an RS485 (a communication standard) serial communication signal, a network communication signal and a USB (Universal Serial Bus) communication signal.

[0030] The present disclosure also provides a detection device for a distributed control system, the detection device is applied to a detection device, and the detection device comprises:

[0031] A detection task acquisition module, used to acquire a number of detection tasks corresponding to the modules to be detected in the distributed control system;

[0032] The detection task is used to characterize the task requirements for detecting the module to be detected;

[0033] A network communication module, used to enable the detection device to communicate with the module to be detected based on the detection task, and obtain the actual output after being processed by the module to be detected;

[0034] An initial result acquisition module, used to obtain an initial detection result corresponding to each of the detection tasks based on the actual output amount and the preset output condition;

[0035] The target result acquisition module is used to obtain the target detection result corresponding to the module to be detected based on the initial detection result.

[0036] Preferably, the module to be detected includes an input module;

[0037] The network communication module includes:

[0038] An input quantity generating unit, used for generating an input quantity signal based on the detection task;

[0039] Wherein, the input quantity signal includes an electrical quantity signal or a switch quantity signal;

[0040] A first connection establishing unit, configured to establish a network connection between the detection device and a preset channel of the input module based on the detection task;

[0041] an output quantity acquisition unit, configured to output the input quantity signal to the preset channel through the network connection, so that the input module outputs the actual output quantity based on the input quantity signal;

[0042] Wherein, the actual output quantity corresponds to the input quantity signal one by one;

[0043] An output quantity receiving unit is used to receive the actual output quantity through the network connection.

[0044] Preferably, the input quantity generating unit comprises:

[0045] A first accuracy determination subunit, configured to determine the detection accuracy based on the detection task;

[0046] The instrument output subunit is used to generate a corresponding control signal in response to the detection accuracy being greater than a preset accuracy, and output the control signal to the high-precision instrument, so that the high-precision instrument outputs the input quantity signal.

[0047] Preferably, the module to be detected includes an output module;

[0048] The network communication module includes:

[0049] A second connection establishing unit, configured to establish a network connection between the detection device and a preset channel of the output module based on the detection task;

[0050] An output quantity collection unit is used to collect the actual output quantity output by the output module through the network connection.

[0051] Preferably, the output quantity acquisition unit comprises:

[0052] A second accuracy determination subunit, configured to determine the detection accuracy based on the detection task;

[0053] The output acquisition subunit is used to generate a corresponding control signal in response to the detection accuracy being greater than a preset accuracy and output it to a high-precision instrument, so that the high-precision instrument acquires the actual output through the network connection.

[0054] Preferably, the control signal includes at least one of an RS485 serial communication signal, a network communication signal and a USB communication signal.

[0055] The present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and used to run on the processor, and the processor implements the above-mentioned detection method of the distributed control system when executing the computer program.

[0056] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned detection method of the distributed control system is implemented.

[0057] The present disclosure also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the detection method of the distributed control system as described above is implemented.

[0058] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.

[0059] The positive and progressive effects of this disclosure are:

[0060] The present invention realizes the detection data collection of the distributed operating system by communicating with the module to be detected in the distributed control system through the network, thereby improving the test speed and action execution efficiency, reducing the frequency of human errors, and ensuring the accuracy and reliability of the detection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 This is a flow chart of a detection method for a distributed control system according to Embodiment 1 of the present disclosure;

[0062] Figure 2 It is a schematic diagram of the structure of the detection device and DCS of Example 1 of the present disclosure;

[0063] Figure 3 This is a schematic diagram of the structure of the execution unit of Embodiment 1 of the present disclosure;

[0064] Figure 4 This is a first flow chart of step S102 in the detection method of the distributed control system of embodiment 2 of the present disclosure;

[0065] Figure 5 This is a flow chart of step S1021 in the detection method of the distributed control system of embodiment 2 of the present disclosure;

[0066] Figure 6 A second flow chart of step S102 in the detection method of the distributed control system of embodiment 2 of the present disclosure;

[0067] Figure 7 This is a flow chart of step S1026 in the detection method of the distributed control system of embodiment 2 of the present disclosure;

[0068] Figure 8 This is a specific example diagram of the detection method of the distributed control system of Embodiment 2 of the present disclosure;

[0069] Fig. 9 This is a module schematic diagram of a detection device of a distributed control system according to Embodiment 3 of the present disclosure;

[0070] Fig.10 This is a module schematic diagram of a detection device of a distributed control system according to Embodiment 4 of the present disclosure;

[0071] Fig.11 This is a schematic diagram of the structure of an electronic device according to Embodiment 5 of the present disclosure. DETAILED DESCRIPTION

[0072] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.

[0073] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.

[0074] In the embodiments of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0075] Example 1

[0076] This embodiment provides a detection method for a distributed control system, which is applied to a detection device, such as Figure 1 As shown, the detection method includes:

[0077] S101, obtaining a number of detection tasks corresponding to the modules to be detected in the distributed control system;

[0078] Among them, the detection task is used to represent the task requirements for detecting the module to be detected;

[0079] S102, based on the detection task, the detection device and the module to be detected perform network communication, and the actual output is obtained through processing by the module to be detected;

[0080] S103, obtaining an initial detection result corresponding to each detection task based on the actual output amount and the preset output condition;

[0081] S104: Based on the initial detection result, obtain the target detection result corresponding to the module to be detected.

[0082] Specifically, Figure 2 As shown, the detection device includes three hardware modules: an execution unit, an operator, and a server. A detection device includes a server, at least one operator, and at least one execution unit. When multiple people use it simultaneously, there can be at least one operator and at least one execution unit online. When multiple people operate at the same time, they need to obtain the permission of the corresponding execution unit. An execution unit can only be controlled by at most one operator. The execution unit and the operator, and the server and the operator communicate via Wi-Fi (wireless communication technology). The detection device communicates with the DCS via the server, and the server and the DCS are connected via the network.

[0083] The server can access the information in the DCS, i.e. the actual output, through the network. The server can also be used to save all test data and test script templates. The test data includes the initial test results and the target test results. The server communicates with the operator via Wi-Fi and can be requested and accessed by multiple operators at the same time.

[0084] The operator can request the server to generate a test report via Wi-Fi. The generated test report contains the test data and the electronic signature of the test engineer.

[0085] The operator is a device with Wi-Fi function, including but not limited to laptops, tablets and other devices. The operator needs to log in to the operator account. After logging in, the operator can choose to associate the execution unit in the Wi-Fi network. After the association is completed, the test items can be sent to the corresponding execution unit. The test items are pre-set in the database on the server and are designed according to the test procedure files in the database. A module to be tested can correspond to a test item or a detection item. The detection item is an item for detecting modules in the DCS, including which modules to detect, which electrical quantities to detect, etc. The operator requests the test items from the server and displays them on the operator. The test items can also be modified, such as deleting several items that are not required to be tested.

[0086] The operator selects the test script template obtained from the server during use, and can also make relevant modifications to the test script template according to the detection requirements. For example, modify the number of test points of the five-point test method for testing the module to be detected, specifically, delete two points to change to a three-point test method or add two points to change to a seven-point test method; modify the test current range of the module to be detected, etc. This is just an example, and it can be set or adjusted according to actual conditions.

[0087] After the test engineer determines that the test script template is correct and the execution unit is online, the test phase begins. The operator will send the instrument operation and channel selection in the test script template to the execution unit, wait for the execution unit to complete the execution, and then obtain the relevant return value and make a judgment on whether the test passes or fails, that is, to obtain the test result. The relevant return value is the actual output. During the execution of the execution unit, the input quantity signal can be sent to the IO (input and output) channel of the server so that the module to be tested can obtain the actual output quantity according to the input quantity signal. After the test is completed, the operator returns the test result to the server for storage, and the server generates a test report for this test.

[0088] After obtaining the actual output corresponding to the detection task, the actual output is compared with the preset output condition to obtain the initial detection result corresponding to each detection task. The preset output condition can be a preset output. If the actual output is greater than the preset output, the initial detection result is that the detection fails; if the actual output is not greater than the preset output, the initial detection result is that the detection passes. The preset output condition can also be a preset output range. If the actual output falls within the preset output range, the initial detection result is that the detection passes; if the actual output does not fall within the preset output range, the initial detection result is that the detection fails.

[0089] According to the multiple initial detection results corresponding to each module to be detected, the target detection result corresponding to each module to be detected is obtained. For example, if the module to be detected corresponds to N detection tasks, if the initial detection results corresponding to at least M of the detection tasks are detection pass, then the target detection result corresponding to the module to be detected is detection pass; if the initial detection results corresponding to less than M detection tasks are detection pass, then the target detection result corresponding to the module to be detected is detection fail. 1≤M≤N, M and N are both integers.

[0090] The operator can also record the SN number (unique identification number) of the module to be detected to distinguish different modules to be detected and record the target detection results of different modules to be detected; the detection status is displayed on the operator interface, such as which detection task is currently being detected, whether the detection is passed, etc.

[0091] like Figure 3 The figure shows the structure diagram of the execution unit. The execution unit includes at least one wireless conditioning module and a connector. The channels of each module to be detected in the DCS are connected to the wireless conditioning module through the connector. The wireless conditioning module receives instructions such as the operation of the instrument and the selection of the channel from the operator, and completes the channel switching and the operation of the instrument according to the prescribed actions. The prescribed action is the action of obtaining the actual output quantity corresponding to different modules to be detected. The execution unit can choose whether to have a handheld high-precision instrument according to the type or demand of the module to be detected.

[0092] In this embodiment, by communicating with the module to be detected in the distributed control system through the network, detection data collection of the distributed operating system is realized, the test speed and action execution efficiency are improved, the frequency of human errors is reduced, and the accuracy and reliability of the detection results are ensured.

[0093] Example 2

[0094] This embodiment provides a detection method for a distributed control system, which is a further improvement on Embodiment 1.

[0095] In an implementable solution, the module to be detected includes an input module;

[0096] like Figure 4 As shown, step S102 includes:

[0097] S1021. Generate an input quantity signal based on the detection task;

[0098] Wherein, the input quantity signal includes an electrical quantity signal or a switch quantity signal;

[0099] S1022, based on the detection task, establishing a network connection between the detection device and a preset channel of the input module;

[0100] S1023, outputting the input quantity signal to a preset channel through a network connection, so that the input module outputs the actual output quantity based on the input quantity signal;

[0101] Among them, the actual output quantity corresponds to the input quantity signal one by one;

[0102] S1024. Receive actual output through a network connection.

[0103] Specifically, the input module includes an analog quantity input module and a switch quantity input module. The analog quantity includes current, voltage and resistance. Therefore, the analog quantity input module includes a current input module, a voltage input module and a resistance input module. The switch quantity includes two state values ​​of 0 and 1, and no other state values.

[0104] If the module to be detected is an analog input module, the corresponding analog output, that is, the electrical quantity signal, can be generated according to the detection task. According to the channel number required by the operator, switch to the corresponding channel to complete the electrical quantity input of the analog input module. After receiving the electrical quantity signal, the analog input module performs a series of calculations on the electrical quantity signal to obtain the actual output quantity, which is the value of a variable in the analog input module, and the value is a floating point number. The analog input module calculates the electrical quantity signal to obtain the actual output quantity, which is the function of the analog input module itself and will not be repeated here.

[0105] If the module to be detected is a switch quantity input module, the corresponding switch quantity output, i.e., the switch quantity signal, can be generated according to the detection task. According to the channel number required by the operator, switch to the corresponding channel to complete the switch quantity input of the switch quantity input module. After receiving the switch quantity signal, the switch quantity input module performs a series of calculations on the switch quantity signal to obtain the actual output quantity, which is the value of a variable in the switch quantity input module, and the value is a Boolean value.

[0106] In this solution, when the module to be detected is an input module, an input quantity signal is generated according to the detection task so that the module to be detected generates a corresponding actual output quantity, thereby ensuring the accuracy and reliability of the input module detection.

[0107] In one feasible solution, Figure 5 As shown, step S1021 includes:

[0108] S10211. Determine detection accuracy based on the detection task;

[0109] S10212. In response to the detection accuracy being greater than the preset accuracy, a corresponding control signal is generated and output to the high-precision instrument, so that the high-precision instrument outputs an input quantity signal.

[0110] Specifically, the requirements related to the detection accuracy can be recorded in the detection task. The detection accuracy in the detection task is obtained.

[0111] When the module to be detected is an analog input module, if the accuracy requirement is high, that is, the detection accuracy is greater than the preset accuracy, the wireless conditioning module is required to control the handheld high-precision instrument through a program so that the handheld high-precision instrument outputs the corresponding electrical quantity, that is, the input quantity signal.

[0112] When the module to be detected is an analog input module, if the accuracy requirement is not high, that is, the detection accuracy is not greater than the preset accuracy, the analog generation module can be used to generate the corresponding analog output, that is, the input signal. The analog generation module can be arranged inside or outside the wireless conditioning module, and its function of generating the analog output signal is a conventional technical means in the field, which will not be described here.

[0113] When the module to be detected is a switch quantity input module, since the switch quantity has only two state values ​​of 0 or 1 and no other state values, high-precision data is not required. Therefore, there is no need to judge the detection accuracy, and there is no need for a handheld high-precision instrument. It is necessary to generate a switch quantity signal through a switch quantity generating module and transmit it to the corresponding channel. The switch quantity generating module can be arranged inside or outside the wireless conditioning module, and its function of generating a switch quantity signal is a conventional technical means in the field, which will not be repeated here.

[0114] In this solution, when the detection accuracy requirement is high, the input quantity signal is generated by a high-precision instrument, which ensures the accuracy of the input quantity signal and improves the accuracy of input module detection.

[0115] In an implementable solution, the module to be detected includes an output module;

[0116] like Figure 6 As shown, step S102 includes:

[0117] S1025, detecting the task, so that the detection device establishes a network connection with the preset channel of the output module;

[0118] S1026. Collect the actual output of the output module through the network connection.

[0119] Specifically, the output module includes an analog output module and a switch output module. The analog quantity includes current, voltage and resistance. Therefore, the analog output module includes a current output module, a voltage output module and a resistance output module. The switch quantity includes two state values ​​of 0 and 1, and no other state values.

[0120] If the module to be tested is an analog output module, switch to the corresponding channel according to the channel number required by the operator, complete the electrical quantity collection of the analog output module, and transmit the collected electrical quantity value to the operator. The electrical quantity is the actual output quantity.

[0121] If the module to be detected is a switch output module, according to the channel number required by the operator, switch to the corresponding channel, receive the switch signal, and transmit the collected switch signal value to the operator. The switch signal is the actual output.

[0122] In this solution, when the module to be detected is an output module, a network connection is established according to the detection task to collect the actual output quantity of the module to be detected, thereby ensuring the accuracy and reliability of the output module detection.

[0123] In one feasible solution, Figure 7 As shown, step S1026 includes:

[0124] S10261. Determine detection accuracy based on the detection task;

[0125] S10262. In response to the detection accuracy being greater than the preset accuracy, a corresponding control signal is generated and output to a high-precision instrument, so that the high-precision instrument collects actual output through a network connection.

[0126] Specifically, the requirements related to the detection accuracy can be recorded in the detection task. The detection accuracy in the detection task is obtained.

[0127] When the module to be detected is an analog output module, if the accuracy requirement is high, that is, the detection accuracy is greater than the preset accuracy, the wireless conditioning module is required to control the handheld high-precision instrument through a program so that the handheld high-precision instrument can receive the corresponding electrical quantity, that is, the actual output quantity.

[0128] When the module to be detected is an analog output module, if the accuracy requirement is not high, that is, the detection accuracy is not greater than the preset accuracy, the corresponding analog output, that is, the actual output, can be collected through the analog generation module. The analog generation module can be arranged inside or outside the wireless conditioning module, and its function of collecting the actual output is a conventional technical means in the field, which will not be repeated here.

[0129] When the module to be detected is a switch output module, since the switch has only two state values ​​of 0 or 1 and no other state values, high-precision data is not required. Therefore, there is no need to judge the detection accuracy, and there is no need for a handheld high-precision instrument. It is necessary to receive the switch signal, that is, the actual output, through the switch generation module. The switch generation module can be arranged inside or outside the wireless conditioning module, and its function of receiving the switch signal is a conventional technical means in the field, which will not be repeated here.

[0130] In this solution, when the detection accuracy requirement is high, the actual output is received through a high-precision instrument, which ensures the accuracy of the actual output and improves the accuracy of output module detection.

[0131] In an implementable solution, the control signal includes at least one of an RS485 serial communication signal, a network communication signal, and a USB communication signal.

[0132] Specifically, the wireless conditioning module needs to include program control methods for multiple devices, that is, it can control at least one handheld high-precision instrument through a program according to the electrical quantity signal required by the operator. Its program control method can be: RS485 serial communication, network communication, USB communication, etc. If a new handheld high-precision instrument needs to be added, the function of the wireless conditioning module needs to be adaptively modified.

[0133] In this solution, by setting a variety of control signals, accurate control of high-precision instruments is guaranteed, and the convenience and flexibility of detecting the module to be detected are improved.

[0134] The working principle of the detection method of the distributed control system of this embodiment is explained below with reference to specific examples:

[0135] like Figure 8 As shown, the detection starts, the operator reads the detection items from the server, and the operator determines whether the detection is completed. If not, the next detection task is executed. During the detection task, the operator sends an electrical signal to the wireless conditioning module, and the wireless conditioning module prepares to generate or collect signals through program control of the signal source. After switching to the corresponding channel, the program controls the signal source to generate or collect signals. When generating a signal, the module to be detected is an input module, and when collecting a signal, the module to be detected is an output module. After the signal is generated, the signal is output to the module to be detected, and the module to be detected outputs the actual output according to the signal. When collecting signals, the signal is the actual output. According to the actual output, the initial detection result corresponding to the detection task is obtained. Return to the step of determining whether the detection is completed. If it is completed, the target detection result is obtained, and a report is generated according to the target detection result, and the detection is completed.

[0136] In this embodiment, by communicating with the module to be detected in the distributed control system through the network, detection data collection of the distributed operating system is realized, the test speed and action execution efficiency are improved, the frequency of human errors is reduced, and the accuracy and reliability of the detection results are ensured.

[0137] Example 3

[0138] This embodiment provides a detection device for a distributed control system, which is applied to a detection device, such as Fig. 9 As shown, the detection device comprises:

[0139] The detection task acquisition module 1 is used to acquire a number of detection tasks corresponding to the modules to be detected in the distributed control system;

[0140] Among them, the detection task is used to represent the task requirements for detecting the module to be detected;

[0141] The network communication module 2 is used to enable the detection device to communicate with the module to be detected based on the detection task, and obtain the actual output after being processed by the module to be detected;

[0142] The initial result acquisition module 3 is used to obtain the initial detection result corresponding to each detection task based on the actual output amount and the preset output condition;

[0143] The target result acquisition module 4 is used to obtain the target detection result corresponding to the module to be detected based on the initial detection result.

[0144] In this embodiment, by communicating with the module to be detected in the distributed control system through the network, detection data collection of the distributed operating system is realized, the test speed and action execution efficiency are improved, the frequency of human errors is reduced, and the accuracy and reliability of the detection results are ensured.

[0145] Example 4

[0146] This embodiment provides a detection device for a distributed control system, which is a further improvement on the third embodiment.

[0147] In an implementable solution, the module to be detected includes an input module;

[0148] like Fig.10 As shown, the network communication module 2 includes:

[0149] An input quantity generating unit 21, used to generate an input quantity signal based on a detection task;

[0150] Wherein, the input quantity signal includes an electrical quantity signal or a switch quantity signal;

[0151] A first connection establishing unit 22, configured to establish a network connection between the detection device and a preset channel of the input module based on the detection task;

[0152] An output quantity acquisition unit 23 is used to output the input quantity signal to a preset channel through a network connection, so that the input module outputs the actual output quantity based on the input quantity signal;

[0153] Among them, the actual output quantity corresponds to the input quantity signal one by one;

[0154] The output quantity receiving unit 24 is used to receive the actual output quantity through a network connection.

[0155] In an practicable solution, the input quantity generating unit 21 includes:

[0156] A first accuracy determination subunit 211, configured to determine the detection accuracy based on the detection task;

[0157] The instrument output subunit 212 is used to generate a corresponding control signal in response to the detection accuracy being greater than a preset accuracy, and output the control signal to the high-precision instrument, so that the high-precision instrument outputs an input quantity signal.

[0158] In an implementable solution, the module to be detected includes an output module;

[0159] The network communication module 2 includes:

[0160] A second connection establishing unit 25, configured to establish a network connection between the detection device and a preset channel of the output module based on the detection task;

[0161] The output quantity acquisition unit 26 is used to acquire the actual output quantity output by the output module through a network connection.

[0162] In one feasible solution, the output quantity acquisition unit 26 includes:

[0163] A second accuracy determination subunit 261 is used to determine the detection accuracy based on the detection task;

[0164] The output acquisition subunit 262 is used to generate a corresponding control signal in response to the detection accuracy being greater than the preset accuracy and output it to the high-precision instrument, so that the high-precision instrument can collect the actual output through the network connection.

[0165] In an implementable solution, the control signal includes at least one of an RS485 serial communication signal, a network communication signal, and a USB communication signal.

[0166] In this embodiment, by communicating with the module to be detected in the distributed control system through the network, detection data collection of the distributed operating system is realized, the test speed and action execution efficiency are improved, the frequency of human errors is reduced, and the accuracy and reliability of the detection results are ensured.

[0167] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.

[0168] Example 5

[0169] Fig.11 This is a structural schematic diagram of an electronic device shown in an example embodiment of the present disclosure, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, it implements the detection method of the distributed control system described in any of the above embodiments. Fig.11 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0170] like Fig.11 As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).

[0171] The bus 93 includes a data bus, an address bus, and a control bus.

[0172] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .

[0173] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.

[0174] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the detection method of the distributed control system provided in any of the above embodiments.

[0175] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the electronic device 90 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 96. As shown, the network adapter 96 communicates with other modules of the electronic device 90 via a bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0176] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0177] Example 6

[0178] The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the detection method of the distributed control system provided in any of the above embodiments is implemented.

[0179] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0180] Example 7

[0181] The embodiments of the present disclosure further provide a computer program product, including a computer program, which implements any of the above-mentioned detection methods for the distributed control system when executed by a processor.

[0182] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0183] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.

Claims

1. A detection method for a distributed control system, characterized in that: The detection method is applied to a detection device, and the detection method comprises: Acquire a number of detection tasks corresponding to the modules to be detected in the distributed control system; The detection task is used to characterize the task requirements for detecting the module to be detected; Based on the detection task, the detection device and the module to be detected perform network communication, and the actual output is obtained through processing by the module to be detected; Based on the actual output and the preset output condition, obtaining an initial detection result corresponding to each of the detection tasks; Based on the initial detection result, a target detection result corresponding to the module to be detected is obtained.

2. The detection method of a distributed control system according to claim 1, characterized in that: The module to be detected includes an input module; The step of enabling the detection device to communicate with the module to be detected through a network based on the detection task and obtaining the actual output after processing by the module to be detected comprises: Based on the detection task, generating an input quantity signal; Wherein, the input quantity signal includes an electrical quantity signal or a switch quantity signal; Based on the detection task, the detection device is connected to a preset channel of the input module through a network; Outputting the input quantity signal to the preset channel through the network connection, so that the input module outputs the actual output quantity based on the input quantity signal; Wherein, the actual output quantity corresponds to the input quantity signal one by one; The actual output is received via the network connection.

3. The detection method of a distributed control system according to claim 2, characterized in that: The step of generating an input quantity signal based on the detection task comprises: Based on the detection task, determining the detection accuracy; In response to the detection accuracy being greater than a preset accuracy, a corresponding control signal is generated and output to a high-precision instrument, so that the high-precision instrument outputs the input quantity signal.

4. The detection method of a distributed control system according to claim 1, characterized in that: The module to be detected includes an output module; The step of enabling the detection device to communicate with the module to be detected through a network based on the detection task and obtaining the actual output after processing by the module to be detected comprises: Based on the detection task, the detection device is connected to a preset channel of the output module through a network; The actual output quantity output by the output module is collected through the network connection.

5. The detection method of a distributed control system according to claim 4, characterized in that: The step of collecting the actual output amount output by the output module through the network connection includes: Based on the detection task, determining the detection accuracy; In response to the detection accuracy being greater than a preset accuracy, a corresponding control signal is generated and output to a high-precision instrument, so that the high-precision instrument collects the actual output through the network connection.

6. The detection method of a distributed control system according to claim 3 or 5, characterized in that: The control signal includes at least one of an RS485 serial communication signal, a network communication signal and a USB communication signal.

7. A detection device for a distributed control system, characterized in that: The detection device is applied to a detection device, and the detection device comprises: A detection task acquisition module, used to acquire a number of detection tasks corresponding to the modules to be detected in the distributed control system; The detection task is used to characterize the task requirements for detecting the module to be detected; A network communication module, used to enable the detection device to communicate with the module to be detected based on the detection task, and obtain the actual output after being processed by the module to be detected; An initial result acquisition module, used to obtain an initial detection result corresponding to each of the detection tasks based on the actual output amount and the preset output condition; The target result acquisition module is used to obtain the target detection result corresponding to the module to be detected based on the initial detection result.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the detection method of the distributed control system according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the detection method of the distributed control system according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the detection method of the distributed control system according to any one of claims 1 to 6 is implemented.