A method and device for identifying a water tank volume, an electronic device and a storage medium
By collecting the heating parameters of the water heater and using a water tank volume calculation model to automatically adjust the outdoor unit parameters of the air source heat pump water heater, the problem of cumbersome parameter settings after users replace the water tank is solved, and user-friendly automated adjustment is achieved.
Patent Information
- Application Number
- CN202311123239.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-01
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-09-01
AI Technical Summary
In air source heat pump water heaters, when users change water tanks of different capacities, professionals are required to come to the site to reset the outdoor unit parameters, which makes the use cumbersome and affects the user experience.
By collecting heating parameters after the water heater has finished heating, the system automatically calculates the current water tank volume using a preset water tank volume calculation model, and adjusts the outdoor unit parameters based on the calculation results, including the unit heating time, compressor frequency, outdoor fan speed, electronic expansion valve opening, and user-set water temperature, to achieve automatic parameter adjustment.
After the user replaces the water tank, the system automatically identifies and adjusts the parameters to ensure normal use, eliminating the need for professional intervention and improving the user experience.
Smart Images

Figure CN117267958B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water heater technology, and in particular to a method, device, electronic device, and storage medium for identifying the volume of a water tank. Background Technology
[0002] Currently, there are many types of air source heat pump water heaters on the market, and each type of water heater can be equipped with water tanks of different capacities. When different water tank capacities are selected, the operating parameters of the water heater's outdoor unit will generally also differ. Therefore, when the water heater is shipped from the factory, relevant personnel will first set or update the corresponding parameters of the outdoor unit according to the water tank capacity before selling it to users.
[0003] However, if users want to use multiple water tanks of different capacities together during subsequent use, then every time a water tank is replaced, a professional needs to come to the site to reset the outdoor unit parameters, which is very cumbersome and greatly affects the user experience. Summary of the Invention
[0004] This invention provides a method, device, electronic device, and storage medium for identifying water tank volume. After a user replaces the water tank of a water heater and reconnects the power, the water tank volume can be automatically calculated, and the corresponding outdoor unit parameters can be automatically adjusted based on the calculated water tank volume, thereby improving the user experience.
[0005] To address the aforementioned technical problems, embodiments of the present invention provide a method for identifying the volume of a water tank, comprising:
[0006] When the water heater is detected to be powered on, the heating parameters after the water heater has finished heating are collected; the heating parameters include: unit heating time, compressor frequency, outdoor fan speed, electronic expansion valve opening, user-set water temperature and outdoor ambient temperature;
[0007] Each of the heating parameters is input into a preset water tank volume calculation model, so that the water tank volume calculation model calculates the water tank volume of the water heater according to each of the heating parameters, and obtains the current water tank volume of the water heater;
[0008] Compare the current water tank capacity of the water heater with the water tank capacity when the water heater was last powered on. If they are inconsistent, adjust the parameters of the water heater according to the current water tank capacity.
[0009] As a preferred embodiment, before comparing the current tank capacity of the water heater with the tank capacity when the water heater was last powered on, the following steps are also included:
[0010] The current water tank volume of the water heater is compared with a preset standard water tank volume table, and the current water tank volume of the water heater is corrected according to the standard water tank volume table.
[0011] As a preferred embodiment, the step of correcting the current water tank volume of the water heater according to the standard water tank volume table includes:
[0012] Calculate the difference between the current water tank volume of the water heater and each standard volume in the standard water tank volume table, and replace the current water tank volume of the water heater with the standard volume with the smallest difference.
[0013] As a preferred embodiment, the construction of the water tank volume calculation model includes:
[0014] Obtain the heating parameters of the water heater under several different water tank volumes;
[0015] Each of the heating parameters is used as a training sample set. A preset neural network model is trained based on the training sample set. The heating parameters are used as inputs and the corresponding water tank volume is used as outputs to obtain the water tank volume calculation model.
[0016] Based on the above embodiments, another embodiment of the present invention provides a water tank volume identification device, including: a heating parameter acquisition module, a water tank volume calculation module, and a water heater parameter adjustment module;
[0017] The heating parameter acquisition module is used to acquire heating parameters after the water heater has finished heating when the water heater is powered on; wherein, the heating parameters include: unit heating time, compressor frequency, outdoor fan speed, electronic expansion valve opening, user-set water temperature and outdoor ambient temperature;
[0018] The water tank volume calculation module is used to input each of the heating parameters into a preset water tank volume calculation model, so that the water tank volume calculation model calculates the water tank volume of the water heater according to each of the heating parameters, and obtains the current water tank volume of the water heater.
[0019] The water heater parameter adjustment module is used to compare the current water tank volume of the water heater with the water tank volume when the water heater was last powered on. If they are inconsistent, the parameters of the water heater are adjusted according to the current water tank volume.
[0020] As a preferred embodiment, the water tank volume identification device further includes: a water tank volume correction module;
[0021] The water tank volume correction module is used to compare the current water tank volume of the water heater with a preset standard water tank volume table, and correct the current water tank volume of the water heater according to the standard water tank volume table.
[0022] Based on the above embodiments, another embodiment of the present invention provides an electronic device, the electronic device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the water tank volume identification method described in the above embodiments of the invention.
[0023] Based on the above embodiments, another embodiment of the present invention provides a storage medium, the storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the storage medium is located to execute the water tank volume identification method described in the above embodiments of the invention.
[0024] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0025] In this invention, when the water heater is detected to be powered on, the outdoor unit system of the water heater automatically collects the heating parameters after the water heater has finished heating; the heating parameters are input into a preset water tank volume calculation model, so that the water tank volume calculation model calculates the water tank volume of the water heater according to the heating parameters to obtain the current water tank volume of the water heater; the current water tank volume of the water heater is compared with the water tank volume when the water heater was last powered on, and if they are inconsistent, the parameters of the water heater are adjusted according to the current water tank volume.
[0026] This invention allows for the automatic calculation of the water tank volume after a user replaces the water tank and reconnects the power. The outdoor unit system can then adjust the corresponding outdoor unit parameters based on the calculated water tank volume, ensuring that the user's normal use is not affected after replacing the water tank, thus improving the user experience. Attached Figure Description
[0027] Figure 1 This is a flowchart illustrating a method for identifying the volume of a water tank according to an embodiment of the present invention;
[0028] Figure 2 This is a schematic diagram of a water tank volume identification device provided in an embodiment of the present invention. Detailed Implementation
[0029] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0030] Example 1
[0031] Please refer to Figure 1 The following is a flowchart illustrating a method for identifying the volume of a water tank according to an embodiment of the present invention, including the following specific steps:
[0032] S1. When the water heater is detected to be powered on, collect the heating parameters after the water heater has finished heating; wherein, the heating parameters include: unit heating time, compressor frequency, outdoor fan speed, electronic expansion valve opening, user-set water temperature and outdoor ambient temperature;
[0033] When the water heater is powered on again, it indicates that the water tank may need to be replaced. Therefore, when the water heater is powered on, for air source heat pump water heaters that have been powered on and are running, after the water heater has completed its first heating, the unit monitoring system of the water heater is used to collect the heating parameters of the water heater: the unit heating time Tt, compressor frequency F, outdoor fan speed f, electronic expansion valve opening (if any) D, user-set water temperature Ty, and outdoor ambient temperature T4.
[0034] S2. Input each of the heating parameters into a preset water tank volume calculation model, so that the water tank volume calculation model calculates the water tank volume of the water heater according to each of the heating parameters, and obtains the current water tank volume of the water heater;
[0035] Preferably, the construction of the water tank volume calculation model includes: obtaining the heating parameters of the water heater under several different water tank volumes; using each heating parameter as a training sample set, training a preset neural network model based on the training sample set, and obtaining the water tank volume calculation model by taking the heating parameters as input and the corresponding water tank volume as output.
[0036] After collecting the heating parameters of the water heater after its first heating is completed, the collected heating parameters are input into a trained water tank volume calculation model. The water tank volume calculation model can then calculate the water tank volume of the water heater based on the heating parameters to obtain the current water tank volume of the water heater.
[0037] The training process for the water tank volume calculation model is as follows:
[0038] Heating parameters affecting the heating effect of the water tank in the hot water heater were used as independent variables. These heating parameters included, but were not limited to, the heating time Tt, compressor frequency F, outdoor fan speed f, electronic expansion valve opening (if present) D, user-set water temperature Ty, outdoor ambient temperature T4, and water tank volume L. Through numerous experiments, the heating parameters after heating of various water tanks with different volumes were determined under different combinations of these independent variables, i.e., under different heating effects. Dataset 1 was obtained and used as the training sample set.
[0039] The different heating effects are determined by the temperature of the water in the tank after heating. A typical water tank has two temperature sensors, one for detecting the upper water temperature (Ts) and the other for detecting the lower water temperature. As water is heated, it tends to rise to the top of the tank, so the upper temperature (Ts) is generally 3°C higher than the lower temperature. However, since the user's water supply is from the top of the tank, this invention uses the upper water temperature (Ts) to determine the heating process. The machine stops when the upper temperature (Ts) reaches the user-set temperature (T), completing the heating cycle. For tanks with only one temperature sensor, this sensor can be used directly for start / stop determination.
[0040] Based on dataset 1, the water tank volume calculation model is obtained by using the unit's hot water heating time Tt, compressor frequency F, outdoor fan speed f, electronic expansion valve opening degree (if any) D, user-set water temperature Ty, and outdoor ambient temperature T4 as inputs and the volume L as output, and training a neural network model A using AI algorithms (including but not limited to XGBoost).
[0041] A = (Tt, F, f, D, Ty, T4) = L
[0042] S3. Compare the current water tank capacity of the water heater with the water tank capacity when the water heater was last powered on. If they are inconsistent, adjust the parameters of the water heater according to the current water tank capacity.
[0043] Preferably, before comparing the current water tank volume of the water heater with the water tank volume when the water heater was last powered on, the method further includes: comparing the current water tank volume of the water heater with a preset standard water tank volume table, and correcting the current water tank volume of the water heater according to the standard water tank volume table.
[0044] Preferably, the step of correcting the current water tank volume of the water heater according to the standard water tank volume table includes: calculating the difference between the current water tank volume of the water heater and each standard volume in the standard water tank volume table, and replacing the current water tank volume of the water heater with the standard volume with the smallest difference.
[0045] In this invention, when the water heater is detected to be powered on, the heating parameters after the initial heating is completed are first collected, and the current water tank volume is calculated based on these parameters. However, to avoid errors in the calculation results that could lead to incorrect determination of the water tank volume, the water heater is heated multiple times, and the heating parameters are collected again after each heating cycle to calculate the current water tank volume.
[0046] Because the calculated current water tank volume may contain errors and slightly differ from the actual water tank volume, after calculating the current water tank volume of multiple water heaters, the current water tank volume of each water heater is compared with the standard volume in a preset water tank standard volume table. This water tank standard volume table includes some commonly used standard water tank volumes on the market, including the water tank volume currently being replaced by the user.
[0047] The difference between the current water tank volume of the water heater and the standard volumes in the standard water tank volume table is calculated. The standard volume with the smallest difference replaces the current water tank volume of the water heater. The standard volume with the smallest difference is the actual volume of the current water tank. For example, if the standard water tank volume table includes standard water tank volumes of 5L, 10L, and 15L, and the current water tank volumes of the water heater after multiple heating cycles are 0.49L, 0.51L, and 0.52L respectively, then it can be determined that the water tank volume replaced by the user is 5L.
[0048] Finally, after calculating the actual volume of the water tank, the outdoor unit system of the water heater compares the current water tank volume with the water tank volume when the water heater was last powered on. If they are inconsistent, it means that the user has replaced the water tank with a different volume before this power-on. The system then adjusts the parameters of the water heater according to the current water tank volume and continues to monitor the power-on status of the water heater.
[0049] Therefore, this invention provides a method for identifying the water tank volume. With this invention, after a user replaces the water tank of the water heater and reconnects the power, the water tank volume of the water heater can be automatically calculated. The outdoor unit system of the water heater can then adjust the corresponding outdoor unit parameters according to the calculated water tank volume, so that the user's normal use is not affected after replacing the water tank, thus improving the user experience.
[0050] Example 2
[0051] Please refer to Figure 2 This is a schematic diagram of a water tank volume identification device provided in an embodiment of the present invention. The device includes: a heating parameter acquisition module, a water tank volume calculation module, and a water heater parameter adjustment module.
[0052] The heating parameter acquisition module is used to acquire heating parameters after the water heater has finished heating when the water heater is powered on; wherein, the heating parameters include: unit heating time, compressor frequency, outdoor fan speed, electronic expansion valve opening, user-set water temperature and outdoor ambient temperature;
[0053] The water tank volume calculation module is used to input each of the heating parameters into a preset water tank volume calculation model, so that the water tank volume calculation model calculates the water tank volume of the water heater according to each of the heating parameters, and obtains the current water tank volume of the water heater.
[0054] The water heater parameter adjustment module is used to compare the current water tank volume of the water heater with the water tank volume when the water heater was last powered on. If they are inconsistent, the parameters of the water heater are adjusted according to the current water tank volume.
[0055] Preferably, the water tank volume identification device further includes: a water tank volume correction module;
[0056] The water tank volume correction module is used to compare the current water tank volume of the water heater with a preset standard water tank volume table, and correct the current water tank volume of the water heater according to the standard water tank volume table.
[0057] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0058] Those skilled in the art will clearly understand that, for convenience and simplicity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0059] Example 3
[0060] Accordingly, embodiments of the present invention provide an electronic device, the electronic device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the water tank volume identification method described in the above embodiments of the invention.
[0061] The electronic device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The device may include, but is not limited to, a processor and memory.
[0062] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the device, connecting various parts of the device via various interfaces and lines.
[0063] Example 4
[0064] Accordingly, embodiments of the present invention provide a storage medium, the storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the storage medium is located to execute the water tank volume identification method described in the above embodiments of the invention.
[0065] The memory can be used to store the computer program. The processor implements various functions of the device by running or executing the computer program stored in the memory and calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created based on the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0066] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When executed by a processor, the computer program can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0067] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for identifying the volume of a water tank, characterized in that, include: When the water heater is detected to be powered on, the heating parameters after the water heater has finished heating are collected; the heating parameters include: unit heating time, compressor frequency, outdoor fan speed, electronic expansion valve opening, user-set water temperature and outdoor ambient temperature; Each of the heating parameters is input into a preset water tank volume calculation model, so that the water tank volume calculation model calculates the water tank volume of the water heater according to each of the heating parameters, and obtains the current water tank volume of the water heater; The current water tank volume of the water heater is compared with a preset standard water tank volume table. The difference between the current water tank volume of the water heater and each standard volume in the standard water tank volume table is calculated. The standard volume with the smallest difference is used to replace the current water tank volume of the water heater. Compare the current water tank capacity of the water heater with the water tank capacity when the water heater was last powered on. If they are inconsistent, adjust the parameters of the water heater according to the current water tank capacity.
2. The method for identifying the water tank volume as described in claim 1, characterized in that, The construction of the water tank volume calculation model includes: Obtain the heating parameters of the water heater under several different water tank volumes; Each of the heating parameters is used as a training sample set. A preset neural network model is trained based on the training sample set. The heating parameters are used as inputs and the corresponding water tank volume is used as outputs to obtain the water tank volume calculation model.
3. A device for identifying the volume of a water tank, characterized in that, include: Heating parameter acquisition module, water tank volume calculation module, water tank volume correction module, and water heater parameter adjustment module; The heating parameter acquisition module is used to acquire heating parameters after the water heater has finished heating when the water heater is powered on; wherein, the heating parameters include: unit heating time, compressor frequency, outdoor fan speed, electronic expansion valve opening, user-set water temperature and outdoor ambient temperature; The water tank volume calculation module is used to input each of the heating parameters into a preset water tank volume calculation model, so that the water tank volume calculation model calculates the water tank volume of the water heater according to each of the heating parameters, and obtains the current water tank volume of the water heater. The water tank volume correction module is used to compare the current water tank volume of the water heater with a preset water tank standard volume table, calculate the difference between the current water tank volume of the water heater and each standard volume in the water tank standard volume table, and replace the current water tank volume of the water heater with the standard volume with the smallest difference. The water heater parameter adjustment module is used to compare the current water tank volume of the water heater with the water tank volume when the water heater was last powered on. If they are inconsistent, the parameters of the water heater are adjusted according to the current water tank volume.
4. An electronic device, characterized in that, The system includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the method for identifying the water tank volume as described in any one of claims 1 to 2.
5. A storage medium, characterized in that, The storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device containing the storage medium to perform the water tank volume identification method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Bath temperature prediction method and water heater
CN107918795A
Equipment parameter self-adaptive adjustment method and device, heating equipment and storage medium
CN118089250A
Hot water system design method, and hot water system designed using hot water system design method
JP2019082305A
