Gas water heater self-checking method and device based on proportional valve current and storage medium

By obtaining the proportional valve current and output power of the gas water heater, and fitting the curve to determine the self-test results, it solves the problem that the gas water heater self-test is difficult to detect faults in a timely manner in the prior art, and improves the accuracy and timeliness of the self-test.

CN118935741AInactive Publication Date: 2024-11-12GUANGDONG YINUAN THERMAL ENERGY EQUIPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411239425.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing self-test methods of gas water heaters are difficult to detect faults or abnormalities in time, especially scale accumulation, which leads to a decrease in efficiency during use and is difficult to maintain in time.

Method used

By obtaining the different proportional valve currents and corresponding target output power when the gas water heater is working, fit the proportional valve current-output power change curve, thereby determining the self-test results and improving the timeliness and accuracy of the self-test.

Benefits of technology

It realizes timely prediction of gas water heater failures or abnormalities, improves the accuracy and efficiency of self-tests, can detect problems such as scale accumulation earlier, and extends the service life of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118935741A_ABST
    Figure CN118935741A_ABST
Patent Text Reader

Abstract

The invention discloses a gas water heater self-checking method and device based on proportional valve currents and a storage medium, and relates to the technical field of gas water heaters. The method comprises the steps that different proportional valve currents when a gas water heater works and corresponding target output power of the gas water heater under each proportional valve current are obtained; fitting a proportional valve current-output power change curve according to different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current; the proportional valve current-output power change curve is used for representing the corresponding relation between the proportional valve current and the output power of the gas water heater; and a target detection curve matched with the proportional valve current-output power change curve is determined from a plurality of preset detection curves, and a first self-inspection result corresponding to the gas water heater is determined based on the target detection curve. Therefore, various possible faults or abnormities can be pre-judged, so that the timeliness of self-inspection of the gas water heater is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of gas water heaters, and in particular to a gas water heater self-detection method and device based on proportional valve current, and a storage medium. Background Art

[0002] Gas water heaters can provide a convenient supply of hot water, and have higher thermal efficiency and lower cost than electric water heaters. Gas water heaters may have various faults or abnormalities during use, such as pipe blockage, water leakage, insufficient gas pressure, hardware failure, and scale accumulation in the water pipes. Usually, tap water is prone to scaling when it is above 60°C, so scale often accumulates in gas water heaters. Existing gas water heaters are equipped with a variety of self-test methods, but most of them can only get the self-test results after the gas water heater has a major abnormality or failure, and it is difficult to obtain the self-test results in time. Therefore, it is necessary to propose a new self-test method for gas water heaters to improve the timeliness of self-testing of gas water heaters. Summary of the invention

[0003] The invention provides a gas water heater self-checking method and device based on proportional valve current, and a storage medium, which are used to improve the timeliness of the gas water heater self-checking.

[0004] In order to solve the above technical problems, the first aspect of the present invention discloses a gas water heater self-test method based on proportional valve current, the method comprising:

[0005] Acquire different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current;

[0006] According to the different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current, a proportional valve current-output power variation curve is fitted; the proportional valve current-output power variation curve is used to represent the corresponding relationship between the proportional valve current and the output power of the gas water heater;

[0007] A target detection curve matching the proportional valve current-output power variation curve is determined from a plurality of preset detection curves, and a first self-detection result corresponding to the gas water heater is determined based on the target detection curve.

[0008] As an optional implementation, in the first aspect of the present invention, the obtaining of different proportional valve currents when the gas water heater is operating and the target output power of the gas water heater corresponding to each proportional valve current includes:

[0009] When the gas water heater needs to self-check, the water flow of the gas water heater is set to remain unchanged, and the proportional valve current of the gas water heater is set to change at a plurality of preset currents between a preset minimum proportional valve current and a maximum proportional valve current;

[0010] For each of the preset currents, when the proportional valve current of the gas water heater is set to the preset current, obtaining the target water inlet temperature and the target water outlet temperature of the gas water heater corresponding to the preset current;

[0011] For each of the preset currents, the target output power of the gas water heater corresponding to the preset current is determined according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current.

[0012] As an optional implementation, in the first aspect of the present invention, for each of the preset currents, when the proportional valve current of the gas water heater is set to the preset current, obtaining the target water inlet temperature and the target water outlet temperature of the gas water heater corresponding to the preset current includes:

[0013] For each of the preset currents, the water inlet temperature of the gas water heater is set to the target water inlet temperature and remains unchanged, and when the proportional valve current of the gas water heater is set to the preset current, the stable water outlet temperature when the water outlet temperature of the gas water heater remains stable is obtained as the target water outlet temperature corresponding to the preset current;

[0014] The fact that the outlet water temperature remains stable indicates that a temperature change value of the outlet water temperature within a preset time range is lower than a preset temperature change threshold.

[0015] As an optional implementation, in the first aspect of the present invention, for each of the preset currents, obtaining a stable outlet water temperature when the outlet water temperature of the gas water heater remains stable as a target outlet water temperature corresponding to the preset current includes:

[0016] For each of the preset currents, a temperature difference current of a thermocouple arranged on the gas water heater is obtained, wherein the temperature of a first contact point of the thermocouple is consistent with the water inlet temperature of the gas water heater, and the temperature of a second contact point of the thermocouple is consistent with the water outlet temperature of the gas water heater; and whether a current change value of the temperature difference current within a preset time range is lower than a preset current change threshold value is determined; when it is determined that the current change value of the temperature difference current within the preset time range is lower than the preset current change threshold value, it is determined that the water outlet temperature of the gas water heater remains stable at this time, and the stable water outlet temperature when the water outlet temperature of the gas water heater remains stable is obtained as the target water outlet temperature corresponding to the preset current.

[0017] As an optional implementation manner, in the first aspect of the present invention, for each of the preset currents, determining the target output power of the gas water heater corresponding to the preset current according to the water flow rate of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current includes:

[0018] For each of the preset currents, the target output power of the gas water heater corresponding to the preset current is determined according to the following formula:

[0019] P=C·ρ·q·(T2-T1)

[0020] Among them, P is the target output power of the gas water heater, C is the specific heat capacity of the heated water, ρ is the density of the heated water, q is the water flow rate of the gas water heater, T2 is the target water outlet temperature of the gas water heater, and T1 is the target water inlet temperature of the gas water heater.

[0021] As an optional embodiment, in the first aspect of the present invention, the method further comprises:

[0022] At each preset self-check time point, trigger the execution of obtaining different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current; according to the different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current, fit the proportional valve current-output power change curve, and obtain the target proportional valve current-output power change curve corresponding to each self-check time point;

[0023] Determine, according to the target proportional valve current-output power variation curve corresponding to all the self-checking time points, a curve shift trend corresponding to the target proportional valve current-output power variation curve, wherein the curve shift trend is used to represent the shift change trend of the target proportional valve current-output power variation curve over time;

[0024] A second self-test result corresponding to the gas water heater is determined according to the curve deviation trend.

[0025] As an optional implementation, in the first aspect of the present invention, determining the curve offset trend corresponding to the target proportional valve current-output power change curve according to the target proportional valve current-output power change curve corresponding to all the self-check time points includes:

[0026] For each of the self-checking time points, according to the target proportional valve current-output power variation curve corresponding to the self-checking time point, determine the reference output power corresponding to the preset reference proportional valve current at the self-checking time point;

[0027] According to the reference output power corresponding to the reference proportional valve current at all the self-test time points, a reference output power curve is fitted, and the reference output power curve is used to represent the change of the reference output power over time; according to the reference output power curve, a curve offset trend corresponding to the target proportional valve current-output power change curve is determined;

[0028] And, determining the second self-test result corresponding to the gas water heater according to the curve deviation trend includes:

[0029] If the slopes of all points on the reference output power curve corresponding to the curve offset trend are greater than a preset first slope and less than or equal to a preset second slope, it is determined that the second self-test result corresponding to the gas water heater is scale accumulation.

[0030] The second aspect of the present invention discloses a gas water heater self-test device based on proportional valve current, the device comprising:

[0031] A data acquisition module, used for acquiring different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current;

[0032] A data analysis module, used for fitting a proportional valve current-output power variation curve according to different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current; the proportional valve current-output power variation curve is used to represent the corresponding relationship between the proportional valve current and the output power of the gas water heater;

[0033] The first self-test module is used to determine a target detection curve that matches the proportional valve current-output power variation curve from a plurality of preset detection curves, and determine a first self-test result corresponding to the gas water heater based on the target detection curve.

[0034] As an optional implementation, in the second aspect of the present invention, the specific manner in which the data acquisition module acquires different proportional valve currents when the gas water heater is working and the target output power corresponding to each proportional valve current of the gas water heater includes:

[0035] When the gas water heater needs to self-check, the water flow of the gas water heater is set to remain unchanged, and the proportional valve current of the gas water heater is set to change at a plurality of preset currents between a preset minimum proportional valve current and a maximum proportional valve current;

[0036] For each of the preset currents, when the proportional valve current of the gas water heater is set to the preset current, obtaining the target water inlet temperature and the target water outlet temperature of the gas water heater corresponding to the preset current;

[0037] For each of the preset currents, the target output power of the gas water heater corresponding to the preset current is determined according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current.

[0038] As an optional implementation, in the second aspect of the present invention, for each of the preset currents, when the proportional valve current of the gas water heater is set to the preset current, the data acquisition module obtains the target water inlet temperature and the target water outlet temperature of the gas water heater corresponding to the preset current in a specific manner, including:

[0039] For each of the preset currents, the water inlet temperature of the gas water heater is set to the target water inlet temperature and remains unchanged, and when the proportional valve current of the gas water heater is set to the preset current, the stable water outlet temperature when the water outlet temperature of the gas water heater remains stable is obtained as the target water outlet temperature corresponding to the preset current;

[0040] The fact that the outlet water temperature remains stable indicates that a temperature change value of the outlet water temperature within a preset time range is lower than a preset temperature change threshold.

[0041] As an optional implementation, in the second aspect of the present invention, the data acquisition module acquires, for each of the preset currents, a stable outlet water temperature when the outlet water temperature of the gas water heater remains stable as a specific method of the target outlet water temperature corresponding to the preset current, including:

[0042] For each of the preset currents, a temperature difference current of a thermocouple arranged on the gas water heater is obtained, wherein the temperature of a first contact point of the thermocouple is consistent with the water inlet temperature of the gas water heater, and the temperature of a second contact point of the thermocouple is consistent with the water outlet temperature of the gas water heater; and whether a current change value of the temperature difference current within a preset time range is lower than a preset current change threshold value is determined; when it is determined that the current change value of the temperature difference current within the preset time range is lower than the preset current change threshold value, it is determined that the water outlet temperature of the gas water heater remains stable at this time, and the stable water outlet temperature when the water outlet temperature of the gas water heater remains stable is obtained as the target water outlet temperature corresponding to the preset current.

[0043] As an optional implementation, in the second aspect of the present invention, the data acquisition module determines, for each preset current, a specific manner of determining the target output power of the gas water heater corresponding to the preset current according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current, including:

[0044] For each of the preset currents, the target output power of the gas water heater corresponding to the preset current is determined according to the following formula:

[0045] P=C·ρ·q·(T2-T1)

[0046] Among them, P is the target output power of the gas water heater, C is the specific heat capacity of the heated water, ρ is the density of the heated water, q is the water flow rate of the gas water heater, T2 is the target water outlet temperature of the gas water heater, and T1 is the target water inlet temperature of the gas water heater.

[0047] As an optional implementation, in the second aspect of the present invention, the device further includes a second self-test module, and the second self-test module is used to:

[0048] At each preset self-check time point, the data acquisition module is triggered to execute the operation of acquiring different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current; the data analysis module executes the operation of fitting the proportional valve current-output power variation curve according to the different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current, and acquires the target proportional valve current-output power variation curve corresponding to each self-check time point;

[0049] Determine, according to the target proportional valve current-output power variation curve corresponding to all the self-checking time points, a curve shift trend corresponding to the target proportional valve current-output power variation curve, wherein the curve shift trend is used to represent the shift change trend of the target proportional valve current-output power variation curve over time;

[0050] A second self-test result corresponding to the gas water heater is determined according to the curve deviation trend.

[0051] As an optional implementation, in the second aspect of the present invention, the second self-check module determines the specific manner of the curve offset trend corresponding to the target proportional valve current-output power change curve according to the target proportional valve current-output power change curve corresponding to all the self-check time points, including:

[0052] For each of the self-checking time points, according to the target proportional valve current-output power variation curve corresponding to the self-checking time point, determine the reference output power corresponding to the preset reference proportional valve current at the self-checking time point;

[0053] According to the reference output power corresponding to the reference proportional valve current at all the self-test time points, a reference output power curve is fitted, and the reference output power curve is used to represent the change of the reference output power over time; according to the reference output power curve, a curve offset trend corresponding to the target proportional valve current-output power change curve is determined;

[0054] And, the specific manner in which the second self-test module determines the second self-test result corresponding to the gas water heater according to the curve deviation trend includes:

[0055] If the slopes of all points on the reference output power curve corresponding to the curve offset trend are greater than a preset first slope and less than or equal to a preset second slope, it is determined that the second self-test result corresponding to the gas water heater is scale accumulation.

[0056] The third aspect of the present invention discloses another self-test device for a gas water heater based on proportional valve current, the device comprising:

[0057] A memory storing executable program code;

[0058] a processor coupled to the memory;

[0059] The processor calls the executable program code stored in the memory to execute the gas water heater self-test method based on proportional valve current disclosed in the first aspect of the present invention.

[0060] The fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the gas water heater self-test method based on proportional valve current disclosed in the first aspect of the present invention.

[0061] Compared with the prior art, the present invention has the following beneficial effects:

[0062] In the present invention, different proportional valve currents and target output power of the gas water heater corresponding to each proportional valve current are obtained when the gas water heater is working; a proportional valve current-output power change curve is fitted according to different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current; the proportional valve current-output power change curve is used to represent the corresponding relationship between the proportional valve current and the output power of the gas water heater; a target detection curve matching the proportional valve current-output power change curve is determined from a plurality of preset detection curves, and a first self-test result corresponding to the gas water heater is determined based on the target detection curve. It can be seen that the self-test method of the gas water heater based on the proportional valve current in the present invention is implemented, and detection is performed based on multiple water outlet temperatures, and reference data with a sufficiently large range is obtained, thereby improving the accuracy of the detection result; secondly, the target detection curve can be matched according to the proportional valve current-output power change curve, thereby analyzing the type of abnormality that may occur; finally, the proportional valve current-output power change curve obtained by fitting contains more abundant information, which can realize the prediction of various possible faults or abnormalities, thereby improving the timeliness of the self-test of the gas water heater. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0064] Figure 1 It is a flow chart of a gas water heater self-test method based on proportional valve current disclosed in an embodiment of the present invention;

[0065] Figure 2 It is a schematic diagram of a current-output power variation curve of a proportional valve disclosed in an embodiment of the present invention;

[0066] Figure 3 It is a flow chart of another gas water heater self-test method based on proportional valve current disclosed in an embodiment of the present invention;

[0067] Figure 4 It is a structural schematic diagram of a gas water heater self-test device based on proportional valve current disclosed in an embodiment of the present invention;

[0068] Figure 5 It is a structural schematic diagram of another gas water heater self-test device based on proportional valve current disclosed in an embodiment of the present invention;

[0069] Figure 6 It is a structural schematic diagram of another gas water heater self-test device based on proportional valve current disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0070] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0071] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0072] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0073] The present invention discloses a gas water heater self-checking method, device and medium based on proportional valve current, which can realize the prejudgment of various possible faults or abnormalities, thereby improving the timeliness of the gas water heater self-checking. Detailed descriptions are given below.

[0074] Embodiment 1

[0075] See also Figure 1 , Figure 1 1 is a flow chart of a gas water heater self-test method based on proportional valve current disclosed in an embodiment of the present invention. Figure 1 The described gas water heater self-test method based on proportional valve current can be applied to a gas water heater self-test device based on proportional valve current, and the gas water heater self-test device based on proportional valve current can be integrated in a household gas water heater, an industrial gas water heater, a cloud server or a local server, and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the gas water heater self-test method based on proportional valve current may include the following operations:

[0076] Step 101: Obtain different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current.

[0077] In the embodiment of the present invention, the common gas water heater is heated at the temperature set by the user most of the time when in use. However, during the self-check process, if the self-check is only performed based on the temperature set by the user, the accuracy will be greatly reduced. Therefore, in the embodiment of the present invention, it is necessary to obtain different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current, so as to increase the range of reference data and obtain more reliable reference data.

[0078] Among them, the proportional valve current of the gas water heater refers to the working current required by the electronic proportional valve that controls the gas flow in the gas water heater. This current value is usually adjusted by the water heater control system according to the water temperature, water flow and other parameters set by the user to achieve the purpose of constant temperature water output. It can be seen that the proportional valve current controls the gas flow and also controls the strength of gas combustion, that is, the proportional valve current is used to measure the input power of the gas water heater. The output power refers to the power of the heated water of the gas water heater to absorb heat. Due to various heat losses, there is a certain difference between the input power and output power of a general gas water heater.

[0079] Step 102: fitting a proportional valve current-output power variation curve according to different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current.

[0080] In the embodiment of the present invention, the proportional valve current-output power variation curve is used to represent the corresponding relationship between the proportional valve current and the output power of the gas water heater, that is, it reflects the different output powers corresponding to different proportional valve currents. Based on the different proportional valve currents obtained and the target output power of the gas water heater corresponding to each proportional valve current, the embodiment of the present invention fits the proportional valve current-output power variation curve, and can fit more abundant reference data based on the obtained data. In addition, by using the curve fitting method, it can also reflect the change of the output power of the gas water heater with the change of the proportional valve current, thereby obtaining more reliable reference data.

[0081] Step 103: determine a target detection curve that matches the proportional valve current-output power variation curve from a plurality of preset detection curves, and determine a first self-test result corresponding to the gas water heater based on the target detection curve.

[0082] Usually, when the gas water heater tank is scaled, the heat exchange effect of the water tank begins to decline. In order to meet the output power, the input power begins to increase compared to the design value, that is, the proportional valve current begins to increase. As the scale gradually increases, the proportional valve current gradually exceeds the design value, and the heat exchange efficiency of the water tank decreases significantly. Therefore, the self-test method of the gas water heater in the prior art is usually: when the user uses the gas water heater, the water is discharged according to the water outlet temperature set by the user, and the proportional valve current at this time is detected. If the proportional valve current is too large, it is judged that an abnormality occurs. However, the detection method in the prior art has the following shortcomings: First, the fault judgment is based on a single water outlet temperature, the data range is not large enough, and the judgment result is not accurate enough; second, the amount of data obtained during the monitoring process is too small, and it is difficult to judge the type of abnormality that may occur in the gas water heater; finally, the self-test method in the prior art can only obtain the self-test result when the gas water heater has a large abnormality or fault, and it is difficult to obtain the self-test result in time.

[0083] In the embodiment of the present invention, several detection curves are preset, and each detection curve represents a self-test state, for example: the detection curve used to represent scale accumulation is: a smooth approximate straight line and there is a predetermined distance between the proportional valve current-output power change curve preset at the factory; the detection curve used to represent unstable water pressure is: the overall trend of the curve is consistent with the proportional valve current-output power change curve preset at the factory, but there are fluctuations on the curve; the detection curve used to represent excessive gas pressure is: a smooth approximate straight line and is located below the proportional valve current-output power change curve preset at the factory. Therefore, it is only necessary to determine the target detection curve that matches the proportional valve current-output power change curve from the preset several detection curves, and the self-test result corresponding to the gas water heater can be determined based on the target detection curve.

[0084] It can be seen that the gas water heater self-test method based on proportional valve current in the embodiment of the present invention is implemented, and detection is based on multiple water outlet temperatures, so that reference data with a sufficiently large range is obtained, thereby improving the accuracy of the detection result; secondly, a target detection curve can be matched according to the proportional valve current-output power change curve, thereby analyzing the type of possible abnormality; finally, the fitted proportional valve current-output power change curve contains richer information, which can realize the prediction of various possible faults or abnormalities, thereby improving the timeliness of the gas water heater self-test.

[0085] In an optional embodiment, obtaining different proportional valve currents when the gas water heater is operating and the target output power of the gas water heater corresponding to each proportional valve current in step 101 may include:

[0086] When the gas water heater needs to self-check, the water flow of the gas water heater is set to remain unchanged, and the proportional valve current of the gas water heater is set to change at a plurality of preset currents between a preset minimum proportional valve current and a maximum proportional valve current;

[0087] For each preset current, when the proportional valve current of the gas water heater is set to the preset current, a target water inlet temperature and a target water outlet temperature of the gas water heater corresponding to the preset current are obtained;

[0088] For each preset current, the target output power of the gas water heater corresponding to the preset current is determined according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current.

[0089] In this optional embodiment, since the user usually uses the gas water heater based on a set temperature when using it normally, and the water flow rate will also change with the user's demand for water temperature, it is not convenient to perform the self-test method in this embodiment. Therefore, when the gas water heater needs to self-test, this optional embodiment fixes the water flow rate of the gas water heater and adjusts the proportional valve current of the gas water heater to change between multiple preset currents between the preset minimum proportional valve current and the maximum proportional valve current.

[0090] The output power of a gas water heater can be measured by the degree to which the gas water heater heats the water flow, that is, by the water flow rate, water inlet temperature and water outlet temperature. For example, the output power calculation program can be set in advance, and the output power can be obtained by inputting the water flow rate, target water inlet temperature and target water outlet temperature.

[0091] It can be seen that in this optional embodiment, the water flow rate is controlled to remain unchanged. It is only necessary to obtain the information of the target water inlet temperature and the target water outlet temperature at each preset current, so as to obtain a series of different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current, thereby improving the efficiency and convenience of obtaining reference data for self-test of the gas water heater.

[0092] In another optional embodiment, for each preset current, when the proportional valve current of the gas water heater is set to the preset current, obtaining the target water inlet temperature and the target water outlet temperature of the gas water heater corresponding to the preset current may include:

[0093] For each preset current, the inlet water temperature of the gas water heater is set to the target inlet water temperature and remains unchanged. When the proportional valve current of the gas water heater is set to the preset current, the stable outlet water temperature when the outlet water temperature of the gas water heater remains stable is obtained as the target outlet water temperature corresponding to the preset current;

[0094] The stable outlet water temperature indicates that the temperature change value of the outlet water temperature within a preset time range is lower than a preset temperature change threshold.

[0095] In this optional embodiment, the water inlet temperature and the water outlet temperature are measured at the same time each time, which is still complicated to operate. Therefore, in this optional embodiment, the water inlet temperature of the gas water heater is set as the target water inlet temperature and remains unchanged, and only the water outlet temperature needs to be measured each time. In addition, due to the timeliness of the heat conduction process, after the current of the proportional valve controlling the gas water heater changes, the water outlet temperature of the gas water heater will not immediately stabilize at a certain temperature, but will fluctuate to a certain extent. Therefore, after the current of the proportional valve changes, it is necessary to determine whether the water outlet temperature remains stable before obtaining the stable water outlet temperature at this time as the target water outlet temperature corresponding to the preset current.

[0096] It can be seen that in this optional embodiment, when obtaining the target water inlet temperature and target water outlet temperature of the gas water heater corresponding to the preset current, the water inlet temperature of the gas water heater is set as the target water inlet temperature and remains unchanged, and only the water outlet temperature needs to be measured, which reduces the complexity of the data acquisition process. In addition, after the water outlet temperature remains stable, the stable water outlet temperature at this time is obtained as the target water outlet temperature corresponding to the preset current, ensuring that the water outlet temperature is measured when the gas water heater is in a stable state, thereby improving the reliability of the reference data obtained.

[0097] In this optional embodiment, further optionally, for each preset current, obtaining a stable outlet water temperature when the outlet water temperature of the gas water heater remains stable as the target outlet water temperature corresponding to the preset current may include:

[0098] For each preset current, the temperature difference current of the thermocouple arranged on the gas water heater is obtained, wherein the temperature of the first contact point of the thermocouple is consistent with the water inlet temperature of the gas water heater, and the temperature of the second contact point of the thermocouple is consistent with the water outlet temperature of the gas water heater; it is judged whether the current change value of the temperature difference current within the preset time range is lower than the preset current change threshold value; when it is judged that the current change value of the temperature difference current within the preset time range is lower than the preset current change threshold value, it is determined that the water outlet temperature of the gas water heater remains stable at this time, and the stable water outlet temperature when the water outlet temperature of the gas water heater remains stable is obtained as the target water outlet temperature corresponding to the preset current.

[0099] In this optional embodiment, the outlet water temperature remaining stable means that the temperature change value of the outlet water temperature within the preset time range is lower than the preset temperature change threshold. The usual practice is to measure the outlet water temperature multiple times within the preset time range, and analyze the relationship between the change value of the outlet water temperature and the preset temperature change threshold based on the measurement results. However, this method requires continuous measurement of the outlet water temperature, which is relatively complicated.

[0100] In this optional embodiment, the temperature difference current change of the thermocouple is used to measure whether the outlet water temperature remains stable. It is only necessary to determine whether the temperature difference current remains stable to determine whether the outlet water temperature remains stable, and the operation complexity is lower. In addition, since it is only necessary to determine the stability of the outlet water temperature instead of obtaining the precise outlet water temperature, a thermocouple with lower accuracy and lower cost can be used to determine the stability of the outlet water temperature, and then a high-precision temperature sensor can be used to obtain the outlet water temperature, which can reduce costs while ensuring the accuracy of the temperature measurement.

[0101] It can be seen that in this optional embodiment, it is only necessary to determine whether the temperature difference current remains stable to determine whether the outlet water temperature remains stable, and the operation complexity is lower. In addition, a thermocouple with lower accuracy and lower cost can be used to determine the stability of the outlet water temperature, which can reduce the cost of the gas water heater self-test.

[0102] In yet another optional embodiment, for each preset current, determining the target output power of the gas water heater corresponding to the preset current according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current may include:

[0103] For each preset current, the target output power of the gas water heater corresponding to the preset current is determined according to the following formula:

[0104] P=C·ρ·q·(T2-T1)

[0105] Among them, P is the target output power of the gas water heater, C is the specific heat capacity of the heated water, ρ is the density of the heated water, q is the water flow rate of the gas water heater, T2 is the target water outlet temperature of the gas water heater, and T1 is the target water inlet temperature of the gas water heater.

[0106] In this optional embodiment, according to the heat formula: Q = C·M·ΔT = C·M·(T2-T1), where Q is the work output by the gas water heater, that is, the heat absorbed by water with a mass of M, C represents the specific heat capacity of the substance, M represents the mass of water, and "(T2-T1)" represents the temperature rise, where M = ρ·V = ρ·q·t, ρ represents the density of water, which is usually calculated as 1, V represents the volume of water, q represents the flow rate of water, and t represents the time of water flow; finally:

[0107] Q=C·M·ΔT=C·ρ·q·t·(T2-T1)

[0108] There are also:

[0109] P=Q / t=C·ρ·q·(T2-T1)

[0110] It can be seen that this optional embodiment proposes a method for calculating the output power of the gas water heater, which can determine the target output power of the gas water heater based on the obtained water flow, target water inlet temperature and target water outlet temperature.

[0111] In this optional embodiment, optionally, the heat output within t minutes can be detected and then converted into the heat output of 1 hour, which corresponds to the product output power.

[0112] In this optional embodiment, further optionally, since this optional embodiment only requires the linear shape of the proportional valve current-output power change curve, it is not necessary to calculate the real output power. Therefore, it is observed that in the above output power formula, C is the specific heat capacity of the heated water and remains unchanged, ρ is the density of the heated water and remains unchanged, and T1 is the target water inlet temperature of the gas water heater and can also be set to remain unchanged. Therefore, the reference output power can be set instead of the real output power, thereby further reducing the calculation amount of the algorithm, wherein the reference output power P ′ for:

[0113] P ′ =q·T2

[0114] It can be seen that this optional embodiment only needs to obtain the changing trend of the gas water heater output power, and there is no need to obtain the actual gas water heater output power. Therefore, the changing trend of the gas water heater output power can be measured only by the water flow rate and the outlet water temperature, which further reduces the complexity of the operation and reduces the amount of calculation in the self-test process.

[0115] In an optional embodiment, if Figure 2 As shown, the gas water heater in this optional embodiment will form a product output power-proportional valve current curve during development, as shown by the black line in the figure above. The horizontal axis represents the product output power, the horizontal axis min is the minimum output power of the product design, and the horizontal axis max is the maximum output power of the product design. The vertical axis represents the proportional valve current, the vertical axis min is the minimum proportional valve current of the product design, and the vertical axis max is the maximum proportional valve current of the product design. This original product setting curve represents the optimal state of the product under standard conditions, as shown by the black curve in the figure.

[0116] When scale appears in the water tank of the gas water heater, the heat exchange effect of the water tank begins to decline. In order to meet the output power, the input power begins to increase compared to the design value, that is, the proportional valve current begins to increase. As the scale gradually increases, the proportional valve current gradually becomes much higher than the design value. At this time, the heat exchange efficiency of the water tank drops significantly. In this optional embodiment, a water tank scaling cleaning reminder curve is set according to experience and product characteristics, as shown by the green curve in the figure. When the proportional valve current exceeds the set curve, the product displays a water tank scaling cleaning reminder icon, code or text on the display to remind the user to clean the water tank, so as to maintain the product in a good use state and avoid the unscientific problem of cleaning the water tank too early or too late.

[0117] According to the output power of the product, the original design proportional valve current can be matched on the original product design curve, and compared with the actual proportional valve current in real time. When the water tank is not scaled, the original design proportional valve current value is basically consistent with the actual output proportional valve current value. When the water tank is scaled, the actual proportional valve current value will be higher than the original design proportional valve current value. When the actual proportional valve current value reaches the yellow curve in the figure, which is the cleaning reminder setting curve, the product will issue a reminder for cleaning the water tank scale, reminding the user that the water tank needs to be cleaned. Depending on the product, the reminder can be in different forms such as flashing lights or text displayed on the display, but the reminder does not affect the normal use of the user. If the user does not perform the cleaning action after the cleaning reminder is issued, the scaling state of the water tank continues to deteriorate. In order to protect the water tank from damage, this optional embodiment also sets a forced shutdown setting curve. When the actual proportional valve current value reaches the red curve in the figure, i.e., the forced shutdown setting curve, the main control will control the product to shut down, report a fault code and lock the machine. After that, the fault code must be manually eliminated before the product can restart. When restarting, the actual current value of the proportional valve will be detected: if the actual current value of the proportional valve still reaches the red shutdown curve, the fault will continue to be reported and the product will be locked; if the actual proportional valve current value is lower than the cleaning reminder setting curve, the product will run normally. The setting of the cleaning reminder setting curve and the forced shutdown setting curve needs to be repeatedly verified according to the characteristics of the product itself and the actual use, so that it can protect the product while not causing false alarms and affecting the normal use of users.

[0118] Embodiment 2

[0119] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of another gas water heater self-test method based on proportional valve current disclosed in an embodiment of the present invention. Figure 3The described gas water heater self-test method based on proportional valve current can be applied to a gas water heater self-test device based on proportional valve current, and the gas water heater self-test device based on proportional valve current can be integrated in a cloud server or a local server, which is not limited in the embodiments of the present invention. Figure 3 As shown, the gas water heater self-test method based on proportional valve current may include the following operations:

[0120] Step 201: Obtain different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current.

[0121] Step 202: fitting a proportional valve current-output power variation curve according to different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current.

[0122] Step 203: determine a target detection curve that matches the proportional valve current-output power variation curve from a plurality of preset detection curves, and determine a first self-test result corresponding to the gas water heater based on the target detection curve.

[0123] In the embodiment of the present invention, for other descriptions of steps 201-203, please refer to the detailed description of steps 101-103 in the first embodiment, and the embodiment of the present invention will not be repeated here.

[0124] Step 204: at each preset self-checking time point, re-trigger the execution of the operations of step 201 and step 202, and obtain the target proportional valve current-output power variation curve corresponding to each self-checking time point.

[0125] In the embodiment of the present invention, if the self-test result is determined based on the proportional valve current-output power variation curve fitted by only one self-test operation, the accuracy is still insufficient, and the self-test result may even be misjudged due to temporary abnormalities during the test, such as temporary voltage fluctuations, temporary natural gas pressure fluctuations, etc. Therefore, in order to further improve the accuracy of the self-test result of the gas water heater, in the embodiment of the present invention, the operation of step 201 and step 202 is triggered and executed once at each preset self-test time point, so as to obtain multiple target proportional valve current-output power variation curves.

[0126] Step 205 : determining a curve shift trend corresponding to the target proportional valve current-output power variation curve according to the target proportional valve current-output power variation curve corresponding to all self-test time points.

[0127] In the embodiment of the present invention, the curve offset trend is used to represent the offset change trend of the target proportional valve current-output power change curve over time.

[0128] Step 206: Determine a second self-test result corresponding to the gas water heater according to the curve deviation trend.

[0129] In the embodiment of the present invention, a coordinate system can be established with the output power as the horizontal axis and the proportional valve current as the vertical axis. If the target proportional valve current-output power variation curve moves upward with the change of time, it means that a larger proportional valve current is required for the same output power, thereby reflecting that the heat conversion efficiency of the gas water heater is reduced. The linear shape of the proportional valve current-output power variation curve can be used to further determine the cause of the reduced heat conversion efficiency, such as scale accumulation or abnormal proportional valve. If the target proportional valve current-output power variation curve moves downward with the change of time, it means that a smaller proportional valve current is required for the same output power, thereby reflecting that the heat conversion efficiency of the gas water heater is increased. Under the premise that no maintenance and repair behavior occurs, the heat conversion efficiency of the gas water heater cannot suddenly increase, so it may be that the proportional valve is faulty. Then, the linear shape of the proportional valve current-output power variation curve is used to further determine the self-test result.

[0130] It can be seen that the implementation of the gas water heater self-test method based on proportional valve current in the optional embodiment can trigger the execution of an operation of determining the proportional valve current-output power change curve at each preset self-test time point, thereby obtaining multiple target proportional valve current-output power change curves, and analyzing the self-test results of the gas water heater based on the change trend of the target proportional valve current-output power change curve over time. Since the target proportional valve current-output power change curves at different self-test time points are obtained, the occurrence of misjudgments caused by special circumstances of a single self-test can be reduced, thereby improving the accuracy of the gas water heater self-test.

[0131] In another optional embodiment, determining the curve offset trend corresponding to the target proportional valve current-output power variation curve according to the target proportional valve current-output power variation curve corresponding to all self-test time points may include:

[0132] For each self-test time point, according to the target proportional valve current-output power variation curve corresponding to the self-test time point, determine the reference output power corresponding to the preset reference proportional valve current at the self-test time point;

[0133] According to the reference output power corresponding to the reference proportional valve current at all self-test time points, a reference output power curve is fitted, and the reference output power curve is used to represent the change of the reference output power over time; according to the reference output power curve, the curve offset trend corresponding to the target proportional valve current-output power change curve is determined;

[0134] And, determining a second self-test result corresponding to the gas water heater according to the curve deviation trend, including:

[0135] If the slopes of all points on the reference output power curve corresponding to the curve deviation trend are greater than a preset first slope and less than or equal to a preset second slope, it is determined that the second self-test result corresponding to the gas water heater is scale accumulation.

[0136] In this optional embodiment, for the curve deviation trend corresponding to the proportional valve current-output power variation curve, a reference point is selected on the curve, that is, the reference proportional valve current, and the change of the reference point over time is determined, thereby measuring the curve deviation trend corresponding to the proportional valve current-output power variation curve. In this optional embodiment, if the slopes of all points on the reference output power curve are greater than the preset first slope and less than or equal to the preset second slope, it means that the curve deviation trend corresponding to the proportional valve current-output power variation curve changes evenly over time, which is consistent with the situation of scale accumulation, and the second self-test result corresponding to the gas water heater is determined to be scale accumulation.

[0137] It can be seen that this optional embodiment can measure the curve deviation trend corresponding to the proportional valve current-output power change curve based on the change of a reference point on the proportional valve current-output power change curve over time, and judge whether the second self-test result is scale accumulation based on the slope of the reference output power curve of the change of the reference point over time. Thus, a more granular self-test result of the gas water heater is provided.

[0138] In yet another optional embodiment, the method may further include:

[0139] At the current time point, a pre-recorded self-test parameter of the gas water heater is obtained, the self-test parameter including at least one of the amount of water heated, the usage time, and the amount of gas used; based on the self-test parameter, a usage degree parameter corresponding to the gas water heater is determined, the usage degree parameter being used to measure the usage loss degree of the gas water heater;

[0140] Subtract the reference usage degree parameter corresponding to the previous self-check time point from the current usage degree parameter corresponding to the current time point to obtain the usage degree parameter difference;

[0141] It is determined whether the usage degree parameter difference is greater than or equal to a preset parameter difference threshold value. If it is determined that the usage degree parameter difference is greater than or equal to the parameter difference threshold value, the current time point is determined to be a self-check time point.

[0142] It can be seen that this optional embodiment formulates a reasonable self-inspection cycle of the gas water heater based on the usage loss of the gas water heater, and obtains the target proportional valve current-output power change curve at a reasonable self-inspection time point, which can avoid unnecessary self-inspection operations and thus improve the efficiency of the gas water heater self-inspection.

[0143] In yet another optional embodiment, the method may further include:

[0144] Determine the scale accumulation rate of the gas water heater based on the reference output power curve corresponding to the curve shift trend;

[0145] According to the scale accumulation speed of the gas water heater, the warning time when the scale accumulation amount of the gas water heater reaches a preset scale warning amount is determined.

[0146] It can be seen that this optional embodiment can determine the speed of scale accumulation according to the reference output power curve, and give early warning of scale accumulation, thereby providing a more granular self-test result for the gas water heater.

[0147] Embodiment 3

[0148] See also Figure 4 , Figure 4 Schematic diagram of a gas water heater self-test device based on proportional valve current disclosed in an embodiment of the present invention. Figure 4 As shown, the gas water heater self-test device based on proportional valve current may include:

[0149] The data acquisition module 301 is used to acquire different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current;

[0150] The data analysis module 302 is used to fit a proportional valve current-output power variation curve according to different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current; the proportional valve current-output power variation curve is used to represent the corresponding relationship between the proportional valve current and the output power of the gas water heater;

[0151] The first self-test module 303 is used to determine a target detection curve that matches the proportional valve current-output power variation curve from a plurality of preset detection curves, and determine a first self-test result corresponding to the gas water heater based on the target detection curve.

[0152] It can be seen that the gas water heater self-test device based on proportional valve current in the embodiment of the present invention performs detection based on multiple water outlet temperatures, obtains reference data with a sufficiently large range, and improves the accuracy of the detection result; secondly, it can match the target detection curve according to the proportional valve current-output power change curve, so as to analyze the type of possible abnormality; finally, the fitted proportional valve current-output power change curve contains richer information, which can realize the prediction of various possible faults or abnormalities, thereby improving the timeliness of the gas water heater self-test.

[0153] In an optional embodiment, the specific manner in which the data acquisition module 301 acquires different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current may include:

[0154] When the gas water heater needs to self-check, the water flow of the gas water heater is set to remain unchanged, and the proportional valve current of the gas water heater is set to change at a plurality of preset currents between a preset minimum proportional valve current and a maximum proportional valve current;

[0155] For each preset current, when the proportional valve current of the gas water heater is set to the preset current, a target water inlet temperature and a target water outlet temperature of the gas water heater corresponding to the preset current are obtained;

[0156] For each preset current, the target output power of the gas water heater corresponding to the preset current is determined according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current.

[0157] It can be seen that in this optional embodiment, the water flow rate is controlled to remain unchanged. It is only necessary to obtain the information of the target water inlet temperature and the target water outlet temperature at each preset current, so as to obtain a series of different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current, thereby improving the efficiency and convenience of obtaining reference data for self-test of the gas water heater.

[0158] In another optional embodiment, for each preset current, when the proportional valve current of the gas water heater is set to the preset current, the data acquisition module 301 acquires the target water inlet temperature and the target water outlet temperature of the gas water heater corresponding to the preset current in a specific manner, which may include:

[0159] For each preset current, the inlet water temperature of the gas water heater is set to the target inlet water temperature and remains unchanged. When the proportional valve current of the gas water heater is set to the preset current, the stable outlet water temperature when the outlet water temperature of the gas water heater remains stable is obtained as the target outlet water temperature corresponding to the preset current;

[0160] The stable outlet water temperature indicates that the temperature change value of the outlet water temperature within a preset time range is lower than a preset temperature change threshold.

[0161] It can be seen that in this optional embodiment, when obtaining the target water inlet temperature and target water outlet temperature of the gas water heater corresponding to the preset current, the water inlet temperature of the gas water heater is set as the target water inlet temperature and remains unchanged, and only the water outlet temperature needs to be measured, which reduces the complexity of the data acquisition process. In addition, after the water outlet temperature remains stable, the stable water outlet temperature at this time is obtained as the target water outlet temperature corresponding to the preset current, ensuring that the water outlet temperature is measured when the gas water heater is in a stable state, thereby improving the reliability of the reference data obtained.

[0162] In another optional embodiment, the data acquisition module 301 acquires, for each preset current, a stable outlet water temperature when the outlet water temperature of the gas water heater remains stable as a target outlet water temperature corresponding to the preset current, which may include:

[0163] For each preset current, the temperature difference current of the thermocouple arranged on the gas water heater is obtained, wherein the temperature of the first contact point of the thermocouple is consistent with the water inlet temperature of the gas water heater, and the temperature of the second contact point of the thermocouple is consistent with the water outlet temperature of the gas water heater; it is judged whether the current change value of the temperature difference current within the preset time range is lower than the preset current change threshold value; when it is judged that the current change value of the temperature difference current within the preset time range is lower than the preset current change threshold value, it is determined that the water outlet temperature of the gas water heater remains stable at this time, and the stable water outlet temperature when the water outlet temperature of the gas water heater remains stable is obtained as the target water outlet temperature corresponding to the preset current.

[0164] It can be seen that in this optional embodiment, it is only necessary to determine whether the temperature difference current remains stable to determine whether the outlet water temperature remains stable, and the operation complexity is lower. In addition, a thermocouple with lower accuracy and lower cost can be used to determine the stability of the outlet water temperature, which can reduce the cost of the gas water heater self-test.

[0165] In another optional embodiment, the data acquisition module 301 determines, for each preset current, a specific method of determining the target output power of the gas water heater corresponding to the preset current according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current, which may include:

[0166] For each preset current, the target output power of the gas water heater corresponding to the preset current is determined according to the following formula:

[0167] P=C·ρ·q·(T2-T1)

[0168] Among them, P is the target output power of the gas water heater, C is the specific heat capacity of the heated water, ρ is the density of the heated water, q is the water flow rate of the gas water heater, T2 is the target water outlet temperature of the gas water heater, and T1 is the target water inlet temperature of the gas water heater.

[0169] It can be seen that this optional embodiment proposes a method for calculating the output power of the gas water heater, which can determine the target output power of the gas water heater based on the obtained water flow, target water inlet temperature and target water outlet temperature.

[0170] In yet another optional embodiment, Figure 5 As shown, the device may further include a second self-checking module 304, and the second self-checking module 304 is used to:

[0171] At each preset self-check time point, the data acquisition module 301 is triggered to execute the operation of acquiring different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current; the data analysis module 302 fits the proportional valve current-output power variation curve according to the different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current, and acquires the target proportional valve current-output power variation curve corresponding to each self-check time point;

[0172] According to the target proportional valve current-output power variation curve corresponding to all self-test time points, a curve shift trend corresponding to the target proportional valve current-output power variation curve is determined, and the curve shift trend is used to represent the shift change trend of the target proportional valve current-output power variation curve over time;

[0173] The second self-test result corresponding to the gas water heater is determined according to the curve deviation trend.

[0174] It can be seen that the gas water heater self-test device based on proportional valve current in this embodiment can trigger the operation of determining the proportional valve current-output power change curve once at each preset self-test time point, thereby obtaining multiple target proportional valve current-output power change curves, and analyzing the self-test results of the gas water heater based on the change trend of the target proportional valve current-output power change curve over time. Since the target proportional valve current-output power change curves at different self-test time points are obtained, the occurrence of misjudgments caused by special circumstances of a single self-test can be reduced, thereby improving the accuracy of the gas water heater self-test.

[0175] In another optional embodiment, the second self-check module 304 determines the specific manner of the curve deviation trend corresponding to the target proportional valve current-output power change curve according to the target proportional valve current-output power change curve corresponding to all self-check time points, which may include:

[0176] For each self-test time point, according to the target proportional valve current-output power variation curve corresponding to the self-test time point, determine the reference output power corresponding to the preset reference proportional valve current at the self-test time point;

[0177] According to the reference output power corresponding to the reference proportional valve current at all self-test time points, a reference output power curve is fitted, and the reference output power curve is used to represent the change of the reference output power over time; according to the reference output power curve, the curve offset trend corresponding to the target proportional valve current-output power change curve is determined;

[0178] And, the specific manner in which the second self-test module 304 determines the second self-test result corresponding to the gas water heater according to the curve deviation trend may include:

[0179] If the slopes of all points on the reference output power curve corresponding to the curve deviation trend are greater than a preset first slope and less than or equal to a preset second slope, it is determined that the second self-test result corresponding to the gas water heater is scale accumulation.

[0180] It can be seen that this optional embodiment can measure the curve deviation trend corresponding to the proportional valve current-output power change curve based on the change of a reference point on the proportional valve current-output power change curve over time, and judge whether the second self-test result is scale accumulation based on the slope of the reference output power curve of the change of the reference point over time. Thus, a more granular self-test result of the gas water heater is provided.

[0181] Embodiment 4

[0182] See also Figure 6 , Figure 6 FIG. 1 is a schematic diagram of the structure of another gas water heater self-test device based on proportional valve current disclosed in an embodiment of the present invention. Figure 6 As shown, the gas water heater self-test device based on proportional valve current may include:

[0183] A memory 401 storing executable program codes;

[0184] a processor 402 coupled to the memory 401;

[0185] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the gas water heater self-test method based on proportional valve current described in the first embodiment of the present invention or the second embodiment of the present invention.

[0186] Embodiment 5

[0187] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps in the gas water heater self-test method based on proportional valve current described in Embodiment 1 or Embodiment 2 of the present invention.

[0188] Embodiment 6

[0189] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the gas water heater self-test method based on proportional valve current described in Example 1 or Example 2.

[0190] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0191] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0192] Finally, it should be noted that the self-test method, device and medium for a gas water heater based on proportional valve current disclosed in the embodiment of the present invention only disclose the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A self-test method for a gas water heater based on proportional valve current, characterized in that: The method comprises: Acquire different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current; According to the different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current, a proportional valve current-output power variation curve is fitted; the proportional valve current-output power variation curve is used to represent the corresponding relationship between the proportional valve current and the output power of the gas water heater; A target detection curve matching the proportional valve current-output power variation curve is determined from a plurality of preset detection curves, and a first self-detection result corresponding to the gas water heater is determined based on the target detection curve.

2. The self-test method for gas water heater based on proportional valve current according to claim 1, characterized in that: The obtaining of different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current includes: When the gas water heater needs to self-check, the water flow of the gas water heater is set to remain unchanged, and the proportional valve current of the gas water heater is set to change at a plurality of preset currents between a preset minimum proportional valve current and a maximum proportional valve current; For each of the preset currents, when the proportional valve current of the gas water heater is set to the preset current, obtaining the target water inlet temperature and the target water outlet temperature of the gas water heater corresponding to the preset current; For each of the preset currents, the target output power of the gas water heater corresponding to the preset current is determined according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current.

3. The self-test method for gas water heater based on proportional valve current according to claim 2, characterized in that: For each of the preset currents, when the proportional valve current of the gas water heater is set to the preset current, obtaining the target water inlet temperature and the target water outlet temperature of the gas water heater corresponding to the preset current includes: For each of the preset currents, the water inlet temperature of the gas water heater is set to the target water inlet temperature and remains unchanged, and when the proportional valve current of the gas water heater is set to the preset current, the stable water outlet temperature when the water outlet temperature of the gas water heater remains stable is obtained as the target water outlet temperature corresponding to the preset current; The fact that the outlet water temperature remains stable indicates that a temperature change value of the outlet water temperature within a preset time range is lower than a preset temperature change threshold.

4. The self-test method for gas water heater based on proportional valve current according to claim 3, characterized in that: For each of the preset currents, obtaining a stable outlet water temperature when the outlet water temperature of the gas water heater remains stable as a target outlet water temperature corresponding to the preset current includes: For each of the preset currents, a temperature difference current of a thermocouple arranged on the gas water heater is obtained, wherein the temperature of a first contact point of the thermocouple is consistent with the water inlet temperature of the gas water heater, and the temperature of a second contact point of the thermocouple is consistent with the water outlet temperature of the gas water heater; and whether a current change value of the temperature difference current within a preset time range is lower than a preset current change threshold value is determined; when it is determined that the current change value of the temperature difference current within the preset time range is lower than the preset current change threshold value, it is determined that the water outlet temperature of the gas water heater remains stable at this time, and the stable water outlet temperature when the water outlet temperature of the gas water heater remains stable is obtained as the target water outlet temperature corresponding to the preset current.

5. The self-test method for a gas water heater based on proportional valve current according to any one of claims 2 to 4, characterized in that: For each of the preset currents, determining the target output power of the gas water heater corresponding to the preset current according to the water flow of the gas water heater and the target water inlet temperature and the target water outlet temperature corresponding to the preset current, comprises: For each of the preset currents, the target output power of the gas water heater corresponding to the preset current is determined according to the following formula: P=C·ρ·q·(T2-T1) Among them, P is the target output power of the gas water heater, C is the specific heat capacity of the heated water, ρ is the density of the heated water, q is the water flow rate of the gas water heater, T2 is the target water outlet temperature of the gas water heater, and T1 is the target water inlet temperature of the gas water heater.

6. The self-test method for gas water heater based on proportional valve current according to claim 1, characterized in that: The method further comprises: At each preset self-check time point, trigger the execution of obtaining different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current; according to the different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current, fit the proportional valve current-output power change curve, and obtain the target proportional valve current-output power change curve corresponding to each self-check time point; Determine, according to the target proportional valve current-output power variation curve corresponding to all the self-checking time points, a curve shift trend corresponding to the target proportional valve current-output power variation curve, wherein the curve shift trend is used to represent the shift change trend of the target proportional valve current-output power variation curve over time; A second self-test result corresponding to the gas water heater is determined according to the curve deviation trend.

7. The self-test method for gas water heater based on proportional valve current according to claim 6, characterized in that: Determining the curve shift trend corresponding to the target proportional valve current-output power change curve according to the target proportional valve current-output power change curve corresponding to all the self-check time points includes: For each of the self-checking time points, according to the target proportional valve current-output power variation curve corresponding to the self-checking time point, determine the reference output power corresponding to the preset reference proportional valve current at the self-checking time point; According to the reference output power corresponding to the reference proportional valve current at all the self-test time points, a reference output power curve is fitted, and the reference output power curve is used to represent the change of the reference output power over time; according to the reference output power curve, a curve offset trend corresponding to the target proportional valve current-output power change curve is determined; And, determining the second self-test result corresponding to the gas water heater according to the curve deviation trend includes: If the slopes of all points on the reference output power curve corresponding to the curve offset trend are greater than a preset first slope and less than or equal to a preset second slope, it is determined that the second self-test result corresponding to the gas water heater is scale accumulation.

8. A gas water heater self-test device based on proportional valve current, characterized in that: The device comprises: A data acquisition module, used for acquiring different proportional valve currents when the gas water heater is working and the target output power of the gas water heater corresponding to each proportional valve current; A data analysis module, used for fitting a proportional valve current-output power variation curve according to different proportional valve currents and the target output power of the gas water heater corresponding to each proportional valve current; the proportional valve current-output power variation curve is used to represent the corresponding relationship between the proportional valve current and the output power of the gas water heater; The first self-test module is used to determine a target detection curve that matches the proportional valve current-output power variation curve from a plurality of preset detection curves, and determine a first self-test result corresponding to the gas water heater based on the target detection curve.

9. A gas water heater self-test device based on proportional valve current, characterized in that: The device includes: a memory storing executable program code; a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the gas water heater self-test method based on proportional valve current as described in any one of claims 1-7.

10. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the gas water heater self-test method based on proportional valve current as described in any one of claims 1-7.