A method for automatically identifying the opening degree of a gas valve

By combining potentiometer and counter values, the opening degree of the gas valve is automatically identified, solving the problems of individual valve differences and system interchangeability. This achieves precise positioning and automated opening degree identification of the gas valve, improving control accuracy.

CN116817011BActive Publication Date: 2026-06-23SHANGHAI XINLI POWER EQUIP RES INST

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI XINLI POWER EQUIP RES INST
Filing Date
2023-06-20
Publication Date
2026-06-23

Smart Images

  • Figure CN116817011B_ABST
    Figure CN116817011B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of gas valve opening degree automation identification method, belong to gas valve control field;After receiving specified control command word and continuously three frames are effective, valve positioning function is carried out.Speed loop is started, after the rotational speed of given positioning, valve is moved to the direction of full opening, after running time reaches 50ms, it is switched to current loop, the configuration value of given current, after the speed of motor is zero, the value of position sensor at this time is recorded as the upper limit value of positioning;Speed loop is started, makes valve run to another direction according to same speed, after running 50ms, it is switched to current loop, the configuration value of given current, after motor is locked, the value of position sensor at this time is recorded as lower limit value;The upper limit and lower limit of three times positioning are averaged, simultaneously, valve opening degree is normalized, and valve positioning is ended;The present application realizes the stroke of automatic acquisition gas valve and obtains the voltage of potentiometer corresponding to upper limit and lower limit of valve, solves the problem of quickly obtaining the stroke of gas valve.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of gas valve control and relates to an automated method for identifying the opening degree of a gas valve. Background Technology

[0002] Chinese patent application CN110220001A discloses a drive device for a gas regulating valve of a solid attitude control engine. It is a regulating valve with two-end limit. The voltage of the valve at the fully open and fully closed positions read by the position sensor may have certain deviations due to errors in valve assembly and processing.

[0003] If a gas valve has uniform upper and lower limits: If the given upper and lower limit voltages are too low, the valve will not be able to fully open or close, affecting the accuracy of the valve's thrust output. If the given upper and lower limit voltages are too high, the valve will be unable to reach the given position due to mechanical stops at both ends.

[0004] Pre-positioning: The valve is manually rotated to the fully open and fully closed positions in advance, and the voltage values ​​corresponding to the upper and lower limits of the valve are recorded and stored in the controller. If the valve is replaced, the positioning needs to be manually performed and the data stored in the controller needs to be changed. The system has poor interchangeability and the use and maintenance remain unchanged.

[0005] Pre-programming of host computer control commands: In order to achieve the opening control of multiple valves, the voltage corresponding to the opening and closing position of each valve is different, so the host computer needs to pre-program the control parameters.

[0006] To achieve automated identification of gas control valve opening degree, unaffected by individual valve manufacturing differences and to solve system interchangeability issues, the gas control valve opening degree discrimination method needs to be optimized to achieve automation and universality. Summary of the Invention

[0007] The technical problem solved by this invention is to overcome the shortcomings of the prior art and propose an automatic gas valve opening identification method, which realizes the automatic acquisition of the gas valve stroke and the potentiometer voltage corresponding to the upper and lower limits of the valve, thus solving the problem of quickly obtaining the gas valve stroke.

[0008] The solution of the present invention is:

[0009] A method for automatically identifying the opening degree of a gas valve includes:

[0010] Step 1: After receiving three consecutive valid specified control command words, the valve drive controller enters the valve positioning process.

[0011] Step 2: Determine whether the motor drives the valve to move fully open or fully closed based on the current potentiometer value.

[0012] Step 3: The valve drive controller drives the valve to move by controlling the motor; the motor speed loop is started, the motor seek speed is given, the motor speed increases from the current speed to the seek speed, and the valve is accelerated to move.

[0013] Step 4: After the preset time is reached, switch the motor speed loop to the motor start-up current loop and apply the preset current.

[0014] Step 5: When the valve is stopped by the limit switch and the motor speed is zero, the counting begins;

[0015] Step 6: Determine whether the count value is the upper or lower limit of the valve opening; if it is determined to be the upper or lower limit of the valve opening, proceed to Step 7; otherwise, return to Step 5.

[0016] Step 7: Start the motor speed loop. The motor drives the valve to move in the opposite direction according to the positioning speed. After the preset time is reached, switch the motor speed loop to the motor start current loop and apply the preset current.

[0017] Step 8: When the valve is stopped by the limit switch and the motor speed is zero, start counting;

[0018] Step 9: Determine whether the count value is the upper or lower limit of the valve opening; if it is determined to be the upper or lower limit of the valve opening, proceed to Step 10; otherwise, return to Step 8.

[0019] Step 10: Repeat steps 7 to 9 to obtain the upper limit values ​​of the three valve openings and the lower limit values ​​of the three valve openings. Calculate the average of the upper limit values ​​and the average of the lower limit values ​​of the valve openings. Based on the current voltage sampling value, normalize the valve opening and calculate the valve opening K at any time.

[0020] In the above-mentioned method for automatically identifying the opening degree of a gas valve, step two involves determining the direction of movement of the motor-driven valve based on the current potentiometer value as follows:

[0021] When the potentiometer value is greater than 4V, the motor drives the valve to move in the fully closed direction; when the potentiometer value is less than or equal to 4V, the motor drives the valve to move in the fully open direction.

[0022] In the above-mentioned method for automatically identifying the opening degree of a gas valve, the preset time in step four is 50ms.

[0023] In the above-mentioned method for automatically identifying the opening degree of a gas valve, in step five, the count value is incremented by 1 every 2.5ms during counting.

[0024] In the above-mentioned method for automatically identifying the opening degree of a gas valve, in step six, when the valve moves to the fully closed direction in step two, it is the lower limit of the valve opening degree; when the valve moves to the fully open direction in step two, it is the upper limit of the valve opening degree.

[0025] In the above-mentioned automatic gas valve opening recognition method, step six, the method for determining the opening based on the count value, is as follows:

[0026] When the cumulative count value is not less than 50, it is determined that the valve has reached the fully open or fully closed limit position. At this time, the value measured by the position sensor is the upper limit or lower limit value. When the cumulative count value is less than 50, it is determined that the valve stopped for a period of time due to other factors and then continued to move, and has not yet reached the fully open or fully closed limit position.

[0027] In the above-mentioned method for automatically identifying the opening degree of a gas valve, the preset time in step seven is 50ms.

[0028] In the above-mentioned method for automatically identifying the opening degree of a gas valve, in step nine, when the valve moves to the fully closed direction in step two, step nine moves the valve to the fully open direction, which is the upper limit of the valve opening degree; when the valve moves to the fully open direction in step two, step nine moves the valve to the fully closed direction, which is the lower limit of the valve opening degree.

[0029] In the above-mentioned automatic gas valve opening recognition method, step nine, the method for determining the opening based on the count value, is as follows:

[0030] When the cumulative count value is not less than 50, it is determined that the valve has reached the fully open or fully closed limit position. At this time, the value measured by the position sensor is the upper limit or lower limit value. When the cumulative count value is less than 50, it is determined that the valve stopped for a period of time due to other factors and then continued to move, and has not yet reached the fully open or fully closed limit position.

[0031] In the above-mentioned method for automatically identifying the opening degree of a gas valve, the method for normalizing the valve opening degree in step ten is as follows:

[0032]

[0033] In the formula, U i This is the current voltage sample value;

[0034] U1 is the voltage value corresponding to the average value of the lower limit of valve opening;

[0035] U2 is the voltage value corresponding to the average value of the upper limit of valve opening.

[0036] The advantages of this invention compared to the prior art are:

[0037] (1) The present invention adopts the judgment that when the potentiometer value is greater than 4V, the motor drives the valve to move in the fully closed direction; when the potentiometer value is less than or equal to 4V, the motor drives the valve to move in the fully open direction. The initial direction of valve movement is determined, and the setting of the 4V voltage value also meets the valve thrust output accuracy.

[0038] (2) When the valve reaches the upper or lower limit of the valve opening, the present invention provides an innovative judgment logic for the count value. A count of 50 is sufficient to eliminate interference factors that cause the valve movement to slow down due to faults or interference.

[0039] (3) The present invention obtains the average of the upper and lower limit strokes through three positioning steps, and at the same time normalizes the valve opening based on the current voltage sampling value, thereby realizing the precise positioning of the valve. Attached Figure Description

[0040] Figure 1 This is a flowchart of the automatic identification process for gas valve opening degree according to the present invention. Detailed Implementation

[0041] The present invention will be further described below with reference to the embodiments.

[0042] This invention provides an automated method for identifying the opening degree of a gas valve, which realizes automated identification of the opening degree of a gas regulating valve, is not affected by individual manufacturing differences of valves, and solves the problem of system interchangeability. It is necessary to optimize the gas regulating valve opening degree discrimination method to achieve automation and universality.

[0043] Automated identification method for gas valve opening, such as Figure 1 As shown, the specific steps include the following:

[0044] Step 1: After receiving three consecutive valid specified control command words, the valve drive controller enters the valve positioning process.

[0045] Step 2: Determine whether the motor-driven valve will move fully open or fully closed based on the current potentiometer value. The method for determining the direction of movement of the motor-driven valve based on the current potentiometer value is as follows:

[0046] When the potentiometer value is greater than 4V, the motor drives the valve to move in the fully closed direction; when the potentiometer value is less than or equal to 4V, the motor drives the valve to move in the fully open direction.

[0047] Step 3: The valve drive controller drives the valve to move by controlling the motor; the motor speed loop is started, the motor is given the positioning speed, the motor speed increases from the current speed to the positioning speed, and the valve is accelerated to move.

[0048] Step 4: After the preset time (50ms) is reached, switch the motor speed loop to the motor start-up current loop and apply the preset current.

[0049] Step 5: When the valve is stopped and the motor speed is zero, start counting; during counting, increment the count value by 1 every 2.5ms.

[0050] Step 6: Determine whether the count value is the upper or lower limit of the valve opening. If it is the upper or lower limit of the valve opening, proceed to Step 7; otherwise, return to Step 5. When the valve moves to the fully closed direction in Step 2, it is the lower limit of the valve opening. When the valve moves to the fully open direction in Step 2, it is the upper limit of the valve opening.

[0051] The method for determining based on the count value is as follows:

[0052] When the cumulative count value is not less than 50, it is determined that the valve has reached the fully open or fully closed limit position. At this time, the value measured by the position sensor is the upper limit or lower limit value. When the cumulative count value is less than 50, it is determined that the valve stopped for a period of time due to other factors and then continued to move, and has not yet reached the fully open or fully closed limit position.

[0053] Step 7: Start the motor speed loop. The motor drives the valve to move in the opposite direction according to the positioning speed. After reaching the preset time (50ms), switch the motor speed loop to the motor start current loop and apply the preset current.

[0054] Step 8: When the valve is stopped by the limit switch and the motor speed is zero, start counting;

[0055] Step 9: Determine whether the count value is the upper or lower limit of the valve opening. If it is the upper or lower limit, proceed to Step 10; otherwise, return to Step 8. If the valve moves to the fully closed direction in Step 2, Step 9 indicates that the valve is moving to the fully open direction, which is the upper limit of the valve opening. If the valve moves to the fully open direction in Step 2, Step 9 indicates that the valve is moving to the fully closed direction, which is the lower limit of the valve opening.

[0056] The method for determining based on the count value is as follows:

[0057] When the cumulative count value is not less than 50, it is determined that the valve has reached the fully open or fully closed limit position. At this time, the value measured by the position sensor is the upper limit or lower limit value. When the cumulative count value is less than 50, it is determined that the valve stopped for a period of time due to other factors and then continued to move, and has not yet reached the fully open or fully closed limit position.

[0058] Step 10: Repeat steps 7 to 9 to obtain the upper limit values ​​of the three valve openings and the lower limit values ​​of the three valve openings. Calculate the average of the upper limit values ​​and the average of the lower limit values ​​of the valve openings. Based on the current voltage sampling value, normalize the valve opening and calculate the valve opening K at any time.

[0059] The method for normalizing valve opening is as follows:

[0060]

[0061] In the formula, U i This is the current voltage sample value;

[0062] U1 is the voltage value corresponding to the average value of the lower limit of valve opening;

[0063] U2 is the voltage value corresponding to the average value of the upper limit of valve opening.

[0064] This invention employs a mechanism that determines whether the valve moves fully open or fully closed when the potentiometer value is greater than 4V, and when the potentiometer value is less than or equal to 4V. This establishes the initial direction of valve movement, and the 4V voltage setting also satisfies the valve thrust output accuracy. Furthermore, when the valve reaches its upper or lower opening limit, an innovative logic is provided for interpreting the count value. A count of 50 is sufficient to eliminate interference factors such as valve movement delays caused by malfunctions or disturbances. This invention achieves precise valve positioning by averaging the upper and lower limit strokes after three positioning steps and normalizing the valve opening based on the current voltage sampling value.

[0065] Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make possible changes and modifications to the technical solutions of the present invention by utilizing the methods and techniques disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solutions of the present invention shall fall within the protection scope of the technical solutions of the present invention.

Claims

1. A method for automatically identifying the opening degree of a gas valve, characterized in that: include: Step 1: After receiving three consecutive valid specified control command words, the valve drive controller enters the valve positioning process. Step 2: Determine whether the motor drives the valve to move fully open or fully closed based on the current potentiometer value. Step 3: The valve drive controller drives the valve to move by controlling the motor; the motor speed loop is started, the motor seek speed is given, the motor speed increases from the current speed to the seek speed, and the valve is accelerated to move. Step 4: After the preset time is reached, switch the motor speed loop to the motor start-up current loop and apply the preset current. Step 5: When the valve is stopped by the limit switch and the motor speed is zero, the counting begins; Step 6: Determine whether the count value is the upper or lower limit of the valve opening; if it is determined to be the upper or lower limit of the valve opening, proceed to Step 7; otherwise, return to Step 5. When the valve moves to the fully closed direction in step two, it represents the lower limit of the valve opening; when the valve moves to the fully open direction in step two, it represents the upper limit of the valve opening. The method for determining based on the count value is as follows: When the cumulative count value is not less than 50, it is determined that the valve has reached the fully open or fully closed limit position. At this time, the value measured by the position sensor is the upper limit or lower limit value. When the cumulative count value is less than 50, it is determined that the valve stopped for a period of time due to other factors and then continued to move, and has not yet reached the fully open or fully closed limit position. Step 7: Start the motor speed loop. The motor drives the valve to move in the opposite direction according to the positioning speed. After the preset time is reached, switch the motor speed loop to the motor start current loop. And a preset current is given; Step 8: When the valve is stopped by the limit switch and the motor speed is zero, start counting; Step 9: Determine whether the count value is the upper or lower limit of the valve opening; if it is determined to be the upper or lower limit of the valve opening, proceed to Step 10; otherwise, return to Step 8. Step 10: Repeat steps 7 to 9 to obtain the upper and lower limits of the three valve openings. Calculate the average of the upper and lower limits of the valve openings. Based on the current voltage sampling value, normalize the valve opening and calculate the valve opening at any given time. .

2. The method for automatically identifying the opening degree of a gas valve according to claim 1, characterized in that: In step two, the method for determining the direction of movement of the motor-driven valve based on the current potentiometer value is as follows: When the potentiometer value is greater than 4V, the motor drives the valve to move in the fully closed direction; when the potentiometer value is less than or equal to 4V, the motor drives the valve to move in the fully open direction.

3. The method for automatically identifying the opening degree of a gas valve according to claim 1, characterized in that: In step four, the preset time is 50ms.

4. The method for automatically identifying the opening degree of a gas valve according to claim 1, characterized in that: In step five, the count value is incremented by 1 every 2.5ms.

5. The method for automatically identifying the opening degree of a gas valve according to claim 1, characterized in that: In step seven, the preset time is 50ms.

6. The method for automatically identifying the opening degree of a gas valve according to claim 1, characterized in that: In step nine, when the valve moves to the fully closed direction in step two, the valve moves to the fully open direction in step nine, which is the upper limit of the valve opening; when the valve moves to the fully open direction in step two, the valve moves to the fully closed direction in step nine, which is the lower limit of the valve opening.

7. The method for automatically identifying the opening degree of a gas valve according to claim 6, characterized in that: In step nine, the method for determining based on the count value is as follows: When the cumulative count value is not less than 50, it is determined that the valve has reached the fully open or fully closed limit position. At this time, the value measured by the position sensor is the upper limit or lower limit value. When the cumulative count value is less than 50, it is determined that the valve stopped for a period of time due to other factors and then continued to move, and has not yet reached the fully open or fully closed limit position.

8. The method for automatically identifying the opening degree of a gas valve according to claim 1, characterized in that: In step ten, the method for normalizing the valve opening is as follows: In the formula, This is the current voltage sample value; This is the voltage value corresponding to the average of the lower limit values ​​of the valve opening. This is the voltage value corresponding to the average of the upper limit values ​​of the valve opening.