Temperature control method, temperature control device, temperature control equipment and storage medium

By acquiring and counting temperature adjustment information, a prediction model is constructed to determine the target temperature range, which solves the problem of insufficient temperature control in the existing technology and achieves more efficient user thermal comfort adjustment.

CN118550338APending Publication Date: 2024-08-27GD MIDEA HEATING & VENTILATING EQUIP CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410523435.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

When existing temperature control methods implement user thermal comfort evaluation and temperature adjustment control, there are problems such as difficulty in obtaining input parameters and insufficient consideration of individual differences of users, resulting in inaccurate temperature adjustment effects.

Method used

By obtaining the temperature adjustment information within a preset time period, statistical processing is performed to determine the target parameters, a prediction model is built based on the target parameters, the temperature range in which the user feels comfortable is predicted, and the temperature control equipment is adjusted to the target temperature range.

Benefits of technology

It improves the accuracy of temperature adjustment and user comfort, achieves precise temperature control based on user experience, and adapts to the needs of different users and scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550338A
    Figure CN118550338A
Patent Text Reader

Abstract

The invention discloses a temperature control method, a temperature control device, temperature control equipment and a storage medium. The method comprises the following steps: acquiring temperature regulation information of the temperature control equipment at each set temperature within a preset duration; respectively carrying out statistical processing on the temperature regulation information at each set temperature so as to respectively determine target parameters at each set temperature; performing prediction based on the target parameters at each set temperature to determine a target temperature interval; and adjusting the current set temperature of the temperature control equipment to the target temperature interval. The comfort level of the user group is accurately identified and the temperature is accurately controlled in time under the condition that the interference to the user behavior is small, so that better user experience is brought.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of temperature control, and more specifically, to a temperature control method, a temperature control device, a temperature control equipment and a storage medium. Background Art

[0002] With the advancement of science and technology and the rapid development of industrial automation and intelligence, the demand for temperature control in various industries is increasing. Temperature control technology plays a vital role in today's industrial production, daily life and scientific research, and people's requirements for temperature control accuracy are also increasing. Through intelligent temperature detection and control, people can live more comfortably and improve their quality of life. Therefore, a temperature control technology with higher accuracy is urgently needed. Summary of the invention

[0003] The embodiments of the present application provide a temperature control method, a temperature control device, a temperature control equipment and a storage medium, which accurately identify the thermal comfort needs of user groups based on the temperature adjustment information of the temperature control equipment at various set temperatures, thereby improving the accuracy of temperature adjustment.

[0004] The temperature control method of the embodiment of the present application includes obtaining temperature adjustment information of the temperature control device at each set temperature within a preset time period; performing statistical processing on the temperature adjustment information at each set temperature to determine the target parameters at each set temperature; performing prediction based on the target parameters at each set temperature to determine the target temperature range; and adjusting the current set temperature of the temperature control device to the target temperature range.

[0005] In certain embodiments, the temperature adjustment information includes the number of temperature increases and the number of temperature decreases, and the temperature adjustment information at each set temperature is statistically processed to determine the target parameters at each set temperature, including: calculating the temperature increase ratio and the temperature decrease ratio at the target set temperature based on the number of temperature increases and the number of temperature decreases at the target set temperature, where the target set temperature is any set temperature; determining the target parameter at the target set temperature based on the temperature increase ratio and the temperature decrease ratio at the target set temperature, where the target parameter is any one of a plurality of preset parameters.

[0006] In some embodiments, the multiple preset parameters include -1, 0 and 1, and the target parameter at the target setting temperature is determined based on the temperature increase ratio and the temperature decrease ratio at the target setting temperature, including: when the difference between the temperature increase ratio and the temperature decrease ratio is greater than the preset difference, the target parameter is determined to be -1; when the absolute value of the difference between the temperature increase ratio and the temperature decrease ratio is less than or equal to the preset difference, the target parameter is determined to be 0; when the difference between the temperature decrease ratio and the temperature increase ratio is greater than the preset difference, the target parameter is determined to be 1, and the preset difference is greater than or equal to 0.

[0007] In some embodiments, the prediction is performed based on the target parameters at each set temperature to determine the target temperature range, including: constructing a prediction model based on the target parameters at each set temperature, the prediction model is used to output the temperature under different input parameters, and the input parameter is any value within the domain of the target parameter; prediction is performed based on the prediction model to determine the target temperature range.

[0008] In some embodiments, the target parameter and the corresponding set temperature form a data pair, and the prediction model is constructed based on the target parameter at each set temperature, including: determining a first fuzzy set based on multiple preset parameters corresponding to the target parameter, and determining b second fuzzy sets based on each set temperature, the value of a is determined according to the number of the preset parameters, and the value of b is determined according to the number of the set temperatures; respectively calculating the first membership of each target parameter in each first fuzzy set, and respectively calculating the second membership of each set temperature in each second fuzzy set; based on the first membership and the second membership corresponding to each data pair, respectively generating fuzzy rules corresponding to each data pair and the support of the fuzzy rules; grouping each fuzzy rule to determine a plurality of combined fuzzy rules, and the fuzzy sets corresponding to each fuzzy rule corresponding to the combined fuzzy rule are the same; based on the support of the fuzzy rule corresponding to the target data pair and the set temperature of the target data pair, calculating the central parameter of the corresponding combined fuzzy rule, the target data pair corresponds to any of the fuzzy rules in the combined fuzzy rule; constructing the prediction model based on the membership function of the first fuzzy set corresponding to each combined fuzzy rule and the central parameter corresponding to each combined fuzzy rule.

[0009] In certain embodiments, the membership function of each of the first fuzzy sets is used to output the membership under different input parameters, and the prediction based on the prediction model to determine the target temperature range includes: constructing a thermal sensation distribution curve based on the membership and temperature corresponding to each of the input parameters; and determining the target temperature range based on the thermal sensation distribution curve.

[0010] In some embodiments, respectively calculating the first membership of each of the target parameters in each of the first fuzzy sets, and respectively calculating the second membership of each of the set temperatures in each of the second fuzzy sets, includes: assigning a first membership function to each of the first fuzzy sets, and assigning a second membership function to each of the second fuzzy sets; respectively calculating the first membership of the target parameter in each of the first fuzzy sets based on the first membership function of each of the first fuzzy sets; and respectively calculating the second membership of the set temperature in each of the second fuzzy sets based on the second membership function of each of the second fuzzy sets.

[0011] In some embodiments, based on the first membership and the second membership corresponding to each of the data pairs, fuzzy rules corresponding to each of the data pairs and the support of the fuzzy rules are generated respectively, including: determining a third membership based on the first membership of the target data pair in each of the first fuzzy sets, the third membership being greater than or equal to any of the first memberships, and the target data pair being any of the data pairs; determining a fourth membership based on the second membership of the target data pair in each of the second fuzzy sets, the fourth membership being greater than or equal to any of the second memberships; determining the fuzzy rules corresponding to the target data pair based on the first fuzzy set corresponding to the third membership and the second fuzzy set corresponding to the fourth membership; and calculating the support of the fuzzy rules corresponding to the data pair based on the third membership and the fourth membership corresponding to the target data pair.

[0012] In some embodiments, the fuzzy rules include a first rule and a second rule, the first rule includes the first fuzzy set to which the target parameter belongs, and the second rule includes the second fuzzy set to which the set temperature belongs; the fuzzy sets corresponding to the fuzzy rules in the combined fuzzy rules are the same, including that the first fuzzy sets corresponding to the first rules are the same, or the first fuzzy sets corresponding to the first rules are the same and the second fuzzy sets corresponding to the second rules are the same.

[0013] In some embodiments, the fuzzy rules include a first rule and a second rule, the first rule includes the first fuzzy set to which the target parameter belongs, and the second rule includes the second fuzzy set to which the set temperature belongs; the fuzzy rules corresponding to each data pair and the support of the fuzzy rules are generated based on the first membership and the second membership corresponding to each data pair, and also include: determining a conflicting rule set in which the first fuzzy sets corresponding to the first rules are the same and the second fuzzy sets corresponding to the second rules are different; deleting the fuzzy rules other than the fuzzy rule with the largest support in the conflicting rule set; the central parameter of the corresponding combined fuzzy rule is calculated based on the support of the fuzzy rule corresponding to the target data pair and the set temperature of the target data pair, including: calculating the central parameter of the corresponding combined fuzzy rule based on the support of the fuzzy rule after deletion and the set temperature of the data pair corresponding to the fuzzy rule after deletion.

[0014] The temperature control device of the embodiment of the present application includes an acquisition module, a first processing module, a second processing module and an adjustment module. The acquisition module is used to acquire the temperature adjustment information of the temperature adjustment device at each set temperature; the first processing module is used to perform statistical processing on the temperature adjustment information at each set temperature to determine the target parameters at each set temperature; the second processing module is used to determine the target temperature range based on the target parameters at each set temperature; the adjustment module is used to adjust the current set temperature of the temperature adjustment device to within the target temperature range.

[0015] The temperature control device of the embodiment of the present application includes a processor and a memory, wherein the memory stores a computer program, the computer program is executed by the processor, and the computer program includes instructions for executing the temperature control method described in any of the above embodiments.

[0016] The non-volatile computer-readable storage medium of the embodiment of the present application includes a computer program. When the computer program is executed by a processor, the processor executes the temperature control method described in any of the above embodiments.

[0017] The temperature control method, temperature control device, temperature control equipment and computer-readable storage medium of the embodiment of the present application obtain the temperature adjustment information at each set temperature within a predetermined time, perform statistical processing on the temperature adjustment information at each set temperature, determine the target parameters at each set temperature, and use the target parameters to reflect the user's feelings. Finally, the target temperature range where the user feels comfortable is predicted based on the target parameters of each set temperature, and the set temperature of the temperature control device is adjusted to the target temperature range. After the temperature adjustment device adjusts the temperature to the target temperature range, the user can feel comfortable, and the effect of accurate temperature adjustment based on the user's feelings can be achieved, which can bring a better user experience.

[0018] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0020] Figure 1 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0021] Figure 2 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0022] Figure 3 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0023] Figure 4 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0024] Figure 5 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0025] Figure 6 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0026] Figure 7 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0027] Figure 8 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0028] Fig. 9 is a schematic diagram of a thermal sensation distribution curve of a temperature control method according to certain embodiments of the present application;

[0029] Fig.10 is a schematic flow chart of a temperature control method according to certain embodiments of the present application;

[0030] Fig.11 It is a schematic diagram of a temperature control method according to some embodiments of the present application;

[0031] Fig.12 is a module schematic diagram of a temperature control method of certain embodiments of the present application;

[0032] Fig.13 is a schematic diagram of the structure of a temperature control device in certain embodiments of the present application;

[0033] Fig.14 It is a schematic diagram of the connection status of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0034] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0035] To facilitate understanding of this application, the terms appearing in this application are explained below:

[0036] 1. Membership function: Membership function is a core concept in fuzzy set theory, which is used to describe the degree of membership of an element in a domain to a fuzzy set. Specifically, if there is a number A(x)∈[0,1] corresponding to any element x in the domain (scope of study) U, then A is called a fuzzy set on U, and A(x) is called the membership of x to A. When x changes in U, A(x) is a function, called the membership function of A.

[0037] The closer the membership degree A(x) is to 1, the more x belongs to A; the closer A(x) is to 0, the less x belongs to A. Therefore, the membership function can be used to represent the degree to which element x belongs to fuzzy set A using a function with values ​​in the interval (0, 1).

[0038] 2. Fuzzy Set: Fuzzy set is a mathematical tool to describe fuzzy phenomena. For a given domain U, there exists a mapping A(u) such that for any u∈U, A(u) belongs to [0,1]. The set composed of such mapping is called fuzzy set. Here A(u) represents the membership of u to fuzzy set A, that is, the degree to which u belongs to A.

[0039] Fuzzy set theory is based on fuzzy mathematics and studies imprecise phenomena. Unlike classical sets, fuzzy sets do not have clear boundaries and can express uncertain or imprecise concepts such as "high temperature" and "heavy rain". Fuzzy set theory provides a flexible way to describe and deal with these fuzzy phenomena.

[0040] 3. Thermal Sensation Vote (TSV): Thermal Sensation Vote is a method to quantitatively evaluate the subjective feeling of human body to the surrounding environment "cold" or "hot". In the thermal sensation voting experiment, the subjects describe their thermal sensation through some voting methods, which helps researchers understand people's perception of the surrounding thermal environment.

[0041] 4. Fuzzy system: A fuzzy system is a system based on fuzzy logic theory, which is used to process information and data with fuzzy properties. It is an artificial intelligence technology that can be used to simulate human decision-making and reasoning processes, and achieve complex control and decision-making by mapping input data to output results.

[0042] The fuzzy system consists of two parts: the fuzzy inference engine and the knowledge base.

[0043] The knowledge base contains a set of fuzzy rules that describe the relationship between input variables and output variables.

[0044] The fuzzy inference engine can generate a set of fuzzy output results by reasoning and inferring these rules.

[0045] 5. Fuzzy rules: Fuzzy rules are rules used in fuzzy logic to describe the relationship between input and output. They consist of a series of IF-THEN statements, where the IF statement describes the state of the input variable and the THEN statement describes the state of the output variable.

[0046] At present, the temperature control method for responding to user needs mainly includes two steps: obtaining the user's thermal comfort evaluation; and performing temperature adjustment control based on the thermal comfort evaluation.

[0047] Thermal comfort is a subjective feeling of satisfaction with the thermal environment. There are many models related to human thermal comfort needs. The existing models have gone through a process from simple to complex, from rough to precise, from subjective to objective, from overall to local, from local general position to local sensitive position, from single model to coupled integrated model. Different models are constructed based on different purposes, theories, methods and parameters, which can be divided into three categories: thermal comfort model, thermal sensation model and thermal physiological model.

[0048] However, the existing temperature control methods, required thermal comfort evaluation models and application scenarios have the following defects:

[0049] (1) Existing thermal comfort evaluation models generally have problems such as requiring too many input parameters and being difficult to obtain (such as thermal comfort and thermal physiological models) and interfering with users' normal work and life (such as thermal sensation models).

[0050] (2) At present, the research on human thermal comfort is more focused on the individual sense of cold and heat. Meeting the thermal comfort needs of most users is often different from individual comfort. However, there are not many studies that quantitatively explain the difference.

[0051] In order to solve the above technical problems, the embodiment of the present application provides a temperature control method. The temperature control method of the present application will be described in detail below:

[0052] See also Figure 1 The embodiment of the present application provides a temperature control method, which can be implemented by steps 011 to 014, as described in detail below.

[0053] Step 011: Obtaining temperature adjustment information of the temperature control device at each set temperature within a preset time period;

[0054] Optionally, the preset time length may be a pre-set or predetermined time length for collecting the temperature adjustment information.

[0055] It is understandable that the user's perception of the environment is affected by many factors, resulting in different temperature adjustment behaviors. For example, weather, physical condition and even mood may affect the user's feelings, resulting in temperature adjustment behaviors. Therefore, the collected temperature adjustment information should minimize the influence of other factors except the set temperature. At this time, a preset time can be set to collect temperature adjustment information within the preset time. Compared with the temperature adjustment information collected at a specific time point, the temperature adjustment information collected over a period of time can minimize the impact of abnormal data and is more complete and accurate.

[0056] Optionally, the temperature control device can be a tool or system that can sense and adjust the ambient temperature, designed to meet people's temperature needs. It monitors the ambient temperature and automatically adjusts the heating or cooling equipment according to preset parameters to keep the ambient temperature within an acceptable range. Such as HVAC equipment, household air conditioners, central air conditioners, electric heaters, refrigerators, freezers, etc.

[0057] Optionally, the set temperature can be any temperature that the temperature control device can reach through temperature control. For example, based on the accuracy of temperature control, if the control accuracy of the temperature control device is 1 degree, then the set temperature is any integer temperature within the temperature control range (such as 10 degrees, 11 degrees, etc.).

[0058] The temperature control device can work according to the set target temperature to achieve the purpose of adjusting the temperature. For example, if the current indoor temperature is 27 degrees Celsius (℃), the user feels hot, and the temperature control device is set to 27℃ or below to achieve the effect of lowering the indoor temperature.

[0059] Optionally, the temperature adjustment information is related information for adjusting the set temperature of the temperature control device, such as increasing the temperature, decreasing the temperature, etc. For example, when the user feels hot, the set temperature of the temperature control device is usually decreased, and when the user feels cold, the set temperature of the temperature control device is usually increased. In this case, the behavior information of increasing the temperature and decreasing the temperature is the temperature adjustment information. The temperature adjustment information at the set temperature can reflect the user's feeling about the current set temperature.

[0060] Specifically, by presetting the time length, the temperature control device acquires the set temperature and the temperature adjustment information corresponding to the set temperature within the preset time length, and obtains the temperature adjustment information including temperature increase and temperature decrease under different set temperature conditions of the user within the preset time length. In this way, the temperature adjustment information acquired within the preset time length is conducive to improving the accuracy and completeness of the acquired temperature adjustment information.

[0061] Step 012: performing statistical processing on the temperature adjustment information at each set temperature to determine the target parameters at each set temperature;

[0062] Among them, statistical processing is a common operation for data processing. Through statistical processing of data, scattered information can be integrated and transformed, useful information can be extracted, and data can be accurately and quickly found and classified to provide data support for revealing general rules or making decisions.

[0063] Optionally, the target parameter is a specific parameter used to reflect the user's feeling at a set temperature, and the user's feeling is expressed in the form of a target parameter.

[0064] For example, setting a target parameter of 1 indicates feeling cold. If the set temperature is 24°C and the user adjusts the temperature upward, it means that the user feels cold, which can be represented by a target parameter of 1. For another example, setting a target parameter of 0 indicates feeling comfortable. If the set temperature is 25°C and the user does not adjust the temperature, it means that the user feels comfortable, which can be represented by a target parameter of 0. For another example, setting a target parameter of -1 indicates feeling hot. If the set temperature is 27°C and the user adjusts the temperature downward, it means that the user feels hot, which can be represented by a target parameter of -1.

[0065] Specifically, after obtaining the temperature adjustment information at each set temperature within the preset time, since the obtained temperature adjustment information is scattered, different users may have different temperature adjustment behaviors at the same set temperature, resulting in different temperature adjustment information. Even the same user may have different temperature adjustment behaviors at the same set temperature, resulting in different temperature adjustment information. It is impossible to obtain a determined target parameter based on the scattered temperature adjustment information.

[0066] Therefore, under the condition of the same set temperature, the temperature adjustment information at each set temperature is counted, and the number of temperature increases and decreases at each set temperature can be obtained. The statistical data can reflect the user experience at each set temperature, and then determine the target parameters of each set temperature. For example, the number of temperature increases and temperature decreases at a set temperature of 24°C can be counted, and the target parameter of the set temperature of 24°C can be determined based on the relationship between the number of temperature increases and the number of temperature decreases.

[0067] See also Figure 2 In some embodiments, the temperature adjustment information includes the number of temperature increases and the number of temperature decreases. Step 012 "performs statistical processing on the temperature adjustment information at each set temperature to determine the target parameters at each set temperature" is implemented by steps 0121 to 0122, which are described in detail below.

[0068] Step 0121: Calculate the temperature increase ratio and the temperature decrease ratio at the target setting temperature based on the temperature increase times and the temperature decrease times at the target setting temperature, where the target setting temperature is any set temperature;

[0069] Specifically, the temperature adjustment information usually includes the number of temperature increases and the number of temperature decreases, and the number of temperature increases and the number of temperature decreases at each set temperature are counted separately. The sum of the number of temperature increases and the number of temperature decreases at the same set temperature (i.e., the target set temperature) is taken as the total number of temperature adjustments at the set temperature, and the ratio of the number of temperature increases at each set temperature to the total number of temperature adjustments at each set temperature and the ratio of the number of temperature decreases to the total number of temperature adjustments at each set temperature can be calculated respectively.

[0070] Step 0122: Based on the temperature increase ratio and the temperature decrease ratio at the target setting temperature, determine the target parameter at the target setting temperature, where the target parameter is any one of a plurality of preset parameters.

[0071] Optionally, the preset parameter may be a parameter representing different user feelings about temperature, for example, the preset parameters are 1, -1, and 0, representing cold, hot, and moderate, respectively. After comparing the temperature increase ratio and the temperature decrease ratio under the target set temperature, a parameter that can represent the user's feelings is selected from the preset parameters, namely, the target parameter.

[0072] Specifically, the temperature increase ratio and the temperature decrease ratio at each set temperature are compared to obtain a comparison result, and the target parameters of each set temperature can be obtained by matching the comparison result with the preset parameters.

[0073] For example, when the set temperature is 23°C, the statistically obtained temperature increase ratio is 82% and the temperature decrease ratio is 18%. The temperature increase ratio is greater than the temperature decrease ratio, indicating that most users feel colder, and the target parameter can be determined to be 1 at this time.

[0074] See also Figure 3 In some embodiments, the plurality of preset parameters include -1, 0 and 1, and step 0122 "determining the target parameters at the target set temperature based on the temperature increase ratio and the temperature decrease ratio at the target set temperature" is implemented by steps 01221 to 01223, which are described in detail below.

[0075] Step 01221: when the difference between the temperature increase ratio and the temperature decrease ratio is greater than a preset difference, determining the target parameter to be -1;

[0076] Step 01222: when the absolute value of the difference between the temperature increase ratio and the temperature decrease ratio is less than or equal to the preset difference, determining the target parameter to be 0;

[0077] Step 01223: When the difference between the temperature down-regulation ratio and the temperature up-regulation ratio is greater than a preset difference, the target parameter is determined to be 1, and the preset difference is greater than or equal to 0.

[0078] It can be understood that the size of the preset difference has an impact on the definition of the comfort range. The larger the preset difference is, the larger the absolute value range of the difference between the temperature increase ratio and the temperature decrease ratio for determining the comfort temperature will be, which will result in a larger comfort temperature range; the smaller the preset difference is, the smaller the absolute value range of the difference between the temperature increase ratio and the temperature decrease ratio for determining the comfort temperature will be, which will result in a smaller comfort temperature range.

[0079] For example, when the preset difference is 0.3, if the absolute value of the difference between the temperature increase ratio and the temperature decrease ratio is less than 0.3, it is a comfortable temperature. When the preset difference is 0.1, if the absolute value of the difference between the temperature increase ratio and the temperature decrease ratio is less than 0.1, it is a comfortable temperature. The larger the preset difference is, the larger the range of the absolute value of the difference between the temperature increase ratio and the temperature decrease ratio that is allowed to determine the comfortable temperature. Therefore, the larger the range of the difference between the temperature increase ratio and the temperature decrease ratio that is allowed to determine the comfortable temperature, the larger the comfortable temperature range is.

[0080] Specifically, the preset difference is the range of the difference between the allowed temperature increase ratio and the temperature decrease ratio to determine that the set temperature is a comfortable temperature. When the difference between the temperature increase ratio and the temperature decrease ratio is greater than the preset difference, it means that the temperature increase ratio is greater than the temperature decrease ratio, and the difference between the two is greater than the range allowed for determining the comfortable temperature. Therefore, the target parameter can be determined to be -1. When the absolute value of the difference between the temperature increase ratio and the temperature decrease ratio is less than or equal to the preset difference, it means that the difference between the temperature increase ratio and the temperature decrease ratio is within the range allowed for determining the comfortable temperature. Therefore, the target parameter can be determined to be 0. When the difference between the temperature decrease ratio and the temperature increase ratio is greater than the preset difference, it means that the temperature decrease ratio is greater than the temperature increase ratio, and the difference between the two is greater than the range allowed for determining the comfortable temperature. Therefore, the target parameter can be determined to be 1.

[0081] It is understandable that in actual situations, there may not be any temperature that satisfies all users 100%, and the obtained temperature adjustment information may also be abnormal or biased, so the deviation of the ratio of upward adjustment to downward adjustment may never be equal to 0. In this way, by presetting the difference and allowing the deviation to be within a reasonable range, not only can the impact of data quality deviation be resolved, but also the range of the obtained comfortable temperature range can be controlled to adapt to different temperature requirements.

[0082] Step 013: Predicting the target parameters at each set temperature to determine the target temperature range;

[0083] Optionally, the target temperature interval refers to a temperature range, and when the temperature is within this temperature range, the user is likely to feel comfortable.

[0084] Specifically, the target parameters at each set temperature can reflect the feeling that the user is likely to have or the feeling of most users at each set temperature. Based on the target parameters at each set temperature, the set temperature corresponding to the target parameter representing comfort can be selected, and the set temperature can be determined to be a comfortable temperature. In this way, it can be predicted that the temperature between the maximum set temperature representing comfort and the minimum set temperature representing comfort can be predicted to be a comfortable temperature, and the interval between the maximum set temperature representing comfort and the minimum set temperature representing comfort can be the target temperature interval.

[0085] See also Figure 4 In some embodiments, the membership function of each first fuzzy set is used to output the membership under different input parameters. Step 013 "predicting based on the target parameters at each set temperature to determine the target temperature range" is implemented by steps 0131 to 0132, which are described in detail below.

[0086] Step 0131: construct a prediction model based on the target parameters at each set temperature, the prediction model is used to output the temperature under different input parameters, and the input parameter is any value within the domain range of the target parameter;

[0087] Step 0132: Perform prediction based on the prediction model to determine the target temperature range.

[0088] Optionally, the prediction model is a model that describes the quantitative relationship between things through mathematical language or formulas, reveals the inherent regularity between things, and uses it as a direct basis for calculating the predicted value.

[0089] Optionally, the input parameter is any value within the domain of the target parameter, and the input parameter is the input quantity of the prediction model, and the corresponding output quantity is obtained after conversion by the prediction model.

[0090] Specifically, the user has a corresponding feeling at each set temperature, and the user's feeling is expressed in the form of a target parameter. Therefore, a mapping relationship between the set temperature and the target parameter can be established. A prediction model can be constructed based on the mapping relationship between the set temperature and the target parameter. Based on the prediction model, when the input parameter is within the domain of the target parameter, the corresponding temperature can be output.

[0091] For the determined input parameters, the prediction model can output the corresponding temperature. The membership of the input parameters to each first fuzzy set is the membership of the temperature to each first fuzzy set. When the membership of the temperature to the first fuzzy set representing comfort is greater than the membership to other first fuzzy sets, the temperature can be judged to be a comfortable temperature. In this way, based on the constructed prediction model, the temperature corresponding to the input parameters can be conveniently output, and the membership of the temperature to each first fuzzy set can be intuitively reflected, so as to obtain the target temperature range.

[0092] Step 014: Adjust the current set temperature of the temperature control device to the target temperature range.

[0093] Optionally, the current set temperature is the set temperature of the temperature regulating device at the current time point, and the temperature regulating device works according to the current set temperature to achieve the purpose of regulating the temperature to the set temperature.

[0094] Specifically, it can be understood that the target temperature range obtained is largely a comfortable temperature range, and changes in real time according to the temperature adjustment information collected within a preset time period. Therefore, the temperature control device should adjust in real time according to the target temperature range, adjust the current set temperature to the target temperature range, and achieve the goal of adjusting the indoor temperature to the target temperature range, thereby achieving the effect of improving user comfort.

[0095] The temperature control method provided in the embodiment of the present application ensures the integrity and accuracy of the temperature control information corresponding to the set temperature by obtaining the temperature control information within a preset time period; by processing the temperature control information at each set temperature, the target parameters at each set temperature are determined, and the user experience is represented in the form of the target parameters; finally, prediction is made based on the target parameters at each set temperature to determine the target temperature range, and the current set temperature of the temperature control device is adjusted to the target temperature range. With less interference to user behavior, the goal of accurately identifying the comfort needs of the user group and performing corresponding temperature control is achieved, and the effect of improving user comfort is achieved.

[0096] It can be understood that the technical solution of the present application can be applied to energy-saving scenarios. By identifying the group thermal comfort of users, accurate response of temperature control can be achieved to meet the temperature adjustment needs of different users, different regions and different times, thereby avoiding energy waste.

[0097] It can be understood that the technical solution of the present application can also be applied to power response demand scenarios. Due to the peak problem caused by the mismatch between the power supply side of the power grid and the power consumption side of the building, by accurately identifying the thermal comfort of the user and performing timely and accurate response control, the temperature can be maintained within a stable range, the demand for electricity will be more stable, sudden power demand can be avoided, the load capacity of the power grid can be adapted, and the contradiction between energy consumption and user thermal comfort can be resolved.

[0098] It can be understood that the technical solution of the present application can also be applied to the photovoltaic storage and heat flexibility scenario. Photovoltaic storage and heat flexibility is a solution that integrates photovoltaic modules, inverters + batteries, heat pumps + heat storage modules, and uses flexible algorithms to achieve energy scheduling. In the photovoltaic storage and heat flexibility scenario, the technical solution of the present application can save energy consumption supplied by photovoltaic modules and improve energy storage efficiency by accurately identifying the user's group thermal comfort and achieving precise control of temperature control.

[0099] See also Figure 5 In some embodiments, the target parameter and the corresponding set temperature form a data pair, and step 0131 "constructing a prediction model based on the target parameters at each set temperature" is implemented by steps 01311 to 01315, which are described in detail below.

[0100] Step 01311: determining a first fuzzy set based on a plurality of preset parameters corresponding to the target parameter, and determining b second fuzzy sets based on each set temperature, wherein the value of a is determined according to the number of preset parameters, and the value of b is determined according to the number of set temperatures;

[0101] Alternatively, a fuzzy set is a mathematical structure that corresponds elements to membership functions, which can be used to describe the degree of fuzziness of an element on a certain attribute. For example, fuzzy sets can be used to describe fuzzy concepts such as "high", "medium", and "low".

[0102] Specifically, the target parameters and the corresponding set temperatures form multiple data pairs. The target parameters in the data pairs are taken as input variables, and the settings corresponding to the target parameters are taken as output variables. Multiple groups of sample data sets can be generated, and the input variables and output variables each have a corresponding threshold range.

[0103] For example, when the target parameter is 1 and the corresponding set temperature is 20°C, and when the target parameter is 0 and the corresponding set temperature is 24°C, a sample data set can be generated: {(1; 20)(0; 24)}, where 1 is the input variable and the corresponding output variable is 20, and 0 is the input variable and the corresponding output variable is 24. The threshold interval of the input variable is [0, 1], and the threshold interval of the output variable is [20, 24].

[0104] The input variable interval is divided into a first fuzzy sets, each of which is used to describe three or more fuzzy concepts of "cold", "hot" and "moderate". The value of a can be determined according to the number of preset parameters or actual needs.

[0105] For example, the domain of the target parameter is [-1, 0, 1], which can be divided into three fuzzy sets A1, A2, A3. The output variable interval is divided into b second fuzzy sets to describe the fuzzy concept of the target temperature. The value of b can be determined according to the number of set temperatures. For example, the domain of the set temperature is [20, 21, 22], which can be divided into three fuzzy sets B1, B2, B3.

[0106] Step 01312: Calculate the first membership of each target parameter in each first fuzzy set, and calculate the second membership of each set temperature in each second fuzzy set.

[0107] Optionally, in fuzzy comprehensive evaluation, the membership degree is used to indicate the degree to which the evaluation object belongs to the comment set. The membership degree value is usually between 0 and 1, where 0 indicates no match or no similarity, and 1 indicates a complete match or complete similarity.

[0108] Specifically, each target parameter corresponds to multiple first fuzzy sets. In order to describe the degree to which the same target parameter complies with the definitions of each first fuzzy set, it is necessary to calculate the membership of the target parameter corresponding to each first fuzzy set, which is recorded as the first membership; each set temperature corresponds to multiple second fuzzy sets. In order to describe the degree to which the same set temperature complies with the definitions of multiple second fuzzy sets, it is necessary to calculate the membership of each set temperature corresponding to each second fuzzy set, which is recorded as the second membership.

[0109] See also Figure 6 In some embodiments, step 01312 "respectively calculate the first membership of each target parameter in each first fuzzy set, and respectively calculate the second membership of each set temperature in each second fuzzy set" is implemented by steps 013121 to 013123, which are described in detail below.

[0110] Step 013121: assigning a first membership function to each first fuzzy set, and assigning a second membership function to each second fuzzy set;

[0111] Step 013122: Calculate the first membership of the target parameter in each first fuzzy set based on the first membership function of each first fuzzy set;

[0112] Step 013123: Calculate the second membership of the set temperature in each second fuzzy set based on the second membership function of each second fuzzy set.

[0113] Optionally, the membership function can be used to characterize the degree to which a variable belongs to a fuzzy set, indicating the extent to which the variable conforms to the definition of the fuzzy set.

[0114] Specifically, to describe the degree of belonging of the target parameter to each first fuzzy set, a first membership function is assigned to each first fuzzy set. Based on the first membership function of each first fuzzy set, the first membership of the target parameter to each first fuzzy set is calculated.

[0115] Optionally, the membership functions of different first fuzzy sets may be the same or different.

[0116] To describe the degree of belonging of the set temperature to each second fuzzy set, a second membership function is assigned to each second fuzzy set. The second membership of the set temperature to each second fuzzy set is calculated based on the second membership function of each second fuzzy set.

[0117] Optionally, the membership functions of different second fuzzy sets may be the same or different.

[0118] For example, the target parameter is 1, and the membership function assigned to the first fuzzy set A1 is a triangular membership function. Based on the triangular membership function, the membership value of the target parameter 1 for the first fuzzy set A1 is calculated, that is, the first membership of the target parameter 1 for the first fuzzy set A1; the membership function assigned to the first fuzzy set A2 is a trapezoidal membership function. Based on the trapezoidal membership function, the membership value of the target parameter 1 for the first fuzzy set A2 is calculated, that is, the first membership of the target parameter 1 for the first fuzzy set A2.

[0119] For another example, the set temperature is 24, and the membership function assigned to the second fuzzy set B1 is a triangular membership function. Based on the triangular membership function, the membership value of the set temperature 24 to the second fuzzy set B1 is calculated, that is, the second membership of the set temperature 24 to the second fuzzy set B1; the membership function assigned to the second fuzzy set B2 is a trapezoidal membership function. Based on the trapezoidal membership function, the membership value of the set temperature 24 to the second fuzzy set B2 is calculated, that is, the second membership of the set temperature 24 to the second fuzzy set B2.

[0120] Step 01313: Based on the first membership degree and the second membership degree corresponding to each data pair, respectively generate the fuzzy rules corresponding to each data pair and the support degree of the fuzzy rules;

[0121] Alternatively, a fuzzy rule is a rule in fuzzy logic used to describe the relationship between input and output, which consists of a series of IF-THEN statements, where the IF statement describes the state of the input variable and the THEN statement describes the state of the output variable. For example:

[0122] Rule i :IFx i ∈A m ,THENy i ∈B n

[0123] Among them, x i is the input variable, y i is the output variable. i Means: If x belongs to the first fuzzy set A m , then y i Belongs to the second fuzzy set B n Each IF clause is a condition that describes the state of the input variable, expressed as the relationship between the variable and the first fuzzy set; the THEN clause describes the state of the output variable, expressed as the relationship between the output variable and the second fuzzy set.

[0124] Optionally, the support of fuzzy rules is an important indicator for evaluating the reliability of fuzzy rules. In fuzzy logic systems, the support reflects the reliability of fuzzy rules from conditions to conclusions. Generally speaking, the higher the support, the greater the credibility of the fuzzy rule in the reasoning process. The support of fuzzy rules can be obtained by calculating the product of the input membership function and the output membership function value. This product can reflect the matching degree between the input and the output, thereby evaluating the reliability of the fuzzy rule.

[0125] Specifically, the first membership degree corresponding to each data pair describes the degree to which the target parameter in each data pair belongs to each first fuzzy set, and is expressed in the form of the first membership degree; the second membership degree corresponding to each data pair describes the degree to which the set temperature in each data pair belongs to each second fuzzy set, and is expressed in the form of the second membership degree.

[0126] Based on the first membership and the second membership corresponding to each data pair, and according to the preset fuzzy rule extraction method, the fuzzy rule corresponding to each data pair can be extracted. According to the preset fuzzy rule support calculation method (such as: calculating the product of the first membership and the second membership), the support of the fuzzy rule can be calculated to obtain the support of the fuzzy rule corresponding to the data pair.

[0127] In this way, by calculating the first membership and the second membership of the target data pair, the fuzzy rules corresponding to each data pair can be extracted, and the support of each fuzzy rule can be calculated.

[0128] See also Figure 7 In some embodiments, step 01313 "generating fuzzy rules and support of fuzzy rules corresponding to each data pair based on the first membership and the second membership corresponding to each data pair" is implemented by steps 013131 to 013134, which are described in detail below.

[0129] Step 013131: Based on the first membership of the target data pair in each first fuzzy set, determine a third membership, the third membership is greater than or equal to any first membership, and the target data pair is any data pair;

[0130] The target data pair corresponds to multiple first fuzzy sets, and each first membership is calculated for each first fuzzy set. According to the first memberships of the target data pair in the first fuzzy set, a value greater than or equal to any other first membership is selected and recorded as the third membership.

[0131] For example, for the data pair (0, 24), the first memberships corresponding to the target parameter 0 are {0.1, 0.6, 0.7}, and 0.7 is selected as the third membership in the data pair (0, 24).

[0132] Step 013132: Determine a fourth membership based on the second membership of the target data pair in each second fuzzy set, where the fourth membership is greater than or equal to any second membership;

[0133] According to each second membership of the target data pair in the second fuzzy set, a value greater than or equal to any other second membership is selected and recorded as the fourth membership.

[0134] For example, for the data pair (0, 24), the second memberships corresponding to the set temperature 24 are {0.2, 0.5, 0.6, 0.8}, and 0.8 is selected as the fourth membership of the data pair (0, 24).

[0135] Step 013133: Determine the fuzzy rule corresponding to the target data pair based on the first fuzzy set corresponding to the third membership degree and the second fuzzy set corresponding to the fourth membership degree;

[0136] Specifically, if the third membership is greater than or equal to any first membership, it means that the target parameter of the target data pair belongs to the first fuzzy set corresponding to the third membership to a greater extent than to any other first fuzzy set. If the fourth membership is greater than or equal to any second membership, it means that the set temperature of the target data pair belongs to the second fuzzy set corresponding to the fourth membership to a greater extent than to any other second fuzzy set. The first fuzzy set corresponding to the third membership of the target data pair and the second fuzzy set corresponding to the fourth membership are extracted to obtain the fuzzy rule of the target data pair.

[0137] For example, the first fuzzy set corresponding to the third membership of the data pair (0, 24) is A2, and the second fuzzy set corresponding to the fourth membership is B1. Then the fuzzy rule Rule1 of the data pair (0, 24) can be determined as:

[0138] IF 0∈A2 THEN 24∈B1

[0139] Step 013134: Based on the third membership and the fourth membership corresponding to the target data pair, calculate the support of the fuzzy rule corresponding to the data pair.

[0140] Optionally, the support of the target data to the corresponding fuzzy rule can be calculated based on the third and fourth memberships of the data, and the product of the third and fourth memberships can be used as the support of the fuzzy rule. Alternatively, the product of the third and fourth memberships can be multiplied by an expert experience coefficient to serve as the support of the fuzzy rule. The expert experience coefficient is the credibility of the fuzzy rule as considered by the experts.

[0141] Specifically, the product of the third membership and the fourth membership is used as the support of the fuzzy rule. Since the third membership is greater than or equal to any first membership, the fourth membership is greater than or equal to any second membership. The first fuzzy set corresponding to the third membership of the target data pair and the second fuzzy set corresponding to the fourth membership of the set temperature are used as the basis for determining a fuzzy rule. The extracted fuzzy rule can more accurately represent the fuzzy relationship of the data pair. The support of the fuzzy rule is calculated based on the product of the third membership and the fourth membership, and the fuzzy rule support obtained in this way is also more credible.

[0142] For example, the third membership of the data pair (0,24) is μ A2 (0), the fourth membership is μ B1 (24), μ A2 (0) and μ B1 The product of (24) is taken as the support of the fuzzy rule. Then the support of fuzzy rule Rule1 is:

[0143] Supp(Rule 1 )=μ A2 (0) · μ B1 (twenty four)

[0144] Step 01314: grouping the fuzzy rules to determine a plurality of combined fuzzy rules, wherein the fuzzy sets corresponding to the fuzzy rules corresponding to the combined fuzzy rules are the same;

[0145] Optionally, the combined fuzzy rule is obtained by combining multiple fuzzy rules with the same condition part. The mapping relationship of the multiple fuzzy rules from the first fuzzy set to the second fuzzy set is represented by the combined fuzzy rule.

[0146] Specifically, a fuzzy rule consists of a condition part and a conclusion part. The condition part corresponds to the first fuzzy set, and the conclusion part corresponds to the second fuzzy set. Fuzzy rules with the same condition part are combined into combined fuzzy rules, that is, fuzzy rules with the same first fuzzy set are combined to obtain each combined fuzzy rule. It can be understood that the number of the first fuzzy sets is the number of groups of combined fuzzy rules.

[0147] Step 01315: Based on the support of the fuzzy rule corresponding to the target data pair and the set temperature of the target data pair, the central parameter of the corresponding combined fuzzy rule is calculated, and the target data pair corresponds to any fuzzy rule in the combined fuzzy rule;

[0148] Optionally, defuzzification is to convert the fuzzy value obtained by inference into a clear value. In order to determine the central parameter of the combined fuzzy rule, the centroid method can be used to implement the defuzzification of the combined fuzzy rule to obtain the central parameter of the combined fuzzy rule.

[0149] Alternatively, the centroid method is to take the centroid of the area enclosed by the membership function curve and the horizontal coordinate as the final output value of the fuzzy reasoning. In the case of discreteness, this defuzzification can be interpreted as a weighted mean, that is, each value y i The support of fuzzy rules is used for weighting, and the support of fuzzy rules in the denominator is used for normalization.

[0150] Specifically, the fuzzy rules with the same conditional parts are combined to determine the combined fuzzy rules. In order to obtain the central parameters of each combined fuzzy rule, the centroid method is used to defuzzify each combined fuzzy rule. Since the data pair is discrete, the set temperature corresponding to each fuzzy rule in the combined fuzzy rule can be recorded as the weight, the support of each fuzzy rule can be recorded as the weight coefficient, and the weighted average value calculated can be used as the central parameter of each combined fuzzy rule, as shown below:

[0151]

[0152] in, When the target parameter is k, the data pair (x i ,y i )The support of the corresponding fuzzy rule; When the target parameter is k, the data pair (x i ,y i ) in the set temperature. is the central parameter calculated when the target parameter is k. is the central parameter of the corresponding combined fuzzy rule when the target parameter is k.

[0153] In this way, the defuzzification of the combined fuzzy rules is achieved through the centroid method, and the central parameters of each combined fuzzy rule are calculated respectively.

[0154] It can be understood that a higher support of a fuzzy rule means that the fuzzy rule appears more frequently in the data set, or has a greater weight, and is therefore more likely to be a valid and meaningful fuzzy rule. Using the centroid method to calculate the central parameter, the fuzzy rule with a high support has a greater corresponding weight, and the obtained central parameters can more accurately represent the central value of each combined fuzzy rule under the corresponding target parameter.

[0155] For example, the conditional parts of Rule1, Rule4 and Rule6 in the fuzzy rule base all correspond to fuzzy set A1, and the corresponding target parameter is 1. Then Rule1, Rule4 and Rule6 are combined into a combined fuzzy rule k, k = 1. The number of combined fuzzy rules is l = 3. The corresponding support of Rule1, Rule4 and Rule6 are W1, W4, W6, and the corresponding set temperatures are y1, y4, y6, respectively. Then the central parameter of the combined fuzzy rule 1 is for:

[0156]

[0157] Step 01316: Construct a prediction model based on the membership function of the first fuzzy set corresponding to each combined fuzzy rule and the central parameter corresponding to each combined fuzzy rule.

[0158] Optionally, the prediction model is used to output the temperature corresponding to the given parameters after the input parameters are given.

[0159] Optionally, a prediction model can be created based on the central parameters of each combined fuzzy rule and the membership of each combined fuzzy rule corresponding to the input parameters:

[0160]

[0161] In this prediction model, L is the total number of combined fuzzy rules, x represents the input parameter, and the value of the input parameter x is determined based on the domain of the target parameter; is the central parameter corresponding to the combined fuzzy rule k; M k (x) is the membership value of the combined fuzzy rule k corresponding to the input parameter x; f(x) is the temperature obtained after the input parameter x is predicted by the prediction model.

[0162] Specifically, each combined fuzzy rule is divided based on the same conditional part of the fuzzy rule, that is, if the first fuzzy set of the conditional part is the same, it is divided into the same combined fuzzy rule. Therefore, the membership of the input parameter to the combined fuzzy rule can be expressed by the membership of the input parameter to the first fuzzy set. The first fuzzy set has been assigned a membership function. Based on the membership function assigned to the first fuzzy set, the membership of the input parameter to the first fuzzy set can be calculated, that is, the membership of the input parameter to the combined fuzzy rule. Each combined fuzzy rule corresponds to a central parameter, and the central parameter of each combined fuzzy rule is recorded as the weight, and the membership of the combined fuzzy rule corresponding to the input parameter is recorded as the weight coefficient. The calculated weighted average is the temperature predicted by the input parameter. The membership of the input parameter to each combined fuzzy rule is the membership of the predicted temperature to each combined fuzzy rule.

[0163] In this way, based on the membership function of the first fuzzy set corresponding to each combined fuzzy rule and the central parameter corresponding to each combined fuzzy rule, a prediction model can be constructed. The constructed prediction model can conveniently obtain the temperature predicted by the input parameters, and can also obtain the membership of each first fuzzy set corresponding to the predicted temperature, thereby reflecting the degree to which the predicted temperature belongs to each first fuzzy set.

[0164] See also Figure 8 In some embodiments, the membership function of each first fuzzy set is used to output the membership under different input parameters. Step 0132 "predicting based on the prediction model to determine the target temperature range" is implemented by steps 01321 to 01322, which are described in detail below.

[0165] Step 01321: construct a thermal sensation distribution curve based on the membership degree and temperature corresponding to each input parameter;

[0166] Specifically, the membership of the input parameter to each first fuzzy set represents the membership of the input parameter to the combined fuzzy rule, and the predicted temperature is predicted based on the input parameter. Therefore, the membership of the input parameter to each first fuzzy set can also represent the membership of the predicted temperature to each first fuzzy set. Each predicted temperature has a corresponding membership to each first fuzzy set. In this way, the temperature is used as the horizontal axis of the coordinate system, and the membership of the temperature to each first fuzzy set is used as the vertical axis of the coordinate system. For one input parameter, three coordinate points can be obtained, which respectively represent the membership of each first fuzzy set at the same temperature. By inputting multiple input parameters and classifying each first fuzzy set, the distribution curve of the temperature corresponding to each first fuzzy set can be obtained, because each first fuzzy set represents each thermal sensation. Therefore, the distribution curve of the temperature to each first fuzzy set is the thermal sensation distribution curve.

[0167] For example, if the input parameter is x, the membership degree of the first fuzzy set A1 corresponding to the input parameter is M 1 (x), the corresponding membership degree of the second fuzzy set A2 is M 2 (x), the corresponding membership degree of the first fuzzy set A3 is M 3 (x). Based on the prediction model, the output temperature is f(x). Then the three coordinate points are (f(x), M 1 (x)), (f(x),M 2 (x)), (f(x),M 3 (x)). 1 (x) represents the membership of temperature f(x) to the first fuzzy set A1, M 2 (x) represents the membership of temperature f(x) to the first fuzzy set A2, M 3 (x) represents the membership degree of temperature f(x) to the first fuzzy set A3.

[0168] Step 01322: Determine the target temperature range based on the thermal sensation distribution curve.

[0169] Specifically, the thermal sensation distribution curve indicates the degree of membership of temperature to each thermal sensation. When the degree of membership of the same temperature to the thermal sensation of comfort is greater than the degree of membership to other thermal sensations, it means that the degree to which the temperature belongs to comfort is greater than the degree to which it belongs to other thermal sensations, and it can be determined that the temperature belongs to a comfortable temperature. Since the thermal sensation distribution curve is a continuous curve, the interval where the ordinate of the temperature corresponding to the comfortable thermal sensation is greater than the ordinate of the temperature corresponding to other thermal sensations is the comfortable temperature interval, that is, the target temperature interval.

[0170] In this way, according to the prediction model and the first fuzzy set and the second fuzzy set, the thermal sensation distribution curve under different input parameters is drawn. Based on the thermal sensation distribution curve, the membership of each temperature to each thermal sensation can be intuitively reflected. In the case where the membership of the temperature to the thermal sensation of comfort is greater than the membership to other thermal sensations, the interval in which the temperature is located can be determined as the comfortable temperature interval, and the comfortable temperature interval is the target temperature interval. The target temperature interval can be determined intuitively and conveniently.

[0171] See also Fig. 9 In one example, a thermal sensation distribution curve is drawn based on the prediction model. Based on the TSV thermal sensation model, the combined fuzzy rule of TSV=-1 is recorded as k=1, the combined fuzzy rule of TSV=0 is recorded as k=2, and the combined fuzzy rule of TSV=1 is recorded as k=3. The first fuzzy sets corresponding to the three combined fuzzy rules are A1, A2, and A3, respectively, and the corresponding central parameters are calculated as follows: If the input parameter x=0.5, the membership value of the first fuzzy set A1 is M1(x)=0.5, the membership value of the first fuzzy set A2 is M2(x)=0.5, and the membership value of the first fuzzy set A3 is M3(x)=0. Then the input parameter x=0.5, the temperature f(x) predicted by the prediction model is:

[0172]

[0173] At this time, M1(x)=0.5 is the membership value of the temperature 25.9°C corresponding to the combined fuzzy rule k=1, M2(x)=0.5 is the membership value of the temperature 25.9°C corresponding to the combined fuzzy rule k=2, and M3(x)=0 is the membership value of the temperature 25.9°C corresponding to the combined fuzzy rule k=3.

[0174] With f(x) as the horizontal coordinate and M1(x), M2(x), and M1(x) corresponding to f(x) as the vertical coordinate, we can get the coordinate points of the temperature f(x) corresponding to the three combined fuzzy rules. By inputting multiple input parameters x, we can draw the distribution curves of each temperature corresponding to each combined fuzzy rule.

[0175] Among them, when the ordinate value of the thermal sensation distribution curve of TSV=0 is greater than that of the thermal sensation distribution curves of TSV=-1 and TSV=1, the corresponding temperature belongs to TSV=0 to a greater extent than that of TSV=-1 and TSV=1. This indicates that the corresponding temperature belongs to a greater degree of comfort temperature, and thus the target temperature range is 25.9°C to 26.3°C.

[0176] In some embodiments, the fuzzy rules include a first rule and a second rule, the first rule includes a first fuzzy set to which the target parameter belongs, and the second rule includes a second fuzzy set to which the set temperature belongs; the fuzzy sets corresponding to the fuzzy rules in the combined fuzzy rules are the same, including that the first fuzzy sets corresponding to the first rule are the same, or the first fuzzy sets corresponding to the first rule are the same and the second fuzzy sets corresponding to the second rule are the same.

[0177] It can be understood that fuzzy rules express the fuzzy relationship between fuzzy sets in the form of "if-then". For example, for the fuzzy rule If x is A then y is B. Here, let the domain of A be U, the domain of B be V, A and B are both specific values ​​of language variables, that is, fuzzy sets, and x and y are variable names. "If x is A" is determined as the first rule, and A is the first fuzzy set corresponding to the fuzzy rule; "then y is B" is determined as the second rule, and B is the second fuzzy set corresponding to the fuzzy rule. Then the combined fuzzy rule can be composed of fuzzy rules with the same first fuzzy set, or fuzzy rules with the same first fuzzy set and second fuzzy set.

[0178] See also Fig.10 In some embodiments, the fuzzy rules include a first rule and a second rule, the first rule includes a first fuzzy set to which the target parameter belongs, and the second rule includes a second fuzzy set to which the set temperature belongs; step 01313 "based on the first membership and the second membership corresponding to each data pair, generate the fuzzy rules corresponding to each data pair and the support of the fuzzy rules respectively" is implemented by steps 013135 to 013136, which are described in detail below.

[0179] Step 013135: Determine a conflicting rule set whose first fuzzy sets corresponding to the first rules are the same and whose second fuzzy sets corresponding to the second rules are different;

[0180] Step 013136: Delete the fuzzy rules except the fuzzy rule with the largest support in the conflicting rule set;

[0181] Specifically, the fuzzy rules include a first rule and a second rule, the first rule includes a first fuzzy set to which the target parameter belongs, and the second rule includes a second fuzzy set to which the set temperature belongs. In the fuzzy rules, as long as they belong to the same fuzzy set, the two first rules are the same. If there are two or more fuzzy rules in the fuzzy rule base with the same first rule and different second rules, it means that the same first fuzzy set maps to different second fuzzy sets, and it is considered that these fuzzy rules are in conflict. Therefore, it is necessary to process the conflicting fuzzy rules. The support of the fuzzy rule represents the confidence of the fuzzy rule, and the fuzzy rules other than the one with the largest support among the conflicting fuzzy rules are deleted.

[0182] Step 01315 "calculate the central parameter of the corresponding combined fuzzy rule based on the support of the fuzzy rule corresponding to the target data pair and the set temperature of the target data pair" is implemented by step 013137, which is described in detail below.

[0183] Step 013137: Calculate the central parameter based on the support of each deleted fuzzy rule and the set temperature of each data pair corresponding to each deleted fuzzy rule.

[0184] Specifically, the maximum support of the fuzzy rule indicates that the confidence of the fuzzy rule is the highest. After deleting the fuzzy rules other than the ones with the maximum support among the conflicting fuzzy rules, the support of the fuzzy rules under the same conditions of the first rule is unique.

[0185] In this way, based on the support of the deleted fuzzy rules and the corresponding set temperature, the calculated central parameter is more credible and has higher accuracy.

[0186] See also Fig.11 In one example, the scenario model of the temperature control method of the present application is as follows:

[0187] (1) Temperature control device S1, used to adjust and control the temperature;

[0188] (2) a communication device S2, used to display the set temperature and communicate with the temperature control device;

[0189] (3) User S3: The user can obtain the set temperature information through the communication device S2 and adjust the set temperature of the temperature control according to his own feeling.

[0190] It can be understood that there may be multiple temperature control devices S1 in the scene, and users S3 are distributed in different locations of the scene. Each user can adjust the set temperature of each temperature control device S1 according to their own needs. The communication device S2 can collect the user's temperature adjustment information and communicate with the temperature control device. The temperature control device S1 works according to the set temperature to adjust the temperature of the scene.

[0191] It can be understood that for each temperature control device S1, the temperature adjustment behavior of each user S3 on the temperature control device S1 is counted within a preset time period. Based on the temperature adjustment information obtained within the preset time period and the corresponding set temperature, a prediction model is constructed, and the parameters in the prediction model can be changed in real time according to the obtained information. In this way, through the prediction model, a thermal sensation distribution curve can be drawn in real time, and then the target temperature range can be determined and adjusted accordingly.

[0192] See also Fig.12 In order to better implement the temperature control method of the embodiment of the present application, the embodiment of the present application further provides a temperature control device 10. The temperature control device 10 may include an acquisition module 11, a first processing module 12, a second processing module 13 and an adjustment module 14.

[0193] The acquisition module 11 is used to obtain the temperature adjustment information of the temperature control device at each set temperature within a preset time period; the first processing module 12 is used to perform statistical processing on the temperature adjustment information at each set temperature, so as to determine the target parameters at each set temperature; the second processing module 13 is used to make predictions based on the target parameters at each set temperature, so as to determine the target temperature range; the adjustment module 14 is used to adjust the current set temperature of the temperature control device to the target temperature range.

[0194] In some embodiments, the first processing module 12 is also used to calculate the temperature increase ratio and the temperature decrease ratio at the target setting temperature based on the number of temperature increases and the number of temperature decreases at the target setting temperature, where the target setting temperature is any set temperature; based on the temperature increase ratio and the temperature decrease ratio at the target setting temperature, determine the target parameter at the target setting temperature, where the target parameter is any one of multiple preset parameters.

[0195] In some embodiments, multiple preset parameters include -1, 0 and 1, and the first processing module 12 is also used to determine the target parameter as -1 when the difference between the temperature increase ratio and the temperature decrease ratio is greater than the preset difference; determine the target parameter as 0 when the absolute value of the difference between the temperature increase ratio and the temperature decrease ratio is less than or equal to the preset difference; determine the target parameter as 1 when the difference between the temperature decrease ratio and the temperature increase ratio is equal to the preset difference, and the preset difference is greater than or equal to 0.

[0196] In some embodiments, the second processing module 13 is also used to construct a prediction model based on the target parameters at each set temperature, and the prediction model is used to output the temperature under different input parameters, where the input parameter is any value within the domain of the target parameter; prediction is performed based on the prediction model to determine the target temperature range.

[0197] In some embodiments, the target parameter and the corresponding set temperature form a data pair, and the second processing module 13 is also used to determine a first fuzzy set based on multiple preset parameters corresponding to the target parameter, and determine b second fuzzy sets based on each set temperature, the value of a is determined according to the number of preset parameters, and the value of b is determined according to the number of set temperatures; respectively calculate the first membership of each target parameter in each first fuzzy set, and respectively calculate the second membership of each set temperature in each second fuzzy set; based on the first membership and the second membership corresponding to each data pair, respectively generate fuzzy rules corresponding to each data pair and the support of the fuzzy rules; group each fuzzy rule to determine a plurality of combined fuzzy rules, and the fuzzy sets corresponding to each fuzzy rule corresponding to the combined fuzzy rule are the same; based on the support of the fuzzy rule corresponding to the target data pair and the set temperature of the target data pair, calculate the central parameter of the corresponding combined fuzzy rule, and the target data pair corresponds to any fuzzy rule in the combined fuzzy rule; based on the membership function of the first fuzzy set corresponding to each combined fuzzy rule and the central parameter corresponding to each combined fuzzy rule, construct a prediction model.

[0198] In some embodiments, the membership function of each first fuzzy set is used to output the membership under different input parameters, and the second processing module 13 is also used to construct a thermal sensation distribution curve based on the membership and temperature corresponding to each input parameter; and determine the target temperature range based on the thermal sensation distribution curve.

[0199] In some embodiments, the second processing module 13 is also used to assign a first membership function to each first fuzzy set, and assign a second membership function to each second fuzzy set; based on the first membership function of each first fuzzy set, calculate the first membership of the target parameter in each first fuzzy set; based on the second membership function of each second fuzzy set, calculate the second membership of the set temperature in each second fuzzy set.

[0200] In some embodiments, the second processing module 13 is further used to determine a third membership based on the first membership of the target data pair in each first fuzzy set, the third membership being greater than or equal to any first membership, and the target data pair being any data pair; determine a fourth membership based on the second membership of the target data pair in each second fuzzy set, the fourth membership being greater than or equal to any second membership. Determine the fuzzy rule corresponding to the target data pair based on the first fuzzy set corresponding to the third membership and the second fuzzy set corresponding to the fourth membership; calculate the support of the fuzzy rule corresponding to the data pair based on the third membership and the fourth membership corresponding to the target data pair.

[0201] In some embodiments, the temperature control device 10 also includes a deletion module 15, which is used to determine a conflicting rule set in which the first fuzzy sets corresponding to the first rules are the same and the second fuzzy sets corresponding to the second rules are different; and delete the fuzzy rules other than the fuzzy rule with the largest support in the conflicting rule set.

[0202] In some embodiments, the second processing module 13 is further configured to calculate a central parameter of a corresponding combined fuzzy rule based on the support of the deleted fuzzy rule and the set temperature of the data pair corresponding to the deleted fuzzy rule.

[0203] In the above, combined with the attached Fig.12 The temperature control device 10 is described from the perspective of a functional module, which can be implemented in hardware form, can be implemented in software form, or can be implemented in combination with hardware and software modules. Specifically, each step of the method embodiment in the embodiment of the present application can be completed by an integrated logic circuit of hardware in a processor and / or an instruction in software form, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware coding processor for execution, or a combination of hardware and software modules in a coding processor for execution. Optionally, the software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in combination with its hardware.

[0204] See also Fig.13 The temperature control device 100 of the embodiment of the present application includes a processor 20, a memory 30 and a computer program, wherein the computer program is stored in the memory 30 and executed by the processor 20, and the computer program includes instructions for executing the temperature control method of any of the above embodiments.

[0205] Optionally, the processor of the temperature control device 100 may be a processor disposed in the temperature control device 100 itself, or a processor disposed in a server.

[0206] Optionally, taking the processor being set in a server as an example, after the temperature control device 100 obtains the temperature adjustment information of the temperature control device at each set temperature within a preset time, it will send it to the server, and the server is used to perform statistical processing on the temperature adjustment information at each set temperature to determine the target parameters at each set temperature; and to perform prediction based on the target parameters at each set temperature to determine the target temperature range. Then, the target temperature range is sent to the temperature control device 100, and the temperature control device 100 can adjust the temperature according to the target temperature range.

[0207] See also Fig.14 The embodiment of the present application also provides a computer-readable storage medium 300 on which a computer program 310 is stored. When the computer program 310 is executed by a processor 320, the steps of the temperature control method of any of the above-mentioned embodiments are implemented. For the sake of brevity, they are not repeated here.

[0208] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0209] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0210] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A temperature control method, characterized in that: Applied to a temperature control device, the method comprises: Acquiring temperature adjustment information of the temperature control device at various set temperatures within a preset time period; Performing statistical processing on the temperature adjustment information at each set temperature to determine the target parameters at each set temperature; Predicting based on the target parameters at each set temperature to determine a target temperature range; Adjust the current set temperature of the temperature control device to the target temperature range.

2. The temperature control method according to claim 1, characterized in that: The temperature adjustment information includes the number of temperature increase and the number of temperature decrease. The statistical processing of the temperature adjustment information at each set temperature is performed to determine the target parameters at each set temperature, including: Calculating a temperature increase ratio and a temperature decrease ratio at the target set temperature based on the number of temperature increase and the number of temperature decrease at the target set temperature, wherein the target set temperature is any set temperature; Based on the temperature increase ratio and the temperature decrease ratio at the target setting temperature, a target parameter at the target setting temperature is determined, and the target parameter is any one of a plurality of preset parameters.

3. The temperature control method according to claim 2, characterized in that: The plurality of preset parameters include -1, 0 and 1, and the determining the target parameter at the target set temperature based on the temperature increase ratio and the temperature decrease ratio at the target set temperature includes: When the difference between the temperature increase ratio and the temperature decrease ratio is greater than a preset difference, determining the target parameter to be -1; When the absolute value of the difference between the temperature increase ratio and the temperature decrease ratio is less than or equal to a preset difference, determining the target parameter to be 0; In the case where the difference between the temperature down-regulation ratio and the temperature up-regulation ratio is greater than a preset difference, the target parameter is determined to be 1, and the preset difference is greater than or equal to 0.

4. The temperature control method according to claim 2 or 3, wherein the prediction based on the target parameters at each set temperature to determine the target temperature range comprises: Constructing a prediction model based on the target parameter at each set temperature, the prediction model is used to output the temperature under different input parameters, and the input parameter is any value within the domain of the target parameter; Predictions are made based on the prediction model to determine a target temperature range.

5. The temperature control method according to claim 4, characterized in that: The target parameter and the corresponding set temperature form a data pair, and the prediction model is constructed based on the target parameter at each set temperature, including: Determine a first fuzzy set based on a plurality of preset parameters corresponding to the target parameter, and determine b second fuzzy sets based on the respective set temperatures, wherein the value of a is determined according to the number of the preset parameters, and the value of b is determined according to the number of the set temperatures; respectively calculating the first degree of membership of each of the target parameters in each of the first fuzzy sets, and respectively calculating the second degree of membership of each of the set temperatures in each of the second fuzzy sets; Based on the first membership degree and the second membership degree corresponding to each of the data pairs, respectively generate a fuzzy rule corresponding to each of the data pairs and a support degree of the fuzzy rule; Grouping the fuzzy rules to determine a plurality of combined fuzzy rules, wherein the fuzzy sets corresponding to the fuzzy rules corresponding to the combined fuzzy rules are the same; Calculating the central parameter of the corresponding combined fuzzy rule based on the support of the fuzzy rule corresponding to the target data pair and the set temperature of the target data pair, the target data pair corresponding to any fuzzy rule in the combined fuzzy rule; The prediction model is constructed based on the membership function of the first fuzzy set corresponding to each of the combined fuzzy rules and the central parameter corresponding to each of the combined fuzzy rules.

6. The temperature control method according to claim 5, wherein the membership function of each of the first fuzzy sets is used to output the membership under different input parameters, and the prediction based on the prediction model to determine the target temperature range comprises: constructing a thermal sensation distribution curve based on the membership degree and temperature corresponding to each of the input parameters; Based on the thermal sensation distribution curve, a target temperature range is determined.

7. The temperature control method according to claim 5, characterized in that: The respectively calculating the first membership of each of the target parameters in each of the first fuzzy sets, and respectively calculating the second membership of each of the set temperatures in each of the second fuzzy sets, comprises: Assigning a first membership function to each of the first fuzzy sets, and assigning a second membership function to each of the second fuzzy sets; Calculating the first membership of the target parameter in each of the first fuzzy sets based on the first membership function of each of the first fuzzy sets; The second membership of the set temperature in each of the second fuzzy sets is calculated based on the second membership function of each of the second fuzzy sets.

8. The temperature control method according to claim 5 or 7, characterized in that: The generating, based on the first membership degree and the second membership degree corresponding to each of the data pairs, fuzzy rules corresponding to each of the data pairs and the support degree of the fuzzy rules respectively comprises: Determine a third membership based on the first membership of the target data pair in each of the first fuzzy sets, wherein the third membership is greater than or equal to any of the first memberships, and the target data pair is any of the data pairs; Determine a fourth membership based on the second membership of the target data pair in each of the second fuzzy sets, wherein the fourth membership is greater than or equal to any of the second memberships; Determining the fuzzy rule corresponding to the target data pair based on the first fuzzy set corresponding to the third membership degree and the second fuzzy set corresponding to the fourth membership degree; Based on the third degree of membership and the fourth degree of membership corresponding to the target data pair, the support degree of the fuzzy rule corresponding to the data pair is calculated.

9. The temperature control method according to claim 5, characterized in that: The fuzzy rules include a first rule and a second rule, the first rule includes the first fuzzy set to which the target parameter belongs, and the second rule includes the second fuzzy set to which the set temperature belongs; the fuzzy sets corresponding to the fuzzy rules in the combined fuzzy rules are the same, including that the first fuzzy sets corresponding to the first rules are the same, or the first fuzzy sets corresponding to the first rules are the same and the second fuzzy sets corresponding to the second rules are the same.

10. The temperature control method according to claim 5, characterized in that: The fuzzy rule includes a first rule and a second rule, the first rule includes the first fuzzy set to which the target parameter belongs, and the second rule includes the second fuzzy set to which the set temperature belongs; the fuzzy rule corresponding to each data pair and the support of the fuzzy rule are generated based on the first membership degree and the second membership degree corresponding to each data pair, and further includes: Determine a conflicting rule set in which the first fuzzy sets corresponding to the first rules are the same and the second fuzzy sets corresponding to the second rules are different; Deleting the fuzzy rules other than the fuzzy rule with the largest support in the conflicting rule set; The step of calculating the central parameter of the corresponding combined fuzzy rule based on the support of the fuzzy rule corresponding to the target data pair and the set temperature of the target data pair includes: Based on the support of the deleted fuzzy rule and the set temperature of the data pair corresponding to the deleted fuzzy rule, the central parameter of the corresponding combined fuzzy rule is calculated.

11. A temperature control device, characterized in that: The temperature control device comprises: An acquisition module, used for acquiring temperature adjustment information of the temperature adjustment device at various set temperatures; A first processing module, used for performing statistical processing on the temperature adjustment information at each set temperature to determine a target parameter at each set temperature; A second processing module, configured to determine a target temperature range based on the target parameters at each set temperature; The regulating module is used to adjust the current set temperature of the temperature regulating device to within the target temperature range.

12. A temperature control device, characterized in that: include: A processor and a memory; the memory stores a computer program, the computer program is executed by the processor, and the computer program includes instructions for executing the temperature control method according to any one of claims 1 to 10.

13. A non-volatile computer-readable storage medium containing a computer program, wherein when the computer program is executed by a processor, the processor executes the temperature control method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Temperature control method and system for high and low temperature impact heat flow meter

    CN119902583A

  • Temperature control method and system for a high and low temperature shock heat flux meter

    CN119902583B