Automatic control method for bathroom heater, bathroom heater, electronic device and readable storage medium

Through automated environmental parameter collection and adjustment rules, intelligent adjustment of bathroom heaters is achieved, solving the problem of poor comfort and experience caused by the complexity of manual adjustment of users, and improving the comfort and experience of bathing.

CN120212563BActive Publication Date: 2025-08-01GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Users need to frequently manually adjust the bathroom heater to adjust the temperature and humidity of the bathroom, resulting in poor comfort and experience during bathing.

Method used

By collecting bathroom environmental parameters, comparing with preset thresholds, automatically determining environmental adjustment rules, calculating temperature and humidity factors, performing weighted summing to obtain comfort, and adjusting environmental parameters according to the rules to achieve comfort goals.

Benefits of technology

No manual adjustment required for users, reducing operational complexity and improving bath comfort and experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120212563B_ABST
    Figure CN120212563B_ABST
Patent Text Reader

Abstract

The present application provides an automatic control method for a bathroom heater, a bathroom heater, an electronic device, and a readable storage medium, including: starting the bathroom heater, collecting 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 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. Adjust the 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. There is no need for manual adjustment by the user, reducing the complexity of operation, and improving the comfort level and experience of bathing.
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 adjust manually frequently, 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 in the prior art that the user needs to adjust manually frequently, the operation is complex, and 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:

[0007] Start the bathroom heater and collect the environmental parameters in the bathroom;

[0008] 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, 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;

[0009] 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;

[0010] 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 the 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;

[0011] 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.

[0012] In a second aspect, an embodiment of the present application discloses a bathroom 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;

[0013] The sensor is used to collect environmental parameters in the bathroom;

[0014] 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 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 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;

[0015] 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 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.

[0016] 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 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.

[0017] 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.

[0018] In summary, 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. 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. The present application calculates the comfort level based on the environmental parameters and the target comfort calculation formula, 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

[0019] In the drawings:

[0020] Figure 1 is the flowchart of the steps of an automatic control method for a ceiling lamp with bath function provided by an embodiment of the present application;

[0021] Figure 2 is the flowchart of the steps of another automatic control method for a ceiling lamp with bath function provided by an embodiment of the present application;

[0022] Figure 3 is the flowchart of the steps of yet another automatic control method for a ceiling lamp with bath function provided by an embodiment of the present application;

[0023] Figure 4 is the working block diagram of a ceiling lamp with bath function provided by an embodiment of the present application;

[0024] Figure 5 is the block diagram of an automatic control device for a ceiling lamp with bath function provided by an embodiment of the present application;

[0025] Figure 6 is the block diagram of an electronic device of an embodiment provided by an embodiment of the present application;

[0026] Figure 7 is the block diagram of an electronic device of another embodiment provided by an embodiment of the present application. Detailed Embodiment

[0027] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. 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.

[0028] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than 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 can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the associated objects before and after.

[0029] Figure 1 is a step flowchart of an automatic control method for a bathroom heater provided by an embodiment of the present application. Refer to Figure 1 The method may include the following steps:

[0030] Step 101: Start the bathroom heater and collect the environmental parameters in the bathroom.

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

[0032] 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.

[0033] The collected environmental parameters provide an accurate data basis for subsequent automatic adjustment of the functions of the bathroom heater. For example, based on 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.

[0034] 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.

[0035] Exemplarily, the preset environmental parameter threshold is an ideal environmental numerical 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 being higher than the threshold, the humidity being lower than the threshold, etc.

[0036] Exemplarily, the adjustment strategy refers to a series of rules and methods preset for how to adjust environmental parameters such as temperature and humidity during different stages (preheating, bathing, ending stage) of the bathing process. 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.

[0037] Exemplarily, preset different environmental adjustment rules corresponding to different comparison results, establish the corresponding relationship between the comparison results and the environmental adjustment rules, and form a rule library. For example, when the temperature is higher than the threshold, the rule corresponding to reducing the heating power; when the humidity is higher than the threshold, the 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.

[0038] 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.

[0039] 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.

[0040] Exemplarily, the target adjustment strategy is that when the temperature deviation rate DT≥a (a is preset to 10%), adjust the temperature to the optimal temperature, and the optimal temperature 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.

[0041] By changing the target environmental parameter to be adjusted, make the bathroom environment reach or approach the comfortable state expected by the human body in different bathing stages, and improve the experience and satisfaction of users during the bathing process.

[0042] 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 of the bathroom environment, without manual adjustment by the user, reducing the complexity of the operation, and improving the comfort and experience of bathing.

[0043] Figure 2 is the flowchart of the steps of another automatic control method of the integrated ceiling lamp with bath function provided by the present application. Refer to Figure 2 , the method may include the following steps:

[0044] Step 201: Start the integrated ceiling lamp with bath function and collect the environmental parameters in the bathroom.

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

[0046] Step 202: Determine the target environmental adjustment rule matching the target comparison result according to the target comparison result of the environmental parameters and the preset environmental parameter thresholds, 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.

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

[0048] 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:

[0049] 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 to determine the target environmental adjustment rule corresponding to the target combination.

[0050] Exemplarily, for the target combination of the temperature comparison result and the humidity comparison result, the actual temperature detected in the bathroom is compared with the preset temperature threshold to obtain the temperature comparison result (such as higher than, equal to, or lower than the threshold); at the same time, the actual humidity is compared with the preset humidity threshold to obtain the humidity comparison result. Combining these two results forms a "target combination" that reflects the current comprehensive temperature and humidity situation, such as "the temperature is higher than the threshold and the humidity is lower than the threshold".

[0051] 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 rule applicable to the current bathroom environmental conditions is finally determined. This rule clarifies which environmental parameters need to be adjusted and what adjustment strategy to adopt.

[0052] By adjusting through 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 rule based on the accurate comprehensive judgment of temperature and humidity can avoid the ineffective operation of the equipment.

[0053] 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.

[0054] 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.

[0055] 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:

[0056]

[0057] Where T represents temperature, T0 represents the preset temperature threshold, and D T represents the temperature deviation rate.

[0058] 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.

[0059] Exemplarily, the target adjustment strategy in the target environmental adjustment rule can be the 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.

[0060] Exemplarily, the preset deviation rate is a preset deviation degree standard, which serves as the basis for determining whether to adjust the environmental parameters and how to adjust them. 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 for the target environmental parameter to be adjusted. According to the comparison result, corresponding adjustment measures are taken for the current environmental parameter that does not meet the ideal state, so that the environment reaches or approaches a comfortable state.

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

[0062] 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;

[0063] Step 204 may specifically include:

[0064] Sub-step 2041: When the temperature deviation rate is greater than the preset temperature deviation rate, adjust the temperature to the preset temperature threshold;

[0065] Sub-step 2042: When the temperature deviation rate is less than or equal to the preset temperature deviation rate, keep the current temperature.

[0066] Regarding sub-step 2041 - sub-step 2042, 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, which 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, 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 the comfort level C≥C1 is achieved by adjusting the temperature.

[0067] 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 requirement for temperature in a specific scenario (such as bathing), avoid discomfort caused to the user by too high or too low temperature, 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 disturbing the user.

[0068] 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 parameter to be adjusted includes: the temperature and the humidity;

[0069] Step 204 may specifically include:

[0070] 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;

[0071] 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;

[0072] 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.

[0073] 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 the 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 dehumidifying 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 dehumidifying device starts to work to reduce the humidity. By dynamically adjusting the temperature and humidity during the bathing process, the comfort level C ≥ C2.

[0074] By specifically handling different degrees of temperature and humidity deviation, the comfort of the bathing environment can be comprehensively ensured. Whether the temperature and humidity deviate individually or simultaneously, the system can take corresponding measures for adjustment, keeping the environment within a comfortable range at all times to meet 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, avoiding problems that may be caused 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 environmental regulation.

[0075] Optionally, the method further includes:

[0076] Step A1: Determine the temperature values with a temperature deviation rate less than or equal to the preset temperature deviation rate as candidate temperatures, and determine the humidity values with a humidity deviation rate less than or equal to the preset humidity deviation rate as candidate humidities;

[0077] Step A2: According to the target environment adjustment rule, calculate the comfort levels corresponding to the candidate temperatures and the candidate humidities, and determine the candidate temperatures and candidate humidities with comfort levels greater than or equal to the preset value as the target temperature and the target humidity, respectively.

[0078] Regarding steps A1 and A2, first, from all the measured or obtained temperature values, screen out those temperature values with a temperature deviation rate 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 candidates for temperature. Similarly, for humidity values, select the humidity values with a humidity deviation rate less than or equal to the preset humidity deviation rate from all the measured values as candidate humidities. Then, according to the pre-set target environment adjustment rule, for example, C = 0.6C T + 0.4C H , calculate the comfort levels for each group of candidate temperatures and candidate humidities. Finally, from these calculated comfort level results, find the candidate temperatures and candidate humidities corresponding to the comfort levels greater than or equal to the preset value and determine them as the target temperature and the target humidity, respectively. The target temperature and target humidity determined in this way can theoretically provide a relatively comfortable environment for users.

[0079] Through the target environment adjustment rule, considering the deviation of temperature and humidity in the actual environment and their impact on comfort, the temperature and humidity combination that can best meet the comfort needs of users can be accurately found, thus providing a more personalized and comfortable environment for users.

[0080] 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;

[0081] Step 204 may specifically include:

[0082] Sub-step 2046: When the humidity deviation rate is greater than the preset humidity deviation rate, adjust the humidity to the preset humidity threshold;

[0083] Sub-step 2047: When the humidity deviation rate is less than or equal to the preset humidity deviation rate, maintain the current humidity.

[0084] Regarding 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 at the end of the bathing stage, 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 increase energy consumption. Therefore, the target environmental parameter to be adjusted is the 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 to achieve 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.

[0085] 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 human comfort, item protection, environmental health, etc., 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.

[0086] Optionally, the environmental parameters include: temperature and humidity; the environmental adjustment rule includes: a comfort calculation formula; after step 202, the method further includes:

[0087] Step 205: Calculate the comfort level based on the temperature, the humidity, and the target comfort calculation formula in the target environmental adjustment rule;

[0088] 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;

[0089] 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;

[0090] Step 208: When the comfort level is greater than or equal to the second value, confirm the end of the bath and enter the step of collecting the environmental parameters in the bathroom;

[0091] 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;

[0092] Step 210: When the comfort level is greater than or equal to the third value, confirm that the bath heater has stopped working;

[0093] 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.

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

[0095] Refer to Figure 3 , when the comfort level C is greater than or equal to C1, confirm the completion of preheating and enter the step of collecting the environmental parameters in the bathroom during the bathing stage. When the comfort level C is less than C1, the heating component adjusts the temperature to the optimal temperature T0. When the comfort level is greater than or equal to C2, confirm the end of the bath and enter the step of collecting the environmental parameters in the bathroom during the ending stage. When the comfort level 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 level C is greater than or equal to C3, confirm that the bath heater has stopped working. When the comfort level C is less than C3, the dehumidifying component adjusts the humidity to the optimal humidity H0.

[0096] Automatically adjust the heating and dehumidifying power according to the change of the comfort level, avoiding the reduction of the comfort level caused by the environmental change in the bathroom during the bathing process and affecting the bathing experience.

[0097] Optionally, step 205 can specifically include:

[0098] 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;

[0099] Sub-step 2052: 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 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 environment adjustment rule.

[0100] 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: . Wherein, represents the sensitivity coefficient of the temperature, T represents the temperature, represents the optimal temperature, and e is the base of the natural logarithm. Calculating the temperature factor based on the preset maximum temperature factor and the first ratio can be calculating the product of the preset maximum temperature factor and the first ratio, and taking the product result as the temperature factor.

[0101] The calculation method of the humidity factor includes: determining the second ratio corresponding to the humidity, and calculating the humidity factor based on the preset maximum humidity factor and the second ratio. The second ratio is negatively correlated with the humidity, and the humidity factor is positively correlated with the second ratio. The calculation method of the second ratio is: . Wherein, represents the sensitivity coefficient of the humidity, H represents the humidity, represents the optimal humidity, and e is the base of the natural logarithm. Calculating the humidity factor based on the preset maximum humidity factor and the second ratio can be calculating the product of the preset maximum humidity factor and the second ratio, and taking the product result as the humidity factor.

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

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

[0104]

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

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

[0107]

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

[0109] , , , , 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]. Assuming the optimal temperature = 25 °C, the optimal humidity = 50%, = 10, = 0.1, = 10, = 0.05. Then at this time, the calculation formula of the temperature factor is:

[0110]

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

[0112] The calculation formula of the temperature factor is:

[0113]

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

[0115] 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 The weight corresponding to the humidity factor is , for the temperature factor and the humidity factor perform weighted summation to obtain the comfort level.

[0116] In 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 The values taken represent the influence degree of temperature and humidity on the comfort level.

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

[0118] 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, according to the target adjustment strategy in the target environmental adjustment rule, the corresponding target environmental parameter to be adjusted is adjusted 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.

[0119] Figure 3 is the step flow chart of another automatic control method of the bathroom heater provided by the embodiment of the present application, and the steps include:

[0120] Step S1, start.

[0121] Step S2, collect the temperature and humidity in the bathroom.

[0122] Step S3, calculate the comfort level, and judge 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, enter step S5, otherwise enter step S4.

[0123] Step S4, the heating component adjusts the temperature to the optimal temperature.

[0124] Step S5, the preheating is completed.

[0125] Step S6: Collect the temperature and humidity of the bathroom.

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

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

[0128] Step S9: The bathing is completed.

[0129] Step S10: Collect the temperature and humidity of the bathroom.

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

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

[0132] Step S13: End.

[0133] Figure 4 It is a working block diagram of a bathroom heater provided by an embodiment of the present application. Refer to Figure 4 , there are a sensor module, a data acquisition module, a control module, an execution module, and a feedback module provided 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, and the execution module and the feedback module are respectively connected to the control module.

[0134] The sensor module includes a humidity sensor and a temperature sensor, and real-time monitors the temperature and humidity of the bathroom environment. 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 transmission of data. 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, and uses a set formula to train the model, and can adjust the model parameters to improve performance. The execution module is provided with a dehumidifying component and a heating component. The feedback module is a display operator, which is installed on the bathroom wall and displays the environmental temperature and humidity and the comfort index. The user can make personalized adjustments according to needs.

[0135] Refer to 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:

[0136] An acquisition module 301, which is used to start the bathroom heater and acquire the environmental parameters in the bathroom;

[0137] A determination module 302, configured to determine a target environment adjustment rule that matches the target comparison result according to the target comparison result between the environmental parameter and a preset environmental parameter threshold, and a corresponding relationship between a preset comparison result and an environmental adjustment rule; the environmental adjustment rule includes: an environmental parameter to be adjusted in the environmental parameter, and an adjustment strategy corresponding to the environmental parameter to be adjusted.

[0138] An adjustment module 303, configured to adjust a target environmental parameter to be adjusted according to a 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.

[0139] Optionally, the environmental parameter includes: temperature and humidity; the preset environmental parameter threshold includes: a preset temperature threshold and a preset humidity threshold; the target comparison result includes: a temperature comparison result and a humidity comparison result; the corresponding relationship includes: multiple combinations of comparison results, and an environmental adjustment rule corresponding to each combination of comparison results.

[0140] The determination module includes:

[0141] 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 combination of comparison results and an environmental adjustment rule, and determine a target environmental adjustment rule corresponding to the target combination.

[0142] Optionally, the adjustment module includes:

[0143] A calculation sub-module, configured to calculate a deviation rate between the target environmental parameter to be adjusted and a preset environmental parameter threshold to be adjusted.

[0144] An adjustment sub-module, configured to adjust the corresponding target environmental parameter to be adjusted according to a comparison result between the deviation rate and a preset deviation rate.

[0145] 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.

[0146] The adjustment sub-module includes:

[0147] A first adjustment unit, configured to adjust the temperature to the preset temperature threshold when the temperature deviation rate is greater than a preset temperature deviation rate.

[0148] 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.

[0149] 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 parameter to be adjusted includes: the temperature and the humidity;

[0150] The adjustment sub-module includes:

[0151] 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 a preset temperature deviation rate and the humidity deviation rate is greater than a preset humidity deviation rate;

[0152] A third adjustment unit, configured to adjust the temperature to the target temperature and maintain 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;

[0153] A fourth adjustment unit, configured to adjust the humidity to the target humidity and maintain 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.

[0154] Optionally, the method further includes:

[0155] 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;

[0156] A selection module, configured to calculate the comfort levels corresponding to the candidate temperature and the candidate humidity according to the target environmental adjustment rule, and respectively determine the candidate temperature and candidate humidity corresponding to a comfort level greater than or equal to a preset value as the target temperature and the target humidity.

[0157] 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;

[0158] The adjustment sub-module includes:

[0159] 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;

[0160] 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.

[0161] Optionally, the environmental parameters include: temperature and humidity; the environmental adjustment rule includes: a comfort calculation formula; the device further includes:

[0162] A calculation module, configured to calculate comfort based on the temperature, the humidity, and the target comfort calculation formula in the target environmental adjustment rule;

[0163] A first selection module, configured to confirm that the preheating of the bathroom heater is completed when the comfort is greater than or equal to a first value, and enter the step of collecting the environmental parameters in the bathroom;

[0164] 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 of the bathroom environment when the comfort is less than the first value;

[0165] 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 is greater than or equal to a second value;

[0166] 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 of the bathroom environment when the comfort is less than the second value;

[0167] A fifth selection module, configured to confirm the end of the operation of the bathroom heater when the comfort is greater than or equal to a third value;

[0168] 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 of the bathroom environment when the comfort is less than the third value.

[0169] Optionally, the calculation module includes:

[0170] A calculation sub-module, configured to calculate a temperature factor corresponding to the temperature and a humidity factor corresponding to the humidity respectively according to a preset calculation method; the temperature factor and the humidity factor have respective corresponding weights;

[0171] 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 respective corresponding weights of the temperature factor and the humidity factor to obtain the comfort.

[0172] Optionally, the calculation sub-module includes:

[0173] 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;

[0174] A first determination unit, configured to determine the temperature factor based on the first difference, the temperature coefficient, and an ideal value of the temperature factor;

[0175] A second calculation unit, configured to obtain a humidity coefficient, an ideal value of a humidity factor, and a preset humidity threshold, and calculate a second difference between the humidity and the preset humidity threshold;

[0176] 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.

[0177] 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 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.

[0178] 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 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.

[0179] 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.

[0180] 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, and the like. 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.

[0181] 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.

[0182] 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 focal length and optical zoom capabilities.

[0183] 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.

[0184] 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 power-on button, and a lock button.

[0185] 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 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 the temperature change 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.

[0186] 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, carrier networks (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 further 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.

[0187] 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.

[0188] 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 the 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.

[0189] 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 can 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 can 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 of a bathroom heater provided by the embodiments of the present application.

[0190] The electronic device 500 may further include a power 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 can 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.

[0191] 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, which 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 as exemplary, and the true scope and spirit of the present application are pointed out by the following claims.

[0192] 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, characterized in that, The method includes: Starting a bathroom heater and collecting 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 preset environmental parameter thresholds, and the corresponding relationship between the preset comparison results and 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 of the temperature factor and the humidity factor 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 that matches the target comparison result; 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, characterized in that, 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 preset environmental parameter thresholds, and the corresponding relationship between the preset comparison results and 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 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, characterized in that 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 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 bathroom heater preheating 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, characterized in that, Respectively calculating the parameter factors corresponding to the temperature and the humidity in the environmental parameters to obtain a temperature factor and a humidity factor, including: 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 ceiling-mounted 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 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, the adjustment strategy corresponding to the environmental parameter to be adjusted, and a comfort calculation formula; respectively calculate the 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; 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 that matches the target comparison result; The temperature control component is configured to adjust the target environmental parameter to be adjusted according to the target adjustment strategy when the comfort is less than a preset value, so as 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.

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, and when the program or instruction is executed by the processor, it implements the steps of the method according to any one of claims 1 to 9.

12. A readable storage medium, characterized in that, A program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, it implements the steps of the method according to any one of claims 1 to 9.

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