Method, device, equipment, medium and program product for default value setting of nuclear power plant
By determining the quality bit of the input signal in the digital control system of a nuclear power plant and transmitting it directly, the problem of the complexity of the default value design within the DCS is solved, thereby improving the safety and reliability of the nuclear power plant.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA NUCLEAR POWER ENGINEERING COMPANY LTD
- Filing Date
- 2022-12-15
- Publication Date
- 2026-06-26
AI Technical Summary
Existing default value design methods for nuclear power plants mainly focus on external DCS signals, lacking research on internal DCS default values, which leads to increased logical complexity and affects the nuclear safety and normal operation of the unit.
By acquiring the input signals of functional blocks in the digital control system of a nuclear power plant, determining the quality bit of the input signal according to the preset range and value, and transmitting the quality bit to other functional blocks connected to the functional block, the additional preprocessing of the input signal is avoided.
It reduces the complexity of control logic, decreases the risk of malfunctions, improves the safety and reliability of nuclear power plants, and avoids fluctuations in the operating status of nuclear power plants caused by signal misjudgment.
Smart Images

Figure CN116189947B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of nuclear power technology, and in particular to a method, apparatus, equipment, medium, and program product for setting default values in a nuclear power plant. Background Technology
[0002] Currently, the control of reactor protection systems and nuclear safety-grade equipment in operating and under-construction nuclear power units in China is achieved through Digital Control Systems (DCS). DCS typically uses function blocks to set default values, adding functions for signal invalidity detection and automatic selection. When external or internal equipment malfunctions or signals are abnormal, the function blocks output default values. If these default values are poorly designed, they may exacerbate the fault, directly impacting the nuclear safety and normal operation of the unit.
[0003] However, current default value design methods focus on input or output signals outside the DCS, lacking research on design methods for default values within the DCS. If users suggest improvements to the default value design methods during the construction or operation of a nuclear power plant, the only recourse is to adjust the design or testing schemes based on the characteristics of existing functional blocks, which increases logical complexity. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, apparatus, equipment, medium, and program product for setting default values in nuclear power plants that can avoid increasing logical complexity in response to the above-mentioned technical problems.
[0005] Firstly, this application provides a method for setting default values for a nuclear power plant. The method includes:
[0006] Obtain the input signals of the functional blocks in the digital control system of the nuclear power plant;
[0007] The quality level of the input signal is determined based on the preset range and the value in the input signal.
[0008] The mass bit is passed to other function blocks connected to this function block.
[0009] In one embodiment, determining the quality level of the input signal based on a preset range and the value in the input signal includes:
[0010] If the value in the input signal is within the preset range, then the quality bit of the input signal is determined to be the first state quality bit.
[0011] In one embodiment, the method further includes:
[0012] If the value in the input signal is not within the preset range, then the quality bit of the input signal is determined to be the second state quality bit.
[0013] In one embodiment, the method further includes:
[0014] Obtain the value from the input signal;
[0015] The actual output value of the function block is determined based on the magnitude of this value.
[0016] This function block outputs the actual output value to other function blocks connected to it.
[0017] In one embodiment, the function block includes a voting function block; the method further includes:
[0018] When the input signal is a first state quality bit or a second state quality bit, the voting function block transmits the first state quality bit to other function blocks connected to the voting function block.
[0019] When the input signal is a first state quality bit or a second state quality bit, any function block other than the voting function block will transmit the same quality bit state as the input signal to other function blocks connected to that other function block.
[0020] In one embodiment, determining the actual output value of the function block based on this value includes:
[0021] When the input signal is either the first state quality bit or the second state quality bit, the actual output value of the function block is calculated based on the value using the preset algorithm corresponding to the function block.
[0022] Secondly, this application also provides a default value setting device for a nuclear power plant. The device includes:
[0023] The first acquisition module is used to acquire the input signals of the functional blocks in the digital control system of the nuclear power plant;
[0024] The first determining module is used to determine the quality level of the input signal based on the preset range and the value in the input signal;
[0025] The first transmission module is used to transmit the quality bit to other function blocks connected to this function block.
[0026] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of any of the methods described in the first aspect above.
[0027] Fourthly, this application also provides a computer-readable storage medium. This computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of any of the methods described in the first aspect above.
[0028] Fifthly, this application also provides a computer program product. This computer program product includes a computer program that, when executed by a processor, implements the steps of any of the methods described in the first aspect above.
[0029] The aforementioned default value setting method, apparatus, equipment, medium, and program product for nuclear power plants acquires input signals from functional blocks in the digital control system of the nuclear power plant. Based on a preset range and the values in the input signals, it determines the quality bit of the input signals, thereby transmitting the quality bit to other functional blocks connected to the functional block. In other words, this embodiment determines the quality bit of the input signals based on a preset range and the values in the input signals. The functional block only transmits the quality bit to other functional blocks without further judging the quality bit of the input signals, thus avoiding the need for preprocessing of the input signals by other functional blocks and preventing increased logical complexity. For example, the quality bit of the input signal is actually the first state quality bit, but because the value of the input signal does not meet the preset algorithm of the function block, the function block incorrectly determines the quality bit of the input signal as the second state quality bit. In order to avoid the function block from incorrectly determining the quality bit of the input signal, other function blocks need to be used to preprocess the input signal. This method will increase the logic complexity. However, after determining the quality bit of the input signal, this application directly transmits the quality bit to other function blocks connected to the function block, without the need to use other function blocks to preprocess the input signal to determine the quality bit, thus reducing the logic complexity. Attached Figure Description
[0030] Figure 1 One of the flowcharts illustrating a method for setting default values in a nuclear power plant, as provided in an embodiment of this application;
[0031] Figure 2 A second schematic flowchart illustrating a method for setting default values in a nuclear power plant, provided as an embodiment of this application;
[0032] Figure 3 A third schematic flowchart illustrating a method for setting default values in a nuclear power plant, provided as an embodiment of this application;
[0033] Figure 4 A structural block diagram of a default value setting device for a nuclear power plant provided in an embodiment of this application;
[0034] Figure 5 This is an internal structural diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0036] A function block is a programming method in DCS software that calculates input values according to a specific formula and then outputs the result. Both input and output values contain two attributes: numerical value and quality bit. The numerical value includes both digital and analog values, while the quality bit includes two states: good quality bit and bad quality bit. Since the numerical value and quality bit influence each other, the default value of a function block refers to the method of calculating the numerical value of the output value under both good and bad quality bit conditions. The default value of a function block also refers to the method of calculating the quality bit of the output value under different ranges of the input value and under both good and bad quality bit conditions. The purpose of setting default values for function blocks is typically twofold: first, for display and alarm purposes, prompting operators and test personnel to determine whether the input signal represents the actual operating condition; second, to achieve specific design objectives by setting different calculation formulas, for example, when an upstream signal fails, the downstream control logic can move to a safe position.
[0037] Reactor protection systems typically need to determine the status of input signals and bypass or degrade unreliable input signals. Since a single signal in a reactor protection system generally affects many downstream logic branches, it is necessary to consider the impact on downstream signal displays and alarm displays when a single signal is in an unreliable state.
[0038] Existing default value setting methods for nuclear power plants vary significantly, lacking a unified approach. Furthermore, current default value setting methods focus on external input or output signals of the DCS, neglecting research on methods for setting internal default values within the DCS. During nuclear power plant design, users typically only specify default values for external input or output signals, neglecting requirements for internal DCS default values. If users suggest improvements to the default value setting methods during nuclear power plant construction and operation, the substantial cost of modifying the DCS often necessitates adjustments to the design or testing schemes based on the characteristics of existing functional blocks. However, this approach complicates the control logic, reduces reliability, and increases production and construction costs.
[0039] Currently, under normal operating conditions, the source input signal of the DCS is within a certain range, and its quality is good. However, if the magnitude of the source input signal violates the mathematical operation rules set by the function block, the function block defaults to setting the quality as bad for the source input signal that it cannot process. This is inconsistent with the state where the source input signal is a normal signal. For example, the square root function block, which is usually used for flow calculation, cannot perform square root operations on values less than 0 in its mathematical logic. When the flow meter is near the zero point of its physical range, the transmitter output current may be less than 4mA. If the transmitter output current is 3.92mA, the actual operating condition is still normal, but because the transmitter output current of 3.92mA is less than 4mA, the input signal of the square root function block is negative, and therefore the square root function block cannot perform square root calculations. According to the existing default value setting method, when the function block cannot directly perform mathematical operations on the input signal, the quality bit of the function block's output signal is output according to the default value. If the default value is set to a bad quality bit, the output signal will be displayed as a fault or error signal on the human-machine interface, which is inconsistent with the actual working conditions.
[0040] This method addresses the scenario where the input signal is of good quality under normal operating conditions. However, because the magnitude of the input signal does not conform to mathematical operation rules, the function block incorrectly determines the input signal's state as unreliable, leading to an output signal state that does not match the actual operating conditions. Users viewing this output signal through the human-machine interface are prone to making incorrect judgments. Furthermore, signals in a DCS are typically used in reactor protection systems. A bad quality output signal from a function block can cause logic degradation in the reactor protection system, posing a risk of malfunction. In engineering applications, if a function block incorrectly determines the input signal and sets the default value to bad quality, preprocessing of the input signal by other function blocks is required, increasing control logic complexity and reducing reliability.
[0041] When the input signal quality is bad, the common ways to set the default value of the function block are: first, to output the actual value: regardless of whether the input signal quality is good or bad, the calculation is performed and output according to the calculation formula set in the function block; second, to output the last good value: when the input signal quality changes from good to bad and no longer changes, the value calculated when the input signal quality was good is output; third, to output the substitute value: when the input signal quality is bad and no longer changes, the fixed value set inside the function block is output.
[0042] When the operating conditions of a nuclear power plant change, the quality level of the input signal also changes. The default value of a function block can abruptly change between the substitute value and the actual value, causing downstream control valves and control logic to change drastically with the abrupt change in the default value. This can lead to fluctuations in the operating status of the nuclear power plant. For example, when the unit increases its power output, some upstream probe signals change from a state that has not entered the probe's acquisition range to a state that has entered the probe's acquisition range, and the corresponding input signal quality level changes from bad to good. If the default value is set to output according to the substitute value or the previous good value, then when the input signal enters the probe's range, because the input signal quality level changes from bad to good, the output signal of the function block abruptly changes from the substitute value to the actual value. For example, for a first-order filter function block used to eliminate transient disturbances and prevent signal fluctuations, when the input signal quality level changes from bad to good, it will cause a drastic change in the output of the first-order filter function block. This may trigger the protection threshold of the reactor protection system or cause drastic changes in the opening of downstream control equipment such as control valves. In this case, the first-order filter function block loses its filtering function, which will affect the safe operation of the nuclear power plant.
[0043] Typically, the quality bit status of upstream functional blocks in a DCS (Distributed Control System) is passed down to downstream functional blocks. Therefore, if the quality bit of the DCS's source input signal is faulty, the quality bits of all functional blocks in the downstream logic path and the DCS's output signals will also be faulty. Furthermore, reactor protection systems extensively use "two-out-of-three" and "two-out-of-four" voting logic. When a single input signal fails, its corresponding quality bit deteriorates. Regardless of whether the voting logic is triggered, the quality bits of all signals downstream of the voting logic will be faulty. This is considered an unreliable signal, i.e., a faulty signal, and a warning message will be displayed on the HMI (Human Machine Interface) while related alarms are disabled.
[0044] Defective signals are displayed on the HMI (Human Machine Interface) using a red border or gray background. Because the input signal quality bit is faulty, these alarms are considered inauthentic and cannot be displayed in the alarm list, severely impacting unit status monitoring. For example, during normal unit operation, a fault in one of the reactor containment pressure probes causes a single input signal to have a faulty quality bit, leading to a degraded "two out of three" and "two out of four" voting logic. The downstream safety injection and safety spray signals may not actually trigger, but the faulty quality bit information is transmitted to all downstream alarm displays and devices, masking their alarm information. When the second probe reaches the protection threshold, it triggers the protection signal, and the safety injection and safety spray alarms are actually triggered, but they cannot be displayed in the HMI alarm list. Similarly, all downstream process system alarm displays are masked, severely misleading operators' judgment of the unit's status. To avoid a single probe fault causing a single input signal to have a faulty quality bit, thus affecting the alarm display of downstream process systems, the input signal transmission link needs to be reprocessed to remove the faulty quality bit, but this increases logical complexity and reduces reliability. To address the aforementioned technical problems, this application provides a method for setting default values for nuclear power plants.
[0045] In one embodiment, Figure 1 One of the flowcharts for a method of setting default values for a nuclear power plant, provided in this application embodiment, includes the following steps:
[0046] S101, acquire the input signals of the functional blocks in the digital control system of the nuclear power plant.
[0047] Among them, a Digital Control System (DCS) is a distributed control system based on computers and network communication. A DCS connects field control stations located near the industrial site with operator and engineer stations in the control center through a communication network to achieve decentralized control and centralized operation management of on-site production equipment. Input signals contain two attributes: numerical value and quality bit. The quality bit includes two cases: good quality bit and bad quality bit.
[0048] In this embodiment, the computer device acquires the input signals of the functional blocks in the digital control system of the nuclear power plant by collecting the same physical quantity through multiple probes.
[0049] It should be noted that using multiple probes to collect the same physical quantity can increase the reliability of the collected quantity and improve safety redundancy. For example, multiple probes can be used to collect the output current of a transmitter to improve the reliability of the transmitter's output current.
[0050] S102, determine the quality level of the input signal based on the preset range and the value in the input signal.
[0051] The preset range may include: setting the range of values corresponding to the "good quality" of different types of input signals based on historical experience.
[0052] In this embodiment of the application, the computer device can determine the quality bit of the input signal based on the range of values corresponding to the "quality bit good" of different types of input signals and the value of the input signal.
[0053] Specifically, if the value of a certain type of input signal falls within the range corresponding to the "good quality" value for that type of input signal, then the quality of that type of input signal is considered good. Conversely, if the value of the input signal does not fall within the range corresponding to the "good quality" value for that type of input signal, then the quality of that type of input signal is considered bad. For example, if the current value of a transmitter is 3 mA, and the range corresponding to the "good quality" value for the transmitter's current is 2.5 mA to 4.2 mA, then 3 mA falls within this range, and the quality of the transmitter's output current is considered good.
[0054] It should be noted that for input signals under abnormal operating conditions, such as due to probe damage or cable short circuits, the quality level of the input signal can be determined based on the preset range and the value in the input signal.
[0055] S103, transmits quality bits to other function blocks connected to the function block.
[0056] In this embodiment, if the input signal has good quality, the output signal of the function block also has good quality, and this good quality is transmitted to other function blocks connected to that function block. If the input signal has bad quality, the output signal of the function block also has bad quality, and this bad quality is transmitted to other function blocks connected to that function block.
[0057] The default value setting method for nuclear power plants provided in this embodiment obtains the input signals of functional blocks in the digital control system of the nuclear power plant, and determines the quality bit of the input signal based on a preset range and the magnitude of the input signal value, thereby transmitting the quality bit to other functional blocks connected to the functional block. In other words, this embodiment determines the quality bit of the input signal based on a preset range and the value of the input signal. The functional block only transmits the quality bit to other functional blocks without further judging the quality bit of the input signal, thus avoiding the need for other functional blocks to preprocess the input signal and preventing increased logical complexity. For example, the quality bit of the input signal may actually be a first-state quality bit, but because the value of the input signal does not meet the preset algorithm of the functional block, the functional block incorrectly determines the quality bit of the input signal as a second-state quality bit. To avoid the functional block incorrectly judging the quality bit of the input signal, other functional blocks would need to preprocess the input signal, which would increase logical complexity. However, this embodiment directly transmits the quality bit of the input signal to other functional blocks connected to the functional block after determining it, without needing other functional blocks to preprocess the input signal to determine the quality bit, thus reducing logical complexity.
[0058] In one embodiment, this application relates to a possible implementation of how to determine the quality bit of an input signal based on a preset range and the value in the input signal. Based on the above embodiment, S102 includes:
[0059] If the value in the input signal is within a preset range, then the quality bit of the input signal is determined as the first state quality bit.
[0060] The first state quality bit may include the quality bit good.
[0061] In this embodiment of the application, if the value in the input signal is within a preset range, the quality bit of the input signal can be determined to be good.
[0062] The method provided in this embodiment determines the quality bit of the input signal as the first state quality bit by ensuring that the value in the input signal falls within a preset range. This allows for direct judgment of the input signal's quality bit using a reasonable range, reducing the complexity of the DCS control logic.
[0063] In one embodiment, the method further includes:
[0064] If the value in the input signal is not within the preset range, then the quality bit of the input signal is determined to be the second state quality bit.
[0065] The second state quality bit may include a bad quality bit.
[0066] In this embodiment of the application, if the value in the input signal is not within the preset range, the quality bit of the input signal can be determined to be bad.
[0067] It should be noted that the numerical values in the input signal can be preprocessed using methods such as piecewise functions before subsequent mathematical operations are performed.
[0068] The method provided in this embodiment determines the quality bit of the input signal as the second state quality bit if the value in the input signal is not within a preset range. This allows for direct judgment of the quality bit of the input signal within a reasonable range, reducing the complexity of the DCS control logic. Furthermore, by preprocessing the values in the input signal using methods such as piecewise functions before performing subsequent mathematical operations, discrepancies between the output signal quality bit and the actual operating conditions can be avoided, preventing user misjudgments and thus avoiding reactor protection logic degradation and reducing the risk of malfunction.
[0069] In one embodiment, Figure 2 The second flowchart illustrating the default value setting method for a nuclear power plant provided in this application embodiment further includes:
[0070] S201, acquire the value in the input signal.
[0071] In this embodiment of the application, the computer device can acquire the numerical value in the input signal and the quality bit state in the input signal.
[0072] S202, determine the actual output value of the function block based on the numerical value.
[0073] In this embodiment of the application, the computer device can determine the quality bit of the input signal based on the value in the input signal. When the quality bit is bad, the default value of the function block can be calculated based on the value of the input signal as the actual output value.
[0074] It should be noted that voting logic is commonly used in reactor protection systems. Specific function blocks read the quality bits of the input signal. When the upstream signal's quality bits deteriorate due to sensor failure, signal link failure, or other reasons, the voting logic degrades. Regardless of the function block's output value, it will not affect the control logic's voting, thus ensuring the reactor protection system's functionality. Therefore, the default value is output according to the actual output value.
[0075] S203 outputs the actual output value to other function blocks connected to the function block through the function block.
[0076] In this embodiment of the application, the computer device can output the actual output value obtained in S202 to other function blocks connected to the function block through the function block.
[0077] The method provided in this embodiment acquires the value in the input signal and determines the actual output value of the functional block based on the value, thereby outputting the actual output value to other functional blocks connected to the functional block. In other words, because the functional block is designed to conform to the actual operating conditions, i.e., there are no signal abrupt changes, and the actual output value of the functional block is determined based on the value, abrupt changes in the magnitude of the output signal of the functional block can be avoided, thereby preventing fluctuations in the operating state of the nuclear power plant.
[0078] In one embodiment, Figure 3 The third flowchart illustrating a method for setting default values in a nuclear power plant, as provided in this application embodiment, includes a voting function block, and the method further includes:
[0079] S301 When the input signal is a first state quality bit or a second state quality bit, the voting function block transmits the first state quality bit to other function blocks connected to the voting function block.
[0080] The voting function block can perform voting operations such as two out of four or two out of three on the information obtained after judging the quality bit of the input signal to determine whether the reactor protection action is triggered.
[0081] In this embodiment, when the input signal is either a good quality bit or a bad quality bit, the computer device can transmit the first state quality bit, i.e., transmit the good quality bit, to other function blocks connected to the voting function block through the voting function block. For example, voting function block A transmits the good quality bit to function block B connected to the voting function block.
[0082] S302. When the input signal is a first state quality bit or a second state quality bit, except for the voting function block, any other function block shall transmit the same quality bit state as the input signal to other function blocks connected to any other function block.
[0083] In the embodiments of this application, when the input signal is of good or bad quality, except for the voting function, any other functional block transmits the same quality bit state as the input signal to other functional blocks connected to it. For example, except for voting function block A, function block C transmits the same quality bit state as the input signal to other functional blocks F connected to function block C; function block B can also transmit the same quality bit state as the input signal to other functional blocks T connected to function block B; or function block E can transmit the same quality bit state as the input signal to other functional blocks W connected to function block E.
[0084] It should be noted that reactor protection systems commonly employ multiple probes to collect the same physical quantity to improve safety redundancy. The input signals collected by multiple probes are voted on by a voting function block, bypassing or downgrading fault signals with a faulty quality bit. The voting logic of this function block aims to eliminate unreliable signals and comprehensively evaluate multiple input signals. Especially when a single upstream signal has a faulty quality bit, the voting logic of the function block typically does not actually trigger reactor protection. Furthermore, if a signal with a faulty quality bit has already been eliminated by the voting function block, continuing to propagate this faulty quality bit to dozens of downstream systems would interfere with the operators' judgment of the nuclear power plant's operating status. Therefore, a faulty quality bit in the output signal of the voting function block is meaningless; when the input signal has a faulty quality bit, the voting function does not propagate the quality bit.
[0085] The method provided in this embodiment, when the input signal is a first state quality bit or a second state quality bit, the voting function block transmits the first state quality bit to other function blocks connected to the voting function block. When the input signal is a first state quality bit or a second state quality bit, except for the voting function block, any other function block transmits the same quality bit state as the input signal to other function blocks connected to any other function block. This can avoid transmitting the second state quality bit signal to other function blocks, thereby avoiding downstream alarm and display information failures caused by a single signal fault.
[0086] In one embodiment, this embodiment relates to a possible implementation of how to determine the actual output value of a functional block and the quality bit state of the output signal based on numerical values. Based on the above embodiment, S202 includes:
[0087] When the input signal is either the first state quality bit or the second state quality bit, the actual output value of the function block is calculated based on the value using the preset algorithm corresponding to the function block.
[0088] The preset algorithm can include algorithms such as square root calculation. For example, when calculating traffic flow, the preset algorithm can be square root calculation.
[0089] In this embodiment, when the input signal is either good or bad, the quality level of the input signal is determined based on the value of the input signal. When the quality level is bad, the default value of the function block can be calculated according to the value of the input signal using the preset algorithm corresponding to the function block to determine the actual output value of the function block.
[0090] The method provided in the embodiment calculates the actual output value of the function block based on the value when the input signal is either the first state quality bit or the second state quality bit, using a preset algorithm corresponding to the function block. The function block is designed to match the actual working conditions, thereby avoiding sudden changes in the magnitude of the output signal of the function block.
[0091] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0092] Based on the same inventive concept, this application also provides a default value setting device for a nuclear power plant to implement the default value setting method for a nuclear power plant as described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the default value setting device for a nuclear power plant provided below can be found in the limitations of the default value setting method for a nuclear power plant described above, and will not be repeated here.
[0093] In one embodiment, such as Figure 4 As shown, a default value setting device for a nuclear power plant is provided. The device 400 includes: a first acquisition module 401, a first determination module 402, and a first transmission module 403, wherein:
[0094] The first acquisition module 401 is used to acquire the input signals of the functional blocks in the digital control system of the nuclear power plant;
[0095] The first determining module 402 is used to determine the quality level of the input signal based on the preset range and the value in the input signal;
[0096] The first transmission module 403 is used to transmit the mass bit to other functional blocks connected to the functional block.
[0097] The default value setting device for a nuclear power plant provided in this embodiment acquires the input signals of functional blocks in the digital control system of the nuclear power plant, and determines the quality bit of the input signal based on a preset range and the value in the input signal, thereby transmitting the quality bit to other functional blocks connected to the functional block. In other words, this embodiment determines the quality bit of the input signal based on a preset range and the value in the input signal; the functional block only transmits the quality bit to other functional blocks without further judging the quality bit of the input signal, thus avoiding the need for other functional blocks to preprocess the input signal and preventing increased logical complexity. For example, the quality bit of the input signal might actually be a first-state quality bit, but because the value of the input signal does not meet the preset algorithm of the functional block, the functional block incorrectly determines the quality bit of the input signal as a second-state quality bit. To avoid the functional block incorrectly judging the quality bit of the input signal, other functional blocks would need to preprocess the input signal, which would increase logical complexity. However, this embodiment, after determining the quality bit of the input signal, directly transmits the quality bit to other functional blocks connected to the functional block, without needing to use other functional blocks to preprocess the input signal to determine the quality bit, thus reducing logical complexity.
[0098] In one embodiment, the first determining module 402 includes:
[0099] The determining unit is used to determine the quality bit of the input signal as the first state quality bit if the value in the input signal is within a preset range.
[0100] In one embodiment, the device 400 further includes:
[0101] The second determining module is used to determine the quality bit of the input signal as the second state quality bit if the value in the input signal is not within the preset range.
[0102] In one embodiment, the device 400 further includes:
[0103] The second acquisition module is used to acquire the value in the input signal;
[0104] The third determining module is used to determine the actual output value of the function block based on the numerical value.
[0105] The output module is used to output actual output values to other function blocks connected to the function block through the function block.
[0106] In one embodiment, the second determining module includes:
[0107] The first transmission unit is used to transmit the first state quality bit to other function blocks connected to the voting function block when the input signal is a first state quality bit or a second state quality bit.
[0108] The second transmission unit is used to transmit the same quality bit state as the input signal to other function blocks connected to the other function blocks, except for the voting function block, when the input signal is a first state quality bit or a second state quality bit.
[0109] In one embodiment, the third determining module includes:
[0110] The calculation unit is used to calculate the actual output value of the function block based on the value when the input signal is either the first state quality bit or the second state quality bit.
[0111] The modules in the default setting device for the aforementioned nuclear power plant can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0112] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a default setting method for a nuclear power plant. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0113] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0114] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0115] Acquire the input signals of the functional blocks in the digital control system of the nuclear power plant;
[0116] The quality bit of the input signal is determined based on the preset range and the value in the input signal;
[0117] The mass bit is passed to other functional blocks connected to the functional block.
[0118] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0119] If the value in the input signal is within the preset range, then the quality bit of the input signal is determined to be the first state quality bit.
[0120] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0121] If the value in the input signal is not within the preset range, then the quality bit of the input signal is determined to be the second state quality bit.
[0122] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0123] Obtain the value from the input signal;
[0124] The actual output value of the function block is determined based on the stated value;
[0125] The actual output value is output to other function blocks connected to the function block through the function block.
[0126] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0127] When the input signal is a first state quality bit or a second state quality bit, the voting function block transmits the first state quality bit to other function blocks connected to the voting function block.
[0128] When the input signal is a first state quality bit or a second state quality bit, any function block other than the voting function block transmits the same quality bit state as the input signal to other function blocks connected to the other function block.
[0129] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0130] When the input signal is either the first state quality bit or the second state quality bit, the actual output value of the function block is calculated based on the value using the preset algorithm corresponding to the function block.
[0131] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0132] Acquire the input signals of the functional blocks in the digital control system of the nuclear power plant;
[0133] The quality bit of the input signal is determined based on the preset range and the value in the input signal;
[0134] The mass bit is passed to other functional blocks connected to the functional block.
[0135] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0136] If the value in the input signal is within the preset range, then the quality bit of the input signal is determined to be the first state quality bit.
[0137] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0138] If the value in the input signal is not within the preset range, then the quality bit of the input signal is determined to be the second state quality bit.
[0139] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0140] Obtain the value from the input signal;
[0141] The actual output value and output signal of the functional block are determined based on the stated values.
[0142] The actual output value is output to other function blocks connected to the function block through the function block.
[0143] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0144] When the input signal is a first state quality bit or a second state quality bit, the voting function block transmits the first state quality bit to other function blocks connected to the voting function block.
[0145] When the input signal is a first state quality bit or a second state quality bit, any function block other than the voting function block transmits the same quality bit state as the input signal to other function blocks connected to the other function block.
[0146] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0147] When the input signal is either the first state quality bit or the second state quality bit, the actual output value of the function block is calculated based on the value using the preset algorithm corresponding to the function block.
[0148] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0149] Acquire the input signals of the functional blocks in the digital control system of the nuclear power plant;
[0150] The quality bit of the input signal is determined based on the preset range and the value in the input signal;
[0151] The mass bit is passed to other functional blocks connected to the functional block.
[0152] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0153] If the value in the input signal is within the preset range, then the quality bit of the input signal is determined to be the first state quality bit.
[0154] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0155] If the value in the input signal is not within the preset range, then the quality bit of the input signal is determined to be the second state quality bit.
[0156] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0157] Obtain the value from the input signal;
[0158] The actual output value of the function block is determined based on the stated value;
[0159] The actual output value is output to other function blocks connected to the function block through the function block.
[0160] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0161] When the input signal is a first state quality bit or a second state quality bit, the voting function block transmits the first state quality bit to other function blocks connected to the voting function block.
[0162] When the input signal is a first state quality bit or a second state quality bit, any function block other than the voting function block transmits the same quality bit state as the input signal to other function blocks connected to the other function block.
[0163] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0164] When the input signal is either the first state quality bit or the second state quality bit, the actual output value of the function block is calculated based on the value using the preset algorithm corresponding to the function block.
[0165] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0166] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0167] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0168] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for setting default values in a nuclear power plant, characterized in that, The method includes: Acquire the input signals of the functional blocks in the digital control system of the nuclear power plant; The quality bit of the input signal is determined based on the preset range and the value in the input signal. The quality bit includes a first state quality bit and a second state quality bit. The first state quality bit is a good quality bit, and the second state quality bit is a bad quality bit. The mass bit is transmitted to other functional blocks connected to the functional block. The function block includes a voting function block, and the method further includes: When the input signal is a first state quality bit or a second state quality bit, the voting function block transmits the first state quality bit to other function blocks connected to the voting function block. The method further includes: Obtain the value from the input signal; When the input signal is a first state quality bit or a second state quality bit, the actual output value of the function block is calculated based on the value using the preset algorithm corresponding to the function block. The actual output value is output to other function blocks connected to the function block through the function block.
2. The method according to claim 1, characterized in that, Determining the quality bit of the input signal based on a preset range and the value in the input signal includes: If the value in the input signal is within the preset range, then the quality bit of the input signal is determined to be the first state quality bit.
3. The method according to claim 2, characterized in that, The method further includes: If the value in the input signal is not within the preset range, then the quality bit of the input signal is determined to be the second state quality bit.
4. The method according to claim 1, characterized in that, The functional block includes a voting functional block; the method further includes: When the input signal is a first state quality bit or a second state quality bit, any function block other than the voting function block transmits the same quality bit state as the input signal to other function blocks connected to the other function block.
5. A default value setting device for a nuclear power plant, characterized in that, The device includes: The first acquisition module is used to acquire the input signals of the functional blocks in the digital control system of the nuclear power plant; The first determining module is used to determine the quality bit of the input signal based on a preset range and the value in the input signal; A first transmission module is used to transmit the mass bit to other functional blocks connected to the functional block; The functional block includes a voting functional block and a second determining module, which is used to transmit the first state quality bit to other functional blocks connected to the voting functional block when the input signal is a first state quality bit or a second state quality bit. The second acquisition module is used to acquire the value in the input signal; The third determining module is used to calculate the actual output value of the function block based on the value and a preset algorithm corresponding to the function block when the input signal is a first state quality bit or a second state quality bit. An output module is used to output the actual output value to other function blocks connected to the function block through the function block.
6. The apparatus according to claim 5, characterized in that, The first determining module is used to determine the quality bit of the input signal as the first state quality bit if the value in the input signal is within the preset interval range.
7. The apparatus according to claim 5, characterized in that, The second determining module is used to determine the quality bit of the input signal as the second state quality bit if the value in the input signal is not within the preset range.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.