Water temperature control method and device, water temperature control equipment and storage medium
By obtaining season, environment, weather and body temperature information, and using the temperature compensation model to adjust the outlet temperature of the heating equipment, the problem that the heating equipment cannot intelligently adjust the water temperature and improves the user's bathing experience.
Patent Information
- Application Number
- CN202510518488.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-07-18
AI Technical Summary
Existing heating equipment cannot intelligently adjust the water temperature according to seasonal, environment and individual differences when bathing, resulting in poor user experience.
By obtaining current seasonal information, environmental information, weather information and body temperature information of the target object, adjust the compensation parameters using the temperature compensation model and weight priority, determine the target temperature to control the effluent temperature of the heating equipment.
It realizes personalized adjustment of water temperature according to actual conditions, improving the user's bathing comfort and experience without the need for manual operation of the user.
Smart Images

Figure CN120332933A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of smart home, and particularly to a water temperature control method, device, water temperature control equipment and storage medium. Background Art
[0002] With the rapid development of smart technology, users increasingly expect heating devices (such as gas water heaters and electric instant water heaters) to become more and more intelligent. When existing heating devices provide bathing water for users, they usually set a fixed temperature on the heating device body by the user, and determine whether to adjust the fixed temperature on the heating device body by sensing the water temperature during actual use. For safety reasons, the heating device body is generally not installed in the bathroom, so it is inconvenient to adjust the temperature; some water heaters are equipped with a fine-tuning device on the shower to allow users to fine-tune the temperature according to the outlet water temperature and actual needs to adjust to a relatively satisfactory water temperature, but the manual adjustment method is relatively cumbersome. Or when the water temperature is within the acceptable range of the user, even if it is not the required temperature of the user, the user will directly take a bath according to the current outlet water temperature, but the experience is not good. Therefore, how to intelligently control the heating device to provide bathing hot water for users has become an urgent problem to be solved. Summary of the Invention
[0003] Embodiments of this application provide a water temperature control method, device, water temperature control equipment and storage medium, which can intelligently adjust the outlet water temperature of the heating device to improve the user experience.
[0004] In a first aspect, embodiments of this application provide a water temperature control method, including:
[0005] When receiving a water outlet instruction, obtaining current season information, current environment information, current weather information, the body temperature information of the target object, and the object type of the target object; determining a base temperature according to the current season information and the object type; inputting the current environment information, the current weather information, and the body temperature information into a temperature compensation model to obtain a compensation temperature; wherein, the compensation temperature is obtained by adjusting the compensation parameters in the temperature compensation model in a weight priority manner, and the compensation parameters at least include environmental parameters, weather parameters, and body temperature parameters; determining a target temperature according to the base temperature and the compensation temperature, so that the heating device heats according to the target temperature.
[0006] In a second aspect, embodiments of this application provide a water temperature control device, the device includes:
[0007] An information acquisition module, configured to obtain current season information, current environment information, current weather information, the body temperature information of the target object, and the object type of the target object when receiving a water outlet instruction;
[0008] A basic temperature determination module, configured to determine a basic temperature according to the current season information and the object type;
[0009] A compensation temperature determination module, configured to input the current environment information, the current weather information, and the body temperature information into a temperature compensation model to obtain a compensation temperature; wherein, the compensation temperature is obtained by adjusting compensation parameters in the temperature compensation model in a weight priority manner, and the compensation parameters at least include an environment parameter, a weather parameter, and a body temperature parameter;
[0010] A target temperature determination module, configured to determine a target temperature according to the basic temperature and the compensation temperature, so that a heating device heats according to the target temperature.
[0011] In a third aspect, an embodiment of the present application further provides a water temperature control device, which at least includes a radar detection unit, a temperature detection unit, a networking communication unit, a temperature sensing unit, and a processing unit;
[0012] The radar detection module is configured to obtain the object type of a target object; the temperature detection unit is configured to obtain the body temperature information of the target object; the temperature sensing unit is configured to obtain the current environment information; the networking communication unit is configured to obtain the current season information and the current weather information, and the networking communication unit is further configured to communicate with a heating device; the processing unit is configured to execute the water temperature control method according to any one of claims 1-7.
[0013] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to implement the water temperature control method according to any embodiment of the present application when executed by a processor.
[0014] In a fifth aspect, the present application further provides a computer program product, including a computer program, and the computer program implements the water temperature control method according to any embodiment of the present application when executed by a processor.
[0015] The water temperature control solution provided by the embodiments of the present application, when receiving the water outlet instruction, determines the base temperature through the current season information and object type. Different base temperatures are set in different seasons and for different object types, so that the subsequently determined target temperature better meets the actual needs of the target object and avoids blind setting of the base temperature. Then, through the temperature compensation model, the current environmental information, current weather information, and body temperature information are calculated, and the compensation parameters are adjusted by means of weight priority to obtain the compensation temperature. The weights of each compensation parameter can be flexibly adjusted according to the actual situation, so as to more accurately calculate the required compensation temperature. At the same time, the individual differences of different target objects are considered through the body temperature information, so that the heating device can compensate the temperature according to the actual environmental conditions and individual differences. Finally, the target temperature determined by the base temperature and the compensation temperature can better meet the personalized temperature needs of the target object. In this process, there is no need for the user to manually operate, and the beneficial effect of improving the user's bathing comfort and bathing experience is achieved by intelligently controlling the water temperature.
[0016] It should be noted that the above computer instructions can be stored in whole or in part on a computer-readable storage medium. Among them, the computer-readable storage medium can be packaged together with the processor of the water temperature control device or separately packaged with the processor of the water temperature control device. The present application does not make any limitations in this regard.
[0017] For the descriptions of the second, third, fourth, and fifth aspects in the present application, reference can be made to the detailed description of the first aspect; and for the beneficial effects described in the second, third, fourth, and fifth aspects, reference can be made to the analysis of the beneficial effects of the first aspect, which will not be elaborated here.
[0018] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
[0019] It can be understood that before using the technical solutions disclosed in the embodiments of the present application, the types, usage scopes, and usage scenarios of the personal information involved in the present application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0021] Figure 1 is a flowchart of the water temperature control method provided by an embodiment of the present application;
[0022] Figure 2 is a flowchart of determining the compensation temperature provided by an embodiment of the present application;
[0023] Figure 3 is a flowchart of determining the environmental compensation temperature provided by an embodiment of the present application;
[0024] Figure 4 is a structural diagram of the water temperature control device provided by an embodiment of the present application;
[0025] Figure 5 is a structural diagram of the water temperature control equipment provided by an embodiment of the present application. Detailed implementation manners
[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the present application will be clearly and completely described below in conjunction with the accompanying drawings in this embodiment. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0028] The present application will be further described in detail below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present application, rather than limiting the present application. Additionally, it should be noted that for the convenience of description, only a part of the structure related to the present application rather than all the structures is shown in the drawings.
[0029] Figure 1This is a schematic flowchart of the water temperature control method provided by the embodiments of the present application. This embodiment is applicable to the situation where the target temperature of the bath water can be intelligently determined for the current user, and the heating device is controlled to heat according to the heating temperature. This method can be executed by a water temperature control device, which can be implemented in the form of hardware and / or software and integrated in the water temperature control device provided in this embodiment. Refer to Figure 1 , and the method specifically may include the following steps:
[0030] S110. When receiving the water outlet instruction, obtain the current season information, current environment information, current weather information, body temperature information of the target object, and object type of the target object.
[0031] In the application scenario provided by this embodiment, the water outlet instruction is used to trigger the water temperature control device to obtain multi-dimensional information (for example, in this embodiment, it may include season information, environment information, weather information, body temperature information of the target object, and object type of the target object, etc.), and trigger the heating device to heat the domestic water according to the target temperature finally determined by the water temperature control device.
[0032] Among them, the way to generate the water outlet instruction can be: the user presses a specific button of the water temperature control device (such as the start button on the water temperature control device) to generate the water outlet instruction through the pressing signal of the specific button; or opens the bathroom faucet to generate the water outlet instruction through the opening instruction of the faucet; or can also generate the water outlet instruction through a voice control instruction (for example, the user says "turn on the shower" to the water temperature control device), etc. The specific way to generate the water outlet instruction is not limited here.
[0033] It should be noted that the water temperature control device mentioned in this embodiment is different from the above-mentioned heating device. It can be understood that the water temperature control device is an independent device, which can be set in the bathroom to collect the above multi-dimensional information when receiving the water outlet instruction, so as to determine the target temperature suitable for the current target object by performing the subsequent operation steps provided in this embodiment, and the water temperature control device and the heating device are communicatively connected. The heating device is generally set in the kitchen, so as to control the heating device to heat according to the target temperature through the water temperature control device.
[0034] The current season information is used to represent the season in which the user uses water. In this embodiment, the season information includes spring, summer, autumn, and winter. The reason for considering the season information in this embodiment is that there are certain differences in temperature differences in each season, and the season affects the setting of the water temperature. For example, the temperature setting in winter is usually higher than that in summer so that the user can obtain the water temperature experience in summer. However, the user cannot accurately judge how much higher the temperature setting in winter should be than in summer and can only roughly set it based on experience and then continuously adjust it according to the trial water temperature. Therefore, considering the season information has an important reference role for subsequent operations such as determining the base temperature. Among them, the way to obtain the season information can be to set a network communication unit in the water temperature control device to obtain the current season information from the server based on the network communication unit.
[0035] The current environment information is used to represent the environment where the water temperature control device is located. For example, it can include environmental temperature, environmental humidity, etc. These information will affect the adjustment of the output temperature of the heating device. In this embodiment, the environmental information can also include outdoor temperature information, bathroom temperature information, and indoor temperature information, etc. Among them, a temperature sensing unit, such as a high-precision temperature sensor, can be integrated in the water temperature control device to obtain the current environment information.
[0036] The current weather information is used to represent the current weather conditions, such as sunny, cloudy, rainy, snowy, etc. Different weather conditions affect the human perception of temperature and the heating requirements of the device. Similarly, the current weather information can also be obtained from the server based on the network communication unit.
[0037] The target object refers to the user who needs to use hot water at the current time. The purpose of obtaining the body temperature information of the target object is to perform personalized adjustment of the water temperature according to individual differences. For example, when the user has a fever, the temperature needs to be adjusted accordingly; the object types of the target object can include children, adults, and the elderly, etc. Among them, the body temperature information of the target object can be obtained by integrating a temperature detection unit in the water temperature control device, such as a high-precision infrared temperature sensor, to detect the human body temperature within a certain range; the object type of the target object can be realized by integrating a radar detection module in the water temperature control device, such as a millimeter-wave radar human body detection module, etc.
[0038] S120. Determine the base temperature according to the current season information and the object type.
[0039] Since there are significant differences in the water temperatures required in different seasons and different object types, the base temperature in this embodiment is determined by the current season information and the object type. The advantage of doing this is that different base temperatures are set in different seasons and different object types, making the subsequent determined target temperature more in line with the actual needs of the target object and avoiding the blind setting of the base temperature.
[0040] Among them, the way to determine the base temperature according to the current season information and object type can be to set different required temperatures for different object types, and then correct the preset required temperature in combination with the current season information.
[0041] A specific implementation method is that the above step S120 can also be implemented in the following way: determine the corresponding initial temperature from the season temperature mapping table according to the current season information, where one season information in the season temperature mapping table corresponds to one initial temperature; determine the corresponding second correction temperature according to the object type; determine the base temperature according to the initial temperature and the second correction temperature. By separately considering the two factors of season and object type in this embodiment, a more suitable base temperature can be determined more precisely; by adjusting the temperature based on the base temperature that conforms to the current user, a water temperature that better meets the user's own needs can be obtained, improving the user experience.
[0042] In the specific implementation method of this embodiment, first, the following information can be preset in the season temperature mapping table: winter: 40°C, spring / autumn: 38°C, summer: 37°C; thus, the current initial temperature can be obtained according to the current season information. Taking the current season information as summer as an example, the initial temperature is 37°C; second, different second correction temperatures are set for different object types. For example, for the elderly / weak people: +2°C, for children: -1°C, for adults: no adjustment; taking the object type as children as an example, the corresponding second correction temperature is -1°C, and the obtained base temperature is 37°C - 1°C = 36°C.
[0043] S130. Input the current environmental information, current weather information, and body temperature information into the temperature compensation model to obtain the compensation temperature.
[0044] The compensation temperature in this embodiment is obtained by adjusting the compensation parameters in the temperature compensation model in the way of weight priority. The compensation parameters at least include environmental parameters, weather parameters, and body temperature parameters. In the process of calculating through the temperature compensation model in this embodiment, different weights are assigned according to the influence degree of each parameter on temperature compensation, and the calculation of the compensation temperature is realized by adjusting the weights of these parameters.
[0045] The above weight priority is used to determine the relative importance of each compensation parameter in the temperature compensation model. For example, in some cases, the body temperature parameter may have a higher weight priority because it directly reflects the physical state of the target object; in other cases, the environmental parameter or weather parameter may be more important.
[0046] Specifically, after obtaining the current environmental information, current weather information, and body temperature information, this embodiment may first perform data preprocessing to ensure the quality and consistency of the data, facilitating subsequent input into the temperature compensation model. Among them, when determining the weights of various parameter variables according to the weight priorities in the temperature compensation model, it can be determined according to specific application scenarios and requirements. The temperature compensation model in this embodiment can be trained and obtained through machine learning algorithms or other mathematical modeling methods. Finally, the preprocessed current environmental information, current weather information, and body temperature information are input into the established temperature compensation model, and the model calculates the compensation temperature according to the set weights and algorithms. For example, assuming that the weight of the environmental parameter is 0.3, the weight of the weather parameter is 0.3, and the weight of the body temperature parameter is 0.4, the model calculates the compensation temperature as a specific value such as +2°C or -1°C through comprehensive calculation of these parameters, and this value represents the temperature adjustment amount that needs to be made on the basis of the base temperature.
[0047] A preferred implementation manner, please refer to Figure 2 , Figure 2 is a schematic flowchart of a process for determining the compensation temperature provided by an embodiment of the present application; in this embodiment, the temperature compensation model at least includes an environmental compensation function, a weather compensation function, and a health compensation function.
[0048] Specifically, the above step S130 is implemented through the following steps S131 to S135:
[0049] S131. Input the current environmental information into the environmental compensation function to obtain the environmental compensation temperature.
[0050] The current environmental information in this embodiment at least includes outdoor temperature information, bathroom temperature information, and indoor temperature information, such as expressed as T env = f(T out , T bath ,, T in ), where T env represents the current environmental information, T out represents the outdoor temperature information, T bath , represents the bathroom temperature information, T in represents the indoor temperature information.
[0051] Another preferred embodiment, please refer to Figure 3 , Figure 3 is a schematic flowchart of a process for determining the environmental compensation temperature provided by an embodiment of the present application. Specifically, the method for determining the environmental compensation temperature can be implemented through the following steps S1301 to S1305:
[0052] S1301. Determine the outdoor compensation temperature according to the outdoor temperature information, the current season information, and the outdoor adjustment parameters corresponding to the current season information.
[0053] The specific way to obtain the outdoor compensation temperature can be reflected by the following formula:
[0054]
[0055] When performing outdoor temperature compensation C out (S, T out ), T out represents the current outdoor temperature information; in this embodiment, taking 20°C as the benchmark, in winter, for every 1°C drop, the corresponding outdoor adjustment parameter can be a, such as +0.3°C; in other seasons, for every 1°C drop, the corresponding outdoor adjustment parameter can be b, such as +0.2°C, where a > b. In summer, for every 1°C rise, the controlled corresponding outdoor adjustment parameter can be c, such as -0.4°C; in other seasons, for every 1°C rise, the corresponding outdoor adjustment parameter is 0, that is, no adjustment. The specific values of a, b, and c are not limited here.
[0056] S1302. Determine the bathroom compensation temperature according to the bathroom temperature information, the current season information, and the bathroom adjustment parameter corresponding to the current season information.
[0057] The specific way to obtain the bathroom compensation temperature can be reflected by the following formula:
[0058]
[0059] When performing bathroom temperature compensation C bath (S, T bath ), T bath represents the current bathroom temperature information; in this embodiment, taking 24°C as the benchmark, in winter, for every 1°C drop, the corresponding bathroom adjustment parameter is d, such as +0.5°C, in other seasons, for every 1°C drop, the corresponding bathroom adjustment parameter is e, such as +0.3°C, where d > e, and the specific values of d and e are not limited here.
[0060] S1303. Determine the indoor compensation temperature according to the indoor temperature information, the indoor reference temperature, and the indoor adjustment parameter.
[0061] The specific way to obtain the indoor compensation temperature can be reflected by the following way:
[0062] C in (T in ) = (22 - T in ) × 0.1 (3)
[0063] When performing indoor temperature compensation C in (T in ), in this embodiment, taking 22°C as the benchmark, T inIndicates the current indoor temperature information; for every 1°C drop, the corresponding indoor adjustment parameter is g, such as +0.1°C or +0.2°C, etc. The specific value of the indoor adjustment parameter is not limited here.
[0064] S1304. Obtain the historical set water temperature, and determine the outdoor compensation sub-weight, bathroom compensation sub-weight, and indoor compensation sub-weight corresponding to the outdoor compensation temperature, bathroom compensation temperature, and indoor compensation temperature respectively according to the historical set water temperature.
[0065] The historical set water temperature data of the user is pre-stored in the server. Analyze these data to find out the relationship between the historical set water temperature and the outdoor compensation temperature, bathroom compensation temperature, and indoor compensation temperature. Based on the analysis results of the historical data, determine the sub-weights corresponding to each compensation temperature. Among them, the sum of the outdoor compensation sub-weight, bathroom compensation sub-weight, and indoor compensation sub-weight is 1.
[0066] For example, through statistics, it is found that among the historical set water temperatures, the influence of the outdoor compensation temperature is relatively small, the influence of the bathroom compensation temperature is relatively large, and the influence of the indoor compensation temperature is moderate. After calculation, the outdoor compensation sub-weight is 0.2, the bathroom compensation sub-weight is 0.5, and the indoor compensation sub-weight is 0.3.
[0067] S1305. Determine the environmental compensation temperature according to the outdoor compensation temperature and outdoor compensation sub-weight, bathroom compensation temperature and bathroom compensation sub-weight, and indoor compensation temperature and indoor compensation sub-weight.
[0068] Furthermore, obtain the environmental compensation temperature by performing a weighted sum of the outdoor compensation temperature and outdoor compensation sub-weight, bathroom compensation temperature and bathroom compensation sub-weight, and indoor compensation temperature and indoor compensation sub-weight.
[0069] Specifically, the method for obtaining the environmental compensation temperature in this embodiment can be implemented through the following formula:
[0070] ΔT env =α1·C out (S,T out ) +α2·Cb at h(S,Tb at h)+α3·C in (T in ) (4)
[0071] When determining the environmental compensation temperature Δt provided in this embodiment env , the outdoor temperature information C out (S,T out ), bathroom temperature information C bath (S,T bath ), and indoor temperature information C in (T inIn addition, targeted compensation calculations are performed based on water temperatures set according to different seasons and historical data, which can more accurately reflect the impact of the actual environment on the water temperature, thereby improving the accuracy of temperature compensation and making the final water temperature more in line with user needs. The historical set water temperature is used to determine the sub-weights of each compensation temperature, fully considering the user's usage habits. Since different users may have different preferences for water temperature, by analyzing historical data, the system can adjust the influence degree of each environmental factor on the final water temperature according to the user's habits, providing more personalized temperature compensation and enhancing the user experience.
[0072] S132. Input the current weather information into the weather compensation function to obtain the weather compensation temperature.
[0073] The weather compensation function in this embodiment can be implemented by the following formula:
[0074]
[0075] Through the weather compensation function in this embodiment, the weather compensation temperature corresponding to the current weather information can be obtained.
[0076] S133. Input the body temperature information into the health compensation function to obtain the health compensation temperature.
[0077] The health compensation function in this embodiment can be implemented by the following formula:
[0078]
[0079] That is, when it is detected that the body temperature is greater than 37.5 °C, the corresponding health compensation temperature can be determined to be -1 °C to avoid overheating. If the detected body temperature is normal, no adjustment is made, that is, the health compensation temperature is 0.
[0080] S134. Determine the environmental compensation weight, weather compensation weight, and health compensation weight corresponding to the environmental parameter, weather parameter, and body temperature parameter respectively according to the weight priority.
[0081] When determining the environmental compensation weight, weather compensation weight, and health compensation weight according to the weight priority, if the comfort of the target object is mainly considered, the weight priority of the body temperature parameter may be higher; if the temperature change of the environment where the device is located is large and has a significant impact on the water temperature, the weight priority of the environmental parameter may be increased accordingly. Different weight coefficients can be set to reflect the weight priority. The larger the weight coefficient, the higher the importance of the parameter in the model. Among them, the sum of the environmental compensation weight, weather compensation weight, and health compensation weight is 1.
[0082] A preferred implementation method is that in this embodiment, the physical health of the user is given priority. That is, the determination of the weight priority in this embodiment includes the following methods:
[0083] Determine whether the target object is in a state of abnormal body temperature based on the body temperature information; if in a state of abnormal body temperature, the weight priorities from high to low are the health compensation weight, the environmental compensation weight, and the weather compensation weight in sequence; if not in a state of abnormal body temperature, the weight priorities from high to low are the environmental compensation weight, the weather compensation weight, and the health compensation weight in sequence. Through the solution provided in this embodiment, when the target object has an abnormal body temperature, placing the health compensation weight first can more accurately adjust the temperature according to its physical condition; for the case of normal body temperature, with the environmental compensation weight first, it can better adapt to different environmental conditions and provide a comfortable environmental temperature.
[0084] First, compare the obtained body temperature data with a set threshold (such as 37.5 °C). If the body temperature exceeds the normal range, it is determined that the target object is in a state of abnormal body temperature; otherwise, it is determined not to be in a state of abnormal body temperature. If in a state of abnormal body temperature, set the health compensation weight to the highest, for example, set it to 0.5; the environmental compensation weight is the second, set it to 0.3; the weather compensation weight is the lowest, set it to 0.2. In this case, when calculating the compensation temperature, more emphasis will be placed on the impact of health factors on the temperature. For example, if the target object has a fever, the environmental temperature may need to be appropriately increased to avoid discomfort caused by excessive body heat dissipation; when the target object is not in a state of abnormal body temperature, set the environmental compensation weight to the highest, for example, set it to 0.4; the weather compensation weight is the second, set it to 0.3; the health compensation weight is the lowest, set it to 0.3. At this time, calculating the compensation temperature will pay more attention to the impact of environmental factors on human comfort. For example, in a hot summer, even if the human body temperature is normal, the compensation temperature will be appropriately reduced according to the higher environmental temperature to create a comfortable environment.
[0085] S135. Determine the compensation temperature based on the environmental compensation temperature and the environmental compensation weight, the weather compensation temperature and the weather compensation weight, and the health compensation temperature and the health compensation weight.
[0086] In this embodiment, the compensation temperature for the target object in the current situation can be obtained by performing a weighted sum of the environmental compensation temperature and the environmental compensation weight, the weather compensation temperature and the weather compensation weight, and the health compensation temperature and the health compensation weight obtained through the above steps S131 - S134.
[0087] The method for determining the compensation temperature provided in this embodiment can dynamically adjust the weight priorities according to the body temperature information, achieve more personalized temperature adjustment, and combine the comprehensive impacts of environmental information and weather information to meet the different temperature requirements of the target object in different states, improving the pertinence and accuracy of temperature adjustment; this method that can adjust the temperature compensation strategy in real time according to the actual physical condition of the target object enables users to feel a comfortable temperature in different health states, thereby comprehensively optimizing the user experience.
[0088] S140. Determine the target temperature based on the base temperature and the compensation temperature, so that the heating device heats according to the target temperature.
[0089] The target temperature can be obtained by adding the base temperature determined in step S120 and the compensation temperature determined in step S130. For example, taking a child with a fever in summer as an example, the initially determined base temperature is 36°C, and the compensation temperature determined through the above steps S131 - S135 is -0.5°C, then the corresponding target temperature is 35.5°C. Specifically, the method for determining the target temperature provided in the embodiments of the present application can be implemented by the following formula:
[0090] Tf inal = Clip(Tb ase + W1ΔT env + W2ΔT weath her + W3ΔT healt ) (7)
[0091] In the above formula, T final represents the target temperature, T base represents the base temperature, ΔT env represents the environmental compensation temperature, ΔT weath her represents the weather compensation temperature, ΔT healt represents the health compensation temperature, W1 represents the environmental compensation weight, W2 represents the weather compensation weight, and W3 represents the health compensation weight.
[0092] Among them, in the above formula, A = W1ΔT env + W2ΔT weath her + W3Δt healt , and A represents the compensation temperature.
[0093] After the water temperature control device determines the target temperature, it can send the target temperature to the heating device through the network communication unit, so that the heating device provides bathing water for the target object according to the currently determined target temperature.
[0094] In another preferred embodiment, to make the target temperature determined in this embodiment fast and accurate, the solution for determining the target temperature provided in this embodiment, on the basis of the above steps S110 - S140, may further include the following steps a) - d):
[0095] a) Obtain the actual water outlet temperature and the desired water outlet temperature.
[0096] The actual water outlet temperature represents the water outlet temperature after the shower is turned on, and the desired water outlet temperature represents the water outlet temperature set by the user at a historical time. Generally, due to the influence of pipelines and the like, when the water is discharged according to the desired water outlet temperature set by the user, the actual water outlet temperature may be slightly lower.
[0097] b) Determine the temperature deviation based on the actual outlet water temperature and the desired outlet water temperature.
[0098] In this embodiment, the method for determining the temperature deviation can be:
[0099] e(t) = Tb at h _target (t) - Tb at h _rea l(t) (8)
[0100] Wherein, the above e(t) represents the temperature deviation, T bath_target (t) represents the desired outlet water temperature, T bath_real (t) represents the actual outlet water temperature.
[0101] c) Determine the first corrected temperature based on the control parameter and the temperature deviation.
[0102] In this application, by introducing a control parameter, the first corrected temperature generated according to the temperature deviation is used to accelerate the realization of temperature adjustment.
[0103] Specifically, the method for determining the first corrected temperature can be:
[0104] B = K p ·e(t) (9)
[0105] Wherein, K p represents the control parameter, and the value of K p can be obtained based on experiments, such as 0.3; the role of K p is to respond quickly when the deviation is large; and make fine adjustments when the deviation is small.
[0106] d) Determine the target temperature based on the base temperature, the compensation temperature, and the first corrected temperature.
[0107] Specifically, the method for obtaining the target temperature in the optimized solution of this embodiment can be reflected by the following formula:
[0108] T final = Clip(T base + W1ΔT env + W2ΔT weath her + W3Δt healt+ + K p ·e(t)) (10)
[0109] This solution adjusts the target temperature according to the real-time temperature difference by adding proportional adjustment control. This makes the finally determined target temperature more accurate, can better meet the specific requirements of users for the outlet water temperature, improves the accuracy and stability of temperature control, and avoids large fluctuations in water temperature.
[0110] Another preferred embodiment. In this embodiment, after determining the target temperature according to the base temperature and the compensation temperature, the following operations may further be performed: Invoke the safety constraint conditions, which include a temperature upper limit threshold and a temperature lower limit threshold; Determine whether the target temperature is within the threshold range corresponding to the temperature upper limit threshold and the temperature lower limit threshold; If it is, control the heating device to heat according to the target temperature; If not, output a warning message.
[0111] The safety constraint conditions of this embodiment are pre-stored in the storage module. From the perspective of water use safety, a safety threshold range is set through the temperature upper limit threshold and the temperature lower limit threshold. Such as 35°C (minimum cold protection) to 45°C (scald prevention), etc. The specific settings of the temperature upper limit threshold and the temperature lower limit threshold are not limited here. Further, after the water temperature control device calculates and obtains the target temperature, if it is determined to be within the safety threshold range, it indicates that the target temperature is correctly determined, and based on this, the heating device can be made to heat; if it is not within the safety threshold range, it can be considered that the internal calculation mechanism of the water temperature control device is disordered, and for safety reasons, a warning is given to the user to remind the user that the current target temperature is abnormal and needs to be adjusted.
[0112] The water temperature control method provided in this embodiment, when receiving the water outlet instruction, determines the base temperature through the current season information and the object type. Different base temperatures are set in different seasons and for different object types, so that the subsequent determined target temperature better meets the actual needs of the target object and avoids blind setting of the base temperature; Then, through the temperature compensation model, the current environmental information, the current weather information, and the body temperature information are calculated, and the compensation parameters are adjusted by the weight priority method to obtain the compensation temperature. The weights of each compensation parameter can be flexibly adjusted according to the actual situation, so as to more accurately calculate the required compensation temperature; At the same time, the individual differences of different target objects are considered through the body temperature information, so that the heating device can compensate the temperature according to the actual environmental conditions and individual differences; Finally, the target temperature determined by the base temperature and the compensation temperature can better meet the personalized temperature needs of the target object; In this process, there is no need for the user to manually operate, and the intelligent water temperature control has achieved the beneficial effect of improving the user's bathing comfort and bathing experience.
[0113] Figure 4 It is a structural schematic diagram of a water temperature control device provided by an embodiment of the present invention. This device is suitable for executing the water temperature control method provided by an embodiment of the present application. As Figure 4 shown, this device may specifically include: an information acquisition module 410, a base temperature determination module 420, a compensation temperature determination module 430, and a target temperature determination module 440, where:
[0114] An information acquisition module 410, configured to obtain current season information, current environmental information, current weather information, the body temperature information of a target object, and the object type of the target object when receiving a water outlet instruction;
[0115] A basic temperature determination module 420, configured to determine a basic temperature according to the current season information and the object type;
[0116] A compensation temperature determination module 430, configured to input the current environmental information, the current weather information, and the body temperature information into a temperature compensation model to obtain a compensation temperature; wherein, the compensation temperature is obtained by adjusting compensation parameters in the temperature compensation model in a weight priority manner, and the compensation parameters at least include environmental parameters, weather parameters, and body temperature parameters;
[0117] A target temperature determination module 440, configured to determine a target temperature according to the basic temperature and the compensation temperature, so that a heating device heats according to the target temperature.
[0118] The water temperature control device provided in this embodiment, when receiving a water outlet instruction, determines the basic temperature through the current season information and the object type, and sets different basic temperatures in different seasons and different object types, so that the subsequently determined target temperature better meets the actual needs of the target object and avoids blind setting of the basic temperature; then calculates the current environmental information, current weather information, and body temperature information through the temperature compensation model, and adjusts the compensation parameters in a weight priority manner to obtain the compensation temperature, so that the weights of each compensation parameter can be flexibly adjusted according to the actual situation, thereby more accurately calculating the required compensation temperature; at the same time, considering the individual differences of different target objects through the body temperature information, the heating device can compensate the temperature according to the actual environmental conditions and individual differences; finally, the target temperature determined by the basic temperature and the compensation temperature can better meet the personalized temperature needs of the target object; in this process, there is no need for the user to manually operate, and the beneficial effects of improving the user's bathing comfort and bathing experience are achieved through intelligent water temperature control.
[0119] In one embodiment, the temperature compensation model at least includes an environmental compensation function, a weather compensation function, and a health compensation function.
[0120] The compensation temperature determination module 430 includes an environmental compensation unit, a weather compensation unit, a health compensation unit, a weight determination unit, and a compensation temperature determination unit, wherein:
[0121] The environmental compensation unit is configured to input the current environmental information into the environmental compensation function to obtain an environmental compensation temperature;
[0122] A weather compensation unit for inputting the current weather information into the weather compensation function to obtain a weather compensation temperature;
[0123] A health compensation unit for inputting the body temperature information into the health compensation function to obtain a health compensation temperature;
[0124] A weight determination unit for determining an environmental compensation weight, a weather compensation weight, and a health compensation weight corresponding to the environmental parameter, the weather parameter, and the body temperature parameter respectively according to the weight priority; wherein, the sum of the environmental compensation weight, the weather compensation weight, and the health compensation weight is 1;
[0125] A compensation temperature determination unit for determining the compensation temperature according to the environmental compensation temperature and the environmental compensation weight, the weather compensation temperature and the weather compensation weight, and the health compensation temperature and the health compensation weight.
[0126] In one embodiment, the current environmental information at least includes outdoor temperature information, bathroom temperature information, and indoor temperature information.
[0127] The environmental compensation unit is specifically configured to determine an outdoor compensation temperature according to the outdoor temperature information, the current season information, and the outdoor adjustment parameter corresponding to the current season information; determine a bathroom compensation temperature according to the bathroom temperature information, the current season information, and the bathroom adjustment parameter corresponding to the current season information; determine an indoor compensation temperature according to the indoor temperature information, the indoor reference temperature, and the indoor adjustment parameter; obtain the historical set water temperature, and determine an outdoor compensation sub-weight, a bathroom compensation sub-weight, and an indoor compensation sub-weight corresponding to the outdoor compensation temperature, the bathroom compensation temperature, and the indoor compensation temperature respectively according to the historical set water temperature; wherein, the sum of the outdoor compensation sub-weight, the bathroom compensation sub-weight, and the indoor compensation sub-weight is 1; determine the environmental compensation temperature according to the outdoor compensation temperature and the outdoor compensation sub-weight, the bathroom compensation temperature and the bathroom compensation sub-weight, and the indoor compensation temperature and the indoor compensation sub-weight.
[0128] In one embodiment, the weight priority is determined in the following manner: determining whether the target object is in a body temperature abnormal state according to the body temperature information; if in the body temperature abnormal state, the weight priority is, from high to low, the health compensation weight, the environmental compensation weight, and the weather compensation weight; if not in the body temperature abnormal state, the weight priority is, from high to low, the environmental compensation weight, the weather compensation weight, and the health compensation weight.
[0129] In one embodiment, the device further includes: a temperature acquisition module, a deviation determination module, and a corrected temperature determination module, wherein:
[0130] A temperature acquisition module for acquiring the actual water outlet temperature and the desired water outlet temperature;
[0131] A deviation determination module for determining a temperature deviation based on the actual water outlet temperature and the desired water outlet temperature;
[0132] A corrected temperature determination module for determining a first corrected temperature based on a control parameter and the temperature deviation;
[0133] A target temperature determination module, specifically for determining the target temperature based on the base temperature, the compensation temperature, and the first corrected temperature.
[0134] In one embodiment, the device further includes a condition calling module and a threshold judgment module, where:
[0135] A condition calling module for calling safety constraint conditions, where the safety constraint conditions include a temperature upper limit threshold and a temperature lower limit threshold;
[0136] A threshold judgment module for judging whether the target temperature is within the threshold range corresponding to the temperature upper limit threshold and the temperature lower limit threshold; if so, controlling the heating device to heat according to the target temperature; if not, outputting a warning message.
[0137] In one embodiment, the base temperature determination module 420 is specifically configured to determine a corresponding initial temperature from a seasonal temperature mapping table according to the current seasonal information, where one seasonal information in the seasonal temperature mapping table corresponds to one initial temperature; determine a corresponding second corrected temperature according to the object type; and determine the base temperature according to the initial temperature and the second corrected temperature.
[0138] Those skilled in the art can clearly understand that for the convenience and brevity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described functional modules can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0139] Please refer to Figure 5 , Figure 5It is a schematic structural diagram of a water temperature control device provided by an embodiment of the present application. The water temperature control device 500 at least includes a radar detection unit 510, a temperature detection unit 520, a network communication unit 530, a temperature sensing unit 540, and a processing unit 550; the radar detection module 510 is used to obtain the object type of the target object; the temperature detection unit 520 is used to obtain the body temperature information of the target object; the temperature sensing unit 540 is used to obtain the current environmental information; the network communication unit 530 is used to obtain the current season information and the current weather information, and the network communication unit 530 is also used to communicate with the heating device; the processing unit 550 is used to execute the water temperature control method described in any embodiment of the present application.
[0140] The beneficial effects of the water temperature control device provided by the embodiment of the present application are the same as those of the water temperature control method provided by the embodiment of the present application, and will not be elaborated here.
[0141] The embodiment of the present application also provides a computer-readable medium. The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the processor to implement the water temperature control method described in any embodiment of the present application when executed.
[0142] The modules and / or units involved in the embodiments described in the present application can be implemented in software or in hardware. The described modules and / or units can also be provided in the processor. For example, it can be described as: a processor includes an information acquisition module, a basic temperature determination module, a compensation temperature determination module, and a target temperature determination module. Among them, the names of these modules do not constitute a limitation to the module itself in some cases.
[0143] On the other hand, the present application also provides a computer-readable medium. The computer-readable medium can be included in the device described in the above embodiment; or it can exist alone without being assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by the device, the device includes: when receiving a water outlet instruction, obtaining the current season information, the current environmental information, the current weather information, the body temperature information of the target object, and the object type of the target object; determining a basic temperature according to the current season information and the object type; inputting the current environmental information, the current weather information, and the body temperature information into a temperature compensation model to obtain a compensation temperature; wherein, the compensation temperature is obtained by adjusting the compensation parameters in the temperature compensation model in a weight priority manner, and the compensation parameters at least include environmental parameters, weather parameters, and body temperature parameters; determining a target temperature according to the basic temperature and the compensation temperature, so that the heating device heats according to the target temperature.
[0144] According to the technical solution of this embodiment, when receiving the water outlet instruction, by determining the basic temperature through the current season information and object type, different basic temperatures are set in different seasons and for different object types, so that the subsequent determined target temperature better meets the actual needs of the target object, avoiding the blind setting of the basic temperature; then, through the temperature compensation model, the current environmental information, current weather information and body temperature information are calculated, and the compensation parameters are adjusted by means of weight priority to obtain the compensation temperature. The weights of each compensation parameter can be flexibly adjusted according to the actual situation, so as to more accurately calculate the required compensation temperature; at the same time, the individual differences of different target objects are considered through the body temperature information, so that the heating device can compensate the temperature according to the actual environmental conditions and individual differences; finally, the target temperature determined by the basic temperature and the compensation temperature can better meet the personalized temperature needs of the target object; in this process, there is no need for the user to manually operate, and the beneficial effect of improving the user's bathing comfort and bathing experience is achieved by means of intelligent water temperature control.
[0145] The above specific embodiments do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Claims
1. A water temperature control method, characterized in that, including: When receiving the water outlet instruction, obtain the current season information, current environment information, current weather information, the body temperature information of the target object, and the object type of the target object; Determine the base temperature according to the current season information and the object type; Input the current environment information, the current weather information, and the body temperature information into a temperature compensation model to obtain a compensation temperature; wherein, the compensation temperature is obtained by adjusting the compensation parameters in the temperature compensation model in the way of weight priority, and the compensation parameters at least include environmental parameters, weather parameters, and body temperature parameters; Determine the target temperature according to the base temperature and the compensation temperature, so that the heating device heats according to the target temperature.
2. The water temperature control method according to claim 1, characterized in that The temperature compensation model at least includes an environmental compensation function, a weather compensation function, and a health compensation function; The step of inputting the current environment information, the current weather information, and the body temperature information into the temperature compensation model to obtain a compensation temperature includes: Input the current environment information into the environmental compensation function to obtain an environmental compensation temperature; Input the current weather information into the weather compensation function to obtain a weather compensation temperature; Input the body temperature information into the health compensation function to obtain a health compensation temperature; Determine the environmental compensation weight, weather compensation weight, and health compensation weight corresponding to the environmental parameters, the weather parameters, and the body temperature parameters respectively according to the weight priority; wherein, the sum of the environmental compensation weight, the weather compensation weight, and the health compensation weight is 1; Determine the compensation temperature according to the environmental compensation temperature and the environmental compensation weight, the weather compensation temperature and the weather compensation weight, and the health compensation temperature and the health compensation weight.
3. The water temperature control method according to claim 2, characterized in that, The current environment information at least includes outdoor temperature information, bathroom temperature information, and indoor temperature information; The step of inputting the current environment information into the environmental compensation function to obtain an environmental compensation temperature includes: Determine the outdoor compensation temperature according to the outdoor temperature information, the current season information, and the outdoor adjustment parameters corresponding to the current season information; Determine the bathroom compensation temperature according to the bathroom temperature information, the current season information, and the bathroom adjustment parameters corresponding to the current season information; Determine the indoor compensation temperature according to the indoor temperature information, the indoor reference temperature, and the indoor adjustment parameters; Obtain the historical set water temperature, and determine the outdoor compensation sub - weight, bathroom compensation sub - weight, and indoor compensation sub - weight corresponding to the outdoor compensation temperature, the bathroom compensation temperature, and the indoor compensation temperature respectively according to the historical set water temperature; wherein, the sum of the outdoor compensation sub - weight, the bathroom compensation sub - weight, and the indoor compensation sub - weight is 1; Determine the environmental compensation temperature according to the outdoor compensation temperature and the outdoor compensation sub - weight, the bathroom compensation temperature and the bathroom compensation sub - weight, and the indoor compensation temperature and the indoor compensation sub - weight.
4. The water temperature control method according to claim 2, wherein The weight priority is determined in the following way: Determine whether the target object is in a body temperature abnormal state according to the body temperature information; If in the abnormal body temperature state, the weight priorities from high to low are the health compensation weight, the environment compensation weight, and the weather compensation weight in sequence; If not in the abnormal body temperature state, the weight priorities from high to low are the environment compensation weight, the weather compensation weight, and the health compensation weight in sequence.
5. The water temperature control method according to claim 1, characterized in that, The method further includes: Obtaining the actual water outlet temperature and the desired water outlet temperature; Determining the temperature deviation according to the actual water outlet temperature and the desired water outlet temperature; Determining a first corrected temperature according to the control parameter and the temperature deviation; Correspondingly, the determining the target temperature according to the base temperature and the compensation temperature includes: Determining the target temperature according to the base temperature, the compensation temperature, and the first corrected temperature.
6. The water temperature control method according to claim 1, wherein, After determining the target temperature according to the base temperature and the compensation temperature, it further includes: Invoking safety constraint conditions, where the safety constraint conditions include a temperature upper limit threshold and a temperature lower limit threshold; Judging whether the target temperature is within the threshold interval corresponding to the temperature upper limit threshold and the temperature lower limit threshold; If so, controlling the heating device to heat according to the target temperature; If not, outputting a warning message.
7. The water temperature control method according to claim 1, wherein The determining the base temperature according to the current season information and the object type includes: Determining a corresponding initial temperature from a season temperature mapping table according to the current season information, where one season information corresponds to one initial temperature in the season temperature mapping table; Determining a corresponding second corrected temperature according to the object type; Determining the base temperature according to the initial temperature and the second corrected temperature.
8. A water temperature control device, characterized in that, It includes: An information acquisition module, configured to acquire the current season information, the current environment information, the current weather information, the body temperature information of the target object, and the object type of the target object when receiving a water outlet instruction; A base temperature determination module, configured to determine the base temperature according to the current season information and the object type; A compensation temperature determination module, configured to input the current environment information, the current weather information, and the body temperature information into a temperature compensation model to obtain a compensation temperature; wherein, the compensation temperature is obtained by adjusting the compensation parameters in the temperature compensation model in a weight priority manner, and the compensation parameters at least include environment parameters, weather parameters, and body temperature parameters; A target temperature determination module, configured to determine the target temperature according to the base temperature and the compensation temperature, so that the heating device heats according to the target temperature.
9. A water temperature control device, characterized in that, The water temperature control device at least includes a radar detection unit, a temperature detection unit, a networking communication unit, a temperature sensing unit, and a processing unit; The radar detection module is configured to acquire the object type of the target object; The temperature detection unit is configured to acquire the body temperature information of the target object; The temperature sensing unit is configured to acquire the current environment information; The networking communication unit is configured to acquire the current season information and the current weather information, and the networking communication unit is further configured to communicate with the heating device; The processing unit is configured to execute the water temperature control method according to any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the water temperature control method according to any one of claims 1-7.