Control method, device and equipment of water heater and storage medium

By detecting the real-time distance between the showerhead and the user, the water heater automatically adjusts the water temperature, solving the problem of users having to frequently adjust the water temperature when switching showerheads or using different modes, thus improving the user experience.

CN122062385APending Publication Date: 2026-05-19QINGDAO ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE HAIER WATER HEATER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
QINGDAO ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE HAIER WATER HEATER CO LTD
Filing Date
2024-11-19
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Existing water heater control methods require users to frequently manually adjust the water temperature when switching between different shower heads or usage modes, resulting in a poor user experience.

Method used

By detecting the real-time distance between the showerhead and the user, and based on the target perceived temperature and the real-time distance, the water heater's outlet temperature is automatically adjusted to ensure that the user's perceived temperature reaches the target perceived temperature.

Benefits of technology

This feature eliminates the need for users to manually adjust the water temperature when switching showerheads or using different bathing methods, thus improving the comfort and convenience of the bathing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122062385A_ABST
    Figure CN122062385A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of intelligent household appliances, and particularly relates to a control method, device and equipment of a water heater and a storage medium. According to the method, the real-time distance between a shower head and a user is detected, and the water outlet temperature of the water heater is determined based on the target sensible temperature and the real-time distance; according to the method, the water outlet temperature of the water heater is automatically determined on the basis of the real-time distance between the shower head and the user, the requirement for the sensible temperature of the user can be met when the user switches the shower head and uses the shower head for bathing in different modes, the user does not need to manually adjust the water temperature, the bathing process of the user is more comfortable and convenient, and the user experience is improved. And the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of smart home appliance technology, specifically relating to a control method, device, equipment, and storage medium for a water heater. Background Technology

[0002] With the popularization and application of smart home appliance technology, users' requirements for the intelligence of water heaters have reached a new level. Modern families are no longer satisfied with basic hot water supply, but pursue a more convenient and comfortable bathing experience. Currently, when users use water heaters for showering, they usually set a water temperature for the water heater. The heated water is then transported to the showerhead through pipes. When the user turns on the showerhead, the hot water is sprayed evenly through the showerhead nozzles, forming a bathing water flow.

[0003] However, modern bathrooms typically have multiple showerheads. When users switch between different showerheads or use different methods with the same showerhead, the perceived temperature changes accordingly, requiring frequent water temperature adjustments and resulting in a poor user experience. Summary of the Invention

[0004] This application provides a control method, device, equipment, and storage medium for a water heater, to solve the problem that existing water heater control methods require users to frequently manually adjust the water temperature when switching between different shower heads, resulting in a poor user experience.

[0005] In a first aspect, this application provides a method for controlling a water heater, the method comprising:

[0006] Detects the real-time distance between the showerhead and the user;

[0007] The outlet water temperature of the water heater is determined based on the target perceived temperature and the real-time distance.

[0008] Optionally, before detecting the real-time distance between the showerhead and the user, the method includes:

[0009] The user is identified, and if the user is a pre-stored registered user, the pre-stored perceived temperature corresponding to the user is determined as the target perceived temperature.

[0010] If the user is an unregistered user, the preset perceived temperature will be set as the target perceived temperature.

[0011] Optionally, the result of user identification includes user type, and if the user is an unregistered user, the preset perceived temperature is determined as the target perceived temperature, including:

[0012] If the user is an unregistered user, then based on the user's user type, a preset perceived temperature corresponding to the user's user type is determined, and the preset perceived temperature is determined as the user's target perceived temperature.

[0013] Optionally, the detection of the real-time distance between the showerhead and the user includes:

[0014] A first sensor mounted on the showerhead is used to detect the first distance between the showerhead and the user in real time;

[0015] The real-time distance is obtained by filtering the multiple first distances obtained from multiple detections.

[0016] Optionally, the step of filtering the multiple first distances obtained from multiple detections to obtain the real-time distance includes:

[0017] A second sensor installed on the water heater is used to detect the second distance between the water heater and the user in real time;

[0018] The real-time distance is obtained by filtering multiple first distances based on multiple second distances obtained from multiple detections.

[0019] Optionally, the step of filtering the multiple first distances based on multiple second distances obtained from multiple detections to obtain the real-time distance includes:

[0020] If the change values ​​of multiple second distances are less than the first threshold, and if among the multiple first distances, there is a target first distance whose difference from all other first distances is greater than the second threshold, then the target first distance among the multiple first distances is removed to obtain the real-time distance.

[0021] Optionally, determining the outlet water temperature of the water heater based on the target perceived temperature and the real-time distance includes:

[0022] Determine the distance range within which the real-time distance is located;

[0023] The water outlet temperature of the water heater is determined based on the distance range, the target perceived temperature, the ambient temperature, and the water flow rate from the showerhead.

[0024] Secondly, this application provides a control device for a water heater, comprising:

[0025] The detection module is used to detect the real-time distance between the shower head and the user;

[0026] The processing module is used to determine the outlet water temperature of the water heater based on the target perceived temperature and the real-time distance.

[0027] Optionally, the processing module is further configured to identify the user, and if the user is a pre-stored registered user, determine the pre-stored perceived temperature corresponding to the user as the target perceived temperature.

[0028] If the user is an unregistered user, the preset perceived temperature will be determined as the target perceived temperature.

[0029] Optionally, the processing module is further configured to, when the user is an unregistered user, determine a preset perceived temperature corresponding to the user's user type based on the user's user type, and set the preset perceived temperature as the user's target perceived temperature.

[0030] Optionally, the detection module is further configured to use a first sensor mounted on the shower head to detect in real time the first distance between the shower head and the user;

[0031] The processing module is further configured to filter the multiple first distances obtained from multiple detections to obtain the real-time distance.

[0032] Optionally, the detection module is further configured to use a second sensor mounted on the water heater to detect the second distance between the water heater and the user in real time;

[0033] The processing module is further configured to filter the multiple first distances based on the multiple second distances obtained from multiple detections, thereby obtaining the real-time distance.

[0034] Optionally, the processing module is further configured to, when the change values ​​of multiple second distances are less than a first threshold, and when there is a target first distance among multiple first distances whose difference from other first distances is greater than a second threshold, remove the target first distance from the multiple first distances to obtain the real-time distance.

[0035] Optionally, the processing module is further configured to determine the distance range in which the real-time distance is located;

[0036] The processing module is also used to determine the water outlet temperature of the water heater based on the distance range, the target perceived temperature, the ambient temperature, and the water flow rate of the showerhead.

[0037] Thirdly, this application provides a control device for a water heater, including: a memory and a processor;

[0038] The memory stores computer-executed instructions;

[0039] The processor executes computer execution instructions stored in the memory, causing the processor to perform the water heater control method as described in the first aspect and / or various possible embodiments of the first aspect.

[0040] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the water heater control method described in the first aspect and / or various possible embodiments of the first aspect.

[0041] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the water heater control method as described in the first aspect and / or various possible embodiments of the first aspect.

[0042] The water heater control method provided in this application determines the water outlet temperature of the water heater by detecting the real-time distance between the shower head and the user, based on the target perceived temperature and the real-time distance. This method realizes the automatic determination of the water outlet temperature of the water heater based on the real-time distance between the shower head and the user, so as to ensure that the user's perceived temperature can reach their target perceived temperature, and the user does not need to manually adjust the water temperature, making the user's bathing process more comfortable and convenient, and improving the user experience. Attached Figure Description

[0043] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0044] Figure 1 Flowchart of the water heater control method provided in this application Figure 1 ;

[0045] Figure 2 Flowchart of the water heater control method provided in this application Figure 2 ;

[0046] Figure 3 A schematic diagram of the control device for the water heater provided in this application;

[0047] Figure 4 A schematic diagram of the control device for the water heater provided in this application.

[0048] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0050] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein.

[0051] In this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0052] Modern bathrooms typically have multiple showerheads, such as overhead showerheads and handheld showerheads. The type and method of using these showerheads can affect the perceived temperature. For example, the temperature might be just right when using a handheld showerhead, but once the handheld showerhead is fixed in place, or when switching to an overhead showerhead, the water might feel cold, requiring readjustment of the water temperature and resulting in a less than ideal showering experience.

[0053] To address the aforementioned issues, this application provides a water heater control method. When a user prepares to shower, the system responds to the user's voice command, recognizes the command to determine the user and their target perceived temperature, and then uses a distance sensor on the showerhead to detect the real-time distance between the showerhead and the user's body. This real-time distance parameter is transmitted to the water heater's control system, allowing the system to calculate the water outlet temperature based on the user's target perceived temperature and the distance parameter. This ensures the user's perceived temperature reaches their target temperature, automatically adjusting the water outlet temperature. This method satisfies the user's perceived temperature needs when switching showerheads or using different shower methods, without requiring manual temperature adjustment, making the showering process more comfortable and convenient, and improving the user experience.

[0054] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0055] Figure 1 A flowchart illustrating the water heater control method provided in this application embodiment. Figure 1 In this embodiment, the executing entity is, for example, the control system of a water heater. Figure 1 As shown, the water heater control method provided in this embodiment includes:

[0056] S101, Detects the real-time distance between the shower head and the user.

[0057] The distance between the showerhead and the user can be detected by a distance sensor on the showerhead. This real-time distance is used to indicate the difference in water outlet height. The distance sensor can be, for example, an infrared distance sensor or an ultrasonic sensor. The showerhead refers to the showerhead currently being used by the user. The showerhead type can be, for example, a handheld showerhead, a fixed showerhead, an overhead showerhead, a digital showerhead, or a folding showerhead. The number of showerheads can be one or more. This application does not impose any special restrictions on the type and number of showerheads.

[0058] Understandably, when a user stands under the showerhead to shower, the distance sensor can detect multiple distance parameters between the showerhead and the user's body. By analyzing and processing these distance parameters, some false parameters can be eliminated, and the distance parameters between the showerhead and the main area of ​​the user's body can be determined. These distance parameters are then used as the real-time distance between the showerhead and the user.

[0059] S103. Determine the outlet water temperature of the water heater based on the target perceived temperature and real-time distance.

[0060] The target perceived temperature can be a preset perceived temperature under unknown user water usage habits, or it can be a perceived temperature determined after user identification.

[0061] If the user is not identified or the user identification fails, it means that the user's water usage habits are unknown at this time, and the preset perceived temperature can be used as the target perceived temperature.

[0062] If the user is successfully identified, the user's perceived temperature can be obtained as the target perceived temperature.

[0063] Here, the methods for user identification can include, for example, voice recognition, facial recognition, fingerprint recognition, etc. This application does not impose any special restrictions on this.

[0064] For example, when a user speaks to the water heater before taking a shower, such as "I want to take a shower," the voice module captures the user's voice command, extracts the voiceprint features of the voice signal in real time, compares them with the voiceprint models in the database, and then uses a matching algorithm to calculate the similarity between the voice signal and the existing voiceprint models, thereby determining the user to whom the voice command belongs, and further determining the target body temperature corresponding to that user.

[0065] Here, with the water heater connected to the cloud server and smart terminal, the user can set the perceived temperature value corresponding to their own voiceprint model through the application on the smart terminal. After setting, the smart terminal sends the voiceprint model and the perceived temperature value corresponding to the voiceprint model to the cloud server, and then sends it to the water heater through the cloud server. In this way, each voiceprint feature of the water heater corresponds to the user and the most suitable perceived temperature for that user.

[0066] The showerhead can send real-time distance data to the water heater via an infrared communication module. Based on this real-time distance, the water heater can determine the water outlet height difference and calculate the actual perceived temperature of the hot water after it falls from the showerhead onto the user, according to the relationship between the current water temperature, the water outlet height difference, and the perceived temperature. Then, it compares this actual perceived temperature with the target perceived temperature to determine whether the water temperature needs to be adjusted.

[0067] When it is necessary to adjust the water temperature, the target water temperature of the water heater is calculated based on the correspondence between the target perceived temperature, the real-time distance, and the water temperature. This allows the water heater to be controlled to dispense water at the target temperature, ensuring that the user's perceived temperature needs can be met regardless of which shower head the user uses, whether it is a handheld shower head or a fixed shower head.

[0068] For example, when a user holds the showerhead in their hand, the temperature difference is small due to the short distance between the water droplets and the water, so the water temperature from the water heater is close to the target perceived temperature. When a user fixes the showerhead in place or uses the top showerhead, the temperature difference is greater due to the greater distance between the water droplets. The water heater will determine the water temperature based on the real-time distance transmitted by the showerhead and the user's target perceived temperature, and automatically raise the water temperature to that temperature.

[0069] Optionally, the water heater can also send the real-time distance to a cloud server, where the optimal outlet water temperature is calculated based on the real-time distance and the target perceived temperature.

[0070] It should be noted that the water heater control method provided in this application embodiment can be applied to any type of water heater, such as instant water heater, storage water heater, air source water heater, electric water heater, gas water heater, etc.

[0071] The water heater control method provided in this application detects the real-time distance between the showerhead and the user, and determines the water outlet temperature of the water heater based on the target perceived temperature and the real-time distance. This method automatically determines the water outlet temperature of the water heater based on the real-time distance between the showerhead and the user, ensuring that the user's perceived temperature reaches their target perceived temperature when switching between different showerheads or using different methods of showering, without requiring the user to manually adjust the water temperature. This makes the user's showering process more comfortable and convenient, and improves the user experience.

[0072] Figure 2 Flowchart of the water heater control method provided in this application Figure 2 ,like Figure 2 As shown, in this embodiment... Figure 1 Based on the embodiments, the control method for the water heater is described in detail. The control method for the water heater provided in this embodiment includes:

[0073] S201. Identify the user.

[0074] Here, user identification can be achieved through methods such as voice recognition, facial recognition, fingerprint recognition, or identification when the user wears a wristband with an RFID or NFC chip. This application does not impose any special restrictions on this.

[0075] S202. If the user is a pre-stored registered user, then the pre-stored target perceived temperature of that user is determined as the target perceived temperature.

[0076] For example, a registered user refers to a user who registers through an application on a smart terminal, inputting personal information and a target body temperature. Afterward, the user records one or more voice samples for voiceprint recognition. Voiceprint recognition algorithms extract voiceprint features from the voice samples, thereby storing the user's voiceprint features and target body temperature in a database.

[0077] Thus, when a user issues a voice command such as "I want to take a shower," the voiceprint features in the voice command are extracted and compared with the voiceprint features stored in the database to determine the user's identity and obtain the user's target body temperature from the database.

[0078] S203. If the user is an unregistered user, the preset perceived temperature will be set as the user's target perceived temperature.

[0079] For example, if a user is identified as an unregistered user after voice recognition, the pre-set perceived temperature can be set as the user's target perceived temperature.

[0080] The voiceprint recognition results include user type, such as elderly, adult, child, male, female, etc. The preset perceived temperature can be set based on various types of user voiceprint data in the database and empirical values ​​of water temperature. Different user types correspond to different preset perceived temperatures; for example, the preset perceived temperature for the elderly is 38℃, for adults it is 40℃, and for children it is 37℃.

[0081] In some embodiments, if the voiceprint recognition result indicates that the user is an unregistered user, then based on the user's user type, a preset body temperature corresponding to the user's user type is determined, and the preset body temperature is determined as the user's target body temperature.

[0082] First, define user types and their corresponding preset body temperature. Building upon voiceprint recognition, add user type recognition. User types can be determined using voiceprint features, and based on the identified user type, the corresponding body temperature is obtained from multiple preset body temperature options.

[0083] S204. A first sensor installed on the showerhead is used to detect the first distance between the showerhead and the user in real time.

[0084] The first sensor, for example, refers to an infrared sensor, and the first distance refers to the distance between the shower head and the bathing user's current body detected by the first sensor. It should be understood that when the first sensor is an infrared sensor, it can detect changes in infrared radiation in the environment. When the user enters the detection range of the infrared sensor, the infrared sensor can detect changes in infrared radiation, thereby determining whether the user's body is present.

[0085] In this step, based on the user's body shape, outline, and the user's specific position and posture under the showerhead, the first sensor on the showerhead will detect the distance parameters between the showerhead and multiple body parts of the user, namely multiple first distances.

[0086] In some embodiments, the distance from the showerhead to the bathroom floor and the distance from the showerhead to the user's head can be detected by the first sensor, thereby calculating the user's height data.

[0087] S205. Filter the multiple first distances obtained from multiple detections to obtain the real-time distance.

[0088] The real-time distance refers to the distance between the showerhead and the main area of ​​the user's body, which is the main shower area the user is currently showering, such as the head, back, and lower limbs.

[0089] Understandably, since the first distance refers to the distance parameters between the showerhead and multiple parts of the user's body, there may be misjudged parameters among these distance parameters. Misjudged parameters may cause the system to frequently perform unnecessary operations, such as incorrectly adjusting the water temperature, consuming resources and reducing the user experience. Therefore, by filtering multiple first distances, some misjudged parameters can be eliminated, and the actual distance parameters between the showerhead and the user's current main body area can be determined.

[0090] In one possible implementation, a second sensor installed on the water heater can be used to detect the second distance between the water heater and the user in real time. Based on multiple second distances obtained from multiple detections, multiple first distances are filtered to obtain the real-time distance.

[0091] The second sensor, for example, refers to an ultrasonic sensor, and the second distance refers to the distance between the shower head and the bathing user's current body detected by the second sensor.

[0092] For example, if the change values ​​of multiple second distances are less than the first threshold, and if among the multiple first distances there is a target first distance whose difference from other first distances is greater than the second threshold, then the target first distance among the multiple first distances is removed to obtain the real-time distance.

[0093] When the second sensor is an ultrasonic sensor, the ultrasonic sensor can detect the distance between the shower head and the user multiple times, obtaining multiple second distances, such as 30cm, 31cm, 33cm, and 35cm; multiple first distances, such as 30cm, 32cm, 34cm, and 44cm; a first threshold, such as 5cm, and a second threshold, such as 10cm. At this time, it can be determined that the changes in the above multiple second distances compared to the previous second distance are 1cm, 2cm, and 2cm, respectively, all less than the first threshold of 5cm, indicating that the values ​​of the second distances are relatively stable and the user has not moved significantly in the main position of the space. However, the differences between the first distance of 40cm and other first distances are 14cm, 12cm, and 10cm, respectively, all greater than the second threshold of 10cm. Thus, it can be determined that the 44cm in the first distance is a misjudged distance parameter, i.e., the target first distance, and it is discarded.

[0094] S206. Determine the distance range of the real-time distance.

[0095] When there are multiple distance parameters for real-time distance, the distance range of the set of real-time distances can be determined based on the maximum and minimum values ​​of the multiple distance parameters, thereby determining the main bathing area of ​​the user's body corresponding to the distance range.

[0096] Here, multiple distance ranges can be preset based on the height data of bathing users. This is because, when a person is standing, the height of different parts of the body relative to the ground is fixed. For example, the head height is usually around 100% of the height, and the shoulder height is about 60% of the height.

[0097] Therefore, based on the user's height data, reasonable distance thresholds can be set, and multiple distance ranges can be obtained based on these thresholds. After obtaining the real-time distance, the distance range to which the real-time distance belongs can be determined based on the user's height data. For example, if the user's height is 175cm and the shower head is 210cm above the ground, then the distance range corresponding to the user's head shower area is 25cm-35cm, and the distance range corresponding to the back shower area is 40cm-88cm.

[0098] The purpose of this step is to prevent the water heater from frequently and unnecessarily adjusting the water temperature when the distance changes slightly in real time, which would lead to unstable water temperature and affect the user experience.

[0099] S207. Determine the water outlet temperature of the water heater based on the distance range, target perceived temperature, ambient temperature, and shower head water flow rate.

[0100] Among the factors influencing the water heater's outlet temperature are the real-time distance between the showerhead and the user, the user's target perceived temperature, the ambient temperature of the bathing space, and the current water flow rate from the showerhead. For example, the greater the distance between the showerhead and the bathing area, the longer the hot water takes to physically dissipate heat in the air, resulting in a lower perceived temperature when it reaches the user's body, necessitating an increase in the water heater's outlet temperature. Conversely, the lower the ambient temperature, the faster the water cools in the air, requiring an increase in the outlet temperature to compensate for cooling losses. At the same initial outlet temperature, a smaller water flow rate from the showerhead results in slightly higher water temperatures reaching the user's body, necessitating a decrease in the outlet temperature to prevent overheating. In short, the goal is to ensure the water heater delivers water at the calculated target outlet temperature, ensuring the user's perceived temperature reaches the target temperature.

[0101] In one possible implementation, different distance ranges correspond to different target perceived temperatures. This means that for the same user when bathing different parts of the body, there can be multiple target perceived temperatures. For example, if the user is currently bathing the head based on the real-time distance range, the target perceived temperature can be 38°C; if the user is currently bathing the back based on the real-time distance range, the target perceived temperature can be 41°C.

[0102] The water heater control method provided in this application responds to voice commands by recognizing the voice commands. If the voiceprint recognition result indicates that the user is a pre-stored registered user, the method obtains the pre-stored target perceived temperature for the user. If the voiceprint recognition result indicates that the user is an unregistered user, the method determines the preset perceived temperature as the user's target perceived temperature. A first sensor installed on the showerhead detects the first distance between the showerhead and the user in real time. Multiple first distances obtained from multiple detections are filtered to obtain the real-time distance, thus improving the accuracy of determining the real-time distance between the showerhead and the user. Based on the distance range of the real-time distance, the target perceived temperature, the ambient temperature, and the water flow rate of the showerhead, the method automatically determines the water outlet temperature of the water heater to ensure that the user's real-time perceived temperature can reach their target perceived temperature, thereby improving the user experience.

[0103] Figure 3 A schematic diagram of the control device for the water heater provided in this application is shown below. Figure 3 As shown, the control device 300 for the water heater provided in this embodiment includes:

[0104] Detection module 301 is used to detect the real-time distance between the shower head and the user;

[0105] The processing module 302 is used to determine the outlet water temperature of the water heater based on the target perceived temperature and the real-time distance.

[0106] Optionally, the processing module 302 is further configured to identify the user, and if the user is a pre-stored registered user, determine the pre-stored body temperature corresponding to the user as the target body temperature.

[0107] If the user is an unregistered user, the preset perceived temperature will be determined as the target perceived temperature.

[0108] Optionally, the processing module 302 is further configured to, when the user is an unregistered user, determine a preset perceived temperature corresponding to the user's user type based on the user's user type, and set the preset perceived temperature as the user's target perceived temperature.

[0109] Optionally, the detection module 301 is further configured to use a first sensor disposed on the shower head to detect in real time the first distance between the shower head and the user;

[0110] The processing module 302 is further configured to filter the multiple first distances obtained from multiple detections to obtain the real-time distance.

[0111] Optionally, the detection module 301 is further configured to use a second sensor mounted on the water heater to detect the second distance between the water heater and the user in real time;

[0112] The processing module 302 is further configured to filter the multiple first distances based on the multiple second distances obtained from multiple detections to obtain the real-time distance.

[0113] Optionally, the processing module 302 is further configured to, when the change values ​​of multiple second distances are less than a first threshold, and when there is a target first distance among multiple first distances whose difference from other first distances is greater than a second threshold, remove the target first distance from the multiple first distances to obtain the real-time distance.

[0114] Optionally, the processing module 302 is further configured to determine the distance range in which the real-time distance is located;

[0115] The processing module 302 is also used to determine the water outlet temperature of the water heater based on the distance range, the target perceived temperature, the ambient temperature, and the water flow rate of the shower head.

[0116] Figure 4 A schematic diagram of the control device for the water heater provided in this application. Figure 4 As shown, this application provides a control device for a water heater. The control device 400 for the water heater includes: a receiver 401, a transmitter 402, a processor 403, and a memory 404.

[0117] Receiver 401 is used to receive instructions and data;

[0118] Transmitter 402 is used to send commands and data;

[0119] Memory 404 is used to store instructions executed by the computer;

[0120] The processor 403 is used to execute computer execution instructions stored in the memory 404 to implement the various steps of the water heater control method in the above embodiments. For details, please refer to the relevant descriptions in the foregoing embodiments of the water heater control method.

[0121] Alternatively, the memory 404 can be either standalone or integrated with the processor 403.

[0122] When the memory 404 is set up independently, the control device of the water heater also includes a bus for connecting the memory 404 and the processor 403.

[0123] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described water heater control method.

[0124] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the aforementioned water heater control method.

[0125] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0126] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0127] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for controlling a water heater, characterized in that, The method includes: Detects the real-time distance between the showerhead and the user; The outlet water temperature of the water heater is determined based on the target perceived temperature and the real-time distance.

2. The method according to claim 1, characterized in that, Before detecting the real-time distance between the showerhead and the user, the method includes: The user is identified, and if the user is a pre-stored registered user, the pre-stored perceived temperature corresponding to the user is determined as the target perceived temperature. If the user is an unregistered user, the preset perceived temperature will be set as the target perceived temperature.

3. The method according to claim 2, characterized in that, The result of user identification includes user type. If the user is an unregistered user, then the preset perceived temperature is determined as the target perceived temperature, including: If the user is an unregistered user, then based on the user's user type, a preset perceived temperature corresponding to the user's user type is determined, and the preset perceived temperature is determined as the user's target perceived temperature.

4. The method according to any one of claims 1-3, characterized in that, The detection of the real-time distance between the shower head and the user includes: A first sensor mounted on the showerhead is used to detect the first distance between the showerhead and the user in real time; The real-time distance is obtained by filtering the multiple first distances obtained from multiple detections.

5. The method according to claim 4, characterized in that, The step of filtering multiple first distances obtained from multiple detections to obtain the real-time distance includes: A second sensor installed on the water heater is used to detect the second distance between the water heater and the user in real time; The real-time distance is obtained by filtering multiple first distances based on multiple second distances obtained from multiple detections.

6. The method according to claim 5, characterized in that, The step of filtering multiple first distances based on multiple second distances obtained from multiple detections to obtain the real-time distance includes: If the change values ​​of multiple second distances are less than the first threshold, and if among the multiple first distances, there is a target first distance whose difference from all other first distances is greater than the second threshold, then the target first distance among the multiple first distances is removed to obtain the real-time distance.

7. The method according to any one of claims 1-3, characterized in that, Determining the outlet water temperature of the water heater based on the target perceived temperature and the real-time distance includes: Determine the distance range within which the real-time distance is located; The water outlet temperature of the water heater is determined based on the distance range, the target perceived temperature, the ambient temperature, and the water flow rate from the showerhead.

8. A control device for a water heater, characterized in that, The device includes: The detection module is used to detect the real-time distance between the shower head and the user; The processing module is used to determine the outlet water temperature of the water heater based on the target perceived temperature and the real-time distance.

9. A control device for a water heater, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the control method for the water heater as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the control method for a water heater as described in any one of claims 1-7.