A device and method for automatically collecting the on-off time of a pneumatic valve
By designing an online automatic data acquisition device for the switching time of pneumatic valves, the problem of inaccurate recording of valve switching frequency and duration in existing technologies has been solved, realizing automated and accurate data acquisition and improving the quality of valve operation and the scientific nature of maintenance.
Patent Information
- Application Number
- CN202310679386.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-06-08
AI Technical Summary
Existing technologies cannot accurately record the frequency and duration of pneumatic valve opening and closing, resulting in large errors in manual statistics and failing to provide a fast and effective monitoring method, which affects the quality of valve operation and the accuracy of maintenance cycles.
An online automatic acquisition device for the switching time of a pneumatic valve was designed, including a switching state time accumulation module, a set-priority bistable trigger, a logic AND gate, and a two-to-one function module. It achieves accurate data acquisition by automatically recording the valve's switching time and frequency, and by using a delay timer and a switching change count accumulation module.
It enables precise and automatic acquisition of the frequency and timing of pneumatic valve actuation, reduces labor costs, provides a scientific basis for data analysis, and improves the accuracy of valve operation monitoring and the scientific nature of maintenance.
Smart Images

Figure CN116771978B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial production overall control feedback, specifically to an online automatic acquisition device and method for the frequency of pneumatic valve action and opening / closing time. Background Technology
[0002] In the current stage, automated process control is increasingly widely used in chemical production. Among these processes, shut-off valves, as process control instruments, are numerous, operate frequently, and are used for extended periods in continuous chemical production. To better understand the working status and duration of each shut-off valve, companies need to statistically analyze the frequency and duration of each valve's operation. This allows for monitoring of damaged valves and timely repair or replacement. Currently, users with this need typically rely on manual, periodic statistics of valve opening and closing times. However, due to the high frequency of valve opening and closing, the workload is significant, and time errors are substantial. This leads to frequent inaccuracies in manual verification, failing to provide a rapid and effective means of monitoring valve operating status and accurate, detailed data. Consequently, it hinders the quality of valve operation and the establishment of precise maintenance cycles.
[0003] Although a patent document (CN103063420A Comprehensive Fault Prediction Method for Gasifier Switching Valve) proposes to statistically analyze the valve switching action time through automated control, it only records the opening action time and closing action time of the valve from the closed position to the open position or from the open position to the closed position. It does not record the total switching duration and switching frequency, and cannot effectively monitor and record the status of the switching valve for a long period of time. Summary of the Invention
[0004] The purpose of this invention is to provide a device and method for collecting the switching time of pneumatic valves, which can automatically record multiple precise switching times, saving labor and providing more accurate results.
[0005] To achieve the above objectives, the present invention employs the following technical solution:
[0006] An online automatic acquisition device for the opening and closing time of a pneumatic valve includes: a DIGTIME status time accumulation module, a SR set-priority bistable trigger, an AND gate, and a SEL two-to-one function module; the SET1 terminal of the trigger SR is connected to the open-to-position signal, and the RESET terminal is connected to the open command; one input terminal of the AND gate is connected to the open command, and the other input terminal is connected to the inverted phase of the open-to-position signal; the IN input terminal of the DIGTIME status time accumulation module is connected to the output terminal of the AND gate, and the RST input is controlled by the open-to-position signal; input 1 of the function module SEL is connected to the output terminal of SR, input 2 is connected to the output terminal of DIGTIME, and input 3 is shorted to the output terminal and used as the valve opening time timer;
[0007] The open command is a valve opening command issued by the control system, and the open-to-position signal is a signal triggered when the valve is fully opened;
[0008] The logic of the two-choice function module SEL is as follows: Input 1 is the selection variable, and input 2 and input 3 are the selected variables. When the value of input 1 is 0, input 2 is selected as the output value; when the value of input 1 is 1, input 3 is selected as the output value.
[0009] Preferably, it also includes a delay timer TON, wherein the IN input terminal of the delay timer TON is connected to an on-state signal, the PT input terminal is connected to a delay signal, and the Q output terminal is connected to the RST input terminal of DIGTIME.
[0010] Preferably, the delay duration of the delayed signal is 1 second.
[0011] Preferably, the above-mentioned device further includes a DIGSUM module for accumulating the number of valve position changes. The IN input terminal of the DIGSUM is connected to the open position signal, the RST input terminal is connected to the number of times the valve is opened and reset signal, and the output terminal is used as the valve opening count accumulation.
[0012] This invention also discloses an online automatic acquisition method for the actuation and switching time of a pneumatic valve corresponding to the above-mentioned device, comprising the following steps:
[0013] (11) When the valve is opened, the control system issues an opening command and the opening timer is set to zero;
[0014] (12) The open signal is not triggered, the open instruction is 1, the open signal is inverted and becomes 1, AND gate outputs signal 1, triggers the IN input of DIGTIME, and DIGTIME starts counting.
[0015] (13) When the input pin 1 of the two-to-one function module is 0, the output of SEL selects the OUT value of DIGTIME as the output, that is, the turn-on time, and returns OUT to the input pin 3;
[0016] (14) When the valve is fully opened, the open position signal is triggered, and DIGTIME is reset;
[0017] (15) After the open position signal is triggered, the control system resets the open command. The SR output signal SEL receives the position change signal issued by SR, input 1 becomes 1, and input 3 is selected as the final cumulative time.
[0018] Preferably, after the open signal is triggered, the TOM delay module delays for 1 second before resetting DIGTIME.
[0019] Preferably, during the valve opening process, the valve first receives an opening command, then the valve executes the opening action, and finally the valve opens, triggering an "open to full" signal. Within one valve opening cycle, the "open to full" signal is triggered only once, and the number of valve openings is counted using these "open to full" signals.
[0020] (21) After the valve is opened, DIGSUM collects the valve opening signal from the IN pin;
[0021] (22) DIGSUM adds 1 to the existing cumulative number of times the output pin OUT has been used, which is one valve opening cycle. This cycle is executed continuously to accumulate the number of times the valve has been opened.
[0022] (23) Until the RST pin triggers the cumulative reset signal, the cumulative value is set to 0, and the cumulative count is reset;
[0023] Within one valve opening cycle, steps 11-15 are executed to calculate the valve opening time.
[0024] The advantages of this invention are: it reduces the labor cost of statistically analyzing the switching time of shut-off valves and recording the number of valve actions; the collected data can effectively monitor the valve's working status, facilitate the analysis of valve operation data, and provide a scientific basis for valve inspection and replacement; and it can also use historical data to determine the adaptability of different valve types to the production process, facilitating the improvement of the production process. Attached Figure Description
[0025] Figure 1 This is a connection diagram of the online automatic acquisition device for the pneumatic valve actuation and switching time according to Embodiment 1 of the present invention;
[0026] Figure 2 This is a pin diagram of the set-priority bistable trigger SR according to Embodiment 1 of the present invention;
[0027] Figure 3 This is a pin diagram of the SEL function module of Embodiment 1 of the present invention;
[0028] Figure 4 This is a pin diagram of the DIGTIME module for accumulating the state of a switch quantity in Embodiment 1 of the present invention;
[0029] Figure 5 This is a pin diagram of the delay timer TON in Embodiment 1 of the present invention;
[0030] Figure 6 This is a connection diagram of the online automatic acquisition device for the pneumatic valve actuation frequency in Embodiment 2 of the present invention. Detailed Implementation
[0031] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0032] Example 1
[0033] Please refer to Figure 1 This embodiment discloses an online automatic acquisition device for the switching time of a pneumatic valve, including: a switching state time accumulation module DIGTIME, a set-priority bistable trigger SR, an AND gate, and a two-to-one function module SEL. The SET1 terminal of the trigger SR is connected to the open-to-position signal, and the RESET terminal is connected to the open command, which is the valve opening command issued by the control system. One input terminal of the AND gate is connected to the open command, and the other input terminal is connected to the inverted open-to-position signal, which is the signal triggered when the valve is fully opened. The IN input terminal of the state time accumulation module DIGTIME is connected to the output terminal of the AND gate, and the RST input is controlled by the open-to-position signal. Input 1 of the function module SEL is connected to the output terminal of SR, input 2 is connected to the output terminal of DIGTIME, and input 3 is shorted to the output terminal and used as the valve opening time timer.
[0034] Please refer to Figure 2 SR is a set-priority bistable transducer. Its inputs and outputs are both switching signals (Boolean type), implementing the set-priority SR flip-flop function. Its truth table is as follows:
[0035]
[0036]
[0037] The output of an AND gate is the logical AND operation of the two inputs.
[0038] Please refer to Figure 3 The logic of the two-choice function module SEL is as follows: Input 1 is the selection variable, and inputs 2 and 3 are the selected variables. When the value of input 1 is 0, input 2 is selected as the output value; when the value of input 1 is 1, input 3 is selected as the output value.
[0039] Please refer to the pin diagram of the DIGTIME module for switch status time accumulation. Figure 4 It is used to accumulate the 0 / 1 state time of the switch quantity under test. The IN pin is the signal under test, the RST pin is the reset signal, and the OUT pin is the time accumulation pin.
[0040] In this embodiment, a delay timer TON is used, and the delay duration of the delay signal is 1 second. Please refer to the pin diagram of TON. Figure 5 The delayed output enable instruction starts the timer TON for PT seconds when IN changes from 0 to 1. During the timer, IN is 0, and Q changes to 1 when the timer expires. If IN changes to 0, Q immediately changes to 0.
[0041] This embodiment also proposes a data acquisition method for the online automatic data acquisition device for the pneumatic valve's actuation and switching time. It sets 17GSO1603 as the shut-off valve open signal, 17XSV1603 as the shut-off valve open command for controlling the solenoid valve, and 17GSO1603_TM as the valve opening time, including the following steps:
[0042] When S1 opens the valve, the control system issues an opening command 17XSV1603 and sets the opening timer to zero.
[0043] S2 is in the open position signal 17GSO1603 is not triggered. The open instruction is 1. The open position signal is inverted and becomes 1. The AND gate outputs 1, which triggers the IN input of DIGTIME and starts DIGTIME counting.
[0044] The S3 2-to-1 function module sets the SEL input pin 1 to 0, selects the OUT value of DIGTIME as the output 17GSO1603_TM (i.e., the turn-on time) and returns the OUT value to the input pin 3.
[0045] When the valve is fully opened, the open position signal is triggered, the control system resets the open command, and the SR output signal SEL receives the position change signal sent by SR. Input 1 becomes 1, and input 3 is selected as the final cumulative time.
[0046] After the S5 open signal is triggered, the TON delay module resets DIGTIME after a 1-second delay.
[0047] Example 2
[0048] This embodiment, based on embodiment 1, adds a DIGSUM module to accumulate the number of switch position changes. Please refer to [link / reference]. Figure 6 The IN input of DIGSUM is connected to the open position signal, the RST input is connected to the count reset signal, and the output is used as the valve open count accumulation.
[0049] 17GSO1603 is set as the shut-off valve open-to-position signal, 17GSO1603_FW is the shut-off valve count accumulation reset signal, and 17GSO1603_CUT is the shut-off valve opening count. During the valve opening process, the valve first receives the opening command, then the valve executes the opening action, and finally the valve opens. The open-to-position signal 17GSO1603 is triggered. Within one valve opening cycle, the open-to-position signal is triggered only once. The number of valve openings is counted using the open-to-position signal.
[0050] After valve S1 is opened, DIGSUM acquires the valve opening signal 17GSO1603 from the IN pin;
[0051] S2 DIGSUM adds 1 to the existing cumulative value of the number of times the output pin OUT is opened, which is one valve opening cycle. It is executed cyclically to continuously accumulate the number of valve openings and record them in 17GSO1603_CUT.
[0052] S3 until the RST pin triggers the cumulative number of times to reset the reset signal 17GSO1603_FW, the cumulative value is set to 0, and the cumulative number of times is reset;
[0053] Within each valve opening cycle, a method for collecting the opening and closing time of the pneumatic valve is implemented to calculate the opening time of the valve each time.
[0054] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. An online automatic acquisition device for the actuation and switching time of a pneumatic valve, characterized in that, include: The digital status time accumulation module DIGTIME, the set-priority bistable flip-flop SR, the AND logic gate, and the 2-to-1 multiplexer module SEL; The SET1 terminal of the flip-flop SR is connected to the on-state signal, and the RESET terminal is connected to the on instruction; one input of the AND gate is connected to the on instruction, and the other input is connected to the inverted on-state signal. The IN input of the state time accumulation module DIGTIME is connected to the AND output of the AND gate, and the RST input is controlled by the open position signal; the SEL input 1 of the function module is connected to the SR output, the input 2 is connected to the DIGTIME output, and the input 3 is shorted to the output and used as the valve opening timer. The opening command is a valve opening command issued by the control system, and the opening-to-position signal is a signal triggered when the valve is fully opened; The logic of the two-to-one function module SEL is as follows: input 1 is the selection variable, and input 2 and input 3 are the selected variables; when the value of input 1 is 0, input 2 is selected as the output value, and when the value of input 1 is 1, input 3 is selected as the output value. The online automatic acquisition device for the switching time of the pneumatic valve also includes a DIGSUM module for accumulating the number of valve position changes. The IN input terminal of the DIGSUM is connected to the open position signal, the RST input terminal is connected to the number of times the valve is opened and reset signal, and the output terminal is used as the valve opening count accumulation.
2. The online automatic acquisition device for the actuation and switching time of pneumatic valves according to claim 1, characterized in that, It also includes a delay timer TON, whose IN input is connected to an on-state signal, PT input is connected to a delay signal, and Q output is connected to the RST input of DIGTIME.
3. The online automatic acquisition device for the actuation and switching time of pneumatic valves according to claim 2, characterized in that, The delay duration of the delayed signal is 1 second.
4. A method for online automatic acquisition of the actuation and switching time of a pneumatic valve, characterized in that, Using the apparatus of claim 3, the steps include: (11) When the valve is opened, the control system issues an opening command and the opening timer is reset to zero; (12) The open signal is not triggered, the open instruction is 1, the open signal is inverted to 1, AND gate output signal 1, triggering the IN input of DIGTIME, DIGTIME starts counting; (13) When the input pin 1 of the two-to-one function module is 0, the output of SEL selects the OUT value of DIGTIME as the output, that is, the turn-on time, and returns OUT to the input pin 3; (14) When the valve is fully opened, the open position signal is triggered, and DIGTIME is reset; (15) After the open position signal is triggered, the control system resets the open command. The SR output signal SEL receives the position change signal issued by SR, input 1 becomes 1, and input 3 is selected as the final cumulative time.
5. The method for online automatic acquisition of pneumatic valve actuation and switching time according to claim 4, characterized in that, After the open signal is triggered, the TON delay module delays for 1 second before resetting DIGTIME.
6. The method for online automatic acquisition of pneumatic valve actuation switching time according to claim 4, characterized in that, During the valve opening process, the valve first receives an opening command, then executes the opening action, and finally opens completely, triggering an "open to full" signal. Within one valve opening cycle, the "open to full" signal is triggered only once. The number of valve openings is counted using these "open to full" signals. (21) After the valve is opened, DIGSUM collects the valve opening signal from the IN pin; (22) DIGSUM adds 1 to the existing cumulative number of times the output pin OUT has been opened, which is one valve opening cycle. This cycle is executed continuously to accumulate the number of times the valve has been opened. (23) Until the RST pin triggers the cumulative reset signal, the cumulative value is set to 0, and the cumulative count is reset; Within one valve opening cycle, steps 11-15 are executed to calculate the valve opening time.
Citation Information
Patent Citations
Gasification furnace switch valve comprehensive fault forecasting method
CN103063420A
Ball valve control device for hydroelectric generating set and control method thereof
CN103388552A
Controller synchronization to a sequencing distributing valve
US4987917A