Control method and device of gas equipment, gas equipment and readable storage medium
By determining the target power according to the target outlet water temperature and dynamically adjusting the operating current of the proportional valve, the overshoot problem of outlet water temperature caused by the different calorific values of gas sources in different regions of gas equipment is solved, and constant temperature control and adaptability are achieved.
Patent Information
- Application Number
- CN202110051765.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-15
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-01-15
AI Technical Summary
The calorific value of the gas source of gas equipment in different regions is different, resulting in overshoot of the outlet water temperature, making it difficult to achieve constant temperature control.
By determining the target power according to the target outlet water temperature, and dynamically adjusting the operating current of the proportional valve based on the target power, it can adapt to the air and water sources in different regions, achieve matching of the actual air source and water source, and reduce overshoot of the outlet water temperature.
It effectively realizes the constant temperature control of gas equipment and improves the adaptability and use experience of the equipment.
Smart Images

Figure CN114763910B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas equipment, and in particular to a control method and device for gas equipment, gas equipment and a readable storage medium. Background Art
[0002] In the related art, the working current of the proportional valve of the gas equipment is generally a preset value. However, due to the different calorific values of gas sources in different regions, the fixed working current is difficult to adapt to different gas sources, causing the water outlet temperature of the gas equipment to overshoot, which is not conducive to achieving constant temperature control. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0004] To this end, a first aspect of the present invention provides a control method for a gas device.
[0005] A second aspect of the present invention provides a control device for a gas appliance.
[0006] A third aspect of the present invention provides a gas device.
[0007] A fourth aspect of the present invention provides a readable storage medium.
[0008] In view of this, a first aspect of the present invention provides a control method for a gas device, the gas device comprising a proportional valve, the control method comprising:
[0009] The target power of the gas equipment is determined according to the target outlet water temperature of the gas equipment; the working current of the proportional valve is determined according to the target power, and the operation of the proportional valve is controlled by the working current.
[0010] In this technical solution, the target water outlet temperature of the gas equipment is first determined. The temperature is determined specifically according to the water outlet temperature set by the user. For example, if the user expects the water outlet temperature to be 55°C, the system will adjust the water outlet temperature accordingly according to the user setting. Generally speaking, the target water outlet temperature is set to a range value based on the temperature control capability of the gas equipment. For example, when the user expects the water outlet temperature to be 55°C, the target water outlet temperature may be in the range of 53°C to 57°C. The gas equipment obtains the actual water outlet temperature through the sensor. If the actual water outlet temperature falls within the above range, it is considered to be consistent with the set target water outlet temperature.
[0011] After determining the target outlet water temperature, the target power of the gas equipment is determined according to the target outlet water temperature. The target power is positively correlated with the target outlet water temperature, and is also affected by the inlet water temperature (tap water temperature), flow rate and gas calorific value. Generally speaking, the higher the target outlet water temperature, the higher the target power. On this basis, the lower the gas calorific value, the higher the target power.
[0012] After the target power is determined, the operating current for controlling the operation of the proportional valve is determined according to the target power, and the operation of the proportional valve is controlled according to the operating current.
[0013] The technical solution provided by the present invention can adapt to different gas sources and water sources in different regions by determining the corresponding target power according to the target water outlet temperature and dynamically adjusting the working current of the proportional valve based on the target control power. No matter the calorific value of the input gas source or the water inlet temperature, the gas equipment can always match the actual gas source and water source by adjusting the working current of the proportional valve, effectively reducing the overshoot of the water outlet temperature of the gas equipment, which is conducive to realizing constant temperature control of the gas equipment.
[0014] In addition, the control method of the gas equipment in the above technical solution provided by the present invention may also have the following additional technical features:
[0015] In the above technical solution, determining the working current of the proportional valve according to the target power includes: determining the working current corresponding to the target power through a preset data model.
[0016] In this technical solution, the target power and the corresponding operating current are determined by a preset data model. Specifically, the format of the data model is as follows:
[0017] P(x) = f(x);
[0018] Among them, P(x) is the curve equation of the heating power of the gas equipment, f(x) is the curve equation of the proportional valve working current corresponding to the heating power. From the above data model, it can be seen that the heating power of the gas equipment corresponds to the working current of the proportional valve one by one, that is, each working current parameter corresponds to a heating power.
[0019] It can be understood that the heating power and operating current of the gas equipment can be adjusted linearly or in steps, and the embodiments of the present application do not limit this.
[0020] The above data model can be a model set up based on empirical data, or a model established through a big data algorithm, and this application does not limit this.
[0021] The embodiment of the present invention sets a data model and determines the working current of the proportional valve corresponding to the target power through the data model. On the one hand, the response speed is fast, which is conducive to achieving rapid temperature reaching. On the other hand, the data model can be dynamically adjusted as the gas equipment is used, which is conducive to reducing the overshoot of the water outlet temperature of the gas equipment and realizing constant temperature control of the gas equipment.
[0022] In any of the above technical solutions, the control method of the gas equipment also includes: obtaining the water outlet temperature of the gas equipment; when the water outlet temperature matches the target water outlet temperature, obtaining the current power of the gas equipment and obtaining the current working current of the proportional valve; updating the data model through the current power and the current working current.
[0023] In this technical solution, the gas equipment obtains the current outlet water temperature in real time. Specifically, a temperature sensor can be set on the outlet water pipeline of the gas equipment to collect the outlet water temperature of the gas equipment through the temperature sensor. In some embodiments, the outlet water temperature can also be collected by infrared sensors, non-contact temperature collection equipment, etc., and this application does not limit this. In other embodiments, the outlet water temperature that is closer to the actual user's perception can also be collected by sensors set on terminal water outlet devices such as faucets and showers, thereby avoiding the water outlet temperature perceived by the user being lower than the set target water outlet temperature due to pipeline loss, which is conducive to improving the user experience.
[0024] After obtaining the outlet water temperature, if the outlet water temperature matches the target outlet water temperature set by the user, it means that the current working state of the gas equipment meets expectations, specifically, the current power of the gas equipment and the current working current of the proportional valve of the gas equipment are relatively appropriate. At this time, the current power and the current working current are recorded, and the data model is updated by the recorded current working current and the recorded current power, so that the calculation results of the updated data model can be more in line with the current working environment of the gas equipment, that is, more in line with the calorific value of the local gas source and the water temperature of the local tap water, further improving the working effect of the gas equipment, and facilitating rapid temperature reaching and reducing the overshoot of the outlet water temperature of the gas equipment, thereby realizing constant temperature control of the gas equipment.
[0025] In any of the above technical solutions, the target power of the gas equipment is determined according to the target water outlet temperature of the gas equipment, including: obtaining the water inlet temperature and water inlet flow of the gas equipment; and calculating the target power according to the water inlet temperature, water inlet flow and target water outlet temperature.
[0026] In this technical solution, when calculating the target power of the gas equipment based on the target water outlet temperature of the gas equipment, the target power of the gas equipment can be calculated by obtaining the actual water inlet temperature and water inlet flow of the gas equipment, and based on the obtained water inlet temperature and water inlet flow, as well as the target water outlet temperature set by the user.
[0027] Specifically, the target power is the heating power required by the gas equipment to heat the incoming water (that is, the water entering the gas equipment from the external pipeline, such as tap water) to the target outlet water temperature. The target power can reflect the heat generated per unit time. In other words, the target power is actually related to the three variables of the inlet water temperature, the inlet water flow rate and the target outlet water temperature.
[0028] Therefore, by obtaining the inlet water temperature and flow rate, as well as the target outlet water temperature set by the user, the required target power can be accurately calculated, thereby achieving rapid temperature attainment and reducing the overshoot of the outlet water temperature of the gas equipment, which is conducive to achieving constant temperature control of the gas equipment.
[0029] In any of the above technical solutions, the target power is calculated based on the inlet water temperature, the inlet water flow rate and the target outlet water temperature, including: calculating a first difference between the target outlet water temperature and the inlet water temperature, and calculating a ratio of the inlet water flow rate to a first preset constant; calculating the product of the first difference and the ratio, and determining the target power based on the product.
[0030] In this technical solution, since the target power is the heating power required to heat the inlet water to the target outlet water temperature, it is related to three variables: the inlet water temperature, the inlet water flow rate, and the target outlet water temperature. Therefore, the required target power can be accurately calculated based on the acquired inlet water temperature and inlet water flow rate, as well as the target outlet water temperature set by the user.
[0031] Specifically, therefore, the formula is established as follows:
[0032] P=(T out -T int )×L / 25;
[0033] Among them, P is the target power, T out is the target outlet water temperature, T int is the obtained water inlet temperature, L is the obtained water inlet flow rate, and the above-mentioned first preset constant is 25.
[0034] By using the above formula, the target power corresponding to the target water outlet temperature is calculated, which can achieve rapid temperature reaching and reduce the overshoot of the water outlet temperature of the gas equipment, which is conducive to achieving constant temperature control of the gas equipment.
[0035] In any of the above technical solutions, the control method of the gas equipment also includes: when the outlet water temperature does not match the target outlet water temperature, adjusting the working current through a preset constant temperature algorithm until the outlet water temperature matches the target outlet water temperature.
[0036] In this technical solution, if the actual water outlet temperature of the gas equipment is detected to be inconsistent with the target water outlet temperature set by the user, it means that the current working parameters of the gas equipment are inappropriate and cannot meet the user's requirements for the target water outlet temperature, or constant temperature water outlet is not achieved. At this time, the working current of the proportional valve can be adjusted through a preset constant temperature algorithm.
[0037] The constant temperature algorithm is a preset constant temperature algorithm, which is related to the actual outlet water temperature, the target outlet water temperature and the working current of the proportional valve. The following example takes the working current of the proportional valve as an example, which is positively correlated with the outlet water temperature of the gas equipment:
[0038] Generally speaking, the target water outlet temperature can be set as a range value. For example, when the user expects the water outlet temperature to be 55°C, the target water outlet temperature may be in the range of 53°C to 57°C. The gas equipment obtains the actual water outlet temperature through the sensor. If the actual water outlet temperature falls within the above range, it is considered to be consistent with the set target water outlet temperature. Otherwise, it is considered that the actual water outlet temperature does not meet the set target water outlet temperature.
[0039] Therefore, when the actual outlet water temperature is lower than the target outlet water temperature range, the actual outlet water temperature of the gas equipment can be increased by increasing the working current of the proportional valve, so that the actual outlet water temperature of the gas equipment reaches the target outlet water temperature range.
[0040] Similarly, when the actual outlet water temperature is higher than the target outlet water temperature range, the actual outlet water temperature of the gas equipment can be reduced by reducing the working current of the proportional valve, so that the actual outlet water temperature of the gas equipment reaches the target outlet water temperature range.
[0041] After adjustment, if the actual water outlet temperature meets the set target water outlet temperature, the adjusted proportional valve working current and the adjusted heating power of the gas equipment will be used to update the data model, so that the calculation results of the updated data model can be more in line with the current working environment of the gas equipment, that is, more in line with the calorific value of the local gas source and the water temperature of the local tap water, thereby further improving the working effect of the gas equipment.
[0042] This application uses a constant temperature algorithm to adjust the working current of the proportional valve when the actual water outlet temperature does not meet the set target water outlet temperature, which is conducive to achieving rapid temperature reaching and reducing the overshoot of the water outlet temperature of the gas equipment, thereby realizing constant temperature control of the gas equipment.
[0043] In the above technical solution, the control method of the gas equipment also includes: calculating a second difference between the target water outlet temperature and a second preset constant; determining a target water temperature range with the second difference as the lower limit and the sum of the target water outlet temperature and a third preset constant as the upper limit; and when the water outlet temperature is within the target water temperature range, determining that the water outlet temperature matches the target water outlet temperature.
[0044] In this technical solution, a temperature interval, i.e., a target water temperature range, can be determined by calculating the second difference between the target water outlet temperature and the second preset constant, and calculating the sum of the target water outlet temperature and the third preset constant. If the actual water outlet temperature of the gas equipment is within the above-mentioned target water temperature range, the water outlet temperature is considered to be appropriate and the water outlet temperature matches the target water outlet temperature. Otherwise, the water outlet temperature is considered to not match the target water outlet temperature.
[0045] The second preset constant and the third preset constant can be set according to the constant temperature capability of the gas equipment itself or according to experience. In some embodiments, the second preset constant and the third preset constant can also be dynamically adjusted according to the big data algorithm. For example, the second preset constant can be 2, 2.5, 3. The third preset constant can be 2, 3, 4, etc. This application does not limit this.
[0046] When the actual outlet water temperature is lower than the target water temperature range, the actual outlet water temperature of the gas equipment can be increased by increasing the working current of the proportional valve, so that the actual outlet water temperature of the gas equipment reaches the target water temperature range.
[0047] Similarly, when the actual outlet water temperature is higher than the target water temperature range, the actual outlet water temperature of the gas equipment can be reduced by reducing the working current of the proportional valve, so that the actual outlet water temperature of the gas equipment reaches the target water temperature range.
[0048] After adjustment, if the actual water outlet temperature meets the set target water outlet temperature, the adjusted proportional valve working current and the adjusted heating power of the gas equipment will be used to update the data model, so that the calculation results of the updated data model can be more in line with the current working environment of the gas equipment, that is, more in line with the calorific value of the local gas source and the water temperature of the local tap water, thereby further improving the working effect of the gas equipment.
[0049] In any of the above technical solutions, before determining the working current corresponding to the target power through the data model, the control method also includes: acquiring a historical heating power data set and a historical working current data set; and establishing a data model based on the historical heating power data set and the historical working current data set.
[0050] In this technical solution, the above data model is established through historical heating power data sets and historical working current data sets.
[0051] Specifically, the specific format of the data model is: P(x) = f(x). The historical heating power data set and the historical working current data set can be big data collected based on actual environmental parameters such as region, gas calorific value, tap water temperature, etc., which can be collected, uploaded and accumulated through gas equipment. When establishing the data set, a data table with a one-to-one correspondence between heating power and working current is established based on the proportional valve data current corresponding to each heating power. Based on the data table, the above data model can be established. The proportional valve working current corresponding to the target power is determined by the data model. On the one hand, the response speed is fast, which is conducive to achieving rapid temperature reaching. On the other hand, the data model can dynamically adjust the data model as the gas equipment is used, which is conducive to reducing the overshoot of the water outlet temperature of the gas equipment and realizing constant temperature control of the gas equipment.
[0052] The second aspect of the present invention provides a control device for a gas device, comprising: a memory on which a program or instruction is stored; a processor, which implements the control method for the gas device provided in the first aspect when executing the program or instruction. Therefore, the control device for the gas device also includes all the beneficial effects of the control method for the gas device provided in the first aspect. To avoid repetition, they will not be repeated here.
[0053] The third aspect of the present invention provides a gas device, comprising the control device of the gas device of the second aspect, and a proportional valve, wherein the proportional valve is connected to the control device of the gas device. Therefore, the gas device includes all the beneficial effects of the control device of the gas device provided in the second aspect, which will not be described here to avoid repetition.
[0054] The fourth aspect of the present invention provides a readable storage medium having programs or instructions stored thereon. When the programs or instructions are executed by a processor, the control method of the gas equipment provided in the first aspect described above is implemented. Therefore, the readable storage medium also includes all the beneficial effects of the control method of the gas equipment provided in the first aspect described above. To avoid repetition, they will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0056] Figure 1 A flowchart of a method for controlling a gas device according to an embodiment of the present invention is shown;
[0057] Figure 2 A second flowchart of a method for controlling a gas device according to an embodiment of the present invention is shown;
[0058] Figure 3 A third flowchart of a method for controlling a gas device according to an embodiment of the present invention is shown;
[0059] Figure 4 A fourth flowchart of a method for controlling a gas device according to an embodiment of the present invention is shown;
[0060] Figure 5 A fifth flowchart of a method for controlling a gas device according to an embodiment of the present invention is shown;
[0061] Figure 6 A structural block diagram of a control device for a gas appliance according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0062] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0063] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0064] Refer to the following Figures 1 to 6 A control method and apparatus for a gas appliance, a gas appliance, and a readable storage medium according to some embodiments of the present invention are described.
[0065] Embodiment 1
[0066] In some embodiments of the present invention, Figure 1 One of the flow charts of a control method of a gas device according to an embodiment of the present invention is shown. Specifically, the gas device includes a proportional valve, and the control method includes:
[0067] Step 102, determining the target power of the gas equipment according to the target outlet water temperature of the gas equipment;
[0068] Step 104: determine the operating current of the proportional valve according to the target power, and control the operation of the proportional valve by the operating current.
[0069] In an embodiment of the present invention, the target water outlet temperature of the gas equipment is first determined. The temperature is determined specifically according to the water outlet temperature set by the user. For example, if the user expects the water outlet temperature to be 55°C, the system adjusts the water outlet temperature accordingly according to the user setting. Generally speaking, the target water outlet temperature is set to a range value according to the temperature control capability of the gas equipment. For example, when the user expects the water outlet temperature to be 55°C, the target water outlet temperature may be in the range of 53°C to 57°C. The gas equipment obtains the actual water outlet temperature through the sensor. If the actual water outlet temperature falls within the above range, it is considered to be consistent with the set target water outlet temperature.
[0070] After determining the target outlet water temperature, the target power of the gas equipment is determined according to the target outlet water temperature. The target power is positively correlated with the target outlet water temperature, and is also affected by the inlet water temperature (tap water temperature), flow rate and gas calorific value. Generally speaking, the higher the target outlet water temperature, the higher the target power. On this basis, the lower the gas calorific value, the higher the target power.
[0071] After the target power is determined, the operating current for controlling the operation of the proportional valve is determined according to the target power, and the operation of the proportional valve is controlled according to the operating current.
[0072] The embodiment provided by the present invention determines the corresponding target power according to the target water outlet temperature and dynamically adjusts the working current of the proportional valve based on the target control power, so as to adapt to different gas sources and water sources in different regions, so that no matter the calorific value of the input gas source or the water inlet temperature, the gas equipment can always match the actual gas source and water source by adjusting the working current of the proportional valve, effectively reducing the overshoot of the water outlet temperature of the gas equipment, which is conducive to realizing constant temperature control of the gas equipment.
[0073] Embodiment 2
[0074] In some embodiments of the present invention, determining the operating current of the proportional valve according to the target power includes: determining the operating current corresponding to the target power through a preset data model.
[0075] In the embodiment of the present invention, the target power and the corresponding operating current are determined by a preset data model. Specifically, the format of the data model is as follows:
[0076] P(x) = f(x);
[0077] Among them, P(x) is the curve equation of the heating power of the gas equipment, f(x) is the curve equation of the proportional valve working current corresponding to the heating power. From the above data model, it can be seen that the heating power of the gas equipment corresponds to the working current of the proportional valve one by one, that is, each working current parameter corresponds to a heating power.
[0078] It can be understood that the heating power and operating current of the gas equipment can be adjusted linearly or in steps, and the embodiments of the present application do not limit this.
[0079] The above data model can be a model set up based on empirical data, or a model established through a big data algorithm, and this application does not limit this.
[0080] The embodiment of the present invention sets a data model and determines the working current of the proportional valve corresponding to the target power through the data model. On the one hand, the response speed is fast, which is conducive to achieving rapid temperature reaching. On the other hand, the data model can be dynamically adjusted as the gas equipment is used, which is conducive to reducing the overshoot of the water outlet temperature of the gas equipment and realizing constant temperature control of the gas equipment.
[0081] Embodiment 3
[0082] In some embodiments of the present invention, Figure 2 The second flowchart of the control method of the gas device according to the embodiment of the present invention is shown. Specifically, the control method of the gas device further includes:
[0083] Step 202, obtaining the outlet water temperature of the gas equipment;
[0084] Step 204, when the outlet water temperature matches the target outlet water temperature, the current power of the gas equipment is obtained, and the current working current of the proportional valve is obtained;
[0085] Step 206: Update the data model using the current power and the current operating current.
[0086] In an embodiment of the present invention, the gas device obtains the current outlet water temperature in real time. Specifically, a temperature sensor may be set on the outlet water pipeline of the gas device to collect the outlet water temperature of the gas device through the temperature sensor. In some embodiments, the outlet water temperature may also be collected through infrared sensors, non-contact temperature collection devices, etc., and this application does not limit this. In other embodiments, the outlet water temperature that is closer to the actual user's perception may also be collected through sensors set on terminal water outlet devices such as faucets and showers, thereby avoiding the water outlet temperature perceived by the user being lower than the set target water outlet temperature due to pipeline loss, which is conducive to improving the user experience.
[0087] After obtaining the outlet water temperature, if the outlet water temperature matches the target outlet water temperature set by the user, it means that the current working state of the gas equipment meets expectations, specifically, the current power of the gas equipment and the current working current of the proportional valve of the gas equipment are relatively appropriate. At this time, the current power and the current working current are recorded, and the data model is updated by the recorded current working current and the recorded current power, so that the calculation results of the updated data model can be more in line with the current working environment of the gas equipment, that is, more in line with the calorific value of the local gas source and the water temperature of the local tap water, further improving the working effect of the gas equipment, and facilitating rapid temperature reaching and reducing the overshoot of the outlet water temperature of the gas equipment, thereby realizing constant temperature control of the gas equipment.
[0088] Embodiment 4
[0089] In some embodiments of the present invention, Figure 3 The third flowchart of the control method of the gas device according to the embodiment of the present invention is shown. Specifically, according to the target outlet water temperature of the gas device, the target power of the gas device is determined, including:
[0090] Step 302, obtaining the water inlet temperature and water inlet flow rate of the gas equipment;
[0091] Step 304, calculating the target power according to the inlet water temperature, the inlet water flow rate and the target outlet water temperature.
[0092] In an embodiment of the present invention, when calculating the target power of the gas equipment based on the target water outlet temperature of the gas equipment, the target power of the gas equipment can be calculated by obtaining the actual water inlet temperature and water inlet flow of the gas equipment, and based on the obtained water inlet temperature and water inlet flow, as well as the target water outlet temperature set by the user.
[0093] Specifically, the target power is the heating power required by the gas equipment to heat the incoming water (that is, the water entering the gas equipment from the external pipeline, such as tap water) to the target outlet water temperature. The target power can reflect the heat generated per unit time. In other words, the target power is actually related to the three variables of the inlet water temperature, the inlet water flow rate and the target outlet water temperature.
[0094] Therefore, by obtaining the inlet water temperature and flow rate, as well as the target outlet water temperature set by the user, the required target power can be accurately calculated, thereby achieving rapid temperature attainment and reducing the overshoot of the outlet water temperature of the gas equipment, which is conducive to achieving constant temperature control of the gas equipment.
[0095] Embodiment 5
[0096] In some embodiments of the present invention, the target power is calculated based on the inlet water temperature, the inlet water flow rate and the target outlet water temperature, including: calculating a first difference between the target outlet water temperature and the inlet water temperature, and calculating the ratio of the inlet water flow rate to a first preset constant; calculating the product of the first difference and the ratio, and determining the target power based on the product.
[0097] In the embodiment of the present invention, since the target power is the heating power required to heat the inlet water to the target outlet water temperature, it is related to three variables: the inlet water temperature, the inlet water flow rate, and the target outlet water temperature. Therefore, according to the acquired inlet water temperature and inlet water flow rate, and the target outlet water temperature set by the user, the required target power can be accurately calculated.
[0098] Specifically, therefore, the formula is established as follows:
[0099] P=(T out -T int )×L / 25;
[0100] Among them, P is the target power, T out is the target outlet water temperature, T int is the obtained water inlet temperature, L is the obtained water inlet flow rate, and the above-mentioned first preset constant is 25.
[0101] By using the above formula, the target power corresponding to the target water outlet temperature is calculated, which can achieve rapid temperature reaching and reduce the overshoot of the water outlet temperature of the gas equipment, which is conducive to achieving constant temperature control of the gas equipment.
[0102] Embodiment 6
[0103] In some embodiments of the present invention, Figure 4 A fourth flowchart of a method for controlling a gas device according to an embodiment of the present invention is shown. Specifically, the method for controlling a gas device further includes:
[0104] Step 402, obtaining the outlet water temperature;
[0105] Step 404, when the outlet water temperature does not match the target outlet water temperature, the operating current is adjusted by a preset constant temperature algorithm until the outlet water temperature matches the target outlet water temperature.
[0106] In an embodiment of the present invention, if the actual water outlet temperature of the gas equipment is detected to be inconsistent with the target water outlet temperature set by the user, it means that the current working parameters of the gas equipment are inappropriate and cannot meet the user's demand for the target water outlet temperature, or constant temperature water outlet is not achieved. At this time, the working current of the proportional valve can be adjusted by a preset constant temperature algorithm.
[0107] The constant temperature algorithm is a preset constant temperature algorithm, which is related to the actual outlet water temperature, the target outlet water temperature and the working current of the proportional valve. The following example takes the working current of the proportional valve as an example, which is positively correlated with the outlet water temperature of the gas equipment:
[0108] Generally speaking, the target water outlet temperature can be set as a range value. For example, when the user expects the water outlet temperature to be 55°C, the target water outlet temperature may be in the range of 53°C to 57°C. The gas equipment obtains the actual water outlet temperature through the sensor. If the actual water outlet temperature falls within the above range, it is considered to be consistent with the set target water outlet temperature. Otherwise, it is considered that the actual water outlet temperature does not meet the set target water outlet temperature.
[0109] Therefore, when the actual outlet water temperature is lower than the target outlet water temperature range, the actual outlet water temperature of the gas equipment can be increased by increasing the working current of the proportional valve, so that the actual outlet water temperature of the gas equipment reaches the target outlet water temperature range.
[0110] Similarly, when the actual outlet water temperature is higher than the target outlet water temperature range, the actual outlet water temperature of the gas equipment can be reduced by reducing the working current of the proportional valve, so that the actual outlet water temperature of the gas equipment reaches the target outlet water temperature range.
[0111] After adjustment, if the actual water outlet temperature meets the set target water outlet temperature, the adjusted proportional valve working current and the adjusted heating power of the gas equipment will be used to update the data model, so that the calculation results of the updated data model can be more in line with the current working environment of the gas equipment, that is, more in line with the calorific value of the local gas source and the water temperature of the local tap water, thereby further improving the working effect of the gas equipment.
[0112] This application uses a constant temperature algorithm to adjust the working current of the proportional valve when the actual water outlet temperature does not meet the set target water outlet temperature, which is conducive to achieving rapid temperature reaching and reducing the overshoot of the water outlet temperature of the gas equipment, thereby realizing constant temperature control of the gas equipment.
[0113] Embodiment 7
[0114] In some embodiments of the present invention, the control method of the gas equipment also includes: calculating a second difference between the target water outlet temperature and a second preset constant; determining a target water temperature range with the second difference as the lower limit and the sum of the target water outlet temperature and a third preset constant as the upper limit; and when the water outlet temperature is within the target water temperature range, determining that the water outlet temperature matches the target water outlet temperature.
[0115] In an embodiment of the present invention, a temperature interval, i.e., a target water temperature range, can be determined by calculating a second difference between the target water outlet temperature and a second preset constant, and calculating the sum of the target water outlet temperature and a third preset constant. If the actual water outlet temperature of the gas equipment is within the above-mentioned target water temperature range, it is considered that the water outlet temperature is appropriate and the water outlet temperature matches the target water outlet temperature; otherwise, it is considered that the water outlet temperature does not match the target water outlet temperature.
[0116] The second preset constant and the third preset constant can be set according to the constant temperature capability of the gas equipment itself or according to experience. In some embodiments, the second preset constant and the third preset constant can also be dynamically adjusted according to the big data algorithm. For example, the second preset constant can be 2, 2.5, 3. The third preset constant can be 2, 3, 4, etc. This application does not limit this.
[0117] When the actual outlet water temperature is lower than the target water temperature range, the actual outlet water temperature of the gas equipment can be increased by increasing the working current of the proportional valve, so that the actual outlet water temperature of the gas equipment reaches the target water temperature range.
[0118] Similarly, when the actual outlet water temperature is higher than the target water temperature range, the actual outlet water temperature of the gas equipment can be reduced by reducing the working current of the proportional valve, so that the actual outlet water temperature of the gas equipment reaches the target water temperature range.
[0119] After adjustment, if the actual water outlet temperature meets the set target water outlet temperature, the adjusted proportional valve working current and the adjusted heating power of the gas equipment will be used to update the data model, so that the calculation results of the updated data model can be more in line with the current working environment of the gas equipment, that is, more in line with the calorific value of the local gas source and the water temperature of the local tap water, thereby further improving the working effect of the gas equipment.
[0120] Embodiment 8
[0121] In some embodiments of the present invention, before determining the working current corresponding to the target power through the data model, the control method also includes: obtaining a historical heating power data set and a historical working current data set; and establishing a data model based on the historical heating power data set and the historical working current data set.
[0122] In the embodiment of the present invention, the data model is established through a historical heating power data set and a historical working current data set.
[0123] Specifically, the specific format of the data model is: P(x) = f(x). The historical heating power data set and the historical working current data set can be big data collected based on actual environmental parameters such as region, gas calorific value, tap water temperature, etc., which can be collected, uploaded and accumulated through gas equipment. When establishing the data set, a data table with a one-to-one correspondence between heating power and working current is established based on the proportional valve data current corresponding to each heating power. Based on the data table, the above data model can be established. The proportional valve working current corresponding to the target power is determined by the data model. On the one hand, the response speed is fast, which is conducive to achieving rapid temperature reaching. On the other hand, the data model can dynamically adjust the data model as the gas equipment is used, which is conducive to reducing the overshoot of the water outlet temperature of the gas equipment and realizing constant temperature control of the gas equipment.
[0124] Embodiment 9
[0125] In some embodiments of the present invention, Figure 5 The fifth flowchart of the control method of the gas equipment according to the embodiment of the present invention is shown. Specifically, the control method includes:
[0126] Step 502, obtaining target water outlet temperature, water inlet temperature and water inlet flow rate;
[0127] Step 504, calculating the target power;
[0128] Step 506, determining the operating current of the proportional valve through the data model;
[0129] Step 508, controlling the proportional valve to work by the working current;
[0130] Step 510, fine-tuning the operating current through a constant temperature algorithm;
[0131] Step 512, determine whether the outlet water temperature reaches the target outlet water temperature; if yes, proceed to step 514, otherwise repeat step 510;
[0132] Step 514, collecting current power and current working current;
[0133] Step 516, update the data model.
[0134] In an embodiment of the present invention, the target water outlet temperature of the gas equipment is first determined. The temperature is determined specifically according to the water outlet temperature set by the user. For example, if the user expects the water outlet temperature to be 55°C, the system adjusts the water outlet temperature accordingly according to the user setting. Generally speaking, the target water outlet temperature is set to a range value according to the temperature control capability of the gas equipment. For example, when the user expects the water outlet temperature to be 55°C, the target water outlet temperature may be in the range of 53°C to 57°C. The gas equipment obtains the actual water outlet temperature through the sensor. If the actual water outlet temperature falls within the above range, it is considered to be consistent with the set target water outlet temperature.
[0135] After determining the target outlet water temperature, the target power of the gas equipment is determined according to the target outlet water temperature. The target power is positively correlated with the target outlet water temperature, and is also affected by the inlet water temperature (tap water temperature), flow rate and gas calorific value. Generally speaking, the higher the target outlet water temperature, the higher the target power. On this basis, the lower the gas calorific value, the higher the target power.
[0136] After the target power is determined, the operating current for controlling the operation of the proportional valve is determined according to the target power, and the operation of the proportional valve is controlled according to the operating current.
[0137] Specifically, the format of the data model is as follows:
[0138] P(x) = f(x);
[0139] Among them, P(x) is the curve equation of the heating power of the gas equipment, f(x) is the curve equation of the proportional valve working current corresponding to the heating power. From the above data model, it can be seen that the heating power of the gas equipment corresponds to the working current of the proportional valve one by one, that is, each working current parameter corresponds to a heating power.
[0140] It can be understood that the heating power and operating current of the gas equipment can be adjusted linearly or in steps, and the embodiments of the present application do not limit this.
[0141] The above data model can be a model set up based on empirical data, or a model established through a big data algorithm, and this application does not limit this.
[0142] The gas equipment obtains the current outlet water temperature in real time. Specifically, a temperature sensor can be set on the outlet water pipeline of the gas equipment to collect the outlet water temperature of the gas equipment through the temperature sensor. In some embodiments, the outlet water temperature can also be collected by infrared sensors, non-contact temperature collection equipment, etc., and this application does not limit this. In other embodiments, the sensor set on the terminal water outlet equipment such as faucets and showers can also collect the outlet water temperature that is closer to the actual feeling of the user, thereby avoiding the water outlet temperature perceived by the user being lower than the set target water outlet temperature due to pipeline loss, which is conducive to improving the user experience.
[0143] After obtaining the outlet water temperature, if the outlet water temperature matches the target outlet water temperature set by the user, it means that the current working state of the gas equipment meets expectations, specifically, the current power of the gas equipment and the current working current of the proportional valve of the gas equipment are relatively appropriate. At this time, the current power and the current working current are recorded, and the data model is updated by the recorded current working current and the recorded current power, so that the calculation results of the updated data model can be more in line with the current working environment of the gas equipment, that is, more in line with the calorific value of the local gas source and the water temperature of the local tap water, further improving the working effect of the gas equipment, and facilitating rapid temperature reaching and reducing the overshoot of the outlet water temperature of the gas equipment, thereby realizing constant temperature control of the gas equipment.
[0144] Embodiment 10
[0145] In some embodiments of the present invention, Figure 6 FIG. 4 shows a structural block diagram of a control device for a gas appliance according to an embodiment of the present invention. Figure 6 As shown, the control device 600 of the gas equipment includes:
[0146] A memory 602 on which programs or instructions are stored; a processor 604, which implements the control method of the gas equipment provided in the above embodiment when executing the program or instruction. Therefore, the control device of the gas equipment also includes all the beneficial effects of the control method of the gas equipment provided in the above embodiment. To avoid repetition, they are not repeated here.
[0147] Embodiment 11
[0148] In some embodiments of the present invention, a gas device is provided, comprising a control device of the gas device of the second aspect, and a proportional valve, wherein the proportional valve is connected to the control device of the gas device. Therefore, the gas device includes all the beneficial effects of the control device 600 of the gas device provided in the above embodiment, which will not be described here to avoid repetition.
[0149] Embodiment 12
[0150] In some embodiments of the present invention, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, a control method for a gas device as provided in the above embodiment is implemented. Therefore, the readable storage medium also includes all the beneficial effects of the control method for a gas device as provided in the above embodiment. To avoid repetition, they are not repeated here.
[0151] In the description of the present invention, the term "plurality" refers to two or more than two. Unless otherwise clearly defined, the orientation or positional relationship indicated by the terms "upper" and "lower" is based on the orientation or positional relationship described in the accompanying drawings. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention. The terms "connection", "installation", "fixation", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0152] In the description of the present invention, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In the present invention, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0153] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for controlling a gas device, characterized in that: The gas equipment includes a proportional valve, and the control method includes: Determining a target power of the gas equipment according to a target outlet water temperature of the gas equipment; Determine the working current of the proportional valve according to the target power, and control the operation of the proportional valve by the working current; The step of determining the operating current of the proportional valve according to the target power comprises: Determining the operating current corresponding to the target power through a preset data model; Before determining the operating current corresponding to the target power through the data model, the control method further includes: Obtaining a historical heating power data set and a historical working current data set; Establishing the data model according to the historical heating power data set and the historical working current data set; The historical heating power data set and the historical working current data set are data collected based on environmental parameters, and the environmental parameters include any one or a combination of region, gas calorific value and tap water temperature.
2. The control method of the gas equipment according to claim 1, characterized in that: Also includes: Obtaining the outlet water temperature of the gas equipment; When the outlet water temperature matches the target outlet water temperature, obtaining the current power of the gas equipment and obtaining the current working current of the proportional valve; The data model is updated according to the current power and the current operating current.
3. The control method of the gas equipment according to claim 1, characterized in that: The step of determining the target power of the gas equipment according to the target outlet water temperature of the gas equipment comprises: Obtaining the water inlet temperature and water inlet flow rate of the gas equipment; The target power is calculated according to the inlet water temperature, the inlet water flow rate and the target outlet water temperature.
4. The control method of the gas equipment according to claim 3, characterized in that: The calculating the target power according to the inlet water temperature, the inlet water flow rate and the target outlet water temperature includes: Calculating a first difference between the target water outlet temperature and the water inlet temperature, and calculating a ratio of the water inlet flow rate to a first preset constant; The product of the first difference and the ratio is calculated, and the target power is determined according to the product.
5. The control method of the gas equipment according to claim 2, characterized in that: Also includes: In the case that the outlet water temperature does not match the target outlet water temperature, the operating current is adjusted by a preset constant temperature algorithm until the outlet water temperature matches the target outlet water temperature.
6. The control method of the gas equipment according to claim 5, characterized in that: Also includes: Calculating a second difference between the target outlet water temperature and a second preset constant; Determine a target water temperature range by taking the second difference as a lower limit and taking the sum of the target outlet water temperature and a third preset constant as an upper limit; as well as When the outlet water temperature is within the target water temperature range, it is determined that the outlet water temperature matches the target outlet water temperature.
7. A control device for a gas appliance, characterized in that: include: A memory on which programs or instructions are stored; A processor, wherein when the processor executes the program or instruction, the control method of the gas equipment according to any one of claims 1 to 6 is implemented.
8. A gas equipment, characterized in that: include: The control device of the gas equipment as claimed in claim 7; A proportional valve is connected to the control device of the gas equipment.
9. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the control method of the gas device according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Directly-heated type heat pump system constant-temperature flow control method based on neural network
CN106369834A
Gas water heater and constant-temperature control method and device thereof
CN108006980A
Control method of heating device and heating device
CN111380227A
Control method and device used for water heater as well as water heater
CN111473523A
Control method, water treatment device, server and storage medium
CN111685604A
