I / O channel switching method and device based on nuclear power DCS

By setting up the main I/O module and backup I/O module in the nuclear power DCS, and using the backup channel to transmit any type of signals to achieve I/O channel switching, the problem of traditional redundancy strategies increasing hardware costs and maintenance complexity is solved, and a more efficient system design is achieved.

CN120103799APending Publication Date: 2025-06-06CHINA TECHENERGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510255866.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-05
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

A large number of spare I/O channels are set up in traditional nuclear power DCS, which increases hardware investment cost and maintenance complexity.

Method used

By setting M main I/O modules and N spare I/O modules in the nuclear power DCS, any type of signal is transmitted using the second I/O channel on the spare I/O module to realize the switching of I/O channels to reduce the number of spare channels.

Benefits of technology

It reduces the hardware investment cost and maintenance complexity of nuclear power DCS, and improves the reliability and effective point density of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120103799A_ABST
    Figure CN120103799A_ABST
Patent Text Reader

Abstract

The invention discloses an I / O channel switching method and device based on a nuclear power DCS. In the scheme, each main I / O module in the nuclear power DCS is provided with a first I / O channel, and each standby I / O module is provided with a second I / O channel; monitoring the communication state of each first I / O channel; if it is determined that any first I / O channel breaks down based on the communication state, the first I / O channel serves as a target I / O channel, and configuration information of the target I / O channel is obtained; if the idle I / O module exists in the N standby I / O modules, configuring a communication function of a second I / O channel corresponding to the idle I / O module as a target communication function based on the configuration information; and switching the target I / O channel to a second I / O channel corresponding to the idle I / O module. According to the technical scheme, the number of standby I / O channels in the nuclear power DCS is reduced, and the hardware input cost of the nuclear power DCS is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automatic control technology, and in particular to an I / O channel switching method and device based on a nuclear power DCS. Background Art

[0002] Nuclear power DCS (Distributed Control System) is the core control platform for the safe and stable operation of nuclear power plants, and its reliability is directly related to the safety of nuclear power plants. In order to ensure the high reliability of nuclear power DCS, redundancy strategies are usually adopted to deal with possible hardware failures or communication interruptions.

[0003] Traditional redundancy strategies usually adopt a "1+1" hot standby redundancy mechanism, which sets a backup I / O channel with the same communication function as redundancy for each key input / output (I / O) channel (i.e., the main I / O channel). When a main I / O channel fails, the backup I / O channel can quickly take over to ensure a disturbance-free switch. However, setting up a large number of backup I / O channels in a nuclear power distributed control system not only increases the complexity of maintaining and managing the distributed control system, but also increases the hardware investment cost of the distributed control system.

[0004] Based on this, it is necessary to provide a less complex redundancy strategy to effectively reduce the hardware investment cost of nuclear power DCS. Summary of the invention

[0005] Based on the above problems, the present application provides an I / O channel switching method and device based on a nuclear power DCS, the purpose of which is to reduce the number of spare I / O channels in the nuclear power DCS and reduce the hardware investment cost of the nuclear power DCS.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] In a first aspect of the present application, an I / O channel switching method based on a nuclear power DCS is provided, wherein the nuclear power DCS includes M main I / O modules and N standby I / O modules; each main I / O module is provided with a first I / O channel, each standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, M and N are positive integers, and M is greater than N, and the method includes:

[0008] Monitoring the communication status of each first I / O channel; the communication status is used to indicate whether a failure occurs in the first I / O channel;

[0009] If it is determined based on the communication status that any one of the first I / O channels fails, the first I / O channel is used as a target I / O channel, and configuration information of the target I / O channel is obtained;

[0010] If there is an idle I / O module among the N standby I / O modules, then based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function; the idle I / O module is an unoccupied standby I / O module, and the target communication function is the same as the communication function of the target I / O channel;

[0011] The I / O channel of the nuclear power DCS is switched from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

[0012] In an optional embodiment, if there is an idle I / O module among the N standby I / O modules, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function, including:

[0013] Detect whether there is an idle I / O module among the N standby I / O modules;

[0014] If there is no idle I / O module among the N standby I / O modules, a warning message is generated based on the fault information of the target I / O channel; the warning message is used to prompt the target object that the target I / O channel has a fault;

[0015] If there is an idle I / O module among the N standby I / O modules, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function.

[0016] In an optional implementation, the I / O channel switching method based on the nuclear power DCS also includes:

[0017] If it is determined based on the communication status that none of the first I / O channels has failed, switching the first I / O channel to the second I / O channel is prohibited.

[0018] In a second aspect of the present application, an I / O channel switching method based on a nuclear power DCS is provided, wherein the nuclear power DCS includes a plurality of I / O module groups; each I / O module group includes K main I / O modules and one standby I / O module; each main I / O module is provided with a first I / O channel, and the standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, K is a positive integer, and the method includes:

[0019] Monitoring the communication status of each first I / O channel in each I / O module group; the communication status is used to indicate whether a fault occurs in the first I / O channel;

[0020] If it is determined based on the communication status that any one of the first I / O channels fails, the first I / O channel is used as a target I / O channel, and configuration information of the target I / O channel is obtained;

[0021] If there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, then based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function; the idle I / O module is a spare I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel;

[0022] The I / O channel of the nuclear power DCS is switched from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

[0023] In an optional implementation, if there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, then based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function, including:

[0024] Check whether there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located;

[0025] If there is no idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, a warning message is generated based on the fault information of the target I / O channel; the warning message is used to prompt the target object that the target I / O channel has a fault;

[0026] If there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function.

[0027] In an optional implementation, the I / O channel switching method based on the nuclear power DCS also includes:

[0028] If it is determined based on the communication status that each first I / O channel in each I / O module group has not failed, switching the first I / O channel to the second I / O channel is prohibited.

[0029] In a third aspect of the present application, an I / O channel switching device based on a nuclear power DCS is provided, wherein the nuclear power DCS includes M main I / O modules and N standby I / O modules; each main I / O module is provided with a first I / O channel, each standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, M and N are positive integers, and M is greater than N, and the device includes:

[0030] A first monitoring module, used to monitor the communication status of each first I / O channel; the communication status is used to indicate whether a fault occurs in the first I / O channel;

[0031] A first determination module, configured to, if it is determined based on the communication state that any first I / O channel fails, use the first I / O channel as a target I / O channel and obtain configuration information of the target I / O channel;

[0032] A first configuration module is used for configuring the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function based on the configuration information if there is an idle I / O module among the N standby I / O modules; the idle I / O module is a standby I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel;

[0033] The first switching module is used to switch the I / O channel of the nuclear power DCS from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

[0034] In a fourth aspect of the present application, an I / O channel switching device based on a nuclear power DCS is provided, wherein the nuclear power DCS includes a plurality of I / O module groups; each I / O module group includes K main I / O modules and one standby I / O module; each main I / O module is provided with a first I / O channel, and the standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, K is a positive integer, and the device includes:

[0035] A second monitoring module is used to monitor the communication status of each first I / O channel in each I / O module group; the communication status is used to indicate whether a fault occurs in the first I / O channel;

[0036] A second determination module is configured to, if it is determined based on the communication status that any one of the first I / O channels fails, use the first I / O channel as a target I / O channel and obtain configuration information of the target I / O channel;

[0037] The second configuration module is used to configure the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function based on the configuration information if there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located; the idle I / O module is a spare I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel;

[0038] The second switching module is used to switch the I / O channel of the nuclear power DCS from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

[0039] In a third aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned I / O channel switching method based on nuclear power DCS is implemented.

[0040] In a fourth aspect of the present application, a processor is provided for running a computer program, and when the computer program is running, the above-mentioned I / O channel switching method based on nuclear power DCS is executed.

[0041] Compared with the prior art, this application has the following beneficial effects:

[0042] In the technical solution of the present application, M main I / O modules and N standby I / O modules are arranged in the nuclear power DCS. Since the number of main I / O modules is greater than the standby I / O modules, and the second I / O channel arranged on the standby I / O module can be used to transmit any type of signal, there is no need to arrange a standby I / O channel (i.e., the second I / O channel) with the same communication function for each main I / O module as redundancy, thereby reducing the number of standby I / O channels and avoiding the problem of high hardware investment cost of the system caused by the arrangement of a large number of standby I / O channels in the nuclear power distributed control system, thereby reducing the complexity of maintaining and managing the distributed control system.

[0043] In the technical solution of the present application, the communication status of each first I / O channel is monitored in real time; if it is determined based on the communication status that any first I / O channel fails, the first I / O channel is used as the target I / O channel, and the configuration information of the target I / O channel is obtained; if there is an idle I / O module in an unoccupied state among the N standby I / O modules, the communication function of the second I / O channel corresponding to the idle I / O module can be directly configured as the target communication function that is the same as the communication function of the target I / O channel based on the configuration information, and the I / O channel of the nuclear power DCS is switched from the target I / O channel to the second I / O channel corresponding to the idle I / O module, thereby ensuring the reliability of the nuclear power DCS while reducing the number of spare I / O channels (i.e., the second I / O channels) in the nuclear power DCS, thereby reducing the complexity of maintaining and managing the nuclear power DCS, and reducing the hardware investment cost of the nuclear power DCS. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0045] Figure 1 A schematic diagram of a channel of a nuclear power DCS provided in an embodiment of the present application;

[0046] Figure 2 A flowchart of an I / O channel switching method for a nuclear power DCS provided in an embodiment of the present application;

[0047] Figure 3 A flowchart of an idle I / O module detection process provided in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of an I / O channel switching process provided in an embodiment of the present application;

[0049] Figure 5 A schematic diagram of another channel of a nuclear power DCS provided in an embodiment of the present application;

[0050] Figure 6 A flowchart of another I / O channel switching method of a nuclear power DCS provided in an embodiment of the present application;

[0051] Figure 7 A flowchart of another idle I / O module detection process provided in an embodiment of the present application;

[0052] Figure 8A schematic diagram of another I / O channel switching process provided in an embodiment of the present application;

[0053] Fig. 9 A schematic diagram of an I / O channel switching device for a nuclear power DCS provided in an embodiment of the present application;

[0054] Fig.10 A schematic diagram of another I / O channel switching device for a nuclear power DCS provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] As described above, the current traditional redundancy strategy usually adopts a "1+1" hot standby redundancy mechanism, which sets a backup I / O channel with the same communication function as redundancy for each key input / output (I / O) channel (i.e., the main I / O channel). When a main I / O channel fails, the backup I / O channel can quickly take over to ensure disturbance-free switching. However, setting up a large number of backup I / O channels in a nuclear power distributed control system not only increases the complexity of maintaining and managing the distributed control system, but also increases the hardware investment cost of the distributed control system. Based on this, it is necessary to provide a less complex redundancy strategy to effectively reduce the hardware investment cost of nuclear power DCS.

[0056] After research, the inventor proposed an I / O channel switching method for a nuclear power DCS. By setting M main I / O modules and N standby I / O modules in the nuclear power DCS, since the number of main I / O modules is greater than the standby I / O modules, and the second I / O channel set on the standby I / O module can be used to transmit any type of signal, there is no need to set a standby I / O channel (i.e., the second I / O channel) with the same communication function for each main I / O module as redundancy, thereby reducing the number of standby I / O channels and avoiding the problem of high hardware investment cost of the system caused by setting a large number of standby I / O channels in the nuclear power distributed control system, thereby reducing the complexity of maintaining and managing the distributed control system.

[0057] In the technical solution of the present application, the communication status of each first I / O channel is monitored in real time; if it is determined based on the communication status that any first I / O channel fails, the first I / O channel is used as the target I / O channel, and the configuration information of the target I / O channel is obtained; if there is an idle I / O module in an unoccupied state among the N standby I / O modules, the communication function of the second I / O channel corresponding to the idle I / O module can be directly configured as the target communication function that is the same as the communication function of the target I / O channel based on the configuration information, and the I / O channel of the nuclear power DCS is switched from the target I / O channel to the second I / O channel corresponding to the idle I / O module, thereby ensuring the reliability of the nuclear power DCS while reducing the number of spare I / O channels (i.e., the second I / O channels) in the nuclear power DCS, thereby reducing the complexity of maintaining and managing the nuclear power DCS, and reducing the hardware investment cost of the nuclear power DCS.

[0058] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0059] Method Example 1

[0060] An embodiment of the present application provides an embodiment of an I / O channel switching method for a nuclear power DCS. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0061] See also Figure 1 , which is a schematic diagram of a channel of a nuclear power DCS provided in an embodiment of the present application, such as Figure 1 As shown, the nuclear power DCS includes M main I / O modules and N standby I / O modules, wherein each main I / O module is provided with a first I / O channel, each standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, M and N are positive integers, and M is greater than N.

[0062] In the embodiment of the present application, by setting M main I / O modules and N standby I / O modules in the nuclear power DCS, since the number of main I / O modules is greater than the standby I / O modules, and the second I / O channel set on the standby I / O module can be used to transmit any type of signal, there is no need to set a standby I / O channel with the same communication function for each main I / O module as redundancy, which reduces the number of standby I / O channels and avoids setting a large number of standby channels in the nuclear power distributed control system, resulting in a high hardware investment cost of the system, thereby reducing the complexity of maintaining and managing the distributed control system. In addition, reducing the number of standby I / O channels can save the layout space of the nuclear power distributed control system, so that more main I / O modules can be deployed in the nuclear power distributed control system, and the density of effective points (i.e., main I / O modules) in the nuclear power DCS is improved.

[0063] For example, a single cabinet of a nuclear power DCS has a maximum layout of 160 I / O channels. If a "1+1" redundancy strategy is used for single-cabinet layout, the number of spare I / O channels (i.e., the second I / O channels) is 80, and the number of effective I / O channels (i.e., the first I / O channels) is 80. However, under the nuclear power DCS architecture of the present application (i.e., the array-type "N+1 (N=7)" redundancy strategy), only 20 spare I / O channels are required, and the number of effective I / O channels can be 140, thereby reducing the number of spare I / O channels and reducing the complexity of maintaining and managing the distributed control system.

[0064] In an embodiment of the present application, the preset type of signal may be any type of signal such as a DI (Digital Input) signal, a DO (Digital Output) signal, an AI (Analog Input) signal, or an AO (Analog Output) signal.

[0065] In an embodiment of the present application, the second I / O channel is a general I / O channel, which can be configured to transmit any type of signal such as DI (Digital Input) signal, DO (Digital Output) signal, AI (Analog Input) signal, AO (Analog Output) signal, etc.

[0066] It should be noted that the array-type "N+1" redundancy strategy provided in the embodiment of the present application can switch to the second I / O channel on any idle standby I / O module when a fault is detected in the first I / O channel. The design of the array switching matrix in the array-type "N+1" redundancy strategy is very difficult. The more I / O channels there are, the more complex the circuit is. In actual applications, comprehensive considerations will be made based on cost, circuit area, complexity, etc.

[0067] See also Figure 2 , which is a flow chart of an I / O channel switching method of a nuclear power DCS provided in an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:

[0068] Step S201, monitoring the communication status of each first I / O channel.

[0069] In an optional embodiment, a nuclear power DCS (ie, distributed control system) may be used as the execution subject of the I / O channel switching method of the nuclear power DCS of the embodiment of the present application.

[0070] In step S201, the communication status is used to indicate whether a failure occurs in the first I / O channel.

[0071] In order to ensure the reliability of the nuclear power DCS, in the embodiment of the present application, the nuclear power DCS can monitor the communication status of each first I / O channel in real time to quickly identify any abnormal situation in the communication link, so that the nuclear power DCS can take corrective measures in time, reduce the possibility of unexpected shutdown, and ensure unimpeded information transmission between all key components.

[0072] Step S202: If it is determined based on the communication status that any first I / O channel fails, the first I / O channel is used as a target I / O channel, and configuration information of the target I / O channel is obtained.

[0073] In this embodiment, the configuration information includes parameters such as channel number, channel label, signal type, signal range, etc., which are used to configure the communication function.

[0074] In order to further ensure the reliability of the nuclear power DCS, in an embodiment of the present application, when it is determined based on the communication status that any first I / O channel has failed, the nuclear power DCS can use the first I / O channel as the target I / O channel and obtain the configuration information of the target I / O channel to provide a data basis for the subsequent configuration of the communication function of the spare I / O channel (i.e., the second I / O channel).

[0075] Step S203: If there is an idle I / O module among the N standby I / O modules, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function.

[0076] In step S203, the idle I / O module is a standby I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel.

[0077] In order to achieve worry-free switching of I / O channels of nuclear power DCS and ensure the reliability of nuclear power DCS, in an embodiment of the present application, the nuclear power DCS can determine whether channel switching can be performed by detecting whether there is an idle I / O module among N spare I / O modules, and when there is an idle I / O module among the N spare I / O modules, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function, thereby providing a basis for subsequent channel switching.

[0078] Specifically, see Figure 3 , Figure 3 A flowchart of an idle I / O module detection process provided in an embodiment of the present application, the process includes the following steps:

[0079] Step S301 , detecting whether there is an idle I / O module among the N standby I / O modules.

[0080] Step S302: If there is no idle I / O module among the N standby I / O modules, a warning message is generated based on the fault information of the target I / O channel.

[0081] In step S302, the warning information is used to prompt the target object that a target I / O channel fails.

[0082] Step S303: If there is an idle I / O module among the N standby I / O modules, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function.

[0083] It should be noted that by detecting whether there is an idle I / O module among the N standby I / O modules, it is determined whether channel switching can be performed, thereby avoiding the problem of nuclear power DCS interruption or data loss caused by direct channel switching, and improving the reliability of nuclear power DCS; if there is no idle I / O module among the N standby I / O modules, a warning message is generated based on the fault information of the target I / O channel, which can promptly prompt the target object that the target I / O channel has a fault, so that the system can be repaired in time.

[0084] Step S204: Switch the I / O channel of the nuclear power DCS from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

[0085] In the existing "1+1" redundancy strategy, multiple I / O channels are provided on both the main I / O module and the standby I / O module. When any I / O channel of the main I / O module fails and the main I / O module where the failed I / O channel is located needs to be replaced, all I / O channels on the main I / O module need to be switched to the corresponding I / O channels on the standby I / O module, which makes the maintenance and management of nuclear power DCS more complicated and reduces the reliability of nuclear power DCS.

[0086] In order to solve the above problem, in the embodiment of the present application, after configuring the communication function of the second I / O channel corresponding to the idle standby I / O module as the target communication function, such as Figure 4 As shown, the nuclear power DCS can directly switch the channel from the failed target I / O channel to the second I / O channel corresponding to the idle I / O module through the array switching matrix. Even if the main I / O module where the target I / O channel is located needs to be replaced, there is no need to switch all I / O channels to the corresponding I / O channels on the standby I / O module.

[0087] Optionally, if it is determined based on the communication status that none of the first I / O channels fails, switching the first I / O channel to the second I / O channel is prohibited.

[0088] By using the I / O channel switching method based on the nuclear power DCS provided in the embodiment of the present application, the number of spare I / O channels in the nuclear power DCS is reduced while ensuring the reliability of the nuclear power DCS, thereby reducing the complexity of maintaining and managing the nuclear power DCS and reducing the hardware investment cost of the nuclear power DCS; by using the I / O channel switching method based on the nuclear power DCS provided in the embodiment of the present application, it is not necessary to set a spare I / O channel with the same communication function as redundancy for each main I / O module, thereby reducing the number of spare I / O channels and avoiding setting a large number of spare I / O channels in the nuclear power distributed control system, which leads to system The problem of high hardware investment cost is solved, thereby reducing the complexity of maintaining and managing distributed control systems; the I / O channel switching method based on nuclear power DCS provided by the embodiment of the present application can save the layout space of the nuclear power distributed control system, so that more main I / O modules can be deployed in the nuclear power distributed control system, and the density of effective points (i.e., main I / O modules) in the nuclear power DCS is improved; the I / O channel switching method based on nuclear power DCS provided by the embodiment of the present application, even if the main I / O module where the target I / O channel is located needs to be replaced, there is no need to switch all I / O channels to the corresponding I / O channels on the standby I / O module.

[0089] Method Example 2

[0090] The embodiment of the present application provides another embodiment of the I / O channel switching method of a nuclear power DCS. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0091] See also Figure 5 , the figure is a schematic diagram of another channel of a nuclear power DCS provided in an embodiment of the present application, wherein the nuclear power DCS includes multiple I / O module groups, such as I / O module group 1, I / O module group 2, ..., I / O module group n; each I / O module group includes K main I / O modules and one standby I / O module; each main I / O module is provided with a first I / O channel, and the standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, and K is a positive integer.

[0092] In the embodiment of the present application, by setting multiple I / O module groups in the nuclear power DCS, K main I / O modules and one standby I / O module are set in each I / O module group, and the second I / O channel set on the standby I / O module can be used to transmit any type of signal, so there is no need to set a standby I / O channel with the same communication function for each main I / O module as redundancy, reducing the number of standby I / O channels, avoiding the problem of setting a large number of standby channels in the nuclear power distributed control system, resulting in a high hardware investment cost of the system, thereby reducing the complexity of maintaining and managing the distributed control system. In addition, reducing the number of standby I / O channels can save the layout space of the nuclear power distributed control system, so that more main I / O modules can be deployed in the nuclear power distributed control system, and the density of effective points (i.e., main I / O modules) in the nuclear power DCS is improved.

[0093] For example, a single cabinet of a nuclear power DCS has a maximum layout of 160 I / O channels. If a "1+1" redundancy strategy is used for the single cabinet layout, the number of spare I / O channels (i.e., the second I / O channels) is 80, and the number of effective I / O channels (i.e., the first I / O channels) is 80. However, under the nuclear power DCS architecture of the present application (i.e., a single "N+1 (N=7)" redundancy strategy), only 20 spare I / O channels are required, and the number of effective I / O channels can be 140, thereby reducing the number of spare I / O channels and reducing the complexity of maintaining and managing the distributed control system.

[0094] In an embodiment of the present application, the preset type of signal may be any type of signal such as a DI (Digital Input) signal, a DO (Digital Output) signal, an AI (Analog Input) signal, or an AO (Analog Output) signal.

[0095] In an embodiment of the present application, the second I / O channel is a general I / O channel, which can be configured to transmit any type of signal such as DI (Digital Input) signal, DO (Digital Output) signal, AI (Analog Input) signal, AO (Analog Output) signal, etc.

[0096] It should be noted that the single-type "N+1" redundancy strategy provided in the embodiment of the present application can only switch to the second I / O channel on the idle standby I / O module in the I / O module group where the faulty channel is located when a fault is detected in the first I / O channel, and cannot switch to the second I / O channel in other I / O module groups. The switching circuit of the single-type "N+1" redundancy strategy is simpler than the switching circuit of the array-type "N+1" redundancy strategy, and is suitable for nuclear power DCS with a small number of channels and a low failure rate.

[0097] See also Figure 6 , which is a flow chart of another I / O channel switching method of a nuclear power DCS provided in an embodiment of the present application, such as Figure 6 As shown, the method comprises the following steps:

[0098] Step S601, monitoring the communication status of each first I / O channel in each I / O module group.

[0099] In step S601, the communication status is used to indicate whether a failure occurs in the first I / O channel.

[0100] In order to ensure the reliability of the nuclear power DCS, in the embodiment of the present application, the nuclear power DCS can monitor the communication status of each first I / O channel in each I / O module group in real time to quickly identify any abnormal situation in the communication link, so that the nuclear power DCS can take corrective measures in time, reduce the possibility of unexpected shutdown, and ensure unimpeded information transmission between all key components.

[0101] Step S602: If it is determined based on the communication status that any first I / O channel fails, the first I / O channel is used as a target I / O channel, and configuration information of the target I / O channel is obtained.

[0102] In this embodiment, the configuration information includes parameters such as channel number, channel label, signal type, signal range, etc., which are used to configure the communication function.

[0103] In order to further ensure the reliability of the nuclear power DCS, in an embodiment of the present application, when it is determined based on the communication status that any first I / O channel has failed, the nuclear power DCS can use the first I / O channel as the target I / O channel and obtain the configuration information of the target I / O channel to provide a data basis for the subsequent configuration of the communication function of the backup I / O channel (i.e., the second I / O channel).

[0104] Step S603: If there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function based on the configuration information.

[0105] In step S603, the idle I / O module is a standby I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel.

[0106] In order to achieve worry-free switching of I / O channels of nuclear power DCS and ensure the reliability of nuclear power DCS, in an embodiment of the present application, the nuclear power DCS can determine whether channel switching can be performed by detecting whether there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, and when there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function, thereby providing a basis for subsequent channel switching.

[0107] Specifically, see Figure 7 , Figure 7 A flowchart of another idle I / O module detection process provided in an embodiment of the present application, the process includes the following steps:

[0108] Step S701, detecting whether there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located;

[0109] Step S702: if there is no idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, generate warning information based on the fault information of the target I / O channel.

[0110] In step S702, the warning information is used to prompt the target object that a target I / O channel fails.

[0111] Step S703: If there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function based on the configuration information.

[0112] It should be noted that by detecting whether there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, it is determined whether channel switching can be performed, thereby avoiding the problem of nuclear power DCS interruption or data loss caused by direct channel switching, and improving the reliability of nuclear power DCS; when there is no idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, a warning message is generated based on the fault information of the target I / O channel, which can promptly prompt the target object that the target I / O channel has a fault, so that the system can be repaired in time.

[0113] Step S604: Switch the I / O channel of the nuclear power DCS from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

[0114] In the existing "1+1" redundancy strategy, multiple I / O channels are provided on both the main I / O module and the standby I / O module. When any I / O channel of the main I / O module fails and the main I / O module where the failed I / O channel is located needs to be replaced, all I / O channels on the main I / O module need to be switched to the corresponding I / O channels on the standby I / O module, which makes the maintenance and management of nuclear power DCS more complicated and reduces the reliability of nuclear power DCS.

[0115] In order to solve the above problem, in the embodiment of the present application, after configuring the communication function of the second I / O channel corresponding to the idle standby I / O module as the target communication function, such as Figure 8 As shown, the nuclear power DCS can directly switch the channel from the failed target I / O channel to the second I / O channel corresponding to the idle I / O module through a single switching circuit. Even if the main I / O module where the target I / O channel is located needs to be replaced, there is no need to switch all I / O channels to the corresponding I / O channels on the standby I / O module.

[0116] Optionally, if it is determined based on the communication status that each first I / O channel in each I / O module group has not failed, switching the first I / O channel to the second I / O channel is prohibited.

[0117] By using the I / O channel switching method based on the nuclear power DCS provided in the embodiment of the present application, the number of spare I / O channels in the nuclear power DCS is reduced while ensuring the reliability of the nuclear power DCS, thereby reducing the complexity of maintaining and managing the nuclear power DCS and reducing the hardware investment cost of the nuclear power DCS; by using the I / O channel switching method based on the nuclear power DCS provided in the embodiment of the present application, it is not necessary to set a spare I / O channel with the same communication function as redundancy for each main I / O module, thereby reducing the number of spare I / O channels and avoiding setting a large number of spare I / O channels in the nuclear power distributed control system, which leads to system The problem of high hardware investment cost is solved, thereby reducing the complexity of maintaining and managing distributed control systems; the I / O channel switching method based on nuclear power DCS provided by the embodiment of the present application can save the layout space of the nuclear power distributed control system, so that more main I / O modules can be deployed in the nuclear power distributed control system, and the density of effective points (i.e., main I / O modules) in the nuclear power DCS is improved; the I / O channel switching method based on nuclear power DCS provided by the embodiment of the present application, even if the main I / O module where the target I / O channel is located needs to be replaced, there is no need to switch all I / O channels to the corresponding I / O channels on the standby I / O module.

[0118] Device Example 1

[0119] An embodiment of the present application provides an I / O channel switching device for a nuclear power DCS, wherein the nuclear power DCS includes M main I / O modules and N standby I / O modules; each main I / O module is provided with a first I / O channel, each standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, M and N are positive integers, and M is greater than N.

[0120] Fig. 9 A schematic diagram of an I / O channel switching device for a nuclear power DCS provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, the device includes: a first monitoring module 91, a first determining module 92, a first configuration module 93 and a first switching module 94. Fig. 9 You can see the connection relationship between several modules.

[0121] The first monitoring module 91 is used to monitor the communication status of each first I / O channel; the communication status is used to indicate whether a fault occurs in the first I / O channel;

[0122] A first determination module 92 is configured to, if it is determined based on the communication status that any first I / O channel fails, use the first I / O channel as a target I / O channel and obtain configuration information of the target I / O channel;

[0123] The first configuration module 93 is used to configure the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function based on the configuration information if there is an idle I / O module among the N standby I / O modules; the idle I / O module is an unoccupied standby I / O module, and the target communication function is the same as the communication function of the target I / O channel;

[0124] The first switching module 94 is used to switch the I / O channel of the nuclear power DCS from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

[0125] Optionally, the first configuration module includes: a first detection unit, a first generation unit and a first configuration unit.

[0126] Wherein, the first detection unit is used to detect whether there is an idle I / O module among the N standby I / O modules;

[0127] A first generating unit is used to generate warning information based on the fault information of the target I / O channel if there is no idle I / O module among the N standby I / O modules; the warning information is used to prompt the target object that the target I / O channel has a fault;

[0128] The first configuration unit is configured to configure the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function based on the configuration information if there is an idle I / O module among the N standby I / O modules.

[0129] Optionally, the I / O channel switching device of the nuclear power DCS further includes: a first prohibition unit, configured to prohibit switching the first I / O channel to the second I / O channel if it is determined based on the communication status that none of the first I / O channels has failed.

[0130] Device Example 2

[0131] An embodiment of the present application provides an I / O channel switching device for a nuclear power DCS, wherein the nuclear power DCS includes multiple I / O module groups; each I / O module group includes K main I / O modules and one standby I / O module; each main I / O module is provided with a first I / O channel, and the standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, and K is a positive integer.

[0132] Fig.10 A schematic diagram of an I / O channel switching device for a nuclear power DCS provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the device includes: a second monitoring module 101, a second determining module 102, a second configuration module 103 and a second switching module 104. Fig.10You can see the connection relationship between several modules.

[0133] The second monitoring module 101 is used to monitor the communication status of each first I / O channel in each I / O module group; the communication status is used to indicate whether a fault occurs in the first I / O channel;

[0134] A second determination module 102 is configured to, if it is determined based on the communication status that any first I / O channel fails, use the first I / O channel as a target I / O channel and obtain configuration information of the target I / O channel;

[0135] The second configuration module 103 is used to configure the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function based on the configuration information if there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located; the idle I / O module is a spare I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel;

[0136] The second switching module 104 is used to switch the I / O channel of the nuclear power DCS from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

[0137] Optionally, the second configuration module includes: a second detection unit, a second generation unit and a second configuration unit.

[0138] The second detection unit is used to detect whether there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located;

[0139] A second generating unit is configured to generate a warning message based on the fault information of the target I / O channel if there is no idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located; the warning message is used to prompt the target object that the target I / O channel has a fault;

[0140] The second configuration unit is used to configure the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function based on the configuration information if there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located.

[0141] Optionally, the I / O channel switching device of the nuclear power DCS further includes: a second prohibition unit, configured to prohibit switching the first I / O channel to the second I / O channel if it is determined based on the communication status that none of the first I / O channels in each I / O module group fails.

[0142] Storage Medium Embodiments

[0143] The embodiment of the present application provides a computer-readable storage medium, on which a program is stored, wherein when the program is executed by a processor, some or all of the steps in the I / O channel switching method of a nuclear power DCS described in the aforementioned method embodiment of the present application are implemented. The storage medium can be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0144] Processor Embodiments

[0145] An embodiment of the present application provides a processor, which is used to run a program, wherein when the program is running, some or all of the steps in the I / O channel switching method of the nuclear power DCS introduced in the above method embodiment are executed.

[0146] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely schematic, in which the unit described as a separate component may or may not be physically separated, and the component prompted as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0147] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for switching I / O channels based on nuclear power DCS, characterized in that: The nuclear power DCS includes M main I / O modules and N standby I / O modules; each of the main I / O modules is provided with a first I / O channel, each of the standby I / O modules is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, M and N are positive integers, and M is greater than N, and the method includes: Monitoring the communication status of each of the first I / O channels; the communication status is used to indicate whether the first I / O channel fails; If it is determined based on the communication status that any one of the first I / O channels fails, the first I / O channel is used as a target I / O channel, and configuration information of the target I / O channel is obtained; If there is an idle I / O module among the N standby I / O modules, then based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function; the idle I / O module is a standby I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel; The I / O channel of the nuclear power DCS is switched from the target I / O channel to a second I / O channel corresponding to the idle I / O module.

2. The method according to claim 1, characterized in that If there is an idle I / O module among the N standby I / O modules, configuring the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function based on the configuration information includes: Detecting whether there is the idle I / O module among the N standby I / O modules; If the idle I / O module does not exist in the N standby I / O modules, generating warning information based on the fault information of the target I / O channel; the warning information is used to prompt the target object that the target I / O channel has a fault; If the idle I / O module exists among the N standby I / O modules, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function.

3. The method according to claim 2, characterized in that The method further comprises: If it is determined based on the communication status that none of the first I / O channels fails, switching the first I / O channel to the second I / O channel is prohibited.

4. A method for switching I / O channels based on nuclear power DCS, characterized in that: The nuclear power DCS includes a plurality of I / O module groups; each of the I / O module groups includes K main I / O modules and one standby I / O module; each of the main I / O modules is provided with a first I / O channel, and the standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, K is a positive integer, and the method includes: Monitoring the communication status of each of the first I / O channels in each of the I / O module groups; the communication status is used to indicate whether a failure occurs in the first I / O channel; If it is determined based on the communication status that any one of the first I / O channels fails, the first I / O channel is used as a target I / O channel, and configuration information of the target I / O channel is obtained; If there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, then based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function; the idle I / O module is a standby I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel; The I / O channel of the nuclear power DCS is switched from the target I / O channel to a second I / O channel corresponding to the idle I / O module.

5. The method according to claim 4, characterized in that If there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located, then based on the configuration information, configuring the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function, including: Detecting whether the idle I / O module exists in the I / O module group where the main I / O module corresponding to the target I / O channel is located; If the idle I / O module does not exist in the I / O module group where the main I / O module corresponding to the target I / O channel is located, generating a warning message based on the fault information of the target I / O channel; the warning message is used to prompt the target object that the target I / O channel has a fault; If the idle I / O module exists in the I / O module group where the main I / O module corresponding to the target I / O channel is located, based on the configuration information, the communication function of the second I / O channel corresponding to the idle I / O module is configured as the target communication function.

6. The method according to claim 4, characterized in that The method further comprises: If it is determined based on the communication status that each of the first I / O channels in each of the I / O module groups has not failed, switching the first I / O channel to the second I / O channel is prohibited.

7. An I / O channel switching device based on nuclear power DCS, characterized in that: The nuclear power DCS includes M main I / O modules and N standby I / O modules; each of the main I / O modules is provided with a first I / O channel, each of the standby I / O modules is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, M and N are positive integers, and M is greater than N, and the device includes: A first monitoring module, used to monitor the communication status of each of the first I / O channels; the communication status is used to indicate whether the first I / O channel fails; a first determining module, configured to, if it is determined based on the communication state that any one of the first I / O channels fails, use the first I / O channel as a target I / O channel and obtain configuration information of the target I / O channel; A first configuration module is configured to configure the communication function of the second I / O channel corresponding to the idle I / O module as a target communication function based on the configuration information if there is an idle I / O module among the N standby I / O modules; the idle I / O module is a standby I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel; The first switching module is used to switch the I / O channel of the nuclear power DCS from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

8. An I / O channel switching device based on nuclear power DCS, characterized in that: The nuclear power DCS includes a plurality of I / O module groups; each of the I / O module groups includes K main I / O modules and one standby I / O module; each of the main I / O modules is provided with a first I / O channel, and the standby I / O module is provided with a second I / O channel, the first I / O channel is used to transmit a preset type of signal, and the second I / O channel is used to transmit any type of signal, K is a positive integer, and the device includes: A second monitoring module, used to monitor the communication status of each of the first I / O channels in each of the I / O module groups; the communication status is used to indicate whether a fault occurs in the first I / O channel; a second determining module, configured to, if it is determined based on the communication state that any one of the first I / O channels fails, use the first I / O channel as a target I / O channel and obtain configuration information of the target I / O channel; A second configuration module is configured to configure the communication function of the second I / O channel corresponding to the idle I / O module as the target communication function based on the configuration information if there is an idle I / O module in the I / O module group where the main I / O module corresponding to the target I / O channel is located; the idle I / O module is a spare I / O module in an unoccupied state, and the target communication function is the same as the communication function of the target I / O channel; The second switching module is used to switch the I / O channel of the nuclear power DCS from the target I / O channel to the second I / O channel corresponding to the idle I / O module.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the I / O channel switching method based on a nuclear power DCS as described in any one of claims 1 to 6 is implemented.

10. A processor, characterized in that: Used to run a computer program, which, when running, executes the I / O channel switching method based on nuclear power DCS according to any one of claims 1 to 6.