Control method and device for gas proportional valve and storage medium
阅读说明:本技术 燃气比例阀的控制方法、装置与存储介质 (Control method and device for gas proportional valve and storage medium ) 是由 卢宇聪 江宇 甘婵芳 谢谊 刘桦 张毅 于 2019-09-02 设计创作,主要内容包括:本发明公开了一种燃气比例阀的控制方法、装置与存储介质,通过获取设置在主阀出口或邻近主阀出口的气体通路上的压力传感器检测到的燃气比例阀的当前压力;根据接收到的工作指令,三通阀切换到工作工位,气流通过三通阀进入述主阀控制腔,以驱动所述主阀的主阀阀芯移动,打开所述主阀,气流进入燃气主流道;当当前压力达到预设的目标压力时,控制三通阀切换到保持工位,使得通过主阀控制腔的气流维持不变;当当前压力高于预设的目标压力时,三通阀切换到排气工位,主阀控制腔的气体流出,降低主流道燃气输出压力;依据主阀出口压力,通过调整三通阀的工位,实现燃气比例阀的输出流量的调节,有效地提高比例阀控制的准确性,调节更加迅速灵敏。(The invention discloses a control method, a control device and a storage medium of a gas proportional valve, which are characterized in that the current pressure of the gas proportional valve detected by a pressure sensor arranged on an outlet of a main valve or a gas passage adjacent to the outlet of the main valve is obtained; according to the received working instruction, the three-way valve is switched to a working station, airflow enters the main valve control cavity through the three-way valve to drive a main valve core of the main valve to move, the main valve is opened, and the airflow enters a main gas channel; when the current pressure reaches a preset target pressure, controlling the three-way valve to be switched to a holding station, so that the airflow passing through the main valve control cavity is kept unchanged; when the current pressure is higher than the preset target pressure, the three-way valve is switched to an exhaust station, the gas in the main valve control cavity flows out, and the gas output pressure of the main runner is reduced; according to the outlet pressure of the main valve, the output flow of the fuel gas proportional valve is adjusted by adjusting the station of the three-way valve, the accuracy of the control of the proportional valve is effectively improved, and the adjustment is more rapid and sensitive.)
1. The control method of the gas proportional valve is characterized in that the gas proportional valve comprises a stop valve, a main valve and a three-way valve, wherein the stop valve and the main valve are arranged on a gas main flow passage of the gas proportional valve; the three-way valve is arranged on a pilot control flow channel of the gas proportional valve, and is provided with a gas inlet, a working port and a gas outlet, the gas inlet is communicated with a gas main flow channel on the gas inlet side of the main valve, the working port is communicated with a main valve control cavity of the main valve, and the gas outlet is communicated with a gas main flow channel on the gas outlet side of the valve;
the control method comprises the following steps:
acquiring the current pressure of the gas proportional valve detected by a pressure sensor; wherein the pressure sensor is disposed on the primary valve outlet or on the gas pathway adjacent the primary valve outlet;
controlling the three-way valve to be switched to a working station according to the received working instruction; when the three-way valve is positioned at a working station, the exhaust port is closed, the air inlet and the working port are opened, air flow enters the main valve control cavity through the three-way valve to drive a main valve core of the main valve to move, and the main valve is opened to enable the air flow to enter the gas main flow passage;
when the current pressure reaches the preset target pressure, controlling the three-way valve to be switched to a holding station; wherein the exhaust port, the inlet port and the working port are closed when the three-way valve is in the hold position such that the flow of gas through the main valve control chamber is maintained;
when the current pressure is higher than the preset target pressure, controlling the three-way valve to be switched to an exhaust station; when the three-way valve is positioned at an exhaust station, the air inlet is closed, the exhaust port and the working port are opened, so that the gas in the main valve control cavity flows out, and the output pressure of the gas main flow channel is reduced.
2. The control method of a gas proportional valve according to claim 1, wherein the controlling the three-way valve to switch to the working position according to the received working command further comprises:
responding to the received working instruction, and judging whether the current pressure in the main valve control cavity is greater than the preset target pressure or not;
when the current pressure is greater than the preset target pressure, calculating a first duration of a first set voltage output to the three-way valve according to the current pressure and the preset target pressure; outputting the first set voltage to the three-way valve within the first time length so as to switch the three-way valve to a working position within the first time length;
when the current pressure is smaller than the preset target pressure, calculating a second duration of a second set voltage output to the three-way valve according to the current pressure and the preset target pressure; and outputting the second set voltage to the three-way valve within the second time period so as to switch the three-way valve to a working position within the second time period.
3. The control method of the gas proportional valve according to claim 2, wherein when the current pressure is greater than the preset target pressure, calculating a first duration of a first set voltage output to the three-way valve according to the current pressure and the preset target pressure, specifically comprises:
calculating the change rate of the pressure corresponding to the working port of the three-way valve along with the time length of the three-way valve at the working station according to the valve flow characteristic of the three-way valve;
calculating the difference value between the current pressure and the preset target pressure;
and calculating a first time length for outputting the first set voltage according to the difference value between the current pressure and the preset target pressure and the change rate.
4. The control method of the gas proportional valve according to claim 2, wherein when the current pressure is greater than the preset target pressure, calculating a first duration of a first set voltage output to the three-way valve according to the current pressure and the preset target pressure, specifically comprises:
calculating the difference value between the current pressure and the preset target pressure;
judging whether the difference value between the current pressure and the preset target pressure is greater than a preset first error threshold value or not;
and when the difference value between the current pressure and the preset target pressure is greater than the first error threshold value, determining that the first duration of the first set voltage output to the three-way valve is a preset output duration.
5. The method for controlling a gas proportional valve according to claim 1, further comprising:
when the three-way valve is positioned at an exhaust station, judging whether the difference value between the current pressure and the preset target pressure is smaller than a preset second error threshold value or not;
and when the difference value between the current pressure and the preset target pressure is smaller than the second error threshold value, opening an exhaust port of the gas proportional valve within a preset output duration.
6. The method for controlling a gas proportional valve according to claim 1, further comprising:
receiving a proportional valve control instruction input by a user;
and responding to the proportional valve control command, opening a stop valve of the gas proportional valve to enable gas flow to enter the gas main flow channel through the stop valve and the three-way valve.
7. A control device for a gas proportional valve, comprising:
the pressure acquisition module is used for acquiring the current pressure of the gas proportional valve detected by the pressure sensor; wherein the pressure sensor is disposed on the primary valve outlet or on the gas pathway adjacent the primary valve outlet;
the first control module is used for controlling the three-way valve to be switched to a working station according to a received working instruction; when the three-way valve is positioned at a working station, the exhaust port is closed, the air inlet and the working port are opened, air flow enters the main valve control cavity through the three-way valve to drive a main valve core of the main valve to move, and the main valve is opened to enable the air flow to enter the gas main flow passage;
the second control module is used for controlling the three-way valve to be switched to a holding station when the current pressure reaches the preset target pressure; wherein the exhaust port, the inlet port and the working port are closed when the three-way valve is in the hold position such that the flow of gas through the main valve control chamber is maintained;
the third control module is used for controlling the three-way valve to be switched to an exhaust station when the current pressure is higher than the preset target pressure; when the three-way valve is positioned at an exhaust station, the air inlet is closed, the exhaust port and the working port are opened, so that the gas in the main valve control cavity flows out, and the output pressure of the gas main flow channel is reduced.
8. The control device of the gas proportional valve according to claim 1, wherein the first control module further comprises:
the first judgment unit is used for responding to the received working instruction and judging whether the current pressure in the main valve control cavity is larger than the preset target pressure or not;
a first time length calculating unit, configured to calculate a first time length of a first setting voltage output to the three-way valve according to the current pressure and a preset target pressure when the current pressure is greater than the preset target pressure; outputting the first set voltage to the three-way valve within the first time length so as to switch the three-way valve to a working position within the first time length;
a second duration calculation unit, configured to calculate, when the current pressure is smaller than the preset target pressure, a second duration of a second setting voltage output to the three-way valve according to the current pressure and the preset target pressure; and outputting the second set voltage to the three-way valve within the second time period so as to switch the three-way valve to a working position within the second time period.
9. The control device of the gas proportional valve according to claim 8, wherein the first time period calculating unit specifically includes:
the change rate calculating subunit is used for calculating the change rate of the pressure corresponding to the working port of the three-way valve along with the time length of the three-way valve at the working station according to the valve flow characteristic of the three-way valve;
a first difference calculation subunit, configured to calculate a difference between the current pressure and the preset target pressure;
and the first time length calculating subunit is used for calculating a first time length for outputting the first set voltage according to the difference value between the current pressure and the preset target pressure and the change rate.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program, wherein the computer-readable storage medium is controlled to execute the control method of the gas proportional valve according to any one of claims 1 to 6 when the computer program is executed.
Technical Field
The invention relates to the technical field of household appliance control, in particular to a control method and device of a gas proportional valve and a storage medium.
Background
The existing three-way valve is divided into a pilot type and a direct-acting type according to the structural form, and the most basic difference between the pilot type and the direct-acting type is that the direct-acting type proportional valve only has one valve body; the pilot type proportional valve has two valve bodies including a main valve body and an auxiliary valve body, wherein the main valve body has a structure substantially the same as that of the direct-acting three-way valve, and the auxiliary valve body is also called a pilot valve and corresponds to a direct-acting valve with a small flow rate.
At present, the flow characteristic of a valve of a pilot-operated proportional valve is determined by the structure of the valve, the valve needs to be set in the control and use processes, the use is inconvenient, and the after-sale maintenance is very difficult.
Disclosure of Invention
The invention aims to provide a control method, a control device and a storage medium for a gas proportional valve, which are independent of the structure of the valve, can effectively improve the control accuracy of a three-way valve and can be adjusted more quickly and sensitively.
In order to solve the technical problem, the invention provides a control method of a gas proportional valve, which is characterized in that the gas proportional valve comprises a stop valve, a main valve and a three-way valve, wherein the stop valve and the main valve are arranged on a gas main flow passage of the gas proportional valve; the three-way valve is arranged on a pilot control flow channel of the gas proportional valve, and is provided with a gas inlet, a working port and a gas outlet, the gas inlet is communicated with a gas main flow channel on the gas inlet side of the main valve, the working port is communicated with a main valve control cavity of the main valve, and the gas outlet is communicated with a gas main flow channel on the gas outlet side of the valve;
the control method comprises the following steps:
acquiring the current pressure of the gas proportional valve detected by a pressure sensor; wherein the pressure sensor is disposed on the primary valve outlet or on the gas pathway adjacent the primary valve outlet;
controlling the three-way valve to be switched to a working station according to the received working instruction; when the three-way valve is positioned at a working station, the exhaust port is closed, the air inlet and the working port are opened, air flow enters the main valve control cavity through the three-way valve to drive a main valve core of the main valve to move, and the main valve is opened to enable the air flow to enter the gas main flow passage;
when the current pressure reaches the preset target pressure, controlling the three-way valve to be switched to a holding station; wherein the exhaust port, the inlet port and the working port are closed when the three-way valve is in the hold position such that the flow of gas through the main valve control chamber is maintained;
when the current pressure is higher than the preset target pressure, controlling the three-way valve to be switched to an exhaust station; when the three-way valve is positioned at an exhaust station, the air inlet is closed, the exhaust port and the working port are opened, so that the gas in the main valve control cavity flows out, and the output pressure of the gas main flow channel is reduced.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
according to the outlet pressure of the main valve, the pressure in the control cavity is adjusted by adjusting the station of the three-way valve, the output flow of the gas proportional valve can be adjusted, the output pressure of the proportional valve is controlled by the valve of the three-way valve, and compared with the prior art which depends on the valve flow characteristic of the structure of the proportional valve, the proportional valve can effectively improve the accuracy of the control of the proportional valve, and the adjustment is more rapid and sensitive.
In one embodiment, the controlling the three-way valve to switch to a working position according to the received working instruction specifically further includes:
responding to the received working instruction, and judging whether the current pressure in the main valve control cavity is greater than the preset target pressure or not;
when the current pressure is greater than the preset target pressure, calculating a first duration of a first set voltage output to the three-way valve according to the current pressure and the preset target pressure; outputting the first set voltage to the three-way valve within the first time length so as to switch the three-way valve to a working position within the first time length;
when the current pressure is smaller than the preset target pressure, calculating a second duration of a second set voltage output to the three-way valve according to the current pressure and the preset target pressure; and outputting the second set voltage to the three-way valve within the second time period so as to switch the three-way valve to a working position within the second time period.
Compared with the background technology, the invention has the following beneficial effects:
the voltage signal is adopted to replace the current control in the traditional three-way valve, and the characteristic curve of current and electromagnetic force is not relied on, so that the accuracy of the three-way valve control can be effectively improved, and the requirement on the hardware of the controller is lower; the current pressure of the three-way valve is acquired and compared with the preset target pressure, the current pressure is greater than the preset target pressure, the first set voltage is determined to be output, the current pressure is less than the preset target pressure, the second set voltage is determined to be output, and the self-adaptive control of the three-way valve can be realized through the feedback regulation of the pressure.
In one embodiment, when the current pressure is greater than the preset target pressure, calculating a first duration of a first setting voltage output to the three-way valve according to the current pressure and the preset target pressure specifically includes:
calculating the change rate of the pressure corresponding to the working port of the three-way valve along with the time length of the three-way valve at the working station according to the valve flow characteristic of the three-way valve;
calculating the difference value between the current pressure and the preset target pressure;
and calculating a first time length for outputting the first set voltage according to the difference value between the current pressure and the preset target pressure and the change rate.
Compared with the background technology, the invention has the following beneficial effects:
and calculating the duration of the output voltage according to the valve flow characteristic of the three-way valve, and finishing the output pressure of a main valve port in the three-way valve until the output pressure meets a preset target pressure range, so that the control accuracy of the three-way valve is further improved.
In one embodiment, when the current pressure is greater than the preset target pressure, calculating a first duration of a first setting voltage output to the three-way valve according to the current pressure and the preset target pressure specifically includes:
calculating the difference value between the current pressure and the preset target pressure;
judging whether the difference value between the current pressure and the preset target pressure is greater than a preset first error threshold value or not;
and when the difference value between the current pressure and the preset target pressure is greater than the first error threshold value, determining that the first duration of the first set voltage output to the three-way valve is a preset output duration.
In one embodiment, the method further comprises:
when the three-way valve is positioned at an exhaust station, judging whether the difference value between the current pressure and the preset target pressure is smaller than a preset second error threshold value or not;
and when the difference value between the current pressure and the preset target pressure is smaller than the second error threshold value, opening an exhaust port of the gas proportional valve within a preset output duration.
In one embodiment, the method further comprises:
receiving a proportional valve control instruction input by a user;
and responding to the proportional valve control command, opening a stop valve of the gas proportional valve to enable gas flow to enter the gas main flow channel through the stop valve and the three-way valve.
In order to solve the above technical problem, the present invention provides a control device for a gas proportional valve, including:
the pressure acquisition module is used for acquiring the current pressure of the gas proportional valve detected by the pressure sensor; wherein the pressure sensor is disposed on the primary valve outlet or on the gas pathway adjacent the primary valve outlet;
the first control module is used for controlling the three-way valve to be switched to a working station according to a received working instruction; when the three-way valve is positioned at a working station, the exhaust port is closed, the air inlet and the working port are opened, air flow enters the main valve control cavity through the three-way valve to drive a main valve core of the main valve to move, and the main valve is opened to enable the air flow to enter the gas main flow passage;
the second control module is used for controlling the three-way valve to be switched to a holding station when the current pressure reaches the preset target pressure; wherein the exhaust port, the inlet port and the working port are closed when the three-way valve is in the hold position such that the flow of gas through the main valve control chamber is maintained;
the third control module is used for controlling the three-way valve to be switched to an exhaust station when the current pressure is higher than the preset target pressure; when the three-way valve is positioned at an exhaust station, the air inlet is closed, the exhaust port and the working port are opened, so that the gas in the main valve control cavity flows out, and the output pressure of the gas main flow channel is reduced.
In one embodiment, the first control module specifically further includes:
the first judgment unit is used for responding to the received working instruction and judging whether the current pressure in the main valve control cavity is larger than the preset target pressure or not;
a first time length calculating unit, configured to calculate a first time length of a first setting voltage output to the three-way valve according to the current pressure and a preset target pressure when the current pressure is greater than the preset target pressure; outputting the first set voltage to the three-way valve within the first time length so as to switch the three-way valve to a working position within the first time length;
a second duration calculation unit, configured to calculate, when the current pressure is smaller than the preset target pressure, a second duration of a second setting voltage output to the three-way valve according to the current pressure and the preset target pressure; and outputting the second set voltage to the three-way valve within the second time period so as to switch the three-way valve to a working position within the second time period.
In one embodiment, the first time length calculating unit specifically includes:
the change rate calculating subunit is used for calculating the change rate of the pressure corresponding to the working port of the three-way valve along with the time length of the three-way valve at the working station according to the valve flow characteristic of the three-way valve;
a first difference calculation subunit, configured to calculate a difference between the current pressure and the preset target pressure;
and the first time length calculating subunit is used for calculating a first time length for outputting the first set voltage according to the difference value between the current pressure and the preset target pressure and the change rate.
In order to solve the technical problem, the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the computer-readable storage medium is controlled to execute the control method of the gas proportional valve according to any one of the above.
Drawings
FIG. 1 is an exploded view of a gas proportional valve provided by the present invention;
FIG. 2 is an assembled view of a gas proportional valve provided by the present invention;
FIG. 3 is a schematic diagram of the operation of a gas proportional valve provided by the present invention;
FIG. 4 is a cross-sectional view of a three-way valve;
FIG. 5 is an external structural view of the gas proportional valve;
fig. 6 is a flowchart of a control method of a gas proportional valve according to a first embodiment of the present invention;
fig. 7 is a schematic view of a control device of a gas proportional valve according to a second embodiment of the present invention;
fig. 8 is a schematic diagram of a controller of a gas proportional valve according to a first embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-5, the present invention provides a gas proportional valve, which comprises a gas valve body 100 having a gas inlet 101 and a gas outlet 102, a total flow passage for flowing the gas is formed between the gas inlet 101 and the gas outlet 102, the main flow passage comprises a gas main flow passage 103 and a pilot control flow passage 104, a stop valve 200 for controlling the opening and closing of the main flow passage, a main valve 300 for controlling the opening and closing of the gas main flow passage 103, and a three-way valve 400 for controlling the opening and closing of the pilot control flow passage 104 are arranged on the gas valve body 100, the three-way valve 400 is provided with an air inlet 401, a working port 402 and an air outlet 403, the gas inlet 401 is connected with the gas main flow passage 103 at the gas inlet side of the main valve 300, the working port 402 is connected with the main valve control cavity 301, and the gas outlet 403 is connected with the gas main flow passage 103 at the gas outlet side of the main valve 300; the three-way valve 400 has three stations respectively corresponding to the open/close states of the pilot control flow passage 104, namely a holding station, a working station and an exhaust station; when the three-way valve 400 is in the holding position, the air inlet 401, the working port 402, and the air outlet 403 are all closed; when the three-way valve 400 is in the working position, the air inlet 401 and the working port 402 are opened, and the air outlet 403 is closed; when the three-way valve 400 is in the exhaust position, the intake port 401 is closed, and the working port 402 and the exhaust port 403 are opened. The
The working mode of the gas proportional valve is as follows:
in the initial state, the
the
when the three-
as the gas flow continues to enter main
when the three-
Therefore, compared with the prior art, the gas proportional valve has the advantages that the output flow of the gas proportional valve can be adjusted by adjusting the station of the three-
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种电磁阀及机械设备