PLC gate protection automatic control method and device and computer equipment
By detecting the current operating status of the gate and performing the locking action, the stability and safety problems caused by the lack of protection of the gate control in the prior art are solved, and high safety and reliability of gate operation are achieved.
Patent Information
- Application Number
- CN202411771356.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-02-28
AI Technical Summary
The existing gate control methods lack protection methods, resulting in low stability and safety in the gate control process.
An automatic control method for protecting PLC gates is provided. By detecting the current operating state of the gate, if the preset locking conditions are met, the corresponding locking action is performed and alarm information is generated to improve the stability and safety of gate control.
By realizing the automatic protection function of the gate, the safety and reliability of gate operation are significantly improved, the risk of misoperation caused by signal abnormalities is avoided, and the safety of equipment and operators is ensured.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of PLC automatic control, and in particular to a PLC gate protection automatic control method, device and computer equipment. Background Art
[0002] With the continuous development of science and technology, hydropower stations, as an important pillar of energy supply, have increasingly higher requirements for operating efficiency and safety. As a key component of a hydropower station, the accuracy and safety of gate control directly affect the operating efficiency of the hydropower station and the stability of the entire power system. In this context, a PLC (Programmable Logic Controller) program with automatic gate control protection function is particularly important.
[0003] However, the current gate control method lacks protection measures and there are safety risks in the gate control process, resulting in low stability and safety in the gate control process. Summary of the invention
[0004] Based on this, it is necessary to provide a PLC gate protection automatic control method, device, computer equipment, computer readable storage medium and computer program product that can improve the stability and safety of the gate control process in response to the above technical problems.
[0005] In a first aspect, an embodiment of the present application provides a PLC gate protection automatic control method. The method comprises:
[0006] Determine the current operation state of the target gate according to the detection data corresponding to the target gate; the target gate includes a gate used to control a preset channel in a hydropower station; the detection data includes data sent to the PLC function block by the detection device of the target gate;
[0007] When the current running state satisfies a preset locking condition, a locking action corresponding to the locking condition is executed, and alarm information corresponding to the locking condition is generated.
[0008] In one of the embodiments, when the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes:
[0009] When the current operation state is the gate full-open signal action of the target gate, marking the gate lifting instruction as an invalid instruction;
[0010] When the current operating state is that the gate full closing signal of the target gate is activated, the gate closing instruction is marked as an invalid instruction.
[0011] In one of the embodiments, when the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes:
[0012] When the current operation state is in the gate lifting mode, and the duration of the gate full-open signal action reaches the first preset duration, and the gate rising signal does not act, a gate stop command is issued and the gate lifting and opening is cleared;
[0013] When the current operating state is in the gate lowering mode, and the duration of the gate full-close signal action reaches the second preset duration, and the gate lowering signal is not actuated, a door stop command is issued and the gate lowering opening is cleared.
[0014] In one embodiment, the detection data includes detection data of the gate mechanical opening, detection data of the gate electrical opening instrument and the gate opening value, and determining the current operating state corresponding to the target gate according to the detection data corresponding to the target gate includes:
[0015] In the case where the detection data of the gate mechanical opening indicates a gate mechanical full-opening action, or in the case where the detection data of the gate electrical opening meter indicates an electrical full-opening action, or in the case where the gate opening value is greater than a preset full-opening setting value, determining that the current operating state is a gate full-opening signal action of the target gate;
[0016] When the detection data of the gate mechanical opening represents the gate mechanical full-closing action, or when the detection data of the gate electrical opening meter represents the gate electrical full-closing action, or when the gate opening value is less than the preset full-closing setting value, it is determined that the current operating state is the gate full-closing signal action of the target gate.
[0017] In one of the embodiments, when the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes:
[0018] When the type of the target gate is a winch gate with a load signal, and the current operating state is a gate lifting mode, and the duration of the overloaded load signal action reaches a third preset duration, a door stop instruction is issued;
[0019] When the type of the target gate is a winch gate with a load signal, and the current operating state is in a gate lowering mode, and the full-close signal is not actuated, and the duration of the underload load signal action reaches a fourth preset duration, a door stop command is issued;
[0020] Among them, the overload load signal action represents that the current load of the target gate is greater than the overload weight value, and the underload load signal action represents that the current load of the target gate is less than the underload weight value.
[0021] In one embodiment, the overload weight value is determined based on the gate load reference value and a first multiple of the target gate, the underload weight value is determined based on the gate load reference value and a second multiple of the target gate, and the gate load reference value is determined based on the gate weight of the target gate and the weight of the counterweight block.
[0022] In one of the embodiments, when the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes:
[0023] When the start time of the gate control process meets the preset delay time, the change status of the current gate opening value corresponding to the target gate is detected according to the preset time interval;
[0024] When the current operating state is in the gate lifting mode and the change in the current gate opening value indicates a relative decrease in the opening, exit the gate control process;
[0025] When the current operation state is in a gate lowering mode and the change in the current gate opening value indicates a relative increase in the opening, exit the gate control process;
[0026] The gate control process is any process for controlling the target gate to implement instructions.
[0027] In one embodiment, the preset delay time is greater than the target time, the target time is the time between the start execution time of the gate control process and the completion time of gate acceleration, and the preset delay time is determined according to the gate type of the target gate;
[0028] Among them, the gate types include winch gates controlled by direct motor start-up, screw gates, gates controlled by motor soft start-up, gates controlled by series resistors, and gates controlled by variable frequency start-up.
[0029] In one embodiment, the method further comprises:
[0030] Obtain the current gate opening value corresponding to the target gate, and obtain an opening setting value; the opening setting value is a setting value of the opening corresponding to the case where the gate control process is a target opening control process;
[0031] When the difference between the opening setting value and the current gate opening value is greater than a preset dead zone value, determining that the opening setting value is valid;
[0032] When the difference between the opening setting value and the current gate opening value is less than or equal to the preset dead zone value, it is determined that the opening setting value is invalid and the target opening control process is exited.
[0033] In one of the embodiments, when the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes:
[0034] When the control right of the target gate is switched from remote to local, or from automatic to manual, the gate stop command is executed.
[0035] In one embodiment, the method further comprises:
[0036] Obtain the priority corresponding to each gate control process to be executed;
[0037] Execute each of the gate control processes to be executed according to the priority level corresponding to each of the gate control processes;
[0038] Among them, the gate control process includes a rapid door closing process, a stop process, a descent process, a lifting process, and a target opening control process; the priority of the rapid door closing process is greater than the priority of the stop process, and the priority of the stop process is greater than the target priority; the target priority is the priority of the descent process, the lifting process, and the target opening control process.
[0039] In one of the embodiments, when the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes:
[0040] Obtaining the opening analog quantity quality value corresponding to the current gate opening value;
[0041] When the quality value of the opening analog quantity is the first quality evaluation value, locking the host computer corresponding to the target gate;
[0042] When the opening analog quantity quality value is the first quality evaluation value and the gate is in an operation process, a stop process for the operation process is executed.
[0043] In a second aspect, the present application also provides a PLC gate protection automatic control device. The device comprises:
[0044] A current operation state determination module is used to determine the current operation state corresponding to the target gate according to the detection data corresponding to the target gate; the target gate includes a gate used to control a preset channel in a hydropower station; the detection data includes data sent from the detection device of the target gate to the PLC function block;
[0045] The locking action execution module is used to execute the locking action corresponding to the preset locking condition and generate alarm information corresponding to the locking condition when the current running state meets the preset locking condition.
[0046] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0047] Determine the current operation state of the target gate according to the detection data corresponding to the target gate; the target gate includes a gate used to control a preset channel in a hydropower station; the detection data includes data sent to the PLC function block by the detection device of the target gate;
[0048] When the current running state satisfies a preset locking condition, a locking action corresponding to the locking condition is executed, and alarm information corresponding to the locking condition is generated.
[0049] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0050] Determine the current operation state of the target gate according to the detection data corresponding to the target gate; the target gate includes a gate used to control a preset channel in a hydropower station; the detection data includes data sent to the PLC function block by the detection device of the target gate;
[0051] When the current running state satisfies a preset locking condition, a locking action corresponding to the locking condition is executed, and alarm information corresponding to the locking condition is generated.
[0052] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0053] Determine the current operation state of the target gate according to the detection data corresponding to the target gate; the target gate includes a gate used to control a preset channel in a hydropower station; the detection data includes data sent to the PLC function block by the detection device of the target gate;
[0054] When the current running state satisfies a preset locking condition, a locking action corresponding to the locking condition is executed, and alarm information corresponding to the locking condition is generated.
[0055] The above-mentioned PLC gate protection automatic control method, device, computer equipment, storage medium and computer program product first send the input and output data of the target gate into the programmable logic controller function block, then determine the current operating status through logical judgment, and then evaluate it against the set locking conditions. If the locking conditions are met, the corresponding locking action is executed and an alarm information corresponding to the locking conditions is generated; the existing gate data and signals are used to perform logical judgment together with the variables that can be set in the program to realize a variety of automatic protection functions, realize automatic monitoring and locking protection technology, and significantly improve the safety and reliability of gate operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0057] FIG1 is a schematic flow chart of a PLC gate protection automatic control method in one embodiment;
[0058] Figure 2 A schematic flow chart of a PLC gate protection automatic control method in another embodiment;
[0059] Figure 3 A schematic flow chart of a PLC gate protection automatic control method in yet another embodiment;
[0060] Figure 4 It is a structural block diagram of a PLC gate protection automatic control device in one embodiment;
[0061] FIG. 5 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0063] 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, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0064] In one embodiment, as shown in FIG1 , a PLC gate protection automatic control method is provided. This embodiment is illustrated by applying the method to a terminal. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0065] S101, determining a current operating state corresponding to a target gate according to detection data corresponding to the target gate.
[0066] Among them, the target gate includes the gate used to control the preset channel in the hydropower station; the detection data includes the data sent to the PLC function block by the detection equipment of the target gate, for example, the detection data corresponding to the target gate can be the gate I / O data.
[0067] The current operation state can be the value state of a certain data currently detected, the state of whether a certain instruction is being executed, and the state of whether a certain signal is being acted. For example, "the gate full-open signal of the target gate is acted" and "the current operation state is currently in the gate lifting mode, and the duration of the gate full-open signal action reaches the first preset duration, and the gate rising signal is not acted."
[0068] S102: When the current operating state satisfies a preset locking condition, a locking action corresponding to the locking condition is executed, and alarm information corresponding to the locking condition is generated.
[0069] Among them, the locking action refers to the measures taken by the system when certain conditions occur to prevent the equipment from being misoperated or in an unsafe state, so as to ensure the safety of the equipment and operators. For example, "marking the door lifting command as an invalid command" or "issuing the door stop command and clearing the gate lifting and opening" and other actions.
[0070] Exemplarily, the PLC gate protection automatic control method provided in the present application has a gate automatic protection function, specifically including: inputting the gate I / O data into the PLC function block, performing logical judgment based on the input signal status, and generating a corresponding alarm and performing a corresponding locking action when the locking conditions are met.
[0071] In the above-mentioned PLC gate protection automatic control method, the input and output data of the target gate are first sent to the programmable logic controller function block, and then the current operating state is determined by logical judgment, and then evaluated against the set locking conditions. If the locking conditions are met, the corresponding locking action is executed and an alarm message corresponding to the locking conditions is generated; the existing gate data and signals are used to perform logical judgment together with the variables that can be set in the program to realize a variety of automatic protection functions, realize automatic monitoring and locking protection technology, and significantly improve the safety and reliability of gate operation.
[0072] In one embodiment, when the current operating state satisfies the preset locking conditions, the locking action corresponding to the locking conditions is executed, including: when the current operating state is the gate full-open signal action of the target gate, the door lifting instruction is marked as an invalid instruction; when the current operating state is the gate full-close signal action of the target gate, the door closing instruction is marked as an invalid instruction.
[0073] Exemplarily, an embodiment of the present application provides a gate limit protection function. When the gate full-open signal determined by comprehensive judgment is activated, the door lifting command is regarded as an invalid command and an alarm message is generated on the host computer; when the gate full-close signal determined by comprehensive judgment is activated, the door closing command is regarded as an invalid command and an alarm message is generated on the host computer.
[0074] In this embodiment, the current operating status of the target gate is first comprehensively judged to determine whether the gate full-open or full-close signal is triggered. Then, under the condition that the gate full-open signal is activated, the door lifting instruction is marked as an invalid instruction, and an alarm message is generated on the host computer. Under the condition that the gate full-close signal is activated, the door closing instruction is marked as an invalid instruction, and an alarm message is also generated on the host computer, thereby realizing the limit protection function of the gate and improving the safety and reliability of the system.
[0075] In one embodiment, when the current operating state satisfies the preset locking conditions, the locking action corresponding to the locking conditions is executed, including: when the current operating state is in the gate lifting mode, and the duration of the gate full open signal action reaches a first preset duration, and the gate rising signal is not actuated, a stop door command is issued and the gate lifting and opening is cleared; when the current operating state is in the gate lowering mode, and the duration of the gate full closed signal action reaches a second preset duration, and the gate lowering signal is not actuated, a stop door command is issued and the gate lowering and opening is cleared.
[0076] The first preset time length may be 500 milliseconds, the second preset time length may also be 500 milliseconds, and the first preset time length may be the same or different.
[0077] Exemplarily, an embodiment of the present application provides a gate limit protection function. During the gate lifting or sliding self-lifting process, when the comprehensive judgment of the gate full-open signal is activated and maintained for 500 milliseconds and the gate rising signal is not activated, the PLC program issues a stop-gate command and clears the gate lifting and opening; during the gate lowering process, when the comprehensive judgment of the gate full-closed signal is activated and maintained for 500 milliseconds and the gate lowering signal is not activated, the PLC program issues a stop-gate command and clears the gate lowering and opening.
[0078] In this embodiment, first, in the gate lifting mode, a comprehensive judgment is made whether there is a gate full-open signal action and the duration of the signal reaches a first preset duration, and the gate rising signal is not actuated. Then, when the above conditions are met, the PLC program issues a stop-door command and clears the gate lifting state; in the gate lowering mode, a comprehensive judgment is made whether there is a gate full-close signal action and the duration of the signal reaches a second preset duration, and the gate lowering signal is not actuated. Then, when the conditions are met, a stop-door command is also issued and the gate lowering state is cleared, thereby significantly improving the safety and reliability of the system, avoiding the risk of misoperation due to signal abnormalities, and ensuring the safety of equipment and operators.
[0079] In one embodiment, the detection data includes detection data of the mechanical opening of the gate, detection data of the electrical opening meter of the gate, and the gate opening value. According to the detection data corresponding to the target gate, the current operating state corresponding to the target gate is determined, including: when the detection data of the mechanical opening of the gate represents a mechanical full-open action of the gate, or, when the detection data of the electrical opening meter of the gate represents an electrical full-open action, or, when the gate opening value is greater than a preset full-open setting value, determining that the current operating state is a gate full-open signal action of the target gate; when the detection data of the mechanical opening of the gate represents a mechanical full-close action of the gate, or, when the detection data of the electrical opening meter of the gate represents an electrical full-close action, or, when the gate opening value is less than a preset full-close setting value, determining that the current operating state is a gate full-close signal action of the target gate.
[0080] For example, when the gate of the input function block is fully opened mechanically or fully opened electrically (opening meter) or the gate opening is greater than the fully opened setting value, any of the conditions are met, the gate is considered to be fully opened. When the gate is fully closed mechanically, fully closed electrically (opening meter) or the gate opening is less than the fully closed setting value, the gate is considered to be fully closed.
[0081] In this embodiment, the current operating state of the target gate is first judged by the detection data of the gate mechanical opening, the detection data of the gate electrical opening meter and the gate opening value, and then the current operating state is determined as the gate full-open signal action or the gate full-close signal action based on the detection data. Through the implementation of this technical solution, the accuracy and reliability of gate state monitoring are significantly improved, and it is convenient to use the full-open signal action and the gate full-close signal action to execute the judgment process of the locking condition.
[0082] In one embodiment, when the current operating state satisfies the preset locking conditions, the locking action corresponding to the locking conditions is executed, including: when the type of the target gate is a winch gate with a load signal, and the current operating state is currently in a gate lifting mode, and the duration of the overload load signal action reaches a third preset duration, a door stop command is issued; when the type of the target gate is a winch gate with a load signal, and the current operating state is currently in a gate lowering mode, and the full-close signal is not actuated, and the duration of the underload load signal action reaches a fourth preset duration, a door stop command is issued.
[0083] Among them, the overload load signal action represents that the current load of the target gate is greater than the overload weight value, and the underload load signal action represents that the current load of the target gate is less than the underload weight value.
[0084] For example, the embodiment of the present application provides a load over-limit protection function. For a winch gate with a load signal, when the gate is lifted, when the 110% load signal is activated and maintained for more than 5 seconds, a stop command is issued and an alarm is generated. When the gate is lowered, when the full-close signal is not activated and the load is less than the lowering underload value and maintained for more than 5 seconds, a stop command is issued and an alarm is generated.
[0085] In this embodiment, first, when the target gate is a winch gate with a load signal, the current operating status is judged. If it is currently in the gate lifting mode and the overload load signal action duration reaches the third preset time duration, a stop door command is issued; if it is currently in the gate lowering mode and the full-close signal is not actuated, and at the same time the underload load signal action duration reaches the fourth preset time duration, a stop door command is also issued, thereby ensuring that timely measures are taken under abnormal load conditions. By implementing the above-mentioned locking action, the risks of overloading and underloading of the equipment are effectively prevented, thereby ensuring the safe operation of the equipment and the safety of the operators.
[0086] In one embodiment, the overload weight value is determined based on the gate load reference value and a first multiple of the target gate, the underload weight value is determined based on the gate load reference value and a second multiple of the target gate, and the gate load reference value is determined based on the gate weight of the target gate and the weight of the counterweight block.
[0087] Among them, the overload value can be 110% of the load alarm value, and accordingly, the first multiple is 1.1; the second multiple is 0.9, so the underload value can be set with reference to 0.9 times the gate load reference value.
[0088] Exemplarily, the gate load reference value is calculated by the sum of the gate weight and the weight of the counterweight block. The load sensor is linearly calibrated at two positions: when the gate is fully closed and when the gate is stopped in mid-air. The 110% load alarm value can be set with reference to 1.1 times the gate load reference value, and the gate descent underload value can be set with reference to 0.9 times the gate load reference value.
[0089] In one embodiment, when the current operating state satisfies the preset locking conditions, the locking action corresponding to the locking conditions is executed, including: when the start duration of the gate control process satisfies the preset delay duration, the change status of the current gate opening value corresponding to the target gate is detected at the preset time interval; when the current operating state is in the gate lifting mode, and the change status of the current gate opening value indicates a relative decrease in the opening, the gate control process is exited; when the current operating state is in the gate lowering mode, and the change status of the current gate opening value indicates a relative increase in the opening, the gate control process is exited.
[0090] Among them, the gate control process is any process that controls the target gate to implement instructions.
[0091] Among them, the preset delay time may be 5s, and the preset time interval may be 3s.
[0092] For example, the embodiment of the present application provides a control direction protection function, which is activated after a certain delay after the gate control process is started. When the gate is lifted, the opening value is compared every 3 seconds. If the opening is relatively reduced, an alarm is triggered and the process is exited. When the gate is lowered, the opening value is compared every 3 seconds. If the opening is relatively increased, an alarm is triggered and the process is exited.
[0093] In this embodiment, first, after the gate control process is started, it is determined whether the startup duration meets the preset delay duration. If it meets the preset time interval, the target gate opening value is detected according to the preset time interval. Then, when the current operating state is the gate lifting mode, if it is detected that the change in the current gate opening value indicates a relative decrease in the opening, the gate control process is immediately exited and an alarm signal is issued; at the same time, when the current operating state is the gate lowering mode, if it is detected that the change in the current gate opening value indicates a relative increase in the opening, the gate control process is also exited and an alarm signal is issued. Furthermore, by implementing the above-mentioned control direction protection function, the safety of gate operation is significantly improved.
[0094] In one embodiment, the preset delay duration is greater than the target duration. The target duration is the duration between the start execution time of the gate control process and the completion time of gate acceleration. The preset delay duration is determined according to the gate type of the target gate.
[0095] Among them, the gate types include winch gates controlled by direct motor start-up, screw gates, gates controlled by motor soft start-up, gates controlled by series resistors, and gates controlled by frequency conversion start-up.
[0096] Among them, the preset delay time is also called the protection function input delay time.
[0097] For example, the delay time for the protection function needs to be greater than the time required from the start of the process to the completion of gate acceleration. The winch gate and screw gate controlled by direct motor start-up are set to 4-5S, and the gate controlled by motor soft start, series resistance, and frequency conversion start-up is set to 10S. The time parameters can be adjusted according to the gate dynamic test.
[0098] In one embodiment, the method also includes: obtaining the current gate opening value corresponding to the target gate, and obtaining the opening setting value; the opening setting value is the opening setting value corresponding to the case where the gate control process is the target opening control process; when the difference between the opening setting value and the current gate opening value is greater than a preset set dead zone value, determining that the opening setting value is valid; when the difference between the opening setting value and the current gate opening value is less than or equal to the preset set dead zone value, determining that the opening setting value is invalid and exiting the target opening control process.
[0099] Exemplarily, an embodiment of the present application provides a gate opening setting value validity judgment function, when the difference between the opening setting value and the current opening value is greater than the set dead zone value, the setting value is considered valid, otherwise an alarm is issued and the control process is exited.
[0100] In this embodiment, the current gate opening value and the opening setting value corresponding to the target gate are first obtained, and then it is determined whether the difference between the opening setting value and the current gate opening value is greater than the preset dead zone value. If it is greater, the opening setting value is determined to be valid, and the target opening control process is allowed to continue; if the difference is less than or equal to the set dead zone value, the opening setting value is determined to be invalid and the target opening control process is exited, and an alarm signal is triggered at the same time; by implementing the above-mentioned opening setting value validity judgment function, the operational safety of the system is significantly improved, ensuring the accuracy in the opening control process, thereby effectively preventing equipment damage and safety accidents caused by misoperation or abnormal conditions.
[0101] In one embodiment, when the current operating state meets the preset locking conditions, the locking action corresponding to the locking conditions is executed, including: when the control of the target gate is switched from remote to local, or from automatic to manual, a door stop command is executed.
[0102] Exemplarily, an embodiment of the present application provides an on-site emergency stop protection function. During the execution of the gate control process, when the control authority is switched from remote to local, or from automatic to manual, the gate should be stopped immediately and an alarm should be sounded.
[0103] In this embodiment, first, when the control of the target gate is switched from remote to local or from automatic to manual, the gate stop command is immediately executed, and then an alarm signal is issued to remind the operator to pay attention to the current situation, thereby ensuring that safety measures can be taken in time when the control method is changed. By implementing the local emergency stop protection function, misoperation caused by changes in control rights is effectively prevented, thereby ensuring the safety and reliability of gate operation.
[0104] In one embodiment, the method further includes: obtaining the priority corresponding to each gate control process to be executed; executing each gate control process to be executed according to the priority corresponding to each gate control process;
[0105] Among them, the gate control process includes rapid door-dropping process, stopping process, descending process, lifting process, and target opening control process; the priority of the rapid door-dropping process is greater than the priority of the stopping process, and the priority of the stopping process is greater than the target priority; the target priority is the priority of the descending process, lifting process, and target opening control process.
[0106] Exemplarily, an embodiment of the present application provides a process locking function, and the control priorities from high to low are: rapid door closing, stop, descent / lifting / target opening control, rapid door closing has the highest priority, descent / lifting / target opening control has the lowest and the same control priority, and only one process is allowed to execute at the same time.
[0107] In this embodiment, the priority corresponding to each gate control process to be executed is first obtained, and each control process is executed in sequence according to the priority. Then, the priority is used to implement the process locking function, which significantly improves the response speed and safety of the gate control system and avoids operational errors caused by priority confusion.
[0108] In one embodiment, when the current operating state satisfies the preset locking conditions, the locking action corresponding to the locking conditions is executed, including: obtaining the opening analog quality value corresponding to the current gate opening value; when the opening analog quality value is the first quality evaluation value, locking the host computer corresponding to the target gate; when the opening analog quality value is the first quality evaluation value and the gate is in the running process, executing the stop process for the running process.
[0109] Among them, the first quality evaluation value can be a field value representing good quality, such as "good", "averagely bad", etc.
[0110] The embodiment of the present application provides a gate data quality judgment function. When the quality of the opening analog quantity is bad, the control process is prohibited from being executed, and the host computer and touch screen are locked from issuing control commands; when the quality of the opening analog quantity is bad during the operation of the gate, the gate stop process is automatically executed.
[0111] In this embodiment, the opening analog quality value corresponding to the current gate opening value is first obtained, and then it is determined whether the quality value is the first quality evaluation value. If so, the host computer corresponding to the target gate is locked. On this basis, if the gate is in an operating process, the stop process for the operating process is executed, thereby achieving effective control of the gate operation status; by implementing the gate data quality judgment function, when the opening quality is bad, the control process is prohibited from being executed, and the gate operation is automatically stopped, ensuring the safety and stability of the system.
[0112] In another embodiment, Figure 2 As shown, a PLC gate protection automatic control method is provided, comprising the following steps:
[0113] S201, the gate protection program obtains the real-time data of the gate and initializes the constant value.
[0114] S202, the gate protection program makes a comprehensive logical judgment based on the real-time gate data and the gate setting.
[0115] S203, the gate protection program takes corresponding protection actions and generates alarm information.
[0116] S204, the gate receives the corresponding action signal, and the host computer receives the corresponding alarm information.
[0117] In another embodiment, Figure 3 As shown, a PLC gate protection automatic control method is provided, comprising the following steps:
[0118] S301, when the detection data of the gate mechanical opening represents the gate mechanical full-opening action, or when the detection data of the gate electrical opening meter represents the gate electrical full-opening action, or when the gate opening value is greater than the preset full-opening setting value, determine that the current operating state is the gate full-opening signal action of the target gate.
[0119] S302, when the detection data of the gate mechanical opening represents the gate mechanical full-closing action, or when the detection data of the gate electrical opening meter represents the gate electrical full-closing action, or when the gate opening value is less than the preset full-closing setting value, determine that the current operating state is the gate full-closing signal action of the target gate.
[0120] S303, when the current operating state is that the gate full-open signal of the target gate is actuated, the gate lifting instruction is marked as an invalid instruction.
[0121] S304, when the current operating state is that the gate full closing signal of the target gate is actuated, the gate closing instruction is marked as an invalid instruction.
[0122] S305, when the current operating state is in the gate lifting mode, and the duration of the gate full open signal action reaches the first preset duration, and the gate rising signal is not actuated, a stop door command is issued and the gate lifting is cleared.
[0123] S306, when the current operating state is in the gate lowering mode, and the duration of the gate full-close signal action reaches the second preset duration, and the gate lowering signal is not actuated, a door stop command is issued and the gate lowering opening is cleared.
[0124] It should be noted that the specific limitations of the above steps can be found in the above specific limitations of a PLC gate protection automatic control method, which will not be repeated here.
[0125] In another embodiment, the PLC gate protection automatic control method provided in the embodiment of the present application requires input and output data, and generates alarm information. The parameters that need to be input and set are shown in Table 1:
[0126] Table 1
[0127]
[0128] Among them, the signal variables that need to be output are shown in Table 2:
[0129] Table 2
[0130]
[0131] The generated alarm information is shown in Table 3:
[0132] Table 3
[0133]
[0134] The embodiment of the present application provides a PLC gate protection automatic control method, also known as a gate automatic protection control method based on PLC, or a gate automatic protection method for conventional hydropower stations and pumped storage power stations. Correspondingly, the computer program obtained by implementing the method can be a PLC program with gate protection automatic control function. The design of the PLC program in this application needs to fully consider the actual situation and needs of gate control, and use the data and signals sent by the gate, with appropriate parameters, to write the corresponding control logic and algorithm. At the same time, strict testing and verification are also required to ensure the stability and reliability of the PLC program.
[0135] The PLC gate protection automatic control method provided in the embodiment of the present application performs logical judgment based on the amount of data and signal sent from the gate to the PLC and the configurable calculation variables; in other words, it utilizes the existing gate data and signals, together with the configurable variables in the program, to perform logical judgment to realize a variety of automatic protection functions.
[0136] The following describes the PLC gate protection automatic control method in detail with some specific embodiments. It is worth noting that the following description is only an exemplary description and not a specific limitation of the application.
[0137] Example 1: Input the gate opening analog quantity into Open1 (gate opening 1) and Open2 (gate opening 2), input the opening analog quantity quality into OpenQua1 (gate opening 1 quality) and OpenQua2 (gate opening 2 quality), take the gate mechanical full closing and gate electrical full closing signals or logic input FulClsVal (gate full closing value), take the gate mechanical full opening and gate electrical full opening signals or logic input FulOpeVal (gate full opening value). When the gate is mechanically fully opened, electrically fully opened, and the opening analog quantity is greater than the fully opened setting value (FulOpeVal), the program regards the gate lifting command as an invalid command and generates an alarm message on the host computer. When the gate is mechanically fully closed, electrically fully closed, and the opening analog quantity is less than the fully closed setting value (FulClsVal), the program regards the gate closing command as an invalid command and generates an alarm message on the host computer.
[0138] Example 2: Using the gate position judgment method in Example 1, when the gate is lifted, the gate full open signal (FulOpen) is activated and maintained for 500 milliseconds and the gate rising signal (Rising) is not activated, the PLC program sends a stop gate and clears the gate lifting and opening; during the gate lowering process, when the gate full closed signal (FulCls) is activated and maintained for 500 milliseconds and the gate falling signal (Falling) is not activated, the PLC program sends a stop gate and clears the gate falling and opening.
[0139] Example 3: Based on the gate weight and counterweight block data, the load overload and underload data are obtained. For example, the gate weight and the counterweight block weigh a total of 100t, and the trigger condition of the 110% load signal (Load110) is that the gate load 1 (Load1) or the gate load 2 (Load2) is greater than or equal to 110t. When the gate is lifted, when the 110% load signal (Load110) is activated and maintained for more than 5 seconds, a stop command is issued and an alarm is generated. When the gate is lowered, when the full-close signal is not activated and the load is less than the lowering underload value (LowVal2) and maintained for more than 5 seconds, a stop command is issued and an alarm is generated.
[0140] Example 4: When performing the "lifting door" operation, the function is delayed to start. When the gate is rising (Rising), the gate opening (Open1, Open2) values are compared with the old values every 3 seconds. If the opening is relatively reduced, an alarm is triggered and the process is exited. When performing the "falling door" operation, the function is delayed to start. When the gate is falling (Falling), the gate opening (Open1, Open2) values are compared with the old values every 3 seconds. If the opening is relatively increased, an alarm is triggered and the process is exited.
[0141] Embodiment 5: When the gate does not move and the "opening and moving door" operation begins, when the gate opening 1 quality and gate opening 2 quality are bad (OpenQua1, OpenQua2), that is, when the two opening value data are abnormal, the control command is locked and an alarm message is generated. During the gate operation, when the gate opening 1 quality and gate opening 2 quality are bad (OpenQua1, OpenQua2), that is, when the two opening value data are abnormal, the gate stop process is automatically executed. When performing the "opening and moving door" operation, if the difference between the issued opening setting value and the actual opening is less than the dead zone (the default is 5, which can be set), the control command is locked and an alarm message is generated.
[0142] Example 6: When performing a "moving gate" operation, the control right is switched from remote to local, or the control mode is switched from automatic to manual. At this time, the control right switching (Ctrl_switch) action is performed, an alarm is generated, and the gate operation is stopped.
[0143] Embodiment 7: Gate control has priority judgment, and the priority from high to low is: fast gate drop, stop gate, lowering / lifting / target opening control gate. Among them, the lowering / lifting / target opening control gate has the same priority, and only one process is allowed to execute at the same time.
[0144] For example, when the gate is lowered / raised / target opening is controlled, the gate stop operation is performed, at which time the gate lowering / raising / target opening process is terminated, and the gate stop process is performed. When the gate is lowered / raised / target opening is controlled, the gate is quickly dropped, at which time the gate lowering / raising / target opening process is terminated, and the gate is quickly dropped. When one of the gate lowering / raising / target opening is controlled, when the other two controls of the same level are performed again, the locking operation is performed and an alarm is generated.
[0145] The PLC gate protection automatic control method provided in the embodiment of the present application relates to conventional hydropower stations and pumped-storage power stations, including a comprehensive judgment function of gate position, an automatic protection function of gate limit, an automatic protection function of gate load over-limit, an automatic protection function of gate control direction, a gate opening set value locking protection function, a gate control authority switching protection function, a gate process priority judgment and locking function, and a gate opening validity protection function.
[0146] The PLC gate protection automatic control method provided in the embodiment of the present application ensures the safety, reliability and efficiency of the gate control process through a series of comprehensive functions and strategies; it realizes the effective automatic protection operation of the PLC according to the real-time status of the gate, which not only improves the operating efficiency of the power station, but also greatly protects the safety of life and property of the power station; at the same time, the method also has certain versatility and scalability, and can adapt to the needs of power stations of different types and sizes.
[0147] The PLC gate protection automatic control method provided in the embodiment of the present application utilizes the existing gate data and signals, and performs logical judgment together with the variables that can be set in the program to realize a variety of automatic protection functions. Compared with the conventional gate control program, it enriches the locking function and has different protection functions for different gate types; the optimal parameters can be set according to the on-site environment to realize the safe and stable operation of the gate.
[0148] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0149] Based on the same inventive concept, the embodiment of the present application also provides a PLC gate protection automatic control device for implementing the PLC gate protection automatic control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more PLC gate protection automatic control device embodiments provided below can refer to the limitations of the PLC gate protection automatic control method above, and will not be repeated here.
[0150] In one embodiment, Figure 4 As shown, a PLC gate protection automatic control device is provided, including: a current operation state determination module 401, a locking action execution module 402, wherein:
[0151] The current operation state determination module 401 is used to determine the current operation state corresponding to the target gate according to the detection data corresponding to the target gate; the target gate includes the gate used to control the preset channel in the hydropower station; the detection data includes the data sent to the PLC function block by the detection device of the target gate;
[0152] The locking action execution module 402 is used to execute the locking action corresponding to the locking condition and generate alarm information corresponding to the locking condition when the current running state meets the preset locking condition.
[0153] Each module in the above-mentioned PLC gate protection automatic control device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0154] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a PLC gate protection automatic control method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0155] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0156] In one embodiment, a computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps in the above method embodiments are implemented.
[0157] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0158] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above-mentioned method embodiments when executed by a processor. The computer program may be a PLC program. Specifically, a PLC program provided in the present application has the following functions:
[0159] (1) The first type of gate limit protection function. The gate full open and full close signals are judged based on multiple gate signals. When the gate of the input function block is mechanically fully opened or electrically fully opened (opening meter) or the gate opening is greater than the fully open setting value, if any of the conditions are met, the gate is considered to be fully opened. When the gate is mechanically fully closed, electrically fully closed (opening meter) or the gate opening is less than the fully closed setting value, the gate is considered to be fully closed. When the gate full open signal is activated, the gate lifting command is regarded as an invalid command and an alarm message is generated on the host computer. When the gate full close signal is activated, the gate closing command is regarded as an invalid command and an alarm message is generated on the host computer.
[0160] (2) It has the second gate limit protection function. The gate fully open and fully closed position signal judgment method is the same as the judgment method in the first limit protection function. When the gate fully open signal action is maintained for 500 milliseconds and the gate rising signal is not actuated, the PLC program sends a stop gate and clears the gate lifting and opening; during the gate descending process, when the gate fully closed signal action is maintained for 500 milliseconds and the gate descending signal is not actuated, the PLC program sends a stop gate and clears the gate descending and opening.
[0161] (3) With load over-limit protection function. For winch gates with load signals, the gate load reference value is calculated by the sum of the gate weight and the weight of the counterweight block. The load sensor is linearly calibrated at two positions: when the gate is fully closed and when the gate is stopped in mid-air. The 110% load alarm value can be set with reference to 1.1 times the gate load reference value, and the gate descent underload value can be set with reference to 0.9 times the gate load reference value. When the gate is lifted, when the 110% load signal is activated and maintained for more than 5 seconds, a stop gate command is issued and an alarm is generated. When the gate is descending, when the fully closed signal is not activated and the load is less than the descent underload value and maintained for more than 5 seconds, a stop gate command is issued and an alarm is generated.
[0162] (4) It has a control direction protection function. To prevent false operation, the protection function is activated after a certain delay after the gate control process is started. The delay time must be greater than the time required from the start of the process to the completion of gate acceleration. The winch gate and screw gate controlled by motor direct start are set to 4 to 5S, and the gate controlled by motor soft start, series resistance, and frequency conversion start are set to 10S. The time parameters can be adjusted according to the gate dynamic test. When the gate is lifted, the opening value is compared every 3s. If the opening decreases relatively, an alarm is triggered and the process is exited. When the gate is lowered, the opening value is compared every 3s. If the opening increases relatively, an alarm is triggered and the process is exited.
[0163] (5) It has the function of judging the validity of the gate opening setting value. When the difference between the opening setting value and the current opening value is greater than the set dead zone value, the setting value is considered valid, otherwise an alarm is issued and the control process is exited.
[0164] (6) It has an on-site emergency stop protection function. During the gate control process, when the control authority is switched from remote to local, or from automatic to manual, the gate should be stopped immediately and an alarm should be sounded.
[0165] (7) It has a process locking function. The control priorities are from high to low: fast door drop, stop, drop / lift / target opening control. Fast door drop has the highest priority, and drop / lift / target opening control has the lowest priority and they are the same. Only one process is allowed to be executed at the same time. For example, when the gate lifting process is being executed, the gate is operated to drop quickly. At this time, the gate lifting process is stopped and the fast door drop process is executed.
[0166] (8) It has the function of judging the gate data quality. When the quality of the opening analog quantity is bad, the control process is prohibited from being executed, and the host computer and touch screen are locked to issue control commands. When the quality of the opening analog quantity is bad during the gate operation, the gate stop process is automatically executed.
[0167] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0168] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.
[0169] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A PLC gate protection automatic control method, characterized in that: The method comprises: Determine the current operation state of the target gate according to the detection data corresponding to the target gate; the target gate includes a gate used to control a preset channel in a hydropower station; the detection data includes data sent to the PLC function block by the detection device of the target gate; When the current running state satisfies a preset locking condition, a locking action corresponding to the locking condition is executed, and alarm information corresponding to the locking condition is generated.
2. The method according to claim 1, characterized in that When the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes: When the current operation state is the gate full-open signal action of the target gate, marking the gate lifting instruction as an invalid instruction; When the current operating state is that the gate full closing signal of the target gate is activated, the gate closing instruction is marked as an invalid instruction.
3. The method according to claim 2, characterized in that When the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes: When the current operation state is in the gate lifting mode, and the duration of the gate full-open signal action reaches the first preset duration, and the gate rising signal does not act, a gate stop command is issued and the gate lifting and opening is cleared; When the current operating state is in the gate lowering mode, and the duration of the gate full-close signal action reaches the second preset duration, and the gate lowering signal is not actuated, a door stop command is issued and the gate lowering opening is cleared.
4. The method according to claim 2 or 3, characterized in that: The detection data includes detection data of the gate mechanical opening, detection data of the gate electrical opening instrument and the gate opening value. The current operating state corresponding to the target gate is determined according to the detection data corresponding to the target gate, including: In the case where the detection data of the gate mechanical opening indicates a gate mechanical full-opening action, or in the case where the detection data of the gate electrical opening meter indicates an electrical full-opening action, or in the case where the gate opening value is greater than a preset full-opening setting value, determining that the current operating state is a gate full-opening signal action of the target gate; When the detection data of the gate mechanical opening represents the gate mechanical full-closing action, or when the detection data of the gate electrical opening meter represents the gate electrical full-closing action, or when the gate opening value is less than the preset full-closing setting value, it is determined that the current operating state is the gate full-closing signal action of the target gate.
5. The method according to claim 1, characterized in that When the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes: When the type of the target gate is a winch gate with a load signal, and the current operating state is a gate lifting mode, and the duration of the overloaded load signal action reaches a third preset duration, a door stop instruction is issued; When the type of the target gate is a winch gate with a load signal, and the current operating state is in a gate lowering mode, and the full-close signal is not actuated, and the duration of the underload load signal action reaches a fourth preset duration, a door stop command is issued; Among them, the overload load signal action represents that the current load of the target gate is greater than the overload weight value, and the underload load signal action represents that the current load of the target gate is less than the underload weight value.
6. The method according to claim 5, characterized in that The overload weight value is determined according to the gate load reference value and the first multiple of the target gate, the underload weight value is determined according to the gate load reference value and the second multiple of the target gate, and the gate load reference value is determined according to the gate weight of the target gate and the weight of the counterweight block.
7. The method according to claim 1, characterized in that When the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes: When the start time of the gate control process meets the preset delay time, the change status of the current gate opening value corresponding to the target gate is detected according to the preset time interval; When the current operating state is in the gate lifting mode and the change in the current gate opening value indicates a relative decrease in the opening, exit the gate control process; When the current operation state is in a gate lowering mode and the change in the current gate opening value indicates a relative increase in the opening, exit the gate control process; The gate control process is any process for controlling the target gate to implement instructions.
8. The method according to claim 7, characterized in that The preset delay time is greater than the target time, the target time is the time between the start of the gate control process and the completion of gate acceleration, and the preset delay time is determined according to the gate type of the target gate; Among them, the gate types include winch gates controlled by direct motor start-up, screw gates, gates controlled by motor soft start-up, gates controlled by series resistors, and gates controlled by variable frequency start-up.
9. The method according to claim 8, characterized in that The method further comprises: Obtain the current gate opening value corresponding to the target gate, and obtain an opening setting value; the opening setting value is a setting value of the opening corresponding to the case where the gate control process is a target opening control process; When the difference between the opening setting value and the current gate opening value is greater than a preset dead zone value, determining that the opening setting value is valid; When the difference between the opening setting value and the current gate opening value is less than or equal to the preset dead zone value, it is determined that the opening setting value is invalid and the target opening control process is exited.
10. The method according to claim 1, characterized in that When the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes: When the control right of the target gate is switched from remote to local, or from automatic to manual, the gate stop command is executed.
11. The method according to claim 1, characterized in that: The method further comprises: Obtain the priority corresponding to each gate control process to be executed; Execute each of the gate control processes to be executed according to the priority level corresponding to each of the gate control processes; Among them, the gate control process includes a rapid door closing process, a stop process, a descent process, a lifting process, and a target opening control process; the priority of the rapid door closing process is greater than the priority of the stop process, and the priority of the stop process is greater than the target priority; the target priority is the priority of the descent process, the lifting process, and the target opening control process.
12. The method according to claim 9, characterized in that When the current running state satisfies a preset locking condition, executing a locking action corresponding to the locking condition includes: Obtaining the opening analog quantity quality value corresponding to the current gate opening value; When the quality value of the opening analog quantity is the first quality evaluation value, locking the host computer corresponding to the target gate; When the opening analog quantity quality value is the first quality evaluation value and the gate is in an operation process, a stop process for the operation process is executed.
13. A PLC gate protection automatic control device, characterized in that: The device comprises: A current operation state determination module is used to determine the current operation state corresponding to the target gate according to the detection data corresponding to the target gate; the target gate includes a gate used to control a preset channel in a hydropower station; the detection data includes data sent from the detection device of the target gate to the PLC function block; The locking action execution module is used to execute the locking action corresponding to the preset locking condition and generate alarm information corresponding to the locking condition when the current running state meets the preset locking condition.
14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Patent Citations
Automatic scheduling method for hydropower station reservoir
CN113935644A
Remote control method for spillway gate
CN116449750A
Safety method for remote control of flood discharge gate of large watershed hydropower station
CN117850383A
Remote opening control method for flood discharge gate of hydropower station
CN118707836A
An apparatus for remote control of flood gate, an alarm of errors breaking out and protecting a flood gate-winch
KR100680514B1
Cited By
Water gate control method and system based on instruction preposed verification
CN121879227A
