Switching state control method, apparatus, device, medium, and computer program product

By generating control commands and action commands to directly control the switch of the steam turbine generator set, the problem of low efficiency in manual inspection and operation is solved, and efficient switch status management is achieved.

CN114791707BActive Publication Date: 2025-11-18LINGDONG NUCLEAR POWER +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210373343.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-11
Publication Date
2025-11-18
Estimated Expiration
2042-04-11

AI Technical Summary

Technical Problem

The startup process of a steam turbine generator set requires manual inspection and operation of a large number of switches, resulting in low efficiency.

Method used

By responding to the action control to trigger the operation, control instructions are generated. The action type is determined according to the switch type and preset relationship, the action instructions are generated and sent to the switch controller to realize direct control of the switch.

Benefits of technology

It improves the efficiency of switch-on state control, simplifies the turbine startup process, reduces operation time, and increases work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114791707B_ABST
    Figure CN114791707B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of power generation systems, and provides a switch state control method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: in response to a trigger operation of an action control, a control instruction is generated; according to a corresponding relationship between a preset switch type and a control action type, a control action type is determined according to a switch type controlled by the control instruction; an action instruction corresponding to the control action type is generated; and the action instruction is sent to a switch controller. According to the method, the control instruction is generated in response to the trigger operation of the action control, the control action type is determined according to the switch type controlled by the control instruction, the action instruction corresponding to the control action type is generated, and the action instruction is sent to the corresponding switch by the switch controller, so that different switches can be controlled directly, the method is simple and efficient, and the switch state control efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power generation system technology, and in particular to a switch state control method, device, equipment, medium, and computer program product. Background Technology

[0002] The invention of the steam turbine has made an irreplaceable contribution to the development of human society and global industrial technology. With the advancement of science and technology and the rapid development of industry, new technologies have been widely applied in electrical control. Currently, advanced steam turbine control systems all adopt DCS (Digital Control System) systems, possessing functions such as observation and control, remote monitoring, remote diagnostics, historical data query, and real-time data interaction and communication with a host computer. This control method makes steam turbine control more intuitive and convenient, and has been widely used in the steam turbine industry. In the field of power technology, the combination of steam turbines and generators has produced steam turbine generators, which are generators driven by steam turbines.

[0003] Starting the turbine generator is crucial in its operation. The initial start-up of the turbine generator set first requires confirming that the start-up requirements have been met. Secondly, the turbine must be prepared to start up to the preset speed. Before starting, the operator needs to check the status of the drain valve on the feedwater heater shell side. When the drain valve is in an open state, the turbine is engaged, and the turbine begins to start up to the preset speed. Finally, the turbine generator set accelerates to its rated speed.

[0004] Because there are a large number of switches that need to be checked and operated before the steam turbine is started, this is currently mainly done manually, which is inefficient. Summary of the Invention

[0005] Therefore, it is necessary to provide a switching state control method, device, equipment, medium, and computer program product that can improve the efficiency of switching state control in response to the above-mentioned technical problems.

[0006] Firstly, this application provides a method for controlling a switch state. The method includes:

[0007] Respond to actions triggered by control inputs and generate control commands;

[0008] The control action type is determined based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0009] Generate action instructions corresponding to the control action type;

[0010] Send the action command to the switch controller.

[0011] In one embodiment, before generating a control instruction in response to an action control triggering operation, the method further includes: responding to an allow control triggering operation; and listening for action control triggering operations within a preset time period after the allow control triggering operation.

[0012] In one embodiment, generating a control instruction in response to an action control trigger operation includes: acquiring an allow signal generated in response to an allow control trigger operation; acquiring an action signal generated in response to an action control trigger operation; performing a logical operation on the allow signal and the action signal to obtain an operation result; and generating a control instruction if the operation result matches the control signal corresponding to the control instruction.

[0013] In one embodiment, generating an action instruction corresponding to the control action type includes: performing logical operations on the control signal corresponding to the control instruction and the current state signal of the switch to obtain the action signal of the switch; and generating an action instruction based on the action signal of the switch and the control action type.

[0014] In one embodiment, performing logical operations on the enable signal and the action signal to obtain the operation result includes: determining the priority of the current state signal and the action signal of the switch according to a preset signal priority; if the priority of the action signal is higher than the priority of the current state signal, then performing logical operations on the enable signal and the action signal to obtain the operation result.

[0015] In one embodiment, the method further includes: if the priority of the action signal is lower than the priority of the current state signal, then no action command is pushed to the switch controller.

[0016] Secondly, this application also provides a switch state control device. The device includes:

[0017] The response module is used to respond to actions triggered by the action controls and generate control commands.

[0018] The action type determination module is used to determine the control action type based on the type of switch controlled by the control command and the preset correspondence between the switch type and the control action type.

[0019] The action instruction generation module is used to generate action instructions corresponding to the control action type;

[0020] The sending module is used to send action commands to the switch controller.

[0021] 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 perform the following steps:

[0022] Respond to actions triggered by control inputs and generate control commands;

[0023] The control action type is determined based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0024] Generate action instructions corresponding to the control action type;

[0025] Send the action command to the switch controller.

[0026] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0027] Respond to actions triggered by control inputs and generate control commands;

[0028] The control action type is determined based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0029] Generate action instructions corresponding to the control action type;

[0030] Send the action command to the switch controller.

[0031] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0032] Respond to actions triggered by control inputs and generate control commands;

[0033] The control action type is determined based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0034] Generate action instructions corresponding to the control action type;

[0035] Send the action command to the switch controller.

[0036] The aforementioned switch state control method, device, equipment, medium, and computer program product respond to the trigger operation of an action control to generate a control command; determine the control action type based on the switch type controlled by the control command and the preset correspondence between switch types and control action types; generate an action command corresponding to the control action type; and send the action command to the switch controller. This method generates a control command by responding to the trigger operation of an action control, determines the control action type based on the switch type controlled by the control command, generates an action command corresponding to the control action type, and sends the action command to the corresponding switch by the switch controller. This allows different switches to change state according to the corresponding action command, enabling direct control of different switches. It is simple, efficient, and improves the efficiency of switch state control. Attached Figure Description

[0037] Figure 1 This is an application environment diagram of the switch state control method in one embodiment;

[0038] Figure 2 This is a flowchart illustrating a switch state control method in one embodiment;

[0039] Figure 3 This is a flowchart illustrating the control instruction generation steps in one embodiment;

[0040] Figure 4 This is a structural block diagram of a switch state control device in one embodiment;

[0041] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0042] 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.

[0043] The switch state control method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with switch controller 104 via a network. Terminal 102 responds to action control trigger operations, generates control commands, determines the control action type based on the switch type controlled by the command and the preset correspondence between switch types and control action types, generates an action command corresponding to the control action type, and sends the action command to switch controller 104. This allows different switches to change state according to the corresponding action command, enabling direct control of different switches in a simple and efficient manner, improving switch state control efficiency. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc.

[0044] In one embodiment, such as Figure 2 As shown, a switch state control method is provided, which can be applied to... Figure 1 Taking the terminal in the example, the explanation includes the following steps:

[0045] Step 202: Respond to the action control trigger operation and generate control instructions.

[0046] The triggering operation of the motion control can be a click operation, touch operation, swipe operation, etc., and this embodiment of the application is not limited to this. The motion control is used to operate all switches on the control panel. The switches here can be valves. In the field of steam turbine control, they can be valves that need to be controlled before the steam turbine starts up, such as feedwater valves, drain regulating valves, drain bypass valves, etc.

[0047] Specifically, the terminal listens for trigger operations of the motion control. When the terminal detects that a motion control has been triggered, it responds to the motion control trigger operation and generates a control command. The control command can be a one-key pulse command, used to control the status of all switches on the control interface. The control interface is the human-machine interface between the turbine operator and the turbine DCS. The control interface includes motion controls, permission controls, main control indicator lights, and the on / off status of each valve.

[0048] Step 204: Determine the control action type based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0049] The switch type refers to the type of control system in which the switch belongs and the switch identifier. Switch types include different switch identifiers in nuclear power plant feedwater heater condensate recovery systems, high-pressure feedwater heater systems, steam-water separator reheater systems, and low-pressure feedwater heater systems. Control action types include "automatic" and "open," corresponding to the controlled state of the switch. When a switch in a different control system is triggered, it corresponds to a pre-set switch action. "Automatic" means the switch is put into automatic control, where the turbine DCS (Digital Control System) adjusts the valve opening based on the controlled object (e.g., liquid level), rather than manually setting the valve opening. When the switch is set to automatic, it automatically adjusts the opening according to the PID (Proportional Integral Derivative) control algorithm, increasing the opening when the liquid level rises and decreasing it when the liquid level falls. When the liquid level is equal to the preset value, the opening remains unchanged. When the switch is set to open, the valve opens directly. For example, the control action type of some switches in the low-pressure feedwater heater system, feedwater deaerator (oxygenator) system, high-pressure feedwater heater system, steam-water separator reheater system, and steam and condensate system of the turbine is "on". The control action type of some switches in the feedwater heater condensate recovery system, high-pressure feedwater heater system, and steam-water separator reheater system of the nuclear power plant is "automatic".

[0050] Specifically, the terminal obtains the identifier of the switch controlled by the control command, determines the identifier of the control system to which the switch belongs based on the switch identifier, obtains the switch type, and then searches and determines the corresponding control action type in the preset correspondence between switch types and control action types stored in the terminal's memory. For example, if the identifier of the high-pressure feedwater heater system is set to AHP and the switch identifier is ABP510VV, then it can be determined that the system to which this switch belongs is the high-pressure feedwater heater system. The correspondence between switch types and control action types can be stored in a data table, as shown in the table below:

[0051] Table 1: Example of the correspondence between preset switch types and control actions

[0052]

[0053] Among them, ABP is the identifier for the low-pressure feedwater heater system, ADG is the identifier for the feedwater deaerator (oxygenator) system, AHP is the identifier for the high-pressure feedwater heater system, CSS is the identifier for the steam-water separator reheater system, GPV is the identifier for the turbine steam and condensate system, ACO is the identifier for the feedwater heater condensate recovery system of the nuclear power plant, and columns 1-4 are the identifiers for switches with the control action type being "on".

[0054] Step 206: Generate action instructions corresponding to the control action type.

[0055] Specifically, the terminal generates an action command corresponding to the control action type of the switch. Furthermore, the terminal generates an automatic control command based on the automatic control action type and an open control command based on the open control switch type.

[0056] The terminal can also send control commands to the system where the switch is located based on the switch type. The terminal selects the corresponding logic calculation module based on the system's structure. The logic calculation module determines the control action type based on the correspondence between switch types and control action types, and generates the corresponding action command. For example, if the control command is sent to the logic calculation module corresponding to the system where the switch is located, the logic calculation module may include an SLC (SubLoop Ctrl) module, a DCM (Data Communication Module) module, and a VALVE module. If the logic calculation module of the system where the switch is located is an SLC module, the control command is sent to pin A ON of the SLC module to enable automatic operation and is ORed with the current automatic opening command to enable automatic operation and open the valve; alternatively, the control command is sent to pin A ON of the SLC module to enable automatic operation. If the logic calculation module of the system where the switch is located is a DCM module, the control command is sent to pin A CLC of the DCM module to enable automatic operation. If the logic calculation module of the system where the switch is located is a VALVE module, the control command is ORed with the current automatic opening command and then connected to pin A OPEN of the VALVE module.

[0057] By using different control systems to perform logical calculations on the control commands of the switches within the system and generate corresponding action commands, the efficiency of switch state control can be improved.

[0058] Step 208: Send the action command to the switch controller.

[0059] Specifically, the terminal transmits the generated action command to the corresponding switch controller. When all switches are in the same control state, the control interface is active. For switches of the same type, the action command is the same, and the terminal sends the action command to the main switch controller of the control system, which then performs unified control over all switches within the control system.

[0060] Furthermore, it can also receive the switched status returned by the switch controller after control. When all switch statuses are consistent with the control action type, meaning all switches on the control interface have met the start-up requirements, a success signal is sent to the main control indicator, which displays green. If any switch status is inconsistent with the control action type, a failure signal is sent to the main control indicator, which displays white. The main control indicator is used to remind the operator of the switch status after control. When all switch statuses meet the requirements, the turbine start-up operation can be performed. The color of the main control indicator can be set by the operator.

[0061] In the above-described switch state control method, a control command is generated in response to an action control trigger operation; the control action type is determined based on the switch type controlled by the control command and the preset correspondence between switch types and control action types; an action command corresponding to the control action type is generated; and the action command is sent to the switch controller. This method generates a control command in response to an action control trigger operation, determines the control action type based on the switch type controlled by the control command, generates an action command corresponding to the control action type, and the switch controller sends the action command to the corresponding switch. This allows different switches to change state according to the corresponding action command, enabling direct control of different switches. It is simple, efficient, and improves the efficiency of switch state control.

[0062] In an optional embodiment, before generating a control instruction in response to an action control triggering operation, the method further includes: responding to an allow control triggering operation; and listening for action control triggering operations within a preset time period after the allow control triggering operation.

[0063] The allowed control trigger operation can be a click operation, touch operation, swipe operation, etc., and this application embodiment does not limit it. The allowed control is used to prepare for the operation of all switches on the control panel to prevent the operator from accidentally operating the action control.

[0064] Specifically, the terminal listens for permission control triggering operations. When the terminal detects that the permission control has been triggered, it responds to the permission control triggering operation and listens for whether an action command triggering operation occurs within a preset time period after the permission control triggering operation. The preset time period can be within 60 seconds after the permission control triggering operation or within 20 seconds after the permission control triggering operation. The preset time period can be set by the staff based on their operational experience, and this embodiment does not limit it.

[0065] In an optional embodiment, generating control instructions in response to an action control trigger operation includes:

[0066] Step 302: Obtain the permission signal generated by the response permission control trigger operation.

[0067] Specifically, when the terminal detects that the control has been triggered, it obtains the permission signal generated by the control triggering operation.

[0068] Step 304: Obtain the action signal generated by the response action control's triggered operation.

[0069] Specifically, after the terminal detects that the action control has triggered an operation, it obtains the permission signal generated by the action control's trigger operation.

[0070] Step 306: Perform logical operations on the enable signal and the action signal to obtain the operation result; if the operation result is consistent with the control signal corresponding to the control command, then generate the control command.

[0071] Specifically, the enable signal and the action signal are logically ANDed to obtain the result. The result is then compared with the control signal corresponding to the control command. If they match, the control command is generated. Furthermore, the binary code of the enable signal is 1, the binary code of the action signal is also 1, and the binary code of the control signal is 1. Only when the result of the AND operation between the enable signal and the action signal is 1 can a control command be generated.

[0072] In this embodiment, by performing a logical AND operation on the signals generated by the allow control and the action control, and comparing the result with the signal corresponding to the control command, erroneous operation of the one-key pulse command can be prevented, thus improving the safety of the switch state control.

[0073] In an optional embodiment, generating an action instruction corresponding to the control action type includes: performing logical operations on the control signal corresponding to the control instruction and the current state signal of the switch to obtain the action signal of the switch; and generating an action instruction based on the action signal of the switch and the control action type.

[0074] Specifically, after the control command is generated, the current state signal of the switch is obtained, and the binary code corresponding to the current state signal is logically ORed with the binary code corresponding to the control signal to obtain the action signal of the switch. The action command is generated based on the action signal of the switch and the control action type.

[0075] In a specific application embodiment, this application can control the status of 37 valves that need to be checked before turbine start-up. It integrates the 37 valves, including drain valves, drain regulating valves, and drain bypass valves, that need to be operated before turbine start-up into a single screen (control interface), reducing the number of screen calls during start-up. The relevant actions (status setting / automatic activation / opening) of the 37 drain valves, drain regulating valves, and drain bypass valves can be completed within one minute, which is expected to save 0.5 hours of time on the critical path of unit startup, greatly improving work efficiency. The number of valves is not limited here and can be set (added or removed) according to operational needs, and the switches can be connected to the corresponding systems.

[0076] In an optional embodiment, performing logical operations on the enable signal and the action signal to obtain the operation result includes: determining the priority of the current state signal and the action signal of the switch according to a preset signal priority; if the priority of the action signal is higher than the priority of the current state signal, then performing logical operations on the enable signal and the action signal to obtain the operation result.

[0077] Specifically, in order to ensure that the original protection actions of the switch are not affected and to meet the principle that the action command does not affect the original protection actions and emergency intervention actions, different signal priorities are set. When the priority of the current status signal of the switch is higher than the priority of the action signal corresponding to the action command, the switch status does not change. When the priority of the current status signal of the switch is lower than the priority of the action signal corresponding to the action command, the switch controller changes the switch status according to the action signal.

[0078] The terminal retrieves the preset signal priority from the local memory, determines the priority relationship between the current status signal and the action signal of the switch, and if the priority of the action signal is higher than that of the current status signal, it performs logical operations on the binary code of the enable signal and the binary code of the action signal to obtain the operation result. Then it determines whether the operation result is consistent with the control signal corresponding to the control command. If they are consistent, a control command is generated.

[0079] In an optional embodiment, the method further includes: if the priority of the action signal is lower than the priority of the current status signal, then no action command is pushed to the switch controller.

[0080] Specifically, the terminal retrieves the preset signal priority from the local memory, determines the priority relationship between the current status signal of the switch and the action signal, and if the priority of the action signal is lower than the priority of the current status signal, the terminal does not push the action command to the switch controller.

[0081] In this embodiment, the original protection action is protected by the priority of the signal, so as to ensure the safety of the switch state control.

[0082] To facilitate understanding of the technical solutions provided in the embodiments of this application, the switch state control method provided in the embodiments of this application will be briefly described with a complete switch state control process as an example:

[0083] (1) Respond to the allowed control trigger operation; listen for the action control trigger operation within a preset time period after the allowed control trigger operation.

[0084] (2) Obtain the permission signal generated by the response permission control trigger operation; obtain the action signal generated by the response action control trigger operation; determine the priority of the current state signal and the action signal of the switch according to the preset signal priority; if the priority of the action signal is higher than the priority of the current state signal, determine the control action type according to the type of switch controlled by the control instruction and the preset correspondence between the switch type and the control action type, perform logical operation on the permission signal and the action signal to obtain the operation result; if the operation result is consistent with the control signal corresponding to the control instruction, generate the control instruction.

[0085] (3) If the priority of the action signal is lower than the priority of the current status signal, the action command will not be pushed to the switch controller.

[0086] (4) Perform logical operations on the control signal corresponding to the control command and the current state signal of the switch to obtain the action signal of the switch; generate an action command based on the action signal of the switch and the control action type.

[0087] It should be understood that although the steps in the flowcharts of the embodiments described above 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 embodiments described above 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.

[0088] Based on the same inventive concept, this application also provides a switch state control device for implementing the switch state control method described above. The solution provided by this device is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more switch state control device embodiments provided below can be found in the limitations of the switch state control method described above, and will not be repeated here.

[0089] In one embodiment, such as Figure 4 As shown, a switch state control device is provided, including: a response module 402, an action type determination module 404, an action command generation module 406, and a sending module 408, wherein:

[0090] Response module 402 is used to respond to the operation triggered by the action control and generate control commands;

[0091] The action type determination module 404 is used to determine the control action type based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0092] The motion instruction generation module 406 is used to generate motion instructions corresponding to the control motion type;

[0093] The sending module 408 is used to send action commands to the switch controller.

[0094] In an optional embodiment, the response module 402 is further configured to respond to an allowed control triggering operation; and to listen for action control triggering operations within a preset time period after the allowed control triggering operation.

[0095] In an optional embodiment, the response module 402 is further configured to acquire the permission signal generated by the response permission control trigger operation; acquire the action signal generated by the response action control trigger operation; perform logical operations on the permission signal and the action signal to obtain the calculation result; and generate the control command if the calculation result is consistent with the control signal corresponding to the control command.

[0096] In an optional embodiment, the action instruction generation module 406 is further configured to perform logical operations on the control signal corresponding to the control instruction and the current state signal of the switch to obtain the action signal of the switch; and generate an action instruction based on the action signal of the switch and the control action type.

[0097] In an optional embodiment, the response module 402 is further configured to determine the priority of the current state signal and the action signal of the switch according to the preset signal priority; if the priority of the action signal is higher than the priority of the current state signal, the allow signal and the action signal will be logically operated to obtain the operation result.

[0098] In an optional embodiment, the response module 402 is further configured to not push an action command to the switch controller if the priority of the action signal is lower than the priority of the current status signal.

[0099] Each module in the aforementioned switch state control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0100] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 5As 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 the computer program is executed by the processor, it implements a switching state control method. 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 mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0101] 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.

[0102] 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:

[0103] Respond to actions triggered by control inputs and generate control commands;

[0104] The control action type is determined based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0105] Generate action instructions corresponding to the control action type;

[0106] Send the action command to the switch controller.

[0107] In one embodiment, when the processor executes the computer program, it further performs the following steps: responding to an allowed control triggering operation; and listening for an action control triggering operation within a preset time period after the allowed control triggering operation.

[0108] In one embodiment, when the processor executes the computer program, it further performs the following steps: acquiring an enable signal generated by a response enable control triggering an operation; acquiring an action signal generated by a response action control triggering an operation; performing a logical operation on the enable signal and the action signal to obtain the operation result; and generating a control instruction if the operation result matches the control signal corresponding to the control instruction.

[0109] In one embodiment, when the processor executes the computer program, it further performs the following steps: performing logical operations on the control signal corresponding to the control instruction and the current state signal of the switch to obtain the action signal of the switch; and generating an action instruction based on the action signal of the switch and the control action type.

[0110] In one embodiment, when the processor executes the computer program, it further performs the following steps: performing logical operations on the enable signal and the action signal to obtain the operation result, including: determining the priority of the current state signal and the action signal of the switch according to the preset signal priority; if the priority of the action signal is higher than the priority of the current state signal, then performing logical operations on the enable signal and the action signal to obtain the operation result.

[0111] In one embodiment, when the processor executes the computer program, it further performs the following steps: if the priority of the action signal is lower than the priority of the current state signal, then no action instruction is pushed to the switch controller.

[0112] 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:

[0113] Respond to actions triggered by control inputs and generate control commands;

[0114] The control action type is determined based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0115] Generate action instructions corresponding to the control action type;

[0116] Send the action command to the switch controller.

[0117] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: responding to an allowed control triggering operation; and listening for an action control triggering operation within a preset time period after the allowed control triggering operation.

[0118] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: acquiring an enable signal generated by a response enable control triggering an operation; acquiring an action signal generated by a response action control triggering an operation; performing a logical operation on the enable signal and the action signal to obtain the operation result; and generating a control instruction if the operation result matches the control signal corresponding to the control instruction.

[0119] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: performing logical operations on the control signal corresponding to the control instruction and the current state signal of the switch to obtain the action signal of the switch; generating an action instruction based on the action signal of the switch and the control action type.

[0120] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: performing logical operations on the enable signal and the action signal to obtain the operation result, including: determining the priority of the current state signal and the action signal of the switch according to the preset signal priority; if the priority of the action signal is higher than the priority of the current state signal, then performing logical operations on the enable signal and the action signal to obtain the operation result.

[0121] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the priority of the action signal is lower than the priority of the current state signal, then no action instruction is pushed to the switch controller.

[0122] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0123] Respond to actions triggered by control inputs and generate control commands;

[0124] The control action type is determined based on the type of switch controlled by the control command and the correspondence between the preset switch type and the control action type.

[0125] Generate action instructions corresponding to the control action type;

[0126] Send the action command to the switch controller.

[0127] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: responding to an allowed control triggering operation; and listening for an action control triggering operation within a preset time period after the allowed control triggering operation.

[0128] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: acquiring an enable signal generated by a response enable control triggering an operation; acquiring an action signal generated by a response action control triggering an operation; performing a logical operation on the enable signal and the action signal to obtain the operation result; and generating a control instruction if the operation result matches the control signal corresponding to the control instruction.

[0129] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: performing logical operations on the control signal corresponding to the control instruction and the current state signal of the switch to obtain the action signal of the switch; generating an action instruction based on the action signal of the switch and the control action type.

[0130] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: performing logical operations on the enable signal and the action signal to obtain the operation result, including: determining the priority of the current state signal and the action signal of the switch according to the preset signal priority; if the priority of the action signal is higher than the priority of the current state signal, then performing logical operations on the enable signal and the action signal to obtain the operation result.

[0131] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the priority of the action signal is lower than the priority of the current state signal, then no action instruction is pushed to the switch controller.

[0132] 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.

[0133] 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.

[0134] 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.

[0135] 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 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 controlling switch states, characterized in that, The method includes: The system responds to the action control trigger operation and generates control instructions, wherein the control instructions are one-key pulse instructions, which are used to control the status of all switches that need to be controlled before the turbine starts running on the control interface; The control action type is determined based on the switch type controlled by the control command and the correspondence between the preset switch type and the control action type. The switch type is the control system type and switch identifier of the switch. The control action type includes automatic control action type and open control action type. Generating an action instruction corresponding to the control action type, the generation of the action instruction corresponding to the control action type further includes: performing a logical operation on the control signal corresponding to the control instruction and the current state signal of the switch to obtain the action signal of the switch; generating an action instruction based on the action signal of the switch and the control action type, wherein the action instruction includes an automatic control instruction corresponding to the automatic control action type and an open control instruction corresponding to the open control action type; The action command is sent to the switch controller, which then controls all switches within the control system in a unified manner. Specifically, if the priority of the current state signal of the switch is higher than the priority of the action signal corresponding to the action command, the switch state will not change. If the priority of the current state signal of the switch is lower than the priority of the action signal corresponding to the action command, the switch controller will change the state of the switch according to the action signal.

2. The method according to claim 1, characterized in that, Before the response action control triggers the operation and generates control commands, it also includes: The response allows the control to trigger an action; Listen for action control triggering operations within a preset time period after the allowed control triggering operation.

3. The method according to claim 2, characterized in that, The response action control triggers an operation, generating control commands including: Obtain the permission signal generated in response to the permission control's triggered operation; Obtain the action signal generated in response to the action control's triggered operation; Perform logical operations on the permission signal and the action signal to obtain the operation result; If the calculation result matches the control signal corresponding to the control command, then a control command is generated.

4. The method according to claim 3, characterized in that, The step of performing logical operations between the permission signal and the action signal to obtain the operation result includes: Based on the preset signal priority, determine the priority between the current status signal and the action signal of the switch; If the priority of the action signal is higher than the priority of the current state signal, then the permission signal and the action signal are logically operated to obtain the operation result.

5. The method according to claim 4, characterized in that, Also includes: If the priority of the action signal is lower than the priority of the current status signal, then no action command will be pushed to the switch controller.

6. A switch state control device, characterized in that, The device includes: The response module is used to respond to the operation triggered by the action control and generate control instructions. The control instructions are one-key pulse instructions, which are used to control the status of all switches that need to be controlled before the turbine starts running on the control interface. The action type determination module is used to determine the control action type based on the switch type controlled by the control command and the preset correspondence between switch type and control action type. The switch type is the control system type and switch identifier of the switch. The control action type includes automatic control action type and open control action type. An action instruction generation module is used to generate an action instruction corresponding to the control action type. The generation of the action instruction corresponding to the control action type further includes: performing a logical operation on the control signal corresponding to the control instruction and the current state signal of the switch to obtain the action signal of the switch; generating an action instruction based on the action signal of the switch and the control action type, wherein the action instruction includes an automatic control instruction corresponding to the automatic control action type and an open control instruction corresponding to the open control action type. The sending module is used to send the action command to the switch controller, so that the main switch controller can uniformly control all switches in the control system; Specifically, if the priority of the current state signal of the switch is higher than the priority of the action signal corresponding to the action command, the switch state will not change. If the priority of the current state signal of the switch is lower than the priority of the action signal corresponding to the action command, the switch controller will change the state of the switch according to the action signal.

7. The apparatus according to claim 6, characterized in that, The response module is also used to respond to allowed control triggering operations; and to listen for action control triggering operations within a preset time period after the allowed control triggering operation.

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 5.

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 5.

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 5.

Citation Information

Patent Citations

  • Nuclear power station rotating machine driving control method and device

    CN104464861A