Automatic control method of bath heater, bath heater, electronic equipment and readable storage medium

By automatically collecting and analyzing bathroom environment parameters, combining preset rules and comfort calculation formulas, automatic adjustment of the bathroom environment is achieved, solving the complex problem of manual adjustment by users and improving the comfort and experience of bathing.

CN120212563AActive Publication Date: 2025-06-27GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510697227.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-28
Publication Date
2025-06-27
Estimated Expiration
2045-05-28

AI Technical Summary

Technical Problem

Users need to manually adjust the bathroom heater frequently, which is complicated to operate, resulting in poor comfort and experience during bathing.

Method used

An automatic control method of a bathroom heater is adopted to collect environmental parameters in the bathroom, compare the differences with the preset environmental parameter threshold, determine the target environmental adjustment rules based on the corresponding relationship between the preset comparison results and the environmental adjustment rules, and adjust the temperature and humidity according to the target comfort calculation to adjust the comfort of the bathroom environment.

Benefits of technology

No manual adjustment required for users reduces the complexity of operations and improves the comfort and experience of bathing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120212563A_ABST
    Figure CN120212563A_ABST
Patent Text Reader

Abstract

The invention provides an automatic control method for a bath heater, the bath heater, electronic equipment and a readable storage medium, and the method comprises the steps: starting the bath heater, collecting environment parameters in a bathroom, and adjusting the environment according to a target comparison result between the environment parameters and a preset environment parameter threshold value and a corresponding relation between the preset comparison result and an environment adjustment rule; and determining a target environment adjustment rule matched with the target comparison result, the environment adjustment rule comprising a to-be-adjusted environment parameter in the environment parameters and an adjustment strategy corresponding to the to-be-adjusted environment parameter, and adjusting the target to-be-adjusted environment parameter according to a target adjustment strategy in the target environment adjustment rule to adjust the comfort of the bathroom environment. Manual adjustment of a user is not needed, the operation complexity is reduced, and the bathing comfort and experience feeling are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of bathroom heaters, and particularly relates to an automatic control method for a bathroom heater, a bathroom heater, an electronic device, and a readable storage medium. Background Art

[0002] With the improvement of living standards and the increasing demand for a comfortable life, more and more families install bathroom heaters to relieve the cold during bathing. During the bathing process, the bathroom environment changes greatly, and it is necessary to adjust the temperature and humidity in the bathroom.

[0003] Related technologies adjust the bathroom heater manually by the user according to their own feelings to adjust the temperature and humidity in the bathroom.

[0004] However, the user needs to frequently adjust manually, and the operation is complex, resulting in poor comfort and experience during bathing. Summary of the Invention

[0005] This application aims to provide an automatic control method for a bathroom heater, a bathroom heater, an electronic device, and a readable storage medium, at least solving the problem that in the prior art, the user needs to frequently adjust manually, the operation is complex, and thus the comfort and experience during bathing are poor.

[0006] In a first aspect, an embodiment of this application discloses an automatic control method for a bathroom heater, which is applied to a bathroom heater installed in a bathroom. The method includes: Start the bathroom heater and collect the environmental parameters in the bathroom; According to the target comparison result between the environmental parameters and the preset environmental parameter threshold, and the corresponding relationship between the preset comparison result and the environmental adjustment rule, determine the target environmental adjustment rule that matches the target comparison result; the environmental adjustment rule includes: the environmental parameter to be adjusted in the environmental parameters, the adjustment strategy corresponding to the environmental parameter to be adjusted, and the comfort calculation formula; Calculate the parameter factors corresponding to the temperature and humidity in the environmental parameters respectively to obtain a temperature factor and a humidity factor; the temperature factor is negatively correlated with the temperature; the humidity factor is negatively correlated with the humidity; According to the weights corresponding to the temperature factor and the humidity factor defined in the target comfort calculation formula, perform weighted summation on the temperature factor and the humidity factor to obtain comfort; the temperature factor and the humidity factor are positively correlated with the comfort; the target comfort calculation formula is the comfort calculation formula in the target environmental adjustment rule; When the comfort level is less than a preset value, adjust the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment; the target adjustment strategy is the adjustment strategy in the target environmental adjustment rule; the target environmental parameter to be adjusted is the environmental parameter to be adjusted in the target environmental adjustment rule.

[0007] In a second aspect, an embodiment of the present application discloses a ceiling heater, which includes: a sensor, a controller, and a temperature control component; the sensor is connected to the controller, and the controller is connected to the temperature control component; The sensor is used to collect environmental parameters in the bathroom; The controller is configured to determine a target environmental adjustment rule that matches the target comparison result according to the target comparison result between the environmental parameter and the preset environmental parameter threshold, and the corresponding relationship between the preset comparison result and the environmental adjustment rule; the environmental adjustment rule includes: the environmental parameter to be adjusted in the environmental parameter, the adjustment strategy corresponding to the environmental parameter to be adjusted, and a comfort level calculation formula; calculate the parameter factors corresponding to the temperature and humidity in the environmental parameter respectively to obtain a temperature factor and a humidity factor; the temperature factor is negatively correlated with the temperature; the humidity factor is negatively correlated with the humidity; perform weighted summation on the temperature factor and the humidity factor according to the weights corresponding to the temperature factor and the humidity factor defined in the target comfort level calculation formula to obtain a comfort level; the temperature factor and the humidity factor are positively correlated with the comfort level; the target comfort level calculation formula is the comfort level calculation formula in the target environmental adjustment rule; The temperature control component is configured to adjust the target environmental parameter to be adjusted according to the target adjustment strategy when the comfort level is less than a preset value, so as to adjust the comfort level of the bathroom environment; the target adjustment strategy is the adjustment strategy in the target environmental adjustment rule; the target environmental parameter to be adjusted is the environmental parameter to be adjusted in the target environmental adjustment rule.

[0008] In a third aspect, an embodiment of the present application further discloses an electronic device, including a processor and a memory, where the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0009] In a fourth aspect, an embodiment of the present application further discloses a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0010] In summary, in the embodiments of the present application, the environmental parameters in the bathroom are compared with the preset environmental parameter thresholds to obtain a target comparison result, and according to the corresponding relationship between the preset comparison result and the environmental adjustment rule, the target environmental adjustment rule matching the target comparison result is determined, and the target environmental adjustment rule can be automatically determined based on the target comparison result. Then, the parameter factors corresponding to the temperature and humidity in the environmental parameters are calculated respectively to obtain a temperature factor and a humidity factor, and the temperature factor and the humidity factor are weighted and summed according to the weights corresponding to the temperature factor and the humidity factor defined in the target comfort calculation formula to obtain the comfort level. Based on the environmental parameters and the target comfort calculation formula, the present application calculates the comfort level, gives a quantitative standard for the user's comfort level, and when the comfort level is less than the preset value, adjusts the corresponding target environmental parameter to be adjusted according to the target adjustment strategy in the target environmental adjustment rule to adjust the comfort level of the bathroom environment, without manual adjustment by the user, reducing the complexity of the operation, and improving the comfort level and experience of bathing. Description of the Drawings

[0011] In the drawings: Figure 1 is a flowchart of the steps of an automatic control method for a bathroom heater provided by an embodiment of the present application; Figure 2 is a flowchart of the steps of another automatic control method for a bathroom heater provided by an embodiment of the present application; Figure 3 is a flowchart of the steps of yet another automatic control method for a bathroom heater provided by an embodiment of the present application; Figure 4 is a working block diagram of a bathroom heater provided by an embodiment of the present application; Figure 5 is a block diagram of an automatic control device for a bathroom heater provided by an embodiment of the present application; Figure 6 is a block diagram of an electronic device of an embodiment provided by an embodiment of the present application; Figure 7 is a block diagram of an electronic device of another embodiment provided by an embodiment of the present application. Detailed Embodiments

[0012] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0013] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are usually of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0014] Figure 1 is a step flowchart of an automatic control method for a bathroom heater provided by an embodiment of this application. Refer to Figure 1 The method may include the following steps: Step 101: Start the bathroom heater and collect the environmental parameters in the bathroom.

[0015] Exemplarily, the bathroom heater generally has functions such as heating, lighting, ventilation, etc. After the bathroom heater is turned on, these functions can play their roles as needed to create a comfortable bathing environment for users.

[0016] Exemplarily, the environmental parameters are the actual data such as the temperature and humidity in the bathroom collected by sensors; these parameters can reflect the real-time environmental conditions of the bathroom and provide data support for subsequent intelligent adjustment.

[0017] The collected environmental parameters provide an accurate data basis for subsequent automatic adjustment of the functions of the bathroom heater. For example, according to the collected temperature data, the system can determine whether to adjust the heating power; based on the humidity data, decide whether to start the dehumidification function. By analyzing and processing these parameters, precise control of the bathroom environment is achieved, improving the comfort of bathing.

[0018] Step 102: Determine the target environmental adjustment rule that matches the target comparison result according to the target comparison result of the environmental parameters and the preset environmental parameter threshold, and the corresponding relationship between the preset comparison result and the environmental adjustment rule; the environmental adjustment rule includes: the environmental parameter to be adjusted in the environmental parameters, and the adjustment strategy corresponding to the environmental parameter to be adjusted.

[0019] Exemplarily, the preset environmental parameter threshold is an ideal environmental value range preset for each stage of bathing. Comparing the actually collected environmental parameters with the preset environmental parameter threshold to obtain the difference between the two, which is the target comparison result, such as the temperature is higher than the threshold, the humidity is lower than the threshold, etc.

[0020] Exemplarily, the adjustment strategy refers to a series of rules and methods for pre-setting how to adjust environmental parameters such as temperature and humidity during different stages of the bathing process (preheating, bathing, and ending stages). These strategies are formulated based on the comfort formula and the analysis of the human body's needs and environmental change characteristics in each stage.

[0021] Exemplarily, environmental adjustment rules corresponding to different comparison results are pre-set, and a correspondence relationship between the comparison results and the environmental adjustment rules is established to form a rule library. For example, when the temperature is higher than the threshold, there is a rule corresponding to reducing the heating power; when the humidity is higher than the threshold, there is a rule corresponding to turning on the dehumidification function. According to the target comparison result, the target environmental adjustment rule corresponding to the target comparison result matched from the rule library can clarify the environmental parameters to be adjusted and the corresponding adjustment strategy, which is used to guide devices such as bathroom heaters to adjust the bathroom environment.

[0022] Step 103: Adjust the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment; the target adjustment strategy is the adjustment strategy in the target environmental adjustment rule; the target environmental parameter to be adjusted is the environmental parameter to be adjusted in the target environmental adjustment rule.

[0023] Exemplarily, the target environmental parameter to be adjusted mainly refers to physical quantities such as temperature and humidity that affect the comfort level of the bathroom environment. The target environmental parameter to be adjusted can be temperature, or humidity, or both temperature and humidity. In different stages, the importance and adjustment methods of these parameters are different. They are the objects of adjustment, and the optimization of the bathroom environment comfort level is achieved by changing them.

[0024] Exemplarily, when the temperature deviation rate DT ≥ a (a is preset to 10%), the target adjustment strategy is to adjust the temperature to the optimal temperature, which is also the above-mentioned preset environmental parameter threshold. Assume the optimal temperature is 25°C, and the actually detected temperature T is 30°C. At this time, the temperature can be reduced to 25°C to improve the comfort level.

[0025] By changing the target environmental parameter to be adjusted, the bathroom environment is made to reach or approach the comfortable state expected by the human body in different bathing stages, improving the user's experience and satisfaction during the bathing process.

[0026] In the embodiment of the present application, the environmental parameters in the bathroom are compared with the preset environmental parameter thresholds to obtain a target comparison result, and according to the corresponding relationship between the preset comparison result and the environmental adjustment rule, the target environmental adjustment rule matching the target comparison result is determined, and the target environmental adjustment rule can be automatically determined based on the target comparison result. Thus, the corresponding target environmental parameter to be adjusted is adjusted according to the target adjustment strategy in the target environmental adjustment rule to adjust the comfort level of the bathroom environment, without manual adjustment by the user, reducing the complexity of the operation, and improving the comfort and experience of bathing.

[0027] Figure 2 is a flowchart of the steps of another automatic control method of the ceiling lamp with bath function provided by the present application. Refer to Figure 2 , the method may include the following steps: Step 201, start the ceiling lamp with bath function and collect the environmental parameters in the bathroom.

[0028] This step can specifically refer to the above step 101 and will not be elaborated here.

[0029] Step 202, according to the target comparison result between the environmental parameters and the preset environmental parameter thresholds, and the corresponding relationship between the preset comparison result and the environmental adjustment rule, determine the target environmental adjustment rule matching the target comparison result; the environmental adjustment rule includes: the environmental parameter to be adjusted in the environmental parameters, and the adjustment strategy corresponding to the environmental parameter to be adjusted.

[0030] This step can specifically refer to the above step 102 and will not be elaborated here.

[0031] Optionally, the environmental parameters include: temperature and humidity; the preset environmental parameter thresholds include: a preset temperature threshold and a preset humidity threshold; the target comparison results include: a temperature comparison result and a humidity comparison result; the corresponding relationship includes: multiple combinations of comparison results, and the environmental adjustment rules corresponding to each combination of comparison results; step 202 may specifically include: Sub-step 2021, match the target combination of the temperature comparison result and the humidity comparison result with the corresponding relationship between the combination of comparison results and the environmental adjustment rule, and determine the target environmental adjustment rule corresponding to the target combination.

[0032] Exemplarily, the target combination of the temperature comparison result and the humidity comparison result is to compare the actually detected temperature in the bathroom with the preset temperature threshold to obtain a temperature comparison result (such as higher than, equal to, lower than the threshold); at the same time, compare the actual humidity with the preset humidity threshold to obtain a humidity comparison result. Combine these two results to form a "target combination" reflecting the current comprehensive temperature and humidity condition, such as "the temperature is higher than the threshold and the humidity is lower than the threshold".

[0033] By matching and searching the target combination of the actually obtained temperature and humidity comparison results with the above corresponding relationship library, the specific adjustment rules applicable to the current bathroom environmental conditions are finally determined. These rules clarify which environmental parameters need to be adjusted and what adjustment strategies should be adopted.

[0034] By adjusting based on the comprehensive comparison results of temperature and humidity, it is possible to avoid the imbalance of another parameter caused by only adjusting a single parameter, making the bathroom environment adjustment more precise and scientific, and effectively improving the bathing comfort. In addition, determining the adjustment rules based on the accurate comprehensive judgment of temperature and humidity can avoid the ineffective operation of the equipment.

[0035] Step 203: Calculate the deviation rate between the target environmental parameter to be adjusted in the target environmental adjustment rule and the preset threshold of the environmental parameter to be adjusted.

[0036] Exemplarily, the deviation rate is used to measure the degree of difference between the target environmental parameter to be adjusted and the preset threshold of the environmental parameter to be adjusted, usually expressed in the form of a percentage. By calculating the deviation rate, it is possible to intuitively understand the degree to which the current environmental parameter deviates from the ideal state, thereby providing a quantitative basis for taking corresponding adjustment measures.

[0037] Taking the target environmental parameter to be adjusted as temperature, the preset threshold of the environmental parameter to be adjusted as the preset temperature threshold, and the deviation rate as the temperature deviation rate as an example, the calculation formula for the temperature deviation rate is as follows:

[0038] Among them, T represents temperature, T0 represents the preset temperature threshold, and D T represents the temperature deviation rate.

[0039] Step 204: Adjust the corresponding target environmental parameter to be adjusted according to the comparison result between the deviation rate and the preset deviation rate.

[0040] Exemplarily, the target adjustment strategy in the target environmental adjustment rule can be an adjustment strategy set according to the comparison result between the deviation rate and the preset deviation rate. For example, if the deviation rate is greater than or equal to the preset deviation rate, the corresponding parameter to be adjusted is adjusted. If the deviation rate is less than the preset deviation rate, no adjustment is made.

[0041] Exemplarily, the preset deviation rate is a pre-set standard of the deviation degree, used as the basis for judging whether the environmental parameter needs to be adjusted and how to adjust it. Different environmental parameters and bathing stages may correspond to different preset deviation rates. Comparing the actually calculated deviation rate with the preset deviation rate, the obtained judgment result of greater than, equal to, or less than determines the subsequent adjustment method of the target environmental parameter to be adjusted. According to the comparison result, corresponding adjustment measures are taken for the environmental parameter that does not meet the ideal state at present, so that the environment reaches or approaches the comfortable state.

[0042] Taking the temperature deviation rate as an example of the deviation rate, if the calculated temperature deviation rate is greater than the preset deviation rate, the temperature can be adjusted.

[0043] Optionally, when the target combination is that the temperature is greater than the preset temperature threshold and the humidity is less than or equal to the preset humidity threshold, the target environmental parameter to be adjusted includes: the temperature; Step 204 may specifically include: Sub-step 2041: When the temperature deviation rate is greater than the preset temperature deviation rate, adjust the temperature to the preset temperature threshold; Sub-step 2042: When the temperature deviation rate is less than or equal to the preset temperature deviation rate, keep the current temperature.

[0044] For sub-steps 2041 - 2042, if the target combination is that the temperature is greater than the preset temperature threshold and the humidity is less than or equal to the preset humidity threshold, it indicates that the current is in the preset stage, and the target environmental parameter to be adjusted is the temperature. The temperature and humidity sensor in the sensor device works to detect the bathroom temperature T and humidity H, and compare them with the preset optimal temperature To. If the temperature deviation rate D T ≤a, it is in a relatively suitable temperature range, and the heating component does not work to keep the current temperature. If the temperature deviation rate D T ≥a, the heating component works to adjust the temperature to the optimal temperature To, and achieve a comfort level C≥C1 by adjusting the temperature.

[0045] When the temperature deviation rate is greater than the preset temperature deviation rate, adjusting the temperature to the preset temperature threshold can quickly return the environmental temperature to the preset comfortable range, meet the user's comfort requirements for temperature in specific scenarios (such as bathing), avoid discomfort caused by too high or too low temperature to the user, and improve the user experience. When the temperature deviation rate is less than or equal to the preset temperature deviation rate, keeping the current temperature indicates that the current temperature is already in a relatively ideal range, and keeping the current temperature can continue to maintain the user's comfortable experience and avoid unnecessary temperature adjustment from interfering with the user.

[0046] Optionally, when the target combination is that the temperature is greater than the preset temperature threshold and the humidity is greater than the preset humidity threshold, the target environmental parameters to be adjusted include: the temperature and the humidity; Step 204 may specifically include: Sub-step 2043: When the temperature deviation rate is greater than the preset temperature deviation rate and the humidity deviation rate is greater than the preset humidity deviation rate, adjust the temperature to the target temperature and adjust the humidity to the target humidity; Sub-step 2044: When the temperature deviation rate is greater than the preset temperature deviation rate and the humidity deviation rate is less than or equal to the preset humidity deviation rate, adjust the temperature to the target temperature and maintain the current humidity; Sub-step 2045: When the temperature deviation rate is less than or equal to the preset temperature deviation rate and the humidity deviation rate is greater than the preset humidity deviation rate, adjust the humidity to the target humidity and maintain the current temperature.

[0047] For sub-steps 2043 - 2045, if the target combination is that the temperature is greater than the preset temperature threshold and the humidity is greater than the preset humidity threshold, it indicates that the current is in the bathing stage, and the temperature and humidity jointly affect the comfort level. As the bathing progresses, the humidity increases rapidly and exceeds the comfortable range. Under the combined action of the heating device and the shower hot water, the temperature also gradually rises. Therefore, the target environmental parameters to be adjusted are the temperature and humidity. Taking the preset temperature deviation rate as a and the preset humidity deviation rate as b as an example, if the temperature deviation rate D T > a and the humidity deviation rate D H ≤ b, adjust the heating power of the heating device to adjust the temperature. If the temperature deviation rate D T > a and the humidity deviation rate D H > b, reduce the heating power and the dehumidification device starts to work to reduce the humidity. If the temperature deviation rate D T ≤ a and the humidity deviation rate D H > b, keep the heating power unchanged and the dehumidification device starts to work to reduce the humidity. By dynamically adjusting the temperature and humidity during the bathing process, the comfort level C ≥ C2 can be achieved.

[0048] By specifically handling different temperature and humidity deviation situations, the comfort of the bathing environment can be comprehensively guaranteed. Whether the temperature and humidity deviate individually or simultaneously, the system can take corresponding measures for adjustment, so that the environment always remains within a comfortable range and meets the needs of users in different situations. The system can accurately select the parameters to be adjusted according to the actual temperature and humidity deviation situations, avoiding the problems that may be brought by a one-size-fits-all adjustment method. For example, it will not blindly adjust the humidity when the humidity is appropriate, nor will it make unnecessary changes to the temperature when the temperature is normal, thus achieving more intelligent and personalized environment adjustment.

[0049] Optionally, the method further includes: Step A1: Determine the temperature values with the temperature deviation rate less than or equal to the preset temperature deviation rate as candidate temperatures, and determine the humidity values with the humidity deviation rate less than or equal to the preset humidity deviation rate as candidate humidities; Step A2: According to the target environment adjustment rule, calculate the comfort level corresponding to the candidate temperature and the candidate humidity, and respectively determine the candidate temperature and candidate humidity corresponding to the comfort level greater than or equal to the preset value as the target temperature and the target humidity.

[0050] For steps A1 and A2, first, from all the measured or obtained temperature values, screen out those temperature values whose temperature deviation rate is less than or equal to the preset temperature deviation rate, and use them as candidate temperatures. This means that these temperature values are relatively close to the temperature range we expect and are relatively suitable candidate objects for temperature. Similarly, for humidity values, select the humidity values whose humidity deviation rate is less than or equal to the preset humidity deviation rate from all the measured values as candidate humidities. Then, according to the preset target environment adjustment rule, for example, C = 0.6C T + 0.4C H , calculate the comfort level for each group of candidate temperature and candidate humidity. Finally, from these calculated comfort level results, find the candidate temperature and candidate humidity corresponding to the comfort level greater than or equal to the preset value, and respectively determine them as the target temperature and the target humidity. The target temperature and target humidity determined in this way can theoretically provide a relatively comfortable environment for the user.

[0051] Through the target environment adjustment rule, the deviation of temperature and humidity in the actual environment and their influence on the comfort level are comprehensively considered, and the temperature and humidity combination that can best meet the user's comfort level requirements can be accurately found, so as to provide a more personalized and comfortable environment for the user.

[0052] Optionally, when the target combination is that the temperature is less than or equal to the preset temperature threshold and the humidity is greater than the preset humidity threshold, the target environmental parameter to be adjusted includes: the humidity; Step 204 may specifically include: Sub-step 2046: When the humidity deviation rate is greater than the preset humidity deviation rate, adjust the humidity to the preset humidity threshold; Sub-step 2047: When the humidity deviation rate is less than or equal to the preset humidity deviation rate, keep the current humidity.

[0053] For sub-step 2046 - sub-step 2047, if the target combination is that the temperature is less than or equal to the preset temperature threshold and the humidity is greater than the preset humidity threshold, it indicates that the current is in the stage after bathing, and the humidity in the bathroom is still at a relatively high level. To avoid the growth of bacteria in the bathroom due to high humidity, which may affect health, after the user finishes bathing and leaves the bathroom, the humidity can be appropriately reduced to avoid excessive humidity and increased energy consumption. Therefore, the target environmental parameter to be adjusted is humidity. When the humidity deviation rate is greater than the preset humidity deviation rate, increase the dehumidification power to quickly reduce the humidity and adjust the humidity to the preset humidity threshold H0, achieving the target comfort level C≥C3. When the humidity deviation rate is less than or equal to the preset humidity deviation rate, maintain the current humidity.

[0054] The method of taking different measures according to the humidity deviation rate can reasonably control and optimize the indoor humidity environment. It can not only adjust in time when the humidity deviation is large to meet the needs of multiple aspects such as human comfort, item protection, and environmental health, but also maintain stability when the humidity is within a suitable range, achieving the effects of energy conservation and equipment protection. Ultimately, create a comfortable, healthy, stable, and energy-saving indoor humidity environment.

[0055] Optionally, the environmental parameters include: temperature and humidity; the environmental adjustment rule includes: a comfort calculation formula; after step 202, the method further includes: Step 205: Calculate the comfort level based on the temperature, the humidity, and the target comfort calculation formula in the target environmental adjustment rule. Step 206: When the comfort level is greater than or equal to the first value, confirm that the preheating of the bathroom heater is completed and enter the step of collecting the environmental parameters in the bathroom. Step 207: When the comfort level is less than the first value, enter the step of adjusting the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment. Step 208: When the comfort level is greater than or equal to the second value, confirm that the bathing is over and enter the step of collecting the environmental parameters in the bathroom. Step 209: When the comfort level is less than the second value, enter the step of adjusting the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment. Step 210: When the comfort level is greater than or equal to the third value, confirm that the bathroom heater has finished working. Step 211: When the comfort level is less than the third value, enter the step of adjusting the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment.

[0056] For steps 205 - 211, the comfort calculation formula can include: C = C T 、C = 0.6CT +0.4C H , and C = C H . The comfort formula can be determined according to different stages of the bathing process. For example, if in the preheating stage, the comfort formula is C = C T . If in the bathing stage, the comfort formula is C = 0.6C T +0.4C H . If in the ending stage, the comfort formula is C = C H .

[0057] See Figure 3 , when the comfort C is greater than or equal to C1, it is confirmed that the preheating is completed, and the step of collecting the environmental parameters in the bathroom in the bathing stage is entered. When the comfort C is less than C1, the heating component adjusts the temperature to the optimal temperature T0. When the comfort is greater than or equal to C2, it is confirmed that the bathing is over, and the step of collecting the environmental parameters in the bathroom in the ending stage is ended. When the comfort C is less than C2, the heating component and the dehumidifying component adjust the temperature and humidity according to the temperature and humidity deviation rate. When the comfort C is greater than or equal to C3, it is confirmed that the bath heater ends working. When the comfort C is less than C3, the dehumidifying component adjusts the humidity to the optimal humidity H0.

[0058] Automatically adjust the heating and dehumidifying power according to the change of comfort, so as to avoid the reduction of comfort caused by the environmental change in the bathroom during the bathing process and affect the bathing experience.

[0059] Optionally, step 205 may specifically include: Sub-step 2051: Calculate the parameter factors corresponding to the temperature and humidity respectively to obtain a temperature factor and a humidity factor; the temperature factor is negatively correlated with the temperature; the humidity factor is negatively correlated with the humidity; Sub-step 2052: Weight and sum the temperature factor and the humidity factor according to the weights corresponding to the temperature factor and the humidity factor defined in the target comfort formula to obtain the comfort; the temperature factor and the humidity factor are positively correlated with the comfort; the target comfort formula is the comfort formula in the target environmental adjustment rule.

[0060] For sub-step 2051 - sub-step 2052, the calculation method of the temperature factor includes: determining the first ratio corresponding to the temperature, and calculating the temperature factor based on the preset maximum temperature factor and the first ratio. The first ratio is negatively correlated with the temperature, and the temperature factor is positively correlated with the first ratio. The calculation method of the first ratio is: . Among them, represents the sensitivity coefficient of the temperature, T represents the temperature, represents the optimal temperature, and e is the base of the natural logarithm. Based on a preset maximum temperature factor and a first proportion, the temperature factor can be calculated, for example, by calculating the product of the preset maximum temperature factor and the first proportion, and taking the product result as the temperature factor.

[0061] The calculation method of the humidity factor includes: determining a second proportion corresponding to the humidity, and calculating the humidity factor based on a preset maximum humidity factor and the second proportion. The second proportion is negatively correlated with the humidity, and the humidity factor is positively correlated with the second proportion. The calculation method of the second proportion is: . Among them, represents the sensitivity coefficient of humidity, H represents humidity, represents the optimal humidity, and e is the base of the natural logarithm. Based on a preset maximum humidity factor and the second proportion, the humidity factor can be calculated, for example, by calculating the product of the preset maximum humidity factor and the second proportion, and taking the product result as the humidity factor.

[0062] Specifically, first calculate the first difference between the temperature and the optimal temperature, and determine the first proportion based on the first difference and the sensitivity coefficient of the temperature. Then, take the product result of the preset maximum temperature factor and the first proportion as the temperature factor. First calculate the second difference between the humidity and the optimal humidity, and determine the second proportion based on the second difference and the sensitivity coefficient of the humidity. Then, take the product result of the preset maximum humidity factor and the second proportion as the humidity factor. The optimal temperature here is the preset temperature threshold mentioned above, and the optimal humidity here is the preset humidity threshold mentioned above.

[0063] The calculation method of the temperature factor is as follows:

[0064] Among them, represents the temperature factor; represents the preset maximum temperature factor; represents the sensitivity coefficient of the temperature; T represents the temperature; represents the optimal temperature; e is the base of the natural logarithm.

[0065] The calculation method of the humidity factor is as follows:

[0066] Among them, represents the humidity factor; represents the preset maximum temperature factor; represents the sensitivity coefficient of the humidity. H represents the humidity; represents the optimal humidity; e is the base of the natural logarithm.

[0067] , , , , are all constants. By conducting experiments to collect the scoring data of people's comfort levels at different temperatures and humidities, and through methods such as regression analysis, the optimal parameter values are fitted. To quantify comfort, a scoring range can be set, C ∈ [0, 10]. Assume the optimal temperature = 25°C, the optimal humidity = 50%, = 10, = 0.1, = 10, = 0.05. Then, at this time, the temperature factor calculation formula is:

[0068] Among them, represents the temperature factor; T represents the temperature; e is the base of the natural logarithm.

[0069] The temperature factor calculation formula is:

[0070] Among them, represents the humidity factor; H represents the humidity; e is the base of the natural logarithm.

[0071] The weight corresponding to the temperature factor is , and the weight corresponding to the humidity factor is . Using the weight corresponding to the temperature factor as and the weight corresponding to the humidity factor as , the temperature factor and the humidity factor are weighted and summed to obtain the comfort level.

[0072] At different stages, the weight corresponding to the temperature factor is , and the weight corresponding to the humidity factor is has different values. For example, in the preheating stage, takes the value of 1, takes the value of 0. In the bathing stage, takes the value of 0.6, takes the value of 0.4. In the ending stage, takes the value of 0, takes the value of 1. and 's values represent the influence degrees of temperature and humidity on the comfort level.

[0073] By calculating the temperature factor and the humidity factor separately and assigning their respective corresponding weights, it can comprehensively and accurately reflect the environmental comfort under different temperature and humidity combinations. And the obtained comfort level value can provide a scientific basis for the operation of the bathroom heater.

[0074] In the embodiment of the present application, the environmental parameters in the bathroom are compared with the preset environmental parameter thresholds to obtain a target comparison result, and according to the corresponding relationship between the preset comparison result and the environmental adjustment rule, a target environmental adjustment rule matching the target comparison result is determined. The target environmental adjustment rule can be automatically determined based on the target comparison result. Thus, according to the target adjustment strategy in the target environmental adjustment rule, the corresponding target environmental parameter to be adjusted is adjusted to regulate the comfort of the bathroom environment, without the need for manual adjustment by the user, reducing the complexity of the operation and improving the comfort and experience of bathing.

[0075] Figure 3 It is a flowchart of the steps of another automatic control method of a bath heater provided by an embodiment of the present application. The steps include: Step S1: Start.

[0076] Step S2: Collect the temperature and humidity in the bathroom.

[0077] Step S3: Calculate the comfort level and determine whether the comfort level is greater than or equal to the first value. If the comfort level is greater than or equal to the first value, go to step S5; otherwise, go to step S4.

[0078] Step S4: The heating component adjusts the temperature to the optimal temperature.

[0079] Step S5: Preheating is completed.

[0080] Step S6: Collect the temperature and humidity in the bathroom.

[0081] Step S7: Calculate the comfort level and determine whether the comfort level is greater than or equal to the second value. If the comfort level is greater than or equal to the second value, go to step S9; otherwise, go to step S8.

[0082] Step S8: The heating component and the dehumidifying component adjust the temperature and humidity according to the temperature and humidity deviation rate.

[0083] Step S9: Bathing is completed.

[0084] Step S10: Collect the temperature and humidity in the bathroom.

[0085] Step S11: Calculate the comfort level and determine whether the comfort level is greater than or equal to the third value. If the comfort level is greater than or equal to the third value, go to step S13; otherwise, go to step S12.

[0086] Step S12: The dehumidifying component adjusts the humidity to the optimal humidity.

[0087] Step S13: End.

[0088] Figure 4 It is a working block diagram of a bath heater provided by an embodiment of the present application. SeeFigure 4 There are a sensor module, a data acquisition module, a control module, an execution module, and a feedback module set on the bathroom heater. The sensor module is connected to the data acquisition module. The control module communicates with the data acquisition module through wireless communication. The execution module and the feedback module are respectively connected to the control module.

[0089] The sensor module includes a humidity sensor and a temperature sensor, and monitors the temperature and humidity of the bathroom environment in real time. The data acquisition module uses a microcontroller as the core processor, configures an A / D converter to convert analog signals into digital signals, and configures a wireless communication module (WiFi or Bluetooth) to achieve wireless data transmission. The control module uses an embedded computer or a cloud server as a computing platform, configures a storage device to store historical data and algorithm models. The algorithm model processes the collected data, trains the model using a set formula, and can adjust the model parameters to improve performance. The execution module is provided with a dehumidification component and a heating component. The feedback module has a display operator installed on the bathroom wall to display the environmental temperature and humidity and the comfort index, and the user can make personalized adjustments according to needs.

[0090] See Figure 5 which shows an automatic control device 30 of a bathroom heater provided by an embodiment of the present application. The automatic control device 30 of the bathroom heater includes: An acquisition module 301, configured to start the bathroom heater and acquire environmental parameters in the bathroom; A determination module 302, configured to determine a target environmental adjustment rule that matches the target comparison result according to the target comparison result of the environmental parameters and a preset environmental parameter threshold, and the corresponding relationship between the preset comparison result and the environmental adjustment rule; the environmental adjustment rule includes: the environmental parameter to be adjusted in the environmental parameters, and an adjustment strategy corresponding to the environmental parameter to be adjusted; An adjustment module 303, configured to adjust the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort of the bathroom environment; the target adjustment strategy is the adjustment strategy in the target environmental adjustment rule; the target environmental parameter to be adjusted is the environmental parameter to be adjusted in the target environmental adjustment rule.

[0091] Optionally, the environmental parameters include: temperature and humidity; the preset environmental parameter thresholds include: a preset temperature threshold and a preset humidity threshold; the target comparison results include: a temperature comparison result and a humidity comparison result; the corresponding relationship includes: multiple combinations of comparison results, and environmental adjustment rules corresponding to each combination of comparison results; The determination module includes: A determination sub-module, configured to match a target combination of the temperature comparison result and the humidity comparison result with a corresponding relationship between a comparison result combination and an environment adjustment rule, and determine a target environment adjustment rule corresponding to the target combination.

[0092] Optionally, the adjustment module includes: A calculation sub-module, configured to calculate a deviation rate between the target environment parameter to be adjusted and a preset threshold of the environment parameter to be adjusted; An adjustment sub-module, configured to adjust a corresponding target environment parameter to be adjusted according to a comparison result between the deviation rate and a preset deviation rate.

[0093] Optionally, when the target combination is that the temperature is greater than the preset temperature threshold and the humidity is less than or equal to the preset humidity threshold, the target environment parameter to be adjusted includes: the temperature; The adjustment sub-module includes: A first adjustment unit, configured to adjust the temperature to the preset temperature threshold when the temperature deviation rate is greater than the preset temperature deviation rate; A first holding unit, configured to hold the current temperature when the temperature deviation rate is less than or equal to the preset temperature deviation rate.

[0094] Optionally, when the target combination is that the temperature is greater than the preset temperature threshold and the humidity is greater than the preset humidity threshold, the target environment parameters to be adjusted include: the temperature and the humidity; The adjustment sub-module includes: A second adjustment unit, configured to adjust the temperature to a target temperature and adjust the humidity to a target humidity when the temperature deviation rate is greater than the preset temperature deviation rate and the humidity deviation rate is greater than the preset humidity deviation rate; A third adjustment unit, configured to adjust the temperature to the target temperature and hold the current humidity when the temperature deviation rate is greater than the preset temperature deviation rate and the humidity deviation rate is less than or equal to the preset humidity deviation rate; A fourth adjustment unit, configured to adjust the humidity to the target humidity and hold the current temperature when the temperature deviation rate is less than or equal to the preset temperature deviation rate and the humidity deviation rate is greater than the preset humidity deviation rate.

[0095] Optionally, the method further includes: A candidate module, configured to determine a temperature value with a temperature deviation rate less than or equal to the preset temperature deviation rate as a candidate temperature, and determine a humidity value with a humidity deviation rate less than or equal to the preset humidity deviation rate as a candidate humidity; A selection module, configured to calculate the comfort levels corresponding to the candidate temperature and the candidate humidity according to the target environment adjustment rules, and determine the candidate temperature and candidate humidity corresponding to the comfort level greater than or equal to a preset value as the target temperature and the target humidity, respectively.

[0096] Optionally, when the target combination is that the temperature is less than or equal to the preset temperature threshold and the humidity is greater than the preset humidity threshold, the target environmental parameter to be adjusted includes: the humidity; The adjustment sub-module includes: A fifth adjustment unit, configured to adjust the humidity to the preset humidity threshold when the humidity deviation rate is greater than the preset humidity deviation rate; A second holding unit, configured to maintain the current humidity when the humidity deviation rate is less than or equal to the preset humidity deviation rate.

[0097] Optionally, the environmental parameters include: temperature and humidity; the environmental adjustment rules include: a comfort calculation formula; the device further includes: A calculation module, configured to calculate the comfort level based on the temperature, the humidity, and the target comfort calculation formula in the target environment adjustment rules; A first selection module, configured to confirm that the preheating of the bathroom heater is completed and enter the step of collecting the environmental parameters in the bathroom when the comfort level is greater than or equal to a first value; A second selection module, configured to enter the step of adjusting the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment when the comfort level is less than the first value; A third selection module, configured to confirm the end of the bath and enter the step of collecting the environmental parameters in the bathroom when the comfort level is greater than or equal to a second value; A fourth selection module, configured to enter the step of adjusting the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment when the comfort level is less than the second value; A fifth selection module, configured to confirm the end of the operation of the bathroom heater when the comfort level is greater than or equal to a third value; A sixth selection module, configured to enter the step of adjusting the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment when the comfort level is less than the third value.

[0098] Optionally, the calculation module includes: A calculation sub-module, configured to calculate the temperature factor corresponding to the temperature and the humidity factor corresponding to the humidity respectively according to a preset calculation method; the temperature factor and the humidity factor have their respective corresponding weights; A weighted summation sub-module, configured to perform weighted summation on the temperature factor and the humidity factor according to the target comfort calculation formula, using the weights corresponding to the temperature factor and the humidity factor respectively, to obtain the comfort level.

[0099] Optionally, the calculation sub-module includes: A first calculation unit, configured to obtain a temperature coefficient, an ideal value of the temperature factor, and a preset temperature threshold, and calculate a first difference between the temperature and the preset temperature threshold; A first determination unit, configured to determine the temperature factor based on the first difference, the temperature coefficient, and the ideal value of the temperature factor; A second calculation unit, configured to obtain a humidity coefficient, an ideal value of the humidity factor, and a preset humidity threshold, and calculate a second difference between the humidity and the preset humidity threshold; A second determination unit, configured to determine the humidity factor based on the second difference, the humidity coefficient, and the ideal value of the humidity factor.

[0100] In an embodiment of the present application, the environmental parameters in the bathroom are compared with preset environmental parameter thresholds to obtain a target comparison result, and according to the corresponding relationship between the preset comparison result and the environmental adjustment rule, a target environmental adjustment rule matching the target comparison result is determined. The target environmental adjustment rule can be automatically determined based on the target comparison result. Thus, according to the target adjustment strategy in the target environmental adjustment rule, the corresponding target environmental parameter to be adjusted is adjusted to regulate the comfort level of the bathroom environment, without manual adjustment by the user, reducing the complexity of the operation, and improving the comfort and experience of bathing.

[0101] Figure 6 is a block diagram of an electronic device 400 according to an embodiment provided by an embodiment of the present application. Refer to Figure 6 , the electronic device 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input / output (I / O) interface 412, a sensor component 414, and a communication component 416.

[0102] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0103] The memory 404 is used to store various types of data to support the operation of the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, multimedia, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0104] The power supply component 406 provides power to various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 400.

[0105] The multimedia component 408 includes an interface that provides an output interface between the electronic device 400 and the user. In some embodiments, the interface may include a liquid crystal display (LCD) and a touch panel (TP). If the interface includes a touch panel, the interface can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the electronic device 400 is in an operating mode, such as a shooting mode or a multimedia mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0106] The audio component 410 is used to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC) that is used to receive external audio signals when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, the audio component 410 further includes a speaker for outputting audio signals.

[0107] The input / output (I / O) interface 412 provides an interface between the processing component 402 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a start button, and a lock button.

[0108] The sensor assembly 414 includes one or more sensors for providing a status assessment of various aspects of the electronic device 400. For example, the sensor assembly 414 can detect the on / off state of the electronic device 400, the relative positioning of components, such as components for the display and keypad of the electronic device 400. The sensor assembly 414 can also detect a change in the position of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and a change in the temperature of the electronic device 400. The sensor assembly 414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0109] The communication component 416 is used to facilitate communication between the electronic device 400 and other devices in a wired or wireless manner. The electronic device 400 can access a wireless network based on communication standards, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0110] In an exemplary embodiment, the electronic device 400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for implementing an automatic control method of a bathroom heater provided in the embodiments of the present application.

[0111] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the above instructions can be executed by a processor 420 of the electronic device 400 to complete the above method. For example, the non-transitory storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0112] Figure 7It is a block diagram of an electronic device 500 according to another embodiment provided by the embodiments of the present application. For example, the electronic device 500 may be provided as a server. Refer to Figure 7 , the electronic device 500 includes a processing component 522, which further includes one or more processors, and memory resources represented by a memory 532 for storing instructions executable by the processing component 522, such as application programs. The application programs stored in the memory 532 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 522 is configured to execute instructions to perform an automatic control method for a bathroom heater provided by the embodiments of the present application.

[0113] The electronic device 500 may further include a power supply component 526 configured to perform power management of the electronic device 500, a wired or wireless network interface 550 configured to connect the electronic device 500 to a network, and an input / output (I / O) interface 558. The electronic device 500 may operate based on an operating system stored in the memory 532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSD TM or the like.

[0114] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only to be considered exemplary, and the true scope and spirit of the present application are pointed out by the following claims.

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

Claims

1. An automatic control method for a bathroom heater, which is applied to the bathroom heater installed in a bathroom, is characterized in that The method includes: Starting the bathroom heater and collecting the environmental parameters in the bathroom; Determining a target environmental adjustment rule that matches the target comparison result according to the target comparison result between the environmental parameters and the preset environmental parameter thresholds, and the corresponding relationship between the preset comparison results and the environmental adjustment rules; the environmental adjustment rules include: the environmental parameter to be adjusted in the environmental parameters, the adjustment strategy corresponding to the environmental parameter to be adjusted, and a comfort calculation formula; Calculating the respective parameter factors corresponding to the temperature and humidity in the environmental parameters to obtain a temperature factor and a humidity factor; the temperature factor is negatively correlated with the temperature; the humidity factor is negatively correlated with the humidity; Performing a weighted sum of the temperature factor and the humidity factor according to the respective weights defined in the target comfort calculation formula to obtain a comfort level; the temperature factor and the humidity factor are positively correlated with the comfort level; the target comfort calculation formula is the comfort calculation formula in the target environmental adjustment rule; When the comfort level is less than a preset value, adjusting the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment; the target adjustment strategy is the adjustment strategy in the target environmental adjustment rule; the target environmental parameter to be adjusted is the environmental parameter to be adjusted in the target environmental adjustment rule.

2. The method according to claim 1, wherein The environmental parameters include: temperature and humidity; the preset environmental parameter thresholds include: a preset temperature threshold and a preset humidity threshold; the target comparison results include: a temperature comparison result and a humidity comparison result; the corresponding relationship includes: multiple combinations of comparison results, and the environmental adjustment rules corresponding to each combination of comparison results; The determining of the target environmental adjustment rule that matches the target comparison result according to the target comparison result between the environmental parameters and the preset environmental parameter thresholds, and the corresponding relationship between the preset comparison results and the environmental adjustment rules includes: Matching the target combination of the temperature comparison result and the humidity comparison result with the corresponding relationship between the combination of comparison results and the environmental adjustment rules to determine the target environmental adjustment rule corresponding to the target combination.

3. The method according to claim 2, wherein The adjusting of the target environmental parameter to be adjusted according to the target adjustment strategy to adjust the comfort level of the bathroom environment includes: Calculating the deviation rate between the target environmental parameter to be adjusted and the preset environmental parameter threshold to be adjusted; Adjusting the corresponding target environmental parameter to be adjusted according to the comparison result between the deviation rate and the preset deviation rate.

4. The method according to claim 3, wherein When the target combination is that the temperature is greater than the preset temperature threshold and the humidity is less than or equal to the preset humidity threshold, the target environmental parameter to be adjusted includes: the temperature; The adjusting of the corresponding target environmental parameter to be adjusted according to the comparison result between the deviation rate and the preset deviation rate includes: When the temperature deviation rate is greater than the preset temperature deviation rate, adjusting the temperature to the preset temperature threshold; When the temperature deviation rate is less than or equal to the preset temperature deviation rate, maintaining the current temperature.

5. The method according to claim 3, characterized in that, When the target combination is that the temperature is greater than the preset temperature threshold and the humidity is greater than the preset humidity threshold, the target environmental parameter to be adjusted includes: the temperature and the humidity; Adjusting the corresponding target environmental parameter to be adjusted according to the comparison result between the deviation rate and the preset deviation rate includes: When the temperature deviation rate is greater than the preset temperature deviation rate and the humidity deviation rate is greater than the preset humidity deviation rate, adjusting the temperature to the target temperature and adjusting the humidity to the target humidity; When the temperature deviation rate is greater than the preset temperature deviation rate and the humidity deviation rate is less than or equal to the preset humidity deviation rate, adjusting the temperature to the target temperature and maintaining the current humidity; When the temperature deviation rate is less than or equal to the preset temperature deviation rate and the humidity deviation rate is greater than the preset humidity deviation rate, adjusting the humidity to the target humidity and maintaining the current temperature.

6. The method according to claim 5, wherein The method further includes: Determining the temperature value with the temperature deviation rate less than or equal to the preset temperature deviation rate as the candidate temperature, and determining the humidity value with the humidity deviation rate less than or equal to the preset humidity deviation rate as the candidate humidity; Calculating the comfort degree corresponding to the candidate temperature and the candidate humidity according to the target environment adjustment rule, and respectively determining the candidate temperature and the candidate humidity corresponding to the comfort degree greater than or equal to the preset value as the target temperature and the target humidity.

7. The method according to claim 3, wherein When the target combination is that the temperature is less than or equal to the preset temperature threshold and the humidity is greater than the preset humidity threshold, the target environmental parameter to be adjusted includes: the humidity; Adjusting the corresponding target environmental parameter to be adjusted according to the comparison result between the deviation rate and the preset deviation rate includes: When the humidity deviation rate is greater than the preset humidity deviation rate, adjusting the humidity to the preset humidity threshold; When the humidity deviation rate is less than or equal to the preset humidity deviation rate, maintaining the current humidity.

8. The method according to claim 1, characterized in that, The preset value is the first value, the second value or the third value; the method further includes: When the comfort degree is greater than or equal to the first value, confirming that the preheating of the bathroom heater is completed and entering the step of collecting the environmental parameters in the bathroom; When the comfort degree is greater than or equal to the second value, confirming that the bathing is over and entering the step of collecting the environmental parameters in the bathroom; When the comfort degree is greater than or equal to the third value, confirming that the bathroom heater stops working.

9. The method according to claim 1, wherein Respectively calculating the parameter factors corresponding to the temperature and the humidity in the environmental parameters to obtain the temperature factor and the humidity factor includes: Determining the first proportion corresponding to the temperature and the second proportion corresponding to the humidity; the first proportion is negatively correlated with the temperature; the second proportion is negatively correlated with the humidity; Calculating the temperature factor based on the preset maximum temperature factor and the first proportion, and calculating the humidity factor based on the preset maximum humidity factor and the second proportion; the temperature factor is positively correlated with the first proportion, and the humidity factor is positively correlated with the second proportion.

10. A bathroom heater, characterized in that, The bathroom heater includes: a sensor, a controller, and a temperature control component; the sensor is connected to the controller, and the controller is connected to the temperature control component; The sensor is used to collect the environmental parameters in the bathroom; The controller is used to determine a target environmental adjustment rule that matches the target comparison result according to the target comparison result between the environmental parameters and the preset environmental parameter threshold, and the corresponding relationship between the preset comparison result and the environmental adjustment rule; the environmental adjustment rule includes: the environmental parameter to be adjusted in the environmental parameters, the adjustment strategy corresponding to the environmental parameter to be adjusted, and a comfort calculation formula; calculate the parameter factors corresponding to the temperature and humidity in the environmental parameters respectively to obtain a temperature factor and a humidity factor; the temperature factor is negatively correlated with the temperature; the humidity factor is negatively correlated with the humidity; perform weighted summation on the temperature factor and the humidity factor according to the weights corresponding to the temperature factor and the humidity factor defined in the target comfort calculation formula to obtain the comfort level; the temperature factor and the humidity factor are positively correlated with the comfort level; the target comfort calculation formula is the comfort calculation formula in the target environmental adjustment rule; The temperature control component is used to adjust the target environmental parameter to be adjusted according to the target adjustment strategy when the comfort level is less than the preset value, so as to adjust the comfort level of the bathroom environment; the target adjustment strategy is the adjustment strategy in the target environmental adjustment rule; the target environmental parameter to be adjusted is the environmental parameter to be adjusted in the target environmental adjustment rule.

11. An electronic device, characterized in that, It includes a processor and a memory, and the memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 9 are implemented.

12. A readable storage medium, characterized in that, A program or instruction is stored on the readable storage medium. When the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Near-body microenvironment comfort regulation and control method and device, electronic equipment and storage medium

    CN118129295A

  • Energy-saving control method based on dynamic air conditioning operation data

    CN119412783A

  • Hot water supply device

    JP1983066736A