Protection system test system and test method thereof
By introducing timed loop control technology into the protection system testing, a highly efficient response time test is achieved, which simplifies the operation process and reduces hardware costs, thus solving the problem of low efficiency in existing technologies.
Patent Information
- Application Number
- CN202511487386.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-17
- Publication Date
- 2026-01-23
AI Technical Summary
Existing protection systems suffer from low response time testing efficiency, require cumbersome configuration and wiring operations, and have high hardware costs.
By employing timed loop control technology, the analog signal injection and shutdown signal acquisition are designed into a timed loop thread. The software control eliminates the need for hardware acquisition channels, simplifying the operation process.
It improves the efficiency of protection system response time testing, reduces hardware costs, and simplifies the operation process.
Smart Images

Figure CN121385474A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of protection system test, specifically to the technical field of nuclear emergency device, and more specifically to a protection system test system and a test method thereof. BACKGROUND
[0002] For the response time test of a protection system (such as a nuclear power protection system), the past technical solutions all need to take the analog signal back sampling injected into the protection system as the starting time for calculating the response time, and thus the test system needs to be configured with corresponding hardware acquisition channels or a separate special acquisition device, so that tedious configuration and wiring operations need to be repeatedly performed every time of test, resulting in low efficiency of the entire test process.
[0003] Therefore, how to more efficiently perform the protection system test has become a technical problem to be solved in the industry. SUMMARY
[0004] In view of the defects of the prior art, the purpose of the present application is to more efficiently perform the protection system test, and to solve the problem of low efficiency of the existing protection system response time test.
[0005] To achieve the above-mentioned purpose, in a first aspect, the present application provides a protection system test system applied to a protection system, wherein the protection system comprises an acquisition unit and a trigger unit; the test system comprises: a controller, a current output module, a digital acquisition module, an analog current interface, a digital acquisition interface and an upper computer; The analog current interface is used to be connected with the acquisition unit, and the digital acquisition interface is used to be connected with the trigger unit; the upper computer, the current output module, the analog current interface, the digital acquisition interface and the digital acquisition module are all connected with the controller; the current output module is connected with the analog current interface, and the digital acquisition module is connected with the digital acquisition interface; The upper computer is used to send a current signal output instruction to the controller; The controller is used to control the current output module to output a current signal required by the current signal output instruction to the acquisition unit through the analog current interface when the current signal output instruction is received; The digital acquisition module is used to collect a shutdown signal through the digital acquisition interface under the control of the controller when the current signal is an over-limit current signal and the trigger unit outputs the shutdown signal; The current output driving function called by the analog current interface and the digital acquisition driving function called by the digital acquisition interface are set in the same flow state of the same timing cycle thread of the controller system.
[0006] In a second aspect, the application provides a test method applied to the protection system test system as described above, comprising: When receiving the over-limit current output instruction sent by the host computer, the controller controls the current output module to output the over-limit current signal to the analog current interface; When the analog current interface receives the over-limit current signal and calls the current output driving function to update the output current signal, the controller records the first response time of the thread at present; When the acquisition unit of the protection system acquires the over-limit current signal, drives the trigger unit to output the shutdown signal to the digital acquisition interface, and the digital acquisition interface calls the digital acquisition driving function to update the output, the controller records the second response time of the thread at present; The controller determines the shutdown test response time of the protection system based on the first response time and the second response time.
[0007] Overall, compared with the prior art, the above technical solutions conceived by the application have the following beneficial effects: The application provides a protection system test system and a test method thereof. By introducing the control technology of timing cycle, the analog signal injection and the shutdown signal acquisition are designed in one timing cycle thread. The timing cycle ensures the stability of the cycle interval. The calculation of the response time is based on the analog signal injection as the starting time and the shutdown signal acquisition time as the termination time. There is no need to acquire the injection signal in parallel as the starting end of the response time record. There is no complicated configuration and wiring operation in the test process. The efficiency of the protection system response time test can be greatly improved. At the same time, by using the software control mode, there is no need to configure the hardware acquisition channel or a separate dedicated acquisition device. The hardware cost of the test system can be greatly reduced. The operation is more simple and effective. BRIEF DESCRIPTION OF DRAWINGS
[0008] Figure 1 is one of the structural schematic diagrams of the protection system test system provided by the embodiments of the application; Figure 2 is a flowchart of the protection system response time test in the prior art; Figure 3 is a flowchart of the protection system response time test provided by the embodiments of the application; Figure 4 is another structural schematic diagram of the protection system test system provided by the embodiments of the application; Figure 5 is a structural schematic diagram of the protection system test system provided by the embodiments of the application; Figure 6is one of flowcharts of a test method of a protection system test system provided by an embodiment of the present application; Figure 7 is one of flowcharts of a test method of a protection system test system provided by an embodiment of the present application. DETAILED DESCRIPTION
[0009] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.
[0010] The terms "first" and "second" and the like in the specification and claims of the present application are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first response time and the second response time are used to distinguish different response times, rather than to describe a specific order of the response times.
[0011] In the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration, in any non-limiting and non-exhaustive sense. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, use of "exemplary" or "for example" is intended to present concepts in a concrete manner.
[0012] In the description of the embodiments of the present application, unless otherwise specified, "a plurality of" means two or more, for example, a plurality of processing units means two or more processing units, and the like; a plurality of elements means two or more elements, and the like.
[0013] The embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
[0014] Figure 1 is one of structural diagrams of a protection system test system provided by an embodiment of the present application, which can be applied to an existing protection system, the protection system including a collection unit and a triggering unit, as shown in Figure 1 The test system can specifically include: a controller 1, a current output module 2, a digital collection module 3, an analog current interface 4, a digital collection interface 5, and an upper computer 6; The analog current interface 4 is used to be connected with the collection unit of the protection system, and the digital collection interface 5 is used to be connected with the triggering unit of the protection system; the upper computer 6, the current output module 2, the analog current interface 4, the digital collection interface 5, and the digital collection module 3 are all connected with the controller 1; the current output module 2 is connected with the analog current interface 4, and the digital collection module 3 is connected with the digital collection interface 5; The host computer 6 is configured to send a current signal output instruction to the controller 1; The controller 1 is configured to control the current output module 2 to output a current signal required by the current signal output instruction to the acquisition unit through the analog current interface 4 when the current signal output instruction is received; The digital acquisition module 3 is configured to acquire a shutdown signal through the digital acquisition interface 5 under the control of the controller 1 when the current signal is an over-limit current signal and the trigger unit of the protection system outputs the shutdown signal. The current output driving function called by the analog current interface 4 and the digital acquisition driving function called by the digital acquisition interface 5 are arranged in the same flow state of the same timing cycle thread of the controller system.
[0015] Specifically, in the embodiment of the present application, the protection system test system can be specifically composed of a host computer and a lower computer, wherein the lower computer can specifically include a controller, a current output module, a digital acquisition module, an analog current interface and a digital acquisition interface.
[0016] Specifically, the current output module can be a single module, and can output 4-channel 0~20mA current signals; the digital acquisition module can be a single module, and can acquire 8-channel digital level signals, 24V source / drain input, and channel isolation.
[0017] Figure 2 is a flowchart of the response time test of the protection system in the prior art, and it can be seen that, in the nuclear power protection system test scene, the traditional method is to take the analog signal back acquisition injected into the protection system as the starting time for calculating the response time, and the test system is configured with a dedicated oscilloscope or a high-speed acquisition card and a dedicated recording hardware, which causes low test efficiency and high hardware cost. In order to solve the above technical defects, the present application provides a protection system test system.
[0018] In the embodiment of the present application, the analog current interface is connected with the acquisition unit of the protection system, and the digital acquisition interface is connected with the trigger unit of the protection system; the host computer, the current output module, the analog current interface, the digital acquisition interface and the digital acquisition module are connected with the controller; the current output module is connected with the analog current interface, and the digital acquisition module is connected with the digital acquisition interface, so that when the host computer sends the current signal output instruction to the controller in response to the front-end data input, the controller can control the current output module to output the current signal required by the current signal output instruction to the acquisition unit of the protection system through the analog current interface. If the current signal output instruction requires an over-limit current signal, the current output module can output the over-limit current signal to the protection system through the analog current interface, so that the trigger unit of the protection system outputs a shutdown signal. Then, the digital acquisition module can collect the shutdown signal through the digital acquisition interface under the control of the controller.
[0019] Figure 3 is a flowchart of the protection system response time test provided by the embodiment of the present application, as shown in Figure 3 In the embodiment of the present application, the current output driving function called by the analog current interface and the digital acquisition driving function called by the digital acquisition interface are set in the same flow state of the same timing cycle thread in the controller system. In this way, when the test system performs the protection system response time test, the analog signal output is performed after the timing cycle thread in the controller is started. After the controller receives the over-limit current output instruction sent by the host computer, the current output module is input with the over-limit current output instruction, the current output module is controlled to output the over-limit current value (the over-limit of the analog protection variable injection signal) to the analog current interface, the analog current interface starts to call the current output driving function to update the output current signal and injects it into the acquisition unit of the protection system, and the controller automatically records the relative current time of the system thread, that is, the first response time T1.
[0020] Then, the digital signal acquisition is performed. The digital acquisition module in the same flow state of the same timing cycle thread cyclically acquires the shutdown level signal output by the protection system, and when the level is a rising edge, the signal is output to the digital acquisition interface, the digital acquisition interface starts to call the digital acquisition driving function to update the output, and the controller automatically records the relative current time of the system thread, that is, the second response time T2, and finally the protection variable response time t = T2-T1 can be determined. Thus, the shutdown test response time of the protection system can be accurately obtained.
[0021] Based on the content of the above embodiment, as an optional embodiment, the controller system of the controller 1 is a real-time system.
[0022] Specifically, in the embodiments of this application, the controller has a built-in real-time timing loop system to ensure higher time accuracy. This allows for the design of timing loop threads on this real-time system, placing the current output drive function called by the analog current interface and the digital acquisition drive function called by the digital acquisition interface within the same time loop and in the same flow state of the real-time system. Following the aforementioned method, the shutdown test response time of the protection system is detected in real time.
[0023] The system in this application embodiment has higher time accuracy by introducing a real-time system. By designing a timed loop thread on the real-time system to perform protection system response time testing, the accuracy of response time testing can be further improved.
[0024] It should be noted that the protection system testing system of this application embodiment can be applied to a variety of technical scenarios, including nuclear power protection systems, thermal power protection systems, clean energy protection systems, and other protection systems involving shutdown control.
[0025] The protection system test system of this application introduces a timed loop control technology, which integrates analog signal injection and shutdown signal acquisition into a timed loop thread. The timed sequence ensures the stability of the loop interval. The response time calculation starts from the time of analog signal injection and ends at the time of shutdown signal acquisition. There is no need to acquire the injected signal in parallel as the starting point for the response time recording. There are no cumbersome configuration and wiring operations during the test, which can greatly improve the efficiency of protection system response time testing. At the same time, by adopting a software program control method, there is no need to configure hardware acquisition channels or separate dedicated acquisition equipment, which can greatly reduce the hardware cost of the test system and make the operation simpler and more effective.
[0026] Figure 4 This is a second schematic diagram of the protection system testing system provided in the embodiments of this application, as shown below. Figure 4 As shown, the system also includes a digital output module 8 and a digital output interface 7; Digital output interface 7 is used to connect to the acquisition unit; digital output module 8 is connected to controller 1 and digital output interface 7 respectively. The digital output module 8 is used to output a test positioning status signal to the acquisition unit through the digital output interface 7 under the control of the controller 1, so as to control the acquisition unit to acquire current signals.
[0027] Specifically, in the embodiments of this application, the protection system test system may also introduce a digital output module and a digital output interface. The digital output module may be a single module that can output 8 passive contact signals to simulate specific status signals when connected to the protection system, such as a test in-place status signal, which can be used to characterize that other related systems are ready to be in place.
[0028] In actual application process, the operation of the protection system also needs to consider the operation of other associated electrical systems to ensure the accurate action of the protection system. Therefore, by introducing a digital output module and a digital output interface to simulate the in-place state of other systems, a test in-place state signal is output to the protection system to ensure that the protection system starts to execute the test only after receiving the test in-place state signal, so that the whole system can operate more safely and efficiently.
[0029] With reference to the foregoing Figure 4 , based on the content of the foregoing embodiment, as an optional embodiment, the protection system further comprises a communication unit, and the system further comprises a communication module 9; The communication module 9 is used to be connected with the communication unit of the protection system, and the controller 1 is connected with the communication module 8; The communication module 9 is used to perform data communication with the communication unit of the protection system under the control of the controller 1, so as to enable the controller 1 to monitor the working state of the protection system.
[0030] Specifically, in the embodiment of the present application, the specification of the communication module can be a single module, which can support 4-way RS422 / 485 signal communication, channel isolation, and is used to obtain the monitoring data transmitted by the protection system.
[0031] The system of the embodiment of the present application can make the controller monitor the working state and related action state of the protection system in the test process in real time by introducing the communication module to perform data communication with the communication unit of the protection system, so as to facilitate the technical personnel to timely find abnormal or fault conditions that may occur in the operation process of the protection system.
[0032] Figure 5 is a structure schematic diagram of a protection system test system provided by the embodiment of the present application, as shown in Figure 5 In a specific embodiment of the present application, in the actual system structure building process, the test system can adopt an upper and lower computer architecture, the upper computer is a computer running a Window operating system, the test software runs on the upper computer, and the upper computer communicates with the lower computer through a TCP / IP mode to complete the sending of instructions and the receiving of data.
[0033] The lower computer mainly comprises a main case, various extension cases, an internal power supply, and various interfaces (including an analog current interface, a digital acquisition interface, and a digital output interface), etc. These components are located in the integrated case, the current output module and the controller are arranged in the main case, the network port of the current output module is connected to the upper computer through the switching port on the integrated case, and the extension cases can be respectively used to arrange the current output module, the digital acquisition module, and the digital output module.
[0034] Here, the lower computer can specifically consist of one host box with a controller and three extension boxes and modules. The host box has an internal controller, runs a real-time operating system, and the lower computer software program (including a timing cycle thread) runs in the real-time system to receive and issue instructions sent by the upper computer, control the current output module, digital acquisition module, digital output module, and serial communication module to perform corresponding functional operations, and transmit the obtained data to the upper computer. Among them, the current output module, digital acquisition module, and digital output module in the entire test system are at least one, and the specific number of each module can be flexibly set according to the number of multiple channels actually tested, which is not limited in the present application.
[0035] Continuing to refer to Figure 5 In the present embodiment, the connection mode of uplink and downlink buses is adopted between the extension boxes and the host box, specifically: the host box with a controller connects the uplink bus of the extension box 1 through the downlink bus, the downlink bus of the extension box 1 connects the uplink bus of the extension box 2, and the downlink bus of the extension box 2 connects the uplink bus of the extension box 3.
[0036] In the embodiments of the present application, the computer as the upper computer of the test system runs the test software to perform response time test and trigger precision test on the selected protection variables of the protection system, and can generate a corresponding report. The host box with a controller and the extension boxes 1, 2, and 3 together constitute the lower computer system. The internal controller of the host box can run a real-time system, and the developed lower computer test program runs on the system, communicates with the upper computer through TCP / IP mode to realize data interaction and instruction transmission. Specifically, 8 slots can be provided on the host box for placing 8 modules.
[0037] Each extension box can also be provided with 8 slots, and various signal modules can be placed arbitrarily. Each extension box has one uplink port and one downlink port. The uplink port is used to connect the downlink port of the host box or the upper-level extension box, and the downlink port is used to connect the uplink port of the lower-level extension box.
[0038] For example, in the nuclear power protection system, the protection system acquisition unit will judge whether to generate a trip trigger signal after logically processing the protection variable current signal acquired; the communication unit of the protection system and the lower computer serial communication module perform real-time data exchange, and the test system can real-time view the protection system signal and action state to monitor the working state of the protection system.
[0039] The test method of the protection system test system provided by the present application is described below. The test method of the protection system test system described below can be mutually referred to the protection system test system described above.
[0040] Figure 6 is one of the flowcharts of the test method of the protection system test system provided by the embodiments of the present application, which can be applied to any of the protection system test systems described above, such as Figure 6 As shown in the figure, the method can specifically include the following steps. Step S101, when receiving the over-limit current output instruction sent by the upper computer, the controller inputs the over-limit current output instruction to the current output module to control the current output module to output the over-limit current signal to the analog current interface; Step S102, when the analog current interface receives the over-limit current signal and calls the current output driving function to update the output current signal, the controller records the first response time of the thread at present; Step S103, when the acquisition unit of the protection system acquires the over-limit current signal, drives the trigger unit to output the shutdown signal to the digital acquisition interface, and the digital acquisition interface calls the digital acquisition driving function to update the output, the controller records the second response time of the thread at present; Step S104, the controller determines the shutdown test response time of the protection system based on the first response time and the second response time.
[0041] It can be understood that the specific implementation of each method step described above can be referred to the introduction of the detailed function implementation of each unit / module in the protection system test system described above.
[0042] It should be understood that the above method can be applied to the system in the above embodiments, and the implementation principle and technical effect of the above method are similar to the description in the above system. The implementation process in the method can refer to the corresponding working process in the above system, which will not be described here.
[0043] The test method of the protection system test system of the embodiments of the present application introduces the control technology of timing cycle, designs the analog signal injection and the shutdown signal acquisition in one timing cycle thread, ensures the stability of the cycle interval by the timing cycle, and calculates the response time by taking the analog signal injection time as the starting time and the shutdown signal acquisition time as the termination time. There is no need to collect the injection signal in parallel as the starting end of the response time record, and there is no tedious configuration and wiring operation in the test process, which can greatly improve the efficiency of the protection system response time test. At the same time, by using the software control mode, there is no need to configure the hardware acquisition channel or separate special acquisition equipment, which can greatly reduce the hardware cost of the test system and make the operation more simple and effective.
[0044] As an optional embodiment based on the content of the above embodiment, the protection system test system further comprises a digital output module and a digital output interface; when receiving the over-limit current output instruction in step S1, the over-limit current output instruction is input to the current output module to control the current output module to output the over-limit current signal to the analog current interface, and the method further comprises: When receiving the instruction signal sent by the upper computer and the response test flag is true, the controller controls the digital output module to output the test just-in-place state signal to the acquisition unit of the protection system through the digital output interface.
[0045] Specifically, in the embodiments of the present application, the operation flow of the response time test is specifically as follows: Step one, set the timing cycle parameters of the real-time system timing cycle thread of the lower computer controller; Step two, set the timing cycle clock and timing cycle rate of the current output and digital acquisition in the real-time system of the lower computer controller; Step three, set the current output driving function called by the analog current interface and the digital acquisition driving function called by the digital acquisition interface in the same flow state of the same timing cycle thread; Step four, after designing the current output driving function to update the current output data in the timing cycle thread, a current time recording function T1 is designed on the real-time system; when the rising edge is acquired by designing the digital acquisition driving function in the timing cycle thread, a current time recording function T2 is designed on the real-time system; Step five, start the lower computer software and the controller real-time system and its timing cycle thread; Step six, the upper computer sends an instruction signal to the lower computer controller with the response time test flag set to true; Step seven, the upper computer sends a digital output instruction to the lower computer, and the lower computer controller controls the digital output module to simulate a specific state, i.e., a test just-in-place state signal, after receiving the digital output instruction, and outputs the test just-in-place state signal to the acquisition unit of the protection system through the digital output interface; Step eight, the upper computer software outputs a protection variable normal range signal, which is displayed as a physical current value or an engineering quantity value on the software interface, and sends a current signal output instruction to the lower computer; Step nine, after receiving the current signal output instruction, the lower computer controller controls the current analog interface to call the current output driving function through the timing cycle thread, so that the current output module injects the current signal within the normal signal range to the acquisition unit of the protection system, and the protection system does not trigger a shutdown action after logical operation; Step ten, the upper computer sends an over-limit range current signal output instruction, i.e., an over-limit current output instruction, to the lower computer controller; Step eleven, after receiving the over-limit current signal output instruction, the lower machine controller controls the current analog interface to call the current output driving function through the timing cycle thread, so that the current output module outputs the over-limit current signal to the protection system acquisition unit; Step twelve, after the timing cycle thread in the controller executes the analog current interface to call the current output driving function for current output value update, the controller automatically records the relative current time, i.e. the first response time T1, by calling the relative time recording function of the real-time system; Step thirteen, the digital acquisition module in the same flow state of the timing cycle thread cyclically acquires the shutdown level signal output by the protection system through the digital acquisition interface. When the level is a rising edge, the digital acquisition interface calls the digital acquisition driving function to update the current output value, and the controller timing cycle thread automatically records the relative current time, i.e. the second response time T2; Step fourteen, the lower machine controller sets the response time flag to false and sends it to the upper machine for preparation for the next test; Step fifteen, the response time t of this test of the protection variable is T2-T1; Step sixteen, the lower machine controller real-time system sends the response time t to the upper machine for data display, Step sixteen, the upper machine sends the current output instruction of the protection variable normal range signal to the lower machine again, and outputs the normal range current value to the protection system according to the above-mentioned mode; Step seventeen, the protection system resets after receiving the normal range current signal; Step eighteen, the software enters the next test.
[0046] In one specific embodiment of the present application, taking the pressure container pressure protection variable in the nuclear power protection system as an example, one main machine box and three expansion machine boxes are configured, which are connected by uplink and downlink buses. The LabVIEW Linux Real-Time real-time system runs in the controller, and the response time test process and effect of the technical solution are described in detail.
[0047] The protection system acquires the pressure container pressure signal through three channels. When the pressure values of the three channels meet the two-out-of-three logic, the protection system shutdown signal is triggered. The test system simulates the pressure container sensor signals of three channels, i.e. A channel, B channel and C channel.
[0048] More specifically, the parameter setting process is to run the lower computer real-time system, set the timing cycle thread clock to 1MHz, and the timing cycle rate to 500us. The current output driving function and the digital acquisition driving function are placed in the same flow state of the timing cycle; the relative current time recording function T1 is designed after the current output driving function data is updated; the relative current time recording function T2 is designed when the digital acquisition driving function acquires the rising edge.
[0049] The specific steps of the automatic test process are as follows: Step one, run the upper computer program, in the initial state, the test system simulates three pressure vessel sensor signal injection into the protection system acquisition unit, the current value injected by A, B and C three channels is 12.888mA, the corresponding engineering quantity is 5MPa, which belongs to the normal range value, the upper computer sends a specific digital output signal to the controller of the lower computer at the same time, so that the subsequent digital output module outputs the test just-in-place state signal to the acquisition unit of the protection system through the digital output interface, so that the protection system can run normally. After the upper computer software sends the analog current signal output instruction to the lower computer, the current output module in the timing cycle of the lower computer controller outputs the corresponding current value to the protection system acquisition unit through the analog current interface, at this time, the trip action is not triggered; Step two, the upper computer sends a signal to the lower computer controller with the response time test flag set to true, and the lower computer controller controls the digital output module to output the test just-in-place state signal to the protection system acquisition unit through the digital output interface; Step three, the upper computer sends an A, B channel pressure sensor over-limit value instruction to the lower computer, the engineering quantity is 5.8MPa, and the corresponding current value is 14.311mA. After the controller receives the instruction, the value is updated to the current output module of the timing cycle and injected into the protection system acquisition unit. At this time, the controller automatically records the relative current time T1 by calling the relative time recording function through the real-time system; Step four, the protection system acquires the over-limit current value of A and B channels at this time, which meets the three-to-two logic and triggers the trip action signal; Step five, the timing cycle in the lower computer controller continues to run at a timing rate of 500us, and after the digital acquisition module in the timing cycle acquires the rising edge of the protection system trip level, the controller automatically records the relative current time T2 by calling the relative time function through the real-time system; Step six, the controller sets the response time test flag to false and sends it to the upper computer, indicating that the current response time test is complete, and waits for the lower computer to send the next test flag; Step seven, the controller automatically calculates the protection variable response time t=T2-T1, and sends the calculation value to the upper computer for display; Step eight, the host computer sends A, B, C three channels normal range signals to the lower computer, the injected current value is 12.888mA, and the corresponding engineering quantity is 5MPa; Step nine, after the controller receives the data, it is updated to the timing cycle thread, and the current output module injects the current signal required by the test current output instruction to the three acquisition channels of the protection system acquisition unit through the analog current interface; Step ten, the protection system acquires the current value in the normal range of the three channels, which meets the two-out-of-three logic and does not trigger the trip action signal, completing the reset operation. Step eleven, the software enters the next test preparation.
[0050] The method of the embodiment of the application simulates the in-place state of other systems by introducing a digital output module and a digital output interface, outputs a test in-place state signal to the protection system, and ensures that the protection system starts to perform the test only after receiving the test in-place state signal and being unlocked.
[0051] At present, for the test of the trigger precision of the acquisition channel of the protection system, the traditional test method needs to use an instrument to operate, which has the problems of not easy to control the signal step, easy to affect the test precision, and using physical current to operate, and finally needs to be converted into engineering quantity to record the data to match the test process, so that more desktop or handheld devices are used, the operation is complicated, and the test efficiency is low. Therefore, the application further provides a trigger precision test method for a protection system test system.
[0052] Figure 7 is a flowchart of the test method of the protection system test system provided by the embodiment of the application, as shown in Figure 7 The test method is a trigger precision test method for a protection system test system, and the method comprises the following steps: Step S201, in the case of starting the trigger precision test, the host computer determines the total number of test steps based on the initial value of the engineering quantity input to the acquisition unit and the corresponding setting value of the to-be-tested channel. Step S202, the host computer generates a test current output instruction based on the total number of test steps and a preset step dynamic adjustment strategy, and sends the test current output instruction to the controller. Step S203, when receiving the test current output instruction, the controller controls the current output module to output the current signal required by the test current output instruction to the to-be-tested channel through the analog current interface, so as to perform the trigger precision test on the to-be-tested channel. The preset step dynamic adjustment strategy is used to adjust the cumulative step of the engineering quantity input to the to-be-tested channel according to the remaining test steps, until the protection system outputs a shutdown signal.
[0053] Specifically, in the embodiments of the present application, the protection system test system can also be used for trigger precision test of triggering shutdown of the protection system.
[0054] In the embodiments of the present application, in the case of starting the trigger precision test, the host computer can calculate the task of the related program based on the initial value a of the engineering quantity of the to-be-tested channel input to the acquisition unit and the corresponding setting value b, and first calculate the total number N of test steps of the channel from the initial value a of the engineering quantity, according to the preset minimum cumulative step size Δ (which can be determined according to the actual application experience data), and sequentially add or subtract all step sizes until the setting value b, that is: N=abs(a-b) / (b*Δ); Further, in step S202, the host computer generates corresponding test current output instructions based on the total number of test steps and the preset step dynamic adjustment strategy, and sends the test current output instructions each time to the controller.
[0055] Further, in step S203, when receiving the corresponding test current output instruction each time, the controller can control the current output module to output the current signal required by the test current output instruction to the to-be-tested channel in the protection system acquisition unit through the analog current interface until triggering the protection system to output the shutdown signal, and calculating the trigger precision, so as to perform the trigger precision test on the to-be-tested channel in the protection system acquisition unit.
[0056] The preset step dynamic adjustment strategy can be preset in the host computer program, which can be preset according to different ranges of remaining test steps to set different cumulative step sizes for approaching the setting value, and in the test process, the cumulative step size of the engineering quantity input to the to-be-tested channel is dynamically adjusted according to the remaining test step, and the corresponding test current output instruction is generated for the controller each time the engineering quantity input value is updated, until the cumulative engineering quantity reaches the setting value, and the host computer generates the corresponding over-limit current output instruction for the controller, so that the current output module outputs the over-limit current signal to the to-be-tested channel through the analog current interface, triggering the protection system to output the shutdown signal.
[0057] The method of the embodiments of the present application can ensure that when the channel setting value is far away, the engineering quantity step size is large to quickly approach the setting value, and when the setting value is approached, the step size is small to slowly approach, so that the test precision is the highest when triggering, and the requirements of test rate and precision are well balanced.
[0058] Based on the content of the above embodiments, as an optional embodiment, in step S202, the host computer generates a test current output instruction based on the total number of test steps and a preset step dynamic adjustment strategy, including: Step S1, in the case that the total number of test steps is not less than the first step threshold, the initial value of the engineering quantity is updated by step-by-step accumulation processing according to the first accumulation step, and the input value of the engineering quantity is updated, and the corresponding test current output instruction is generated according to the input value of the engineering quantity updated each time, and the remaining test steps are recorded. Step S2, in the case that the input value of the engineering quantity does not reach the set value, the remaining test steps are less than the first step threshold and greater than the second step threshold, the value of the engineering quantity is processed by step-by-step accumulation according to the second accumulation step, and the remaining test steps are recorded. Step S3, in the case that the input value of the engineering quantity does not reach the set value, the remaining test steps are not greater than the second step threshold and not less than the third step threshold, the value of the engineering quantity is processed by step-by-step accumulation according to the third accumulation step, and the input value of the engineering quantity is updated, and the corresponding test current output instruction is generated according to the input value of the engineering quantity updated each time, and the remaining test steps are recorded. Step S4, in the case that the input value of the engineering quantity does not reach the set value, and the remaining test steps are less than the third step threshold, the value of the engineering quantity is processed by step-by-step accumulation according to the fourth accumulation step, and the input value of the engineering quantity is updated, and the corresponding test current output instruction is generated according to the input value of the engineering quantity updated each time, until the input value of the engineering quantity is updated to the first target engineering quantity value reaching the set value, triggering the protection system to output a shutdown signal, and recording the first target engineering quantity value of the input channel at this time.
[0059] Specifically, in the embodiments of the present application, it can be understood that the first step threshold is greater than the second step threshold, and the second step threshold is greater than the third step threshold. In addition, the first step threshold, the second step threshold, the third step threshold, and the first accumulation step, the second accumulation step, the third accumulation step and the fourth accumulation step can be pre-set according to the actual application scene, which is not limited in the present application.
[0060] In the embodiments of the present application, the initial value of the engineering quantity injected into the protection system simulation acquisition channel is a, the engineering quantity set value of the channel is b, the upper limit of the engineering quantity set value is d, and the design minimum accumulation step of the channel is Δ (percentage value).
[0061] In a specific embodiment of the present application, according to actual test experience, a partitioned polymorphic step control table can be designed as shown in Table 1, where the first step threshold value can be 100, the second step threshold value can be 50, and the third step threshold value can be 25. Correspondingly, the first accumulated step can be 4Δ, the second accumulated step can be 3Δ, the third accumulated step can be 2Δ, and the fourth accumulated step can be the minimum accumulated step Δ. Wherein, n is the number of the current remaining test steps in the test process, and n=N at the initial moment. According to the automatically matched step, n decreases in turn.
[0062] Table 1
[0063] During the test, the operation interface of the upper computer displays the engineering quantity (each simulation channel has a conversion relationship between the engineering quantity and the physical quantity), and the test software automatically converts the engineering quantity to the physical quantity to control the final output of the physical current value of the channel to the protection system.
[0064] More specifically, in step S1, at the initial moment, when the total number of test steps is not less than the first step threshold value, such as n≥100 steps, the upper computer automatically selects the first accumulated step 4Δ, and performs accumulated processing based on the initial value of the engineering quantity input to the channel to be tested as the starting point to approach the setting value with the maximum step. After accumulation, the input value corresponding to the engineering quantity is updated, and the corresponding test current output instruction is generated according to the updated engineering quantity input value each time to send to the controller to control the current output module to output the current signal required by each test current output instruction to the channel to be tested in the protection system through the analog current interface; at the same time, after updating the engineering quantity input value each time, the test step is automatically reduced by one, and the remaining test step after each update is recorded.
[0065] In the embodiment of the present application, in step S2, the upper computer monitors the input value of the engineering quantity and the remaining test steps. In the case where it is determined that the input value of the engineering quantity does not reach the setting value and the remaining test steps are less than the first step threshold value and greater than the second step threshold value, that is, when the updated engineering quantity input value does not reach the setting value at this time, and the current remaining test steps satisfy 50<n<100 steps, the upper computer automatically selects the second accumulated step 3Δ to accumulate the value of the engineering quantity to approach the setting value with a larger step, and gradually updates the input value of the engineering quantity. Similarly, according to the foregoing manner, the corresponding test current output instruction is generated according to the updated engineering quantity input value each time to send to the controller to control the current output module to inject the current signal required by each test current output instruction to the channel to be tested in the protection system; at the same time, the remaining test steps are continuously recorded.
[0066] Further, in the embodiment of the present application, in step S3, the host computer continues to monitor the input value of the engineering quantity and the remaining test step. In the case that the input value of the engineering quantity does not reach the set value, the remaining test step is not greater than the second step threshold and is not less than the third step threshold, i.e., when the updated input value of the engineering quantity does not reach the set value at this time, the current remaining test step satisfies 25≤n≤50 steps, the host computer automatically selects the third accumulation step 2Δ to accumulate the value of the engineering quantity, to approach the set value at a medium step, and continues to update the input value of the engineering quantity step by step, generates a corresponding test current output instruction according to each updated input value of the engineering quantity, and sends the test current output instruction to the controller to control the current output module to inject a current signal required to be output by each test current output instruction into the to-be-tested channel in the protection system; and the remaining test step is recorded at the same time.
[0067] Further, in the embodiment of the present application, in step S4, the host computer continues to monitor the input value of the engineering quantity and the remaining test step. In the case that the input value of the engineering quantity does not reach the set value, and the remaining test step is less than the third step threshold, i.e., when the updated input value of the engineering quantity still does not reach the set value at this time, the current remaining test step satisfies n<25 steps, the host computer automatically selects the minimum accumulation step Δ to accumulate the value of the input to-be-tested channel to approach the set value, continues to update the input value of the engineering quantity step by step, and generates a corresponding test current output instruction according to each updated input value of the engineering quantity, and sends the test current output instruction to the controller to control the current output module to inject a current signal required to be output by each test current output instruction into the to-be-tested channel in the protection system, until the input value of the engineering quantity is updated to the first target engineering quantity value that reaches the set value, at this time, the corresponding test current output instruction will trigger the protection system to output a shutdown signal; at the same time, the host computer can record the current input value of the to-be-tested channel as a trigger value, i.e., obtain the first target engineering quantity value.
[0068] Here, it can be understood that the first target engineering quantity value obtained after the engineering quantity is accumulated step by step can be equal to the set value, or can be greater than the set value.
[0069] It should be noted that when the total number of test steps at the initial moment is less than the first step threshold, the step dynamic adjustment strategy in the foregoing steps S2 to S4 can be referred to for matching execution, for example, the total number of test steps satisfies the test step condition in step S2, i.e., the test operation is performed according to steps S2 to S4; the total number of test steps satisfies the test step condition in step S3, i.e., the test operation is performed according to steps S3 to S4; and the total number of test steps satisfies the test step condition in step S4, i.e., the test operation is performed only according to step S4.
[0070] It also needs to be explained that if n < 25 steps, the current value has reached the upper limit of the measured channel engineering quantity setting value, but the protection system shutdown action signal has not been collected, which indicates that the current test is abnormal, and further, 3 retests need to be performed. If the protection system shutdown action signal is still not collected after retesting, it is determined that the current channel trigger is abnormal.
[0071] The method of the embodiment of the application further improves the efficiency and precision of the protection system trigger precision test by considering the general characteristics of the protection system parameter setting, using the four-part automatic matching step method, and no longer needing to record data conversion from physical quantity to engineering quantity, and the test process is fully automatic.
[0072] Based on the above-mentioned embodiment, as an optional embodiment, after the foregoing step S4, the method further includes: The host computer generates a target test current output instruction corresponding to the first target engineering quantity value, and sends the target test current output instruction to the controller; When receiving the target test current output instruction, the controller controls the current output module to output the current signal required by the target test current output instruction to the measured channel through the analog current interface, triggering the protection system to output a shutdown signal; When determining that the protection system outputs the shutdown signal, the host computer records the first target engineering quantity value, and determines the trigger precision of the measured channel based on the first target engineering quantity value and the setting value.
[0073] Specifically, in the embodiment of the application, when the input value of the engineering quantity is updated to the first target engineering quantity value reaching the setting value, the host computer generates a target test current output instruction corresponding to the first target engineering quantity value, and sends the target test current output instruction to the controller. Here, the target test current output instruction is essentially an over-limit current output instruction.
[0074] Further, when the controller receives the target test current output instruction, the controller controls the current output module to output the over-limit current signal required by the target test current output instruction to the measured channel in the protection system through the analog current interface, triggering the protection system to output a shutdown signal through the trigger unit. Further, when determining that the protection system outputs the shutdown signal, the host computer program records the first target engineering quantity value at this time, and performs trigger precision calculation according to the first target engineering quantity value and the setting value to obtain the trigger precision of the measured channel.
[0075] The method of the embodiment of the application can further improve the efficiency and precision of the trigger precision test of the protection system by using the host computer to perform a preset step dynamic adjustment strategy, jointly controlling the controller and each module action in the lower computer, dynamically approaching the setting value of the channel to be measured with different step strategies, and using the first target engineering quantity value and the setting value to perform trigger precision calculation when the protection system output shutdown signal is protected.
[0076] Based on the content of the above embodiment, as an optional embodiment, the method further comprises: For any one of the steps S1 to S4, if the protection system outputs a shutdown signal in any one of the steps, the host computer re-performs step-by-step accumulation processing on the initial value of the engineering quantity according to the corresponding preset shutdown accumulation step, until the protection system outputs a shutdown signal, and records the second target engineering quantity value of the input channel to be measured at this time; Based on the second target engineering quantity value and the setting value, the trigger precision of the channel to be measured is determined.
[0077] Specifically, in the embodiment of the application, for any one of the aforementioned steps S1 to S4, if the protection system outputs a shutdown signal in any one of the steps, the initial value of the engineering quantity is re-performed step-by-step accumulation processing according to the corresponding preset shutdown accumulation step, until the protection system outputs a shutdown signal, and the second target engineering quantity value of the input channel to be measured at this time is recorded, and the second target engineering quantity value and the setting value are used to perform trigger precision calculation to obtain the trigger precision of the channel to be measured.
[0078] Specifically, referring to Table 1, when the test system collects a protection system output shutdown action signal, i.e., the shutdown signal changes from an untriggered state to a triggered state, during the test process in any one of the partitions 1, 2, 3, and 4, the current test is immediately stopped, and the accumulation test is performed again from the initial value a to approach the setting value b with the step designed under the trigger state of the region, until the shutdown action signal is collected again, and the engineering quantity value of the current channel is recorded, i.e., the second target engineering quantity value is obtained, and whether the trigger precision of the channel to be measured is abnormal is determined according to the test specification.
[0079] For example, if the trigger shutdown signal is collected in the partition 1 or 2, since there is a large deviation between the actual trigger value and the designed trigger value, the trigger precision is low, and the matched step does not need to use the minimum step Δ, but can use 2Δ or 1.5Δ in turn according to Table 1 to perform accumulation test, so as to obtain the actual trigger value under this condition at a relatively fast speed, and facilitate the technical personnel to record data and troubleshoot abnormal reasons.
[0080] If the trigger stop signal is collected in partition 3 or 4, the minimum step size Δ can be used for accumulation test to obtain the actual trigger value with the highest precision and record. Each channel trigger precision is tested three times, and the maximum value of the three times is taken as the final trigger precision value recorded in the data table.
[0081] The embodiment method of the application can quickly trigger the stop action with a large step size in the case of low or abnormal channel trigger precision of the protection system, and then re-accumulate test in the partition with the designed step size under the trigger condition, so as to quickly record the trigger precision under the abnormal channel working condition or the highest trigger precision under the normal channel working condition. The method of taking the maximum value in multiple tests facilitates the operator to evaluate the consistency of the trigger channel.
[0082] Based on the above embodiment, as an optional embodiment, the protection system further comprises a communication unit, and the protection system test system further comprises a communication module; the method further comprises: controlling the communication module to perform data communication with the communication unit to monitor the working state of the protection system.
[0083] The method of the embodiment of the application can make the controller monitor the working state and related action state in the protection system test process in real time by introducing the communication module to perform data communication with the communication unit of the protection system, so that the technician can timely find the abnormal or fault conditions that may occur in the protection system running process.
[0084] In a specific embodiment of the application, the detailed process steps of the protection system trigger precision test operation of the nuclear reactor are as follows: Step one, run the upper and lower computer programs; Step two, the upper computer sends the three channel A, B, C engineering quantity values to the lower computer controller. Here, the C channel engineering quantity value is set as the upper limit, and the A and B channels are the engineering quantity initial values; Step three, the upper computer automatically calculates the total number N of test steps according to the A channel engineering quantity initial value a, the setting value b, and the minimum step size Δ; Step four, the upper computer automatically generates an engineering quantity-based partition multi-state step size comparison table according to the above information, and automatically updates and matches the step size information in different partitions. The same as Table 1, the partition multi-state step size comparison table.
[0085] Step five, the upper computer performs the first step accumulation on the A channel engineering quantity initial value, and the partition is 1 zone, and the step size is 4Δ, that is, the engineering quantity value output by the upper computer system after one accumulation is a+b*4Δ, and the software automatically converts the engineering quantity into a current value and sends it to the lower computer through the TCP / IP communication protocol. Step six, after receiving the output current value of the current signal output instruction, the lower machine controller controls the current analog interface to call the current output driving function through the timing cycle thread, so that the current signal corresponding to the output current value output by the current output module is input to the protection system acquisition channel; Step seven, the timing cycle thread in the lower machine controller collects whether the protection system sends a stop signal through the digital acquisition interface by calling the digital acquisition driving function. If not, the upper machine continues the next accumulation; if the stop signal appears, the current operation is stopped, and the test is retested with a step size of 2Δ; Step eight, if the lower machine cycle thread does not collect the stop action signal of the protection system, the upper machine performs the next engineering quantity accumulation calculation, i.e. a+2*b*4Δ, and the upper machine software automatically converts the engineering quantity to a current value and sends it to the lower machine through the TCP / IP communication protocol, and the cycle continues; Step nine, the upper machine software automatically goes through zone 1, zone 2, zone 3, and zone 4 until the timing cycle thread in the lower machine controller collects the protection system stop action signal, records the A channel engineering quantity value m at this time, and automatically calculates the trigger precision of the channel as abs(m-b) / b; if zone 1, zone 2, zone 3, and zone 4 are still not collected after the protection system stop action signal, retest is performed, and if the protection system stop action signal is still not collected after retesting three times, it is determined that the trigger precision test of the channel is abnormal; Step ten, after recording the trigger precision data of this test, the upper machine needs to reset the channel: i.e. send the initial values of the A, B, and C channels to the lower machine; Step eleven, the lower machine controller controls the current analog interface to call the current output driving function through the timing cycle thread, so that the current output module outputs the current value corresponding to the initial values of the A, B, and C channels to the protection system acquisition channel; Step twelve, the protection system judges according to the two-out-of-three logic and does not trigger the stop action, completing the reset; Step thirteen, the software enters the next test preparation.
[0086] In one specific embodiment of the present application, taking the nuclear power protection system analog acquisition channel pressure vessel liquid level as an example, one host machine box and three expansion machine boxes are configured, connected by uplink and downlink buses, and the LabVIEW Linux Real-Time real-time system runs in the controller. The configuration type and number of modules in each machine box are the same as Figure 5 The test system framework and principle design diagram is shown. This embodiment details the test method and improvement effect of the segmented automatic matching step based on the engineering quantity.
[0087] The protection system three channels collect pressure vessel liquid level signals, when three channels liquid level values meet two out of three logic, trigger protection system trip signal. The test system simulates three channels pressure vessel liquid level sensor signals, respectively A channel, B channel, C channel. The measured object is pressure vessel liquid level A channel, one of B, C channel is injected into the upper limit of the amount of work, the other channel is the normal initial value, the test system controls the value injected into the pressure vessel liquid level A channel according to the step increase, until the protection system outputs protection action under two out of three logic, at this time, the current amount of work value of A channel is recorded as the trigger value, and then the trigger precision is calculated.
[0088] The test system injects into the protection system simulated collection channel A pressure vessel liquid level initial value of the amount of work is 11000mm, the set value is 14000mm, and the minimum step is 0.1%.
[0089] Further, in the embodiment of the present embodiment, the test system automatic test process includes: Step one, run the host computer program; Step two, the host computer sends three channels pressure vessel liquid level signals respectively A channel 11000mm, B channel 11000mm, C channel 15000mm; here, C channel 15000mm is the upper limit of the amount of work of pressure vessel liquid level; Step three, according to the initial value of the amount of work of pressure vessel liquid level is 11000mm, the set value is 14000mm, and the minimum step is 0.1% information, the system automatically calculates n=abs(14000-11000) / (14000*0.1%) =215(total step number); Step four, according to the above information, the software automatically generates a partitioned multi-state step length table based on the amount of work, and the software automatically updates and matches the step length information under different partitions and different states as follows:
[0090] Step five, the software adds the initial value of the amount of work of pressure vessel liquid level to 11000mm for the first time, the partition is 1, and the step is 0.4%, that is, the system outputs the amount of work value of 11000+14000*0.4=11056 after adding once, and the software automatically converts the amount of work to current value and sends it to the host computer through TCP / IP communication protocol; Step six, the host computer receives the output current value through the loop thread, updates the value to the simulated current output channel, and outputs the current value to the protection system collection channel; Step seven, the host computer loop thread collects whether the protection system sends trip signal, if not, continue to the next addition; if trip signal appears, stop the current operation, and test again with 0.2% step length; Step eight, the lower machine cycle thread does not collect the protection system stop action signal, the upper machine carries out the next engineering quantity accumulation calculation, that is, 11056+14000*0.4=11112, the upper machine software automatically converts the engineering quantity into a current value, and sends the current value to the lower machine through the TCP / IP communication protocol, and the cycle is repeated; Step nine, the upper machine software automatically experiences 1 area, 2 area, 3 area, 4 area, until the lower machine cycle thread collects the protection system stop action signal, and records the pressure container liquid level engineering quantity value as 14018 mm at this time, and the software automatically calculates the trigger precision of the channel as (14018-14000) / 14000=0.1285%; Step ten, after the upper machine records the trigger precision data of this test, the channel needs to be reset, that is, the initial value 11000 mm of the pressure container liquid level A, B and C channels is sent to the lower machine; Step eleven, the lower machine controller sends the current value of the pressure container liquid level A, B and C channels to the current output module, and injects the current value into the pressure container liquid level acquisition channel of the protection system Step twelve, the protection system judges according to the two-out-of-three logic, and does not trigger the stop action, and the reset is completed. Step thirteen, the software enters the next test preparation.
[0091] The method of the embodiment of the application does not need to record the data conversion from a physical quantity to an engineering quantity, and the test process is fully automatic, so that the test efficiency and precision are effectively improved, compared with manual test using a desktop or handheld instrument.
[0092] Based on the method in the above embodiment, the embodiment of the application provides a computer readable storage medium, which stores a computer program, and when the computer program runs on a processor, the processor executes the method in the above embodiment.
[0093] Based on the method in the above embodiment, the embodiment of the application provides a computer program product, and when the computer program product runs on a processor, the processor executes the method in the above embodiment.
[0094] It can be understood that the processor in the embodiments of the present application can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.
[0095] The method steps in the embodiments of the present application can be implemented in the form of hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), a register, a hard disk, a mobile hard disk, a CD-ROM or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC.
[0096] In the embodiments described above, all or some of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or some of the embodiments can be implemented in the form of a computer program product storing computer program instructions. When the computer program instructions are loaded into and executed by a computer, all or some of the procedures or functions described in the embodiments of the present application are performed. The computer can be a general purpose computer, a special purpose computer, a computer network, or another programmable apparatus. The computer program instructions can be stored in a computer readable storage medium or transmitted by a computer readable storage medium. The computer program instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through a wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.
[0097] It can be understood that various numerical numbers involved in the embodiments of the present application are only used for differentiation for convenience of description, and do not limit the scope of the embodiments of the present application.
[0098] It should be understood that expressions such as "include" and "may include" used in the present application represent the existence of disclosed functions, operations or constituent elements, and do not limit one or more additional functions, operations and constituent elements. In the present application, terms such as "include" and / or "have" can be interpreted to represent a specific characteristic, number, operation, constituent element, component or combination thereof, but cannot be interpreted to exclude the existence or addition of one or more other characteristics, numbers, operations, constituent elements, components or combinations thereof.
[0099] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A protection system test system applied to a protection system, the protection system comprising an acquisition unit and a triggering unit; characterized in that, The test system comprises a controller, a current output module, a digital acquisition module, an analog current interface, a digital acquisition interface and a host computer. The analog current interface is used to connect with the acquisition unit, and the digital acquisition interface is used to connect with the trigger unit; the host computer, the current output module, the analog current interface, the digital acquisition interface and the digital acquisition module are connected with the controller; the current output module is connected with the analog current interface, and the digital acquisition module is connected with the digital acquisition interface. The host computer is used to send a current signal output instruction to the controller. The controller is used to control the current output module to output a current signal required by the current signal output instruction to the acquisition unit through the analog current interface when the current signal output instruction is received. The digital acquisition module is used to collect the shutdown signal through the digital acquisition interface under the control of the controller when the current signal is an over-limit current signal and the trigger unit outputs the shutdown signal. The current output driving function called by the analog current interface and the digital acquisition driving function called by the digital acquisition interface are arranged in the same flow state of the same timing cycle thread of the controller system. The test system further comprises a digital output module and a digital output interface.
2. The protection system testing system of claim 1, wherein, The digital output interface is used to connect with the acquisition unit; the digital output module is connected with the controller and the digital output interface respectively. The digital output module is used to output a test in-place state signal to the acquisition unit through the digital output interface under the control of the controller, so as to control the acquisition unit to collect the current signal. The test system further comprises a communication module.
3. The protection system testing system of claim 1, the protection system further comprising a communication unit, characterized by, The communication module is used to connect with the communication unit, and the controller is connected with the communication module. The communication module is used to perform data communication with the communication unit under the control of the controller, so that the controller monitors the working state of the protection system. The controller system is a real-time system.
4. The protection system testing system of any one of claims 1-3, wherein, The test system comprises:
5. A test method applied to the test system of the protection system according to any one of claims 1 to 4, characterized in that, When an over-limit current output instruction sent by the host computer is received, the controller controls the current output module to output an over-limit current signal to the analog current interface; When the analog current interface receives the over-limit current signal and updates the output current signal by calling the current output driving function, the controller records the first response time of the thread at present; When the acquisition unit of the protection system collects the over-limit current signal and drives the trigger unit to output a shutdown signal to the digital acquisition interface, and the digital acquisition interface updates the output by calling the digital acquisition driving function, the controller records the second response time of the thread at present; The controller determines the shutdown test response time of the protection system based on the first response time and the second response time. The test system further comprises a digital output module and a digital output interface; before the step of inputting the over-limit current output instruction to the current output module to control the current output module to output the over-limit current signal to the analog current interface when the over-limit current output instruction is received, the method further comprises:
6. The test method of claim 5, wherein, When receiving the instruction sent by the upper computer and the digital output instruction with the response test flag being true, the controller controls the digital output module to output a test just-in-place state signal to the acquisition unit of the protection system through the digital output interface.
7. The test method of claim 5, wherein, The method further comprises: In the case of starting the trigger precision test, the upper computer determines a total number of test steps based on an initial value of the engineering quantity of the to-be-tested channel input to the acquisition unit and a corresponding setting value; The upper computer generates a test current output instruction based on the total number of test steps and a preset step dynamic adjustment strategy, and sends the test current output instruction to the controller; When receiving the test current output instruction, the controller controls the current output module to output a current signal required by the test current output instruction to the to-be-tested channel through an analog current interface, so as to perform trigger precision test on the to-be-tested channel. The preset step dynamic adjustment strategy is used to adjust an accumulated step of the input engineering quantity of the to-be-tested channel according to a remaining test step, until the protection system outputs a shutdown signal.
8. The test method of claim 7, wherein, The upper computer generates a test current output instruction based on the total number of test steps and a preset step dynamic adjustment strategy, comprising: Step S1, in the case that the total number of test steps is not less than a first step threshold, the initial value of the engineering quantity is processed by step-by-step accumulation based on a first accumulated step, so as to update the input value of the engineering quantity step by step, and a corresponding test current output instruction is generated according to the input value of the engineering quantity updated each time, and the remaining test step is recorded; Step S2, in the case that the input value of the engineering quantity does not reach the setting value, the remaining test step is less than the first step threshold and greater than a second step threshold, the value of the engineering quantity is processed by step-by-step accumulation based on a second accumulated step, so as to update the input value of the engineering quantity step by step, and a corresponding test current output instruction is generated according to the input value of the engineering quantity updated each time, and the remaining test step is recorded; Step S3, in the case that the input value of the engineering quantity does not reach the setting value, the remaining test step is not greater than the second step threshold and not less than a third step threshold, the value of the engineering quantity is processed by step-by-step accumulation based on a third accumulated step, so as to update the input value of the engineering quantity step by step, and a corresponding test current output instruction is generated according to the input value of the engineering quantity updated each time, and the remaining test step is recorded; Step S4, in the case that the input value of the engineering quantity does not reach the setting value and the remaining test step is less than the third step threshold, the value of the engineering quantity is processed by step-by-step accumulation based on a fourth accumulated step, so as to update the input value of the engineering quantity step by step, and a corresponding test current output instruction is generated according to the input value of the engineering quantity updated each time, until the input value of the engineering quantity is updated to a first target engineering quantity value reaching the setting value, the protection system outputs a shutdown signal, and the first target engineering quantity value input to the to-be-tested channel at this time is recorded.
9. The test method of claim 8, wherein, After the step S4, the method further comprises: The host computer generates a target test current output instruction corresponding to the first target engineering quantity value, and sends the target test current output instruction to the controller; When receiving the target test current output instruction, the controller controls the current output module to output a current signal required by the target test current output instruction to the channel to be tested through an analog current interface, triggering the protection system to output a shutdown signal; When determining that the protection system outputs the shutdown signal, the host computer records the first target engineering quantity value, and determines the triggering accuracy of the channel to be tested based on the first target engineering quantity value and the setting value.
10. The test method of claim 8, wherein, The method further comprises: For any one of the steps S1 to S4, if the protection system outputs the shutdown signal in the any one of the steps, the host computer re-performs step-by-step accumulation processing according to a corresponding preset shutdown accumulation step based on the engineering quantity initial value, to gradually update the input value of the engineering quantity, and generates a corresponding test current output instruction according to the input value of the engineering quantity updated each time, until the protection system outputs the shutdown signal, and records a second target engineering quantity value input to the channel to be tested at this time; The host computer determines the triggering accuracy of the channel to be tested based on the second target engineering quantity value and the setting value.