A valve abnormality detection method, system, computer equipment and medium
By comparing the driving current curve of the electric actuator with the preset current curve and detecting and determining the valve abnormality, the problem of jamming and fault detection of electric valves at the production site is solved, and the production safety and automation level are improved.
Patent Information
- Application Number
- CN202310887143.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-18
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2043-07-18
AI Technical Summary
At industrial production sites, electric-driven valves are prone to jamming or jamming when switching parameters, resulting in an increase in the risk of production accidents. It is difficult for the existing technology to effectively detect and prevent these abnormal situations.
By obtaining the driving current curve of the electric actuator during the driving valve switching process, comparing with the preset current curve, detecting the valve abnormality, determining the abnormal position, and avoiding safety accidents caused by abnormalities such as jamming.
Timely detection and early warning of valve abnormalities is achieved, production accidents caused by faults such as jamming are avoided, and safety and automation level of the production site are improved.
Smart Images

Figure CN116677815B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of valve detection, and in particular to a valve abnormality detection method, system, computer equipment and medium. Background Art
[0002] With the trend of unmanned and less-manned industrial production sites, more and more industrial sites have changed the original manual control valves into electric control valves by adding electric actuators, and set up logic control and interlocking control through programmable logic controllers (PLC) to improve the automation level of production sites. Valves with electric mechanisms in the established less-manned and unmanned sites are often important production equipment. They control the entire production process and important production parameters such as pressure and flow. Once a key electric valve fails to operate due to valve jamming during parameter switching, it may cause a serious production accident. From the actual experience of the production site, the process from jamming (torque increase) to jamming (inability to operate) of most electric-driven mechanical devices is not a gradual process. Summary of the invention
[0003] In order to detect abnormalities such as valve jamming and avoid production safety accidents caused by abnormalities such as valve jamming, the present invention proposes a valve abnormality detection method, system, computer equipment and medium.
[0004] In a first aspect, the present invention provides a valve abnormality detection method, the method comprising:
[0005] Obtain the driving current curve of the electric actuator in the process of driving the valve to open and close;
[0006] According to the driving current curve and the preset current curve, the valve is detected for abnormality to obtain the valve abnormality detection result.
[0007] Through the above method, the driving current curve during the valve switching process is detected, the driving current curve is compared with the preset current curve, and the valve is detected for abnormality to avoid production safety accidents caused by abnormalities such as valve jamming.
[0008] In an optional implementation, the step of determining a preset current curve includes:
[0009] Obtain the historical current curve generated by the electric actuator during multiple valve opening and closing processes;
[0010] An average curve of multiple historical current curves is calculated, and the average curve is used as a preset current curve.
[0011] In an optional implementation, the valve is detected for abnormality according to the driving current curve and the preset current curve to obtain the valve abnormality detection result, including:
[0012] Subtract the current value of the driving current curve at different times from the current value of the preset current curve at the corresponding time to obtain the difference between the driving current curve and the preset current curve at different times;
[0013] When the difference at any moment is greater than the preset difference, it is determined that the valve is abnormal.
[0014] In an optional embodiment, the method further includes: when an abnormal condition exists in the valve, determining the abnormal position of the valve according to the time corresponding to when the difference is greater than a preset difference.
[0015] In an optional implementation, when the valve is abnormal, determining the abnormal position of the valve according to the time when the difference is greater than the preset difference includes:
[0016] Get the opening and closing speed of the valve;
[0017] The abnormal position of the valve is calculated according to the time corresponding to the difference being greater than the preset difference and the opening and closing speed of the valve.
[0018] In a second aspect, the present invention provides a valve abnormality detection system, the system comprising: a current transformer and a controller;
[0019] A current transformer is used to obtain a driving current curve of the electric actuator during the process of driving the valve to open and close;
[0020] The controller is used to perform abnormality detection on the valve according to the driving current curve and the preset current curve to obtain the valve abnormality detection result.
[0021] In an optional embodiment, the system further includes a communication sending device and a communication receiving device;
[0022] A communication sending device, used for receiving a driving current curve in a current transformer, and sending the driving current curve to a communication receiving device;
[0023] The communication receiving device is used to send the received driving current curve to the controller.
[0024] In an optional embodiment, the system further includes a memory;
[0025] The memory is connected to the communication sending device and is used to store the driving current curve;
[0026] The controller is further used to update the preset current curve according to the driving current curve within a preset time period.
[0027] In a third aspect, the present invention further provides a computer device, comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the steps of the valve abnormality detection method of the first aspect or any embodiment of the first aspect by executing the computer instructions.
[0028] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the valve abnormality detection method of the first aspect or any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 is a flow chart of a valve abnormality detection method proposed according to an exemplary embodiment;
[0031] Figure 2 is a schematic diagram of the structure of a ball valve in an example;
[0032] Figure 3 It is a structural schematic diagram of a valve abnormality detection system proposed according to an exemplary embodiment;
[0033] Figure 4 In one example, it is a schematic diagram of the installation inside the explosion-proof junction box;
[0034] Figure 5 is a transmission diagram of a driving current signal in an example. DETAILED DESCRIPTION
[0035] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0037] In order to detect abnormalities such as valve jamming and avoid production safety accidents caused by abnormalities such as valve jamming, the present invention proposes a valve abnormality detection method, system, computer equipment and medium.
[0038] Figure 1 FIG. 1 is a flow chart of a valve abnormality detection method according to an exemplary embodiment. Figure 1 As shown, the method includes the following steps S101 to S102.
[0039] Step S101: obtaining a driving current curve of the electric actuator in the process of driving the valve to open and close.
[0040] In an optional embodiment, the valve switching process includes a valve opening process and a valve closing process, and correspondingly, the driving current curve includes a driving current curve of the electric actuator in the process of driving the valve to open and a driving current curve of the electric actuator in the process of driving the valve to close.
[0041] In an optional embodiment, the electric valve power supply includes U power supply, V power supply, W power supply, and N power supply, and the driving current curve can be a current curve of one of the power supplies in the electric valve power supply, exemplarily, it can be W power supply.
[0042] In an optional embodiment, the driving current curve can be obtained by a current transformer.
[0043] Step S102: performing abnormality detection on the valve according to the driving current curve and the preset current curve to obtain a valve abnormality detection result.
[0044] In an optional embodiment, the preset current curve can be calculated by using historical current curves generated during multiple valve opening and closing processes.
[0045] In an optional embodiment, the abnormality of the valve is detected by comparing the current value corresponding to the driving current curve at the same time with the current value corresponding to the preset current curve.
[0046] Figure 2 It is a schematic diagram of the structure of a ball valve. The ball valve includes a valve stem, packing, a ball, a plate valve seat, a channel, a valve stem grease nozzle, a valve cavity grease nozzle, a valve cavity thread plug, a lifting ear, a grease nozzle, and a drain nozzle. The ball valve is switched on and off by applying a horizontal rotational torque on the valve stem. The valve stem drives the ball to rotate 90 degrees and then closes, and the process is cut off by the ball and the plate valve seat. If the valve is stuck, whether the ball of the ball valve is stuck, the valve seat is stuck, or the packing valve stem is stuck, it will cause the driving torque acting on the valve stem to increase. It should be noted that the valve abnormality detection method provided by the present invention is not only for ball valves, but can be used for detection of any equipment that uses a motor to drive the mechanical structure to move.
[0047] The electric actuator is mainly used to drive the valve to open and close. Its wiring consists of two parts: power line and signal line. The power line comes from the (three-phase) power supply provided by the distribution box; the signal line comes from the valve position input signal, valve position feedback signal, and four groups of alarm contacts S1-S4 of the control cabinet. Taking the regulating electric actuator as an example, the working principle of the electric actuator is a position servo mechanism with an AC servo motor as the driving device. The 4-20mA DC control signal of the adjustment system is received by the connected position locator control board and compared with the position feedback signal of the position transmitter. The signal deviation after comparison is amplified to make the power stage conduct, and the motor rotates to drive the output of the actuator to move in the direction of reducing this deviation until the deviation signal is less than the set value (dead zone). At this time, the output value of the actuator is stable at the position corresponding to the input signal. The electric valve is a combination of an electric actuator and a valve. The state control of each electric valve on site is completed through the Supervisory Control And Data Acquisition (SCADA) to achieve the control of many production parameters such as process flow switching, pressure and flow on the production site.
[0048] Taking into account that when the valve is stuck or other abnormal conditions occur, the driving torque of the valve stem increases during the valve switching process, and the driving current will change. Through this method, the driving current curve during the valve switching process is detected, and the driving current curve is compared with the preset current curve to detect abnormalities in the valve, thereby avoiding production safety accidents caused by abnormalities such as valve sticking.
[0049] In one example, in the above step S102, the preset current curve is determined by:
[0050] First, obtain the historical current curve generated by the electric actuator in the process of driving the valve on and off multiple times.
[0051] Then, an average curve of multiple historical current curves is calculated, and the average curve is used as a preset current curve.
[0052] In an optional embodiment, the ordinate of each point on the average curve is the average value of the ordinates of corresponding points of multiple historical current curves.
[0053] In an optional embodiment, the historical current curve may change as the valve is used for a longer period of time. Therefore, the preset current curve can also be obtained by continuously updating the historical current curve, that is, the preset current curve is not fixed, and the preset current curve is also updated in real time as the environmental conditions change, so that the abnormality detection result obtained according to the preset current curve is more accurate.
[0054] In one example, in the above step S102, the valve is detected for abnormality in the following manner:
[0055] First, the current value of the driving current curve at different times is subtracted from the current value of the preset current curve at the corresponding time, so as to obtain the difference between the driving current curve and the preset current curve at different times.
[0056] Then, when the difference at any moment is greater than the preset difference, it is determined that the valve is abnormal.
[0057] In an optional embodiment, the preset difference value can be set according to actual conditions and is not specifically limited here.
[0058] In one example, the method provided by the embodiment of the present invention further includes: when an abnormal condition exists in the valve, determining the abnormal position of the valve according to the time corresponding to when the difference is greater than the preset difference.
[0059] In an optional embodiment, the specific content of determining the abnormal position of the valve includes:
[0060] First, obtain the opening and closing speed of the valve.
[0061] In an optional embodiment, the switching speed of the valve includes an opening speed and a closing speed.
[0062] Then, the abnormal position of the valve is calculated according to the time corresponding to the difference being greater than the preset difference and the opening and closing speed of the valve.
[0063] In an optional embodiment, the opening and closing processes of the valve are both uniform motions through the control of the electric actuator. Therefore, the abnormal position of the valve can be determined by the time and the switching speed corresponding to the difference being greater than the preset difference.
[0064] Figure 3 The figure is a schematic diagram of a valve abnormality detection system according to an exemplary embodiment. The system comprises: a current transformer 1 and a controller 2.
[0065] The current transformer 1 is used to obtain the driving current curve of the electric actuator during the process of driving the valve to open and close.
[0066] The controller 2 is used to perform abnormality detection on the valve according to the driving current curve and the preset current curve to obtain the valve abnormality detection result.
[0067] In an optional embodiment, the controller 2 may adopt a SCADA system or an expert system, etc., which is not specifically limited here.
[0068] In one example, the system further includes a communication sending device and a communication receiving device.
[0069] The communication sending device is used to receive the driving current curve in the current transformer and send the driving current curve to the communication receiving device.
[0070] The communication receiving device is used to send the received driving current curve to the controller 2.
[0071] Exemplarily, the communication sending device may adopt a long range radio (Long Range Radio, LoRa) communication chip with an analog interface, and correspondingly, the communication receiving device may adopt a LoRa receiver.
[0072] In one example, the system also includes a memory.
[0073] The memory is connected to the communication sending device and is used for storing the driving current curve.
[0074] The controller 2 is further used to update the preset current curve according to the driving current curve within a preset time period.
[0075] In an optional embodiment, the historical current curve may change as the valve is used for a longer time. Therefore, the preset current curve can also be obtained by continuously updating the historical current curve, that is, the preset current curve is not fixed, and as the environmental conditions change, the preset current curve is also updated in real time with the driving current curve, so that the abnormality detection result obtained according to the preset current curve is more accurate.
[0076] Figure 4 Installation diagram inside the explosion-proof junction box. Taking the natural gas transmission station as an example, the state control of the electric actuator is completed through the SCADA system. The power lines to the on-site electric actuators are first passed through the terminal blocks arranged in the skid-mounted explosion-proof junction box, and then connected to the electric actuator through the device terminal in the explosion-proof junction box, and connected to the control room through the control room terminal in the explosion-proof junction box. Select a power supply current (W current) in the electric valve power supply that needs to be tested, and install a current transformer. This current transformer outputs a 4-20mA current signal according to the size of the induced current. The drive current curve is determined based on this current signal, and the received analog signal is transmitted (transparently) using a LoRa communication module with an analog interface. The explosion-proof junction box also includes an AC220v to DC5v power supply.
[0077] exist Figure 5In the control room, a LoRa signal receiving device is installed to send the received analog signal to the AI module of the PLC. The upper configuration system in the PLC reads the data of the PLC register and records the change value of the drive current signal in the historical database through the switch. If the valve on site becomes stuck and causes the output torque of the equipment to increase, according to the power P = UI, the voltage U remains unchanged, and the drive circuit I increases as P increases. The drive current required by the electric actuator will also change accordingly, and the W current detected by the current transformer will increase.
[0078] The installation location of the explosion-proof junction box is no more than 500m away from the control room in a straight line, and the number of junction boxes that need to deploy LoRa remote transmission devices is generally 5-8. The site where the equipment is arranged is open and free of electromagnetic and current interference. The selected LoRa communication sending module can fully meet the requirements of the on-site working conditions. For example, the performance indicators of the LoRa communication sending module are: maximum line-of-sight distance of 2800 meters; no debugging required, 3.3V-8V wide voltage range power supply; analog signal signal interface; transmission current ≤130mA, receiving current ≤17.8mA, transmission sleep current ≤5uA; working temperature -40℃ to 80℃, working humidity 10% to 90% relative humidity.
[0079] Through the embodiments of the present invention, wireless transmission is adopted without digging cable trenches for laying communication cables. Data enters the SCADA system through wireless remote transmission, and the abnormality of the valve is determined by analyzing the change curve of the driving current. Anomalies such as valve jamming are warned to avoid production safety accidents. Since the installation of the remote transmission device requires little modification and costs little, it can be installed directly at the production site without digging and laying communication cables. It has practical use significance in unmanned or sparsely staffed production sites.
[0080] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0081] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features applied herein.
Claims
1. A valve abnormality detection method, characterized in that: The method comprises: Obtain the driving current curve of the electric actuator in the process of driving the valve to open and close; Subtracting the current value of the driving current curve at different times from the current value of the preset current curve at the corresponding time to obtain the difference between the driving current curve and the preset current curve at different times; When the difference at any moment is greater than the preset difference, it is determined that the valve is abnormal; Obtaining the switching speed of the valve; The abnormal position of the valve is calculated according to the time corresponding to the time when the difference is greater than the preset difference and the switching speed of the valve.
2. The method according to claim 1, characterized in that The step of determining the preset current curve comprises: Obtain the historical current curve generated by the electric actuator during multiple valve opening and closing processes; An average curve of a plurality of historical current curves is calculated, and the average curve is used as the preset current curve.
3. A valve abnormality detection system, characterized in that: The system comprises: a current transformer and a controller; The current transformer is used to obtain the driving current curve of the electric actuator in the process of driving the valve to open and close; The controller is used to subtract the current value of the driving current curve at different times from the current value at the corresponding time of the preset current curve to obtain the difference between the driving current curve and the preset current curve at different times; when the difference at any time is greater than the preset difference, it is determined that the valve is abnormal; the switching speed of the valve is obtained; and the abnormal position of the valve is calculated according to the time corresponding to the difference being greater than the preset difference and the switching speed of the valve.
4. The system according to claim 3, characterized in that The system also includes a communication sending device and a communication receiving device; The communication sending device is used to receive the driving current curve in the current transformer and send the driving current curve to the communication receiving device; The communication receiving device is used to send the received driving current curve to the controller.
5. The system according to claim 4, characterized in that The system also includes a memory; The memory is connected to the communication sending device and is used to store the driving current curve; The controller is further used to update the preset current curve according to the driving current curve within a preset time period.
6. A computer device, characterized in that: It comprises a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the steps of the valve abnormality detection method according to any one of claims 1 to 2 by executing the computer instructions.
7. 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 valve abnormality detection method according to any one of claims 1 to 2 are implemented.
