Air conditioning control method, device and air conditioning
By establishing a comfort model and particle swarm algorithm to optimize air conditioning parameters, the problem of existing air conditioners being unable to adapt to changes in users' sleep status is solved, personalized adjustment to different user needs is achieved, and sleep quality is improved.
Patent Information
- Application Number
- CN202211216096.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-09-30
AI Technical Summary
Existing air conditioners cannot automatically adjust the indoor environment according to changes in user needs in different sleep states, resulting in a decrease in sleep quality, and the differences in needs caused by different users' physical differences are difficult to effectively adapt to existing technology.
By establishing a comfort model, the user's initial air-conditioning parameters and body-related parameters are obtained, and the particle swarm algorithm is used to optimize the air-conditioning parameters. The indoor temperature, humidity and wind speed are adjusted in real time based on the user's age, weight, heart rate, blood pressure and other information to ensure that the user Comfort needs during different sleep stages.
It realizes real-time adjustment of air conditioning parameters according to the dynamic needs of users, improves sleep quality, adapts to the comfort needs of different groups of people, and reduces the problem of inaccurate regulation caused by physical differences.
Smart Images

Figure CN115614908B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control, and more specifically to an air conditioning control method, device and air conditioning. Background Art
[0002] As people's quality of life improves, air conditioners are constantly developing in the direction of intelligence, making them intelligent and humanized, making people's living environment more comfortable. However, people's needs are complex and constantly changing. How to make air conditioners automatically identify changes in people's needs and actively serve people according to such changes has become the direction of intelligent development. For example, the human body's demand for environmental temperature is a dynamic process. In order to maintain normal physiological functions, the human body needs to maintain a suitable temperature range. The less energy the human body consumes to maintain this range, the more comfortable people feel. For example, the core temperature of the human body is about 37°C, and the surface temperature of the human skin is roughly in the range of 20°C to 37°C. Relevant experimental studies have shown that when the core temperature of the human body is 37°C and the surface temperature of the human body is about 34 degrees Celsius, the effort required for physiological thermal regulation is the smallest, and the human body feels the most comfortable at this time.
[0003] Most current air conditioners can only adjust the ambient temperature according to the temperature set by the user, but the user's comfort level will change due to changes in the current state of the human body. This problem is particularly prominent in different stages of sleep. In different stages of sleep, the body's metabolism, heat dissipation rate, and demand for the environment will change significantly. Before going to sleep, the user will adjust the air conditioner to the most comfortable temperature at the moment, but after falling asleep, the environment is not the most comfortable temperature at this time due to changes in the body's needs. When the needs before and after sleep change greatly, it will seriously affect the user's sleep quality, causing the user to suffer from insomnia, waking up in the middle of the night, and dizziness and headaches after getting up in the morning.
[0004] Although there are many smart air conditioners with sleep modes on the market, these air conditioners cannot automatically adjust the air conditioners according to the actual needs of the human body, and the needs of different customers may vary greatly due to differences in physique and age.
[0005] Therefore, a solution is needed to determine the control parameters of the air conditioning according to the comfort level, so that the air conditioning can actively provide services to users, so that the energy consumed by the human body to maintain body temperature is always at a minimum, making users feel more comfortable and improving their sleep quality.
[0006] The above information disclosed in this background section is only for further understanding of the background of the invention and therefore it may contain information that does not constitute the prior art that is already known to a person of ordinary skill in the art. Summary of the invention
[0007] The invention relates to an air conditioning control method, device and air conditioning. The technical problems that the invention can solve include: solving the problem that the air conditioning cannot adjust the indoor environment according to the changes in user needs when the user is in different sleeping states; solving the problem that the different users have different physical conditions and have different needs for the sleeping environment; because the PMV formula is complicated and difficult to calculate, many existing technologies use some of the values as fixed values or estimated values for calculation, resulting in inaccurate calculations, and because different users have different physical sensations, PMV cannot adapt to the needs of different users. The invention solves the problem of difficulty in calculating PMV and difficulty in adapting to the needs of different users.
[0008] The first aspect of the present invention provides an air-conditioning control method, comprising: S1: obtaining the air-conditioning parameters initially set by the user and parameters related to the user's body, and establishing a comfort model; S2: sending the air-conditioning parameters initially set by the user and parameters related to the user's body into the comfort model, and determining whether to update the air-conditioning parameters based on the calculation results of the comfort model; S3: if the air-conditioning parameters are not updated, controlling the air-conditioning with the air-conditioning parameters initially set by the user; if the air-conditioning parameters need to be updated, determining the updated air-conditioning parameter values, and controlling the air-conditioning with the updated air-conditioning parameter values.
[0009] According to one embodiment of the present invention, the air conditioning comfort model is expressed as a linear function related to the comfort PMV, wherein the comfort model = correction factor × comfort PMV + error factor, wherein the comfort in the comfort model is related to indoor air humidity, indoor temperature, air flow rate, clothing thermal resistance, human heart rate, blood pressure, body temperature, height, weight and age.
[0010] According to one embodiment of the present invention, step S1 also includes initializing the comfort model, and the initialization includes: substituting the air-conditioning parameters initially set by the user into the comfort model, and making the comfort model 0, the correction factor 1, and the error factor 0, thereby obtaining the initial parameters in the comfort model.
[0011] According to an embodiment of the present invention, the thermal resistance of the human body clothing is related to the thermal conductivity of the quilt.
[0012] According to one embodiment of the present invention, step S1 also includes initializing the comfort model, and the initialization includes: substituting the air-conditioning parameters initially set by the user into the comfort model, and making the comfort model 0, the correction factor 1, and the error factor 0, thereby obtaining the initial parameters in the comfort model.
[0013] According to one embodiment of the present invention, step S1 also includes correcting the comfort model, wherein correcting the comfort model includes: when the user sets new air-conditioning parameters, the new air-conditioning parameters, air-conditioning parameters related to the current air-conditioning environment, and parameters related to the user's body are input into the comfort model, and the corrected correction factors and error factors are calculated.
[0014] According to an embodiment of the present invention, in step S1, initializing the comfort model includes: substituting the air conditioning parameters initially set by the user into the comfort model to obtain the thermal conductivity of the quilt, and obtaining the thermal resistance of human clothing based on the thermal conductivity of the quilt.
[0015] According to one embodiment of the present invention, in step S1, correcting the comfort model includes: when the user sets new air-conditioning parameters, the new air-conditioning parameters, the air-conditioning parameters related to the current air-conditioning environment, and the parameters related to the user's body are input into the comfort model, and the corrected correction factors and error factors are calculated.
[0016] According to one embodiment of the present invention, the new air-conditioning parameters and parameters related to the user's body are input into the comfort model, and the comfort model is set to 0 to obtain a first equation; the air-conditioning parameters related to the current environment of the air conditioner and parameters related to the user's body are input into the comfort model, and the comfort model is set to 1 or -1 to obtain a second equation, and the corrected correction factor and error factor are calculated through the first equation and the second equation.
[0017] According to one embodiment of the present invention, when the ambient temperature of the new air-conditioning parameters is greater than or equal to the ambient temperature of the air-conditioning parameters related to the current environment of the air-conditioning, the comfort model is -1; when the indoor temperature in the new air-conditioning parameters is lower than the indoor temperature in the air-conditioning parameters related to the current environment of the air-conditioning, the comfort model is 1.
[0018] According to one embodiment of the present invention, the method according to claim 1, wherein in the step S4, when the calculation result is 0, the air-conditioning parameters are not updated, and when the calculation result is not 0, the air-conditioning parameters are updated.
[0019] According to one embodiment of the present invention, in step S4, when the calculation result is not 0, the comfort model is set to 0, and the air-conditioning parameters in the comfort model are set to unknown numbers. The comfort model is optimized by a particle swarm algorithm to obtain the optimal solution for the air-conditioning parameters, and the air-conditioning is controlled according to the optimal solution to regulate the indoor environment.
[0020] According to one embodiment of the present invention, when optimizing the comfort model by a particle swarm algorithm to obtain the optimal solution of the air-conditioning parameters, the constraint range of the air-conditioning parameters is: setting the optimal parameter range that makes the human body feel comfortable, and making the solved parameters within the optimal parameter range.
[0021] According to one embodiment of the present invention, when the comfort model is optimized by a particle swarm algorithm to obtain the optimal solution of the air-conditioning parameters, the difference between the optimal solution of the indoor temperature in the air-conditioning parameters and the indoor temperature set by the user is within a preset range, and the preset range is 0 to 3°C.
[0022] According to an embodiment of the present invention, when the user is sleeping, steps S1-S4 are performed according to preset time intervals.
[0023] A second aspect of the present invention provides an air conditioning control device, comprising a memory and a processor; the memory is used to store a computer program; the processor is used to implement the above-mentioned air conditioning control method when executing the computer program.
[0024] A third aspect of the present invention provides an air conditioner, which uses the above-mentioned air conditioner control method, or includes the above-mentioned air conditioner control device.
[0025] The solution of the present invention can determine a person's current demand for temperature and humidity by monitoring his or her body temperature, heart rate and respiratory rate, and then adjust the air conditioner to ensure the user's sleep quality; the solution of the present invention can establish different comfort models based on the user's age, height and weight information to adapt to different groups of people. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 is a flow chart of an air conditioning control method according to an exemplary embodiment of the present invention.
[0028] Figure 2 is a schematic diagram of a sleep cycle according to an exemplary embodiment of the present invention.
[0029] Figure 3 is a graph of a typical eight-hour sleep cycle according to an exemplary embodiment of the present invention.
[0030] Figure 4 is a diagram showing characteristics of sleep at various stages according to an exemplary embodiment of the present invention.
[0031] Figure 5 is a flow chart of initialization and modification of a comfort model according to one or more embodiments of the present invention.
[0032] Figure 6 is a logic control flow chart of a sleep mode according to an exemplary embodiment of the present invention.
[0033] Figure 7 is a flow chart of an overall control scheme of an air conditioner entering a sleep mode according to an exemplary embodiment of the present invention. Specific embodiments
[0034] As used herein, the words "first", "second", etc. may be used to describe elements in exemplary embodiments of the present invention. These words are only used to distinguish one element from another, and the inherent characteristics or order of the corresponding elements, etc. are not limited by the words. Unless otherwise defined, all terms (including technical or scientific terms) used in this article have the same meaning as those commonly understood by ordinary technicians in the technical field to which the present invention belongs. Those terms defined in common dictionaries are interpreted as having the same meaning as the contextual meaning in the relevant technical field, and are not interpreted as having ideal or overly formal meanings, unless they are clearly defined as having such meanings in the present invention.
[0035] It will be understood by those skilled in the art that the apparatus and methods of the present invention described herein and illustrated in the accompanying drawings are non-limiting exemplary embodiments, and the scope of the present invention is limited only by the claims. Features illustrated or described in conjunction with one exemplary embodiment may be combined with features of other embodiments. Such modifications and variations are included within the scope of the present invention.
[0036] Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the accompanying drawings, detailed descriptions of related known functions or configurations are omitted to avoid unnecessary obscuration of the technical points of the present invention. In addition, throughout the description, the same reference numerals always refer to the same circuits, modules or units, and for the sake of brevity, repeated descriptions of the same circuits, modules or units are omitted.
[0037] In addition, it should be understood that one or more of the following methods or aspects thereof can be performed by at least one control unit or controller. The terms "control unit", "controller", "control module" or "main control module" can refer to a hardware device including a memory and a processor. The memory or computer readable storage medium is configured to store program instructions, and the processor is specifically configured to execute the program instructions to perform one or more processes that will be further described below. Moreover, it should be understood that, as will be appreciated by those of ordinary skill in the art, the following methods can be performed by including a processor in combination with one or more other components.
[0038] The present invention designs a sleep mode based on human body parameter regulation, which can control the air conditioner according to the user's physical needs. This patent establishes data communication between the smart wearable device and the air conditioner, monitors the person's blood pressure, heart rate, body temperature and other data through the smart wearable device, thereby calculating the user's current state The demand for the environment, and then issues instructions to the air conditioner to adjust the indoor environment.
[0039] The present invention designs a mathematical model based on PMV that can be closer to user needs, and establishes a mapping relationship with human body temperature, blood pressure and heart rate, so that the model can be corrected and updated according to changes in user body parameters and user instructions, so as to solve the environmental conditions that are currently most suitable for the user, thereby reducing the problem of unsatisfactory regulation effect caused by physical differences and changes in user body needs.
[0040] The present invention provides a control method that can establish corresponding models according to different users and environments, which solves the problem that the models generated by preset models in the current market are not suitable for the current users and environments, making the control more humane.
[0041] The human body's demand for ambient temperature is a dynamic process. In order to maintain normal physiological functions, the human body needs to maintain a suitable temperature range. The less energy the human body consumes to maintain this range, the more comfortable the person feels. When the human body's metabolism and body temperature change, the energy consumed to maintain this range will also change. When a person is in a sleeping state, there will be several different stages (such as Figure 4 As shown in the figure, the body temperature, heart rate, blood pressure, etc. of a person will change at each stage, causing the temperature set before sleep to no longer be suitable for the needs of the human body in the sleeping state, resulting in poor sleep quality, dizziness, headaches, etc. when the user wakes up. Aiming at the problems in the sleeping state of the user, the present invention proposes the air conditioning control logic in the sleeping mode, and judges the user's needs for the environment by establishing a comfort model, and then controls the indoor environment. The control logic of the compressor frequency, expansion valve opening, etc. is not modified in the whole process, and only the instructions such as the optimal ambient temperature, humidity and speed are solved and judged, and the optimal instructions are issued. When the air conditioner executes the instructions, it operates according to the original control logic.
[0042] Figure 1 is a flow chart of an air conditioning control method according to an exemplary embodiment of the present invention.
[0043] like Figure 1 As shown, in step S1: establishing a comfort model, and initializing and correcting the comfort model;
[0044] In step S2: obtaining the air conditioning parameters initially set by the user and parameters related to the user's body;
[0045] In step S3: the air conditioning parameters initially set by the user and the parameters related to the user's body are sent to the comfort model, and whether to update the air conditioning parameters is determined according to the calculation results of the comfort model;
[0046] In step S4: if the air-conditioning parameters are not updated, the air-conditioning is controlled with the air-conditioning parameters initially set by the user; if the air-conditioning parameters need to be updated, the updated air-conditioning parameter values are determined, and the air-conditioning is controlled with the updated air-conditioning parameter values.
[0047] Among them, the air conditioning parameters initially set by the user include the indoor temperature, indoor air humidity and air conditioning wind speed set by the user; and the parameters related to the user's body include heart rate, blood pressure, and body temperature.
[0048] According to one or more embodiments of the present invention, step S1 of the air conditioning control method of the present invention needs to establish a comfort model, and initialize and correct the comfort model. The comfort model according to one or more embodiments of the present invention and the initialization and correction of the model are described in detail below.
[0049] Comfort Modeling:
[0050] Since the PMV model predicts the average evaluation based on a theoretical comfort level PMV (Predicted Mean Vote) for human thermal balance, the index is based on the basic equation of human thermal balance and the level of subjective thermal sensation in psychophysiology, and is a comprehensive evaluation index that takes into account many relevant factors of human thermal comfort. The PMV index shows the average index of the group's votes for seven levels of thermal sensation (+3 to -3). Each user's perception of heat and cold will vary to a certain extent, and since the calculation of the PMV model is difficult, the influence of many factors is often ignored, resulting in the calculation of the PMV itself being inaccurate. The present invention establishes a more accurate comfort model for PMV, and this model has a correction function, which can adjust the model according to the user's age, weight, gender, and cold and heat perception information.
[0051] Figure 2 is a schematic diagram of a sleep cycle according to an exemplary embodiment of the present invention. Figure 3 is a graph of a typical eight-hour sleep cycle according to an exemplary embodiment of the present invention. Figure 4 is a diagram showing characteristics of sleep at each stage according to an exemplary embodiment of the present invention.
[0052] like Figure 2-4 As shown in Figure 2, human sleep can be divided into 5 stages (such as Figure 2The body temperature, heart rate, breathing, blood pressure, etc. will change in different stages, especially when entering deep sleep, the body temperature starts to drop, resulting in changes in the temperature and humidity requirements of the environment. In order to judge the human body's needs for the environment at different stages, the commonly used thermal comfort can be used for judgment, and the formula is as follows:
[0053] PMV=(0.303 (-0.036*M) +0.028)*(MW-3.05*0.001*(5733-6.99
[0054] *(MW)-p a )-0.42*(MW-58.15)-1.72*10 (-5)
[0055] *(5867-p a )-0.0014*M*(34-T a )-3.69*10 (-8) *f cl
[0056] *((T cl +273) 4 -(T mrt +273) 4 )-f cl *h c *(T cl -T a )
[0057] Formula (1)
[0058] Where M is the metabolic rate, unit: W / m 2 ; W is the external work output by humans, unit: W / m 2 ;p a is the partial pressure of water vapor, unit: Pa; T a is the air temperature, unit: ℃; f cl is the ratio of clothed surface to naked surface; T cl is the outer surface temperature of the clothes, unit: ℃; T mrt is the mean radiation temperature, unit: °C; h c is the surface heat transfer coefficient between clothes and air, unit: W / (m 2 .℃).
[0059]
[0060] T cl =35.7-0.0287*(MW)-I cl*(3.96*10 (-8) *f cl *((T cl +273) 4
[0061] -(T mrt +273) 4 )+f cl *h c *(T cl -T a ))
[0062] Formula (3)
[0063] h c =max[(2.38*(T cl -T a )) 0.25 ,(12.1*(v a 0.5 ))] Formula (4)
[0064]
[0065] Among them, I cl is the thermal resistance of the clothes, unit: m 2 .K / W;P hi is the air humidity; v a is the air velocity, unit: m / s. a Only with air humidity P hi and air temperature T a These two parameters can be directly measured by air conditioning, namely, the water vapor partial pressure p a It can be obtained directly by calculation.
[0066] According to one or more embodiments of the present invention, when a person is in a sleeping state, the state can be regarded as the person not doing work to the outside, that is, W = 0 W / m 2 , the metabolic rate in the resting state can be calculated by the Harris-Benedict formula:
[0067]
[0068] W ei Weight, unit: kg; H is height, unit: cm; A is age, unit: years; S is body surface area, unit: m 2 , the formula commonly used by Chinese people is: S = 0.0061*H + 0.0124*W ei -0.0099.
[0069] Since a person is in a sleeping state, the clothes he wears and the quilt he covers can be regarded as fixed, that is,cl can be considered as an unknown constant, then the ratio of the clothed surface to the naked surface f cl is a constant.
[0070] When the indoor humidity, temperature and air velocity are adjusted, the average radiation temperature remains unchanged. cl and f cl is a constant, and according to the previous formula, the metabolic rate of the same person in a resting state is also a constant, so it can be considered that T cl Values related to indoor humidity, temperature and air velocity. Then we know that h c It is also a value related to air humidity, temperature and air velocity, while T cl The value of can be measured by air conditioning infrared, so T under different temperatures, humidity and flow rates cl are all known values, since h can be calculated c , so under the conditions of temperature, humidity and air velocity, h c and T cl is a known number, namely:
[0071] T cl =T c Formula (7)
[0072] h c =max[(2.38*(T c -T a )) 0.25 ,(12.1*(v a 0.5 ))] Formula (8)
[0073] Where T c It is the quilt temperature obtained by infrared measurement of air conditioner, the unit is: ℃.
[0074] According to relevant research, the heart rate N, blood pressure Y and body temperature T of the human body change during different sleep stages. r will change, causing its metabolic rate M to change, so M will change in different sleep stages.
[0075] From the above derivation, we can know that the only uncertainty at this time is the change pattern of metabolic rate with heart rate and blood pressure. In order to explore the mapping relationship between them, it can be obtained through neural network mining. This model needs to be trained in advance before leaving the factory. The expression is as follows:
[0076] M=δ(N,Y,T r )+M0 formula (9)
[0077] Where δ represents (N, Y, T r), where we use a generalized regression neural network for modeling, and let K = {N, Y, T r}, the training sample set is [K i ,M i ], i∈[1,n], n is the total number of training samples, K i Represents the sample features obtained, including heart rate N, blood pressure Y, and body temperature T r The combination of different data can be expressed as [N i , Y i ,Tr i ]; M i Represents the sample label, that is, in K i The metabolic rate M measured under the data i The neural network already contains the heart rate N, whose data is contained in the vector K. Then its model can be specifically expressed as:
[0078]
[0079] Here, σ is the smoothing factor, which determines the fitting performance of the model. It is taken as 0.5 here and can be adjusted according to the model fitting performance during training.
[0080] Where M0 is the metabolic rate in the resting state, calculated by formula (6).
[0081] Due to humidity P hi , air velocity v a And the indoor temperature T a Can be measured by air conditioning, heart rate N, blood pressure Y and body temperature T r It can be measured by smart wearable devices, so the only parameters left are those related to the human body covering, namely: the thermal resistance of the clothing I cl , which has not yet been solved, the calculation formula for thermal resistance is as follows:
[0082]
[0083] Where T r is human body temperature, T c is the temperature of the quilt measured by infrared, and g is the heat conduction through the quilt. Therefore, we only need to solve g to solve I cl .
[0084] It can be seen that PMV is related to air humidity, temperature, air velocity, human heart rate N, blood pressure Y and body temperature T r Since different people have different physiques and feel different comfort levels of hot and cold, in order to allow the PMV parameters to be modified according to different users, if X = {P hi ,v a ,T a ,N,Y,Tr ,I cl ,W ei ,H,A}, the model for determining comfort can be expressed as:
[0085] F(X)=β·PMV+ξ Formula (12)
[0086] F(X) is used to correct PMV to make it closer to the user's physique. β can make macro corrections to the model, that is, adjust the change trend of the comfort model, which is called the correction coefficient (or correction factor) β here; ξ can make fine adjustments to the model, that is, correct some model deviations, which is called the error factor ξ here. Among them, the parameters of PMV have been obtained based on the monitored data, so only β and ξ are the parameters to be solved.
[0087] Initialization and correction of comfort model:
[0088] In order to solve or modify the comfort model and make it closer to the user's actual feelings, it is assumed here that the temperature, humidity and wind speed set by the user are environmental parameters that make the user feel comfortable.
[0089] Model initialization
[0090] From the above comfort model, we can see that there are three unknowns: correction coefficient β, error factor ξ and heat conduction g through the quilt. The initial parameters set by the user [T g ,S g ,v g ], T g Indicates the temperature set by the user, S g Indicates the humidity set by the user, v g It represents the wind speed set by the user. It can be considered that this parameter is the parameter value that makes the user feel comfortable and the model does not need to be corrected. Therefore, at this time, it can be considered that the correction coefficient β=1 and the error factor ξ=0, that is, the only unknown number is the thermal conductivity g of the quilt.
[0091] The initial humidity, temperature and wind speed input by the user are brought into the public display. The system determines that the initial temperature set by the user is the temperature that the user feels comfortable with, that is, let F(X) = 0, β = 1, ξ = 0, and thus g can be solved, and then I can be obtained cl , since the user's quilt, clothing, etc. can be considered unchanged when sleeping, I cl It can be saved as a fixed value. When the user's body sensation changes later, the model can be corrected by: correction coefficient β, error factor ξ,
[0092] Model modification
[0093] If the user issues a new command after a period of time, it is considered that the user's body sensation has changed, and it can be considered that the user's body sensation change trend is different from the comfort model. At this time, the comfort model needs to be corrected. At this time, the relevant parameters of the human body [T r ,N,Y], relevant parameters of the environment [T a ,P hi ,v a ] and the instruction [T g ,S g ,v g ], if at this time T g ≥T a , it can be considered that the current ambient temperature makes the user feel cold, and the current ambient parameter [T a ,P hi ,v a ] into the model, and set F(X) = -1, and change the instruction [T g ,S g ,v g ] into the model, and let F(X) = 0. At this time, there are two unknowns in the two equations, so the specific values of the correction coefficient β and the error factor ξ can be solved; if T g <T a , it is considered that the current temperature makes the user feel hot, so the environmental parameter [T a ,P hi ,v a ] into the model and set F(X) = 1, and then set the instruction into the model and set F(X) = 0, and then the specific values of the correction coefficient β and the error factor ξ can be solved. At this time, the model is corrected.
[0094] According to one or more embodiments of the present invention, when T g Indicates the new command temperature issued by the user, T a is the air conditioning temperature before issuing the new command, if T g >T a , it means that the user is warming up the current environment, so it is considered that the user feels cold; that is, the user is warming up the current environment. a This temperature feels cold, and T g This temperature is comfortable.
[0095] According to one or more embodiments of the present invention, if T g >T a , it means that the user is raising the temperature of the environment, so it can be considered that the user is at T a Feeling cold at T g The temperature is comfortable, so [T a ,P hi ,v a] into the function. Since the user feels cold at the temperature Ta, we can set F(X) = -1. Since the temperature set by the user is the temperature that makes the user feel comfortable, that is, at [T g ,S g ,v g ], the user feels comfortable, so F(X) = 0. At this time, two different equations are obtained.
[0096] According to one or more embodiments of the present invention, if T g <T a , which means that the user is cooling the environment, so it is believed that the user is g ,S g ,v g ] Feel the heat, the principle is the same as above, [T a ,P hi ,v a ] into the function of F(X), and let the result of the function be 1, and replace [T g ,S g ,v g ]Substitute the function into F(X) and set the result to 0. At this time, two different equations are established.
[0097] According to one or more embodiments of the present invention, based on the function of F(X), see formula (11), the unknown numbers are the correction coefficient β and the error factor ξ, and based on the user's adjustment of the air-conditioning parameters, the user's demand for cooling and heating can be obtained. The above two equations are established, so F(X) can be solved.
[0098] Figure 5 is a flow chart of initialization and modification of a comfort model according to one or more embodiments of the present invention.
[0099] like Figure 5 As shown, S21: start the initialization and correction of the comfort model F(X), and the model parameters to be solved include: correction coefficient β, error factor ξ and heat conductivity g;
[0100] S22: Receive instruction: Temperature T g , humidity S g , wind speed V g , and obtain information such as gender, age, weight, height, heart rate, blood pressure, body temperature, etc.
[0101] S23: Is it determined whether it is an initial instruction of the air conditioner?
[0102] S24: if the current instruction is an initial instruction of the air conditioner, then the comfort model is initialized;
[0103] S25: Let T a =Tg ;P hi =S g ; V a =V g Correction coefficient β = 1, error factor ξ = 0;
[0104] S26: Solve to get the heat conductivity g, and calculate the thermal resistance I of the clothes and quilt cl ;
[0105] S27: The thermal resistance I cl Save as a fixed value;
[0106] S28: complete the initialization of the comfort model;
[0107] S29: if the current instruction is not the initial instruction of the air conditioner, then modify the comfort model;
[0108] S30: Get current environment-related parameters ambient temperature T a 、Ambient humidity P hi and wind speed v a ;
[0109] S31: Extract the thermal resistance I cl ;
[0110] S32: Determine T a >T g whether it is established;
[0111] S33: If T a >T g The user feels hot, so the ambient temperature T a 、Ambient humidity P hi and wind speed v a Substitute into the model and set: F(X) = 1;
[0112] S34: If T a >T g Not true, the user feels cold, so the ambient temperature T a 、Ambient humidity P hi and wind speed v a Substitute into the model and set: F(X) = -1;
[0113] S35: Let T a =T g ;P hi =S g ; V a =V g ; and set the ambient temperature T a 、Ambient humidity P hi and wind speed v aSubstitute into the comfort model and set: F(X) = 0;
[0114] S36: At this point, two equations and two unknowns are established, and the correction coefficient β and the error factor ξ can be solved;
[0115] S37: Complete the correction of the comfort model.
[0116] Sleep mode logic control
[0117] The control logic of the sleep mode mainly solves and publishes the optimal temperature, humidity and speed. The air conditioner adjusts the compressor frequency, expansion valve opening and speed according to the published instructions. The adjustment logic is executed according to the original logic and is not modified here. The specific logic flow is as follows:
[0118] 1. Awake state
[0119] At this time, the user is awake and can adjust the air conditioner, and the air conditioning system believes that the instructions input by the user are to make the user feel comfortable.
[0120] (1) Mode selection: After turning on the air conditioner, the user can choose whether to enter the sleep mode according to their needs. If the air conditioner does not enter the sleep mode, it will operate in the normal mode. That is, the user inputs a command and the air conditioner performs the corresponding operation according to the command;
[0121] If the user chooses to enter sleep mode, the current time is recorded, and the user sets the current suitable temperature, humidity, wind speed and other parameters. The air conditioning system considers this instruction to make the user feel comfortable, and then obtains information such as gender, age, weight, height, heart rate, blood pressure, body temperature, etc. through the smart wearable device, and turns off the display light;
[0122] According to one or more embodiments of the present invention, when a user sets air conditioning parameters before going to sleep, the user can feel whether the air conditioning is comfortable or not. Therefore, it is reasonable to set the parameters by default to make the user feel comfortable. The comfort model is adaptively adjusted through the initial parameters set by the user, so that the air conditioning can be regulated according to the model after the user falls asleep. The set initial parameters are not the air conditioning parameters after sleep, but are only used to adjust the comfort model. The air conditioning parameters after sleep will be autonomously regulated according to the user's sleep state and environmental state.
[0123] (2) Model initialization: The collected data is input into the comfort model F(X), and then the model is initialized. Since the temperature, humidity and speed set at this time are considered by the system to be the environmental conditions that the user currently feels comfortable, F(X) = 0 is set to solve I cl, at this time, β=1, ξ=0, and the user input command is issued, the air conditioner controls the compressor frequency and expansion valve opening according to the command, and the control logic operates according to the existing control logic (because the control logic of the compressor frequency, expansion valve opening, fan blade speed and humidity follows the existing technology, it will not be repeated here), and the specific initialization process can be seen in the above description;
[0124] (3) Model correction and sleep mode exit: If the user issues a new command during operation, or issues a command to exit the sleep mode, the system will exit directly; if the user changes the temperature, humidity, speed, and other commands, or updates the air conditioning parameters, the model will be corrected. The correction coefficient β and the error factor ξ will be adjusted to correct the model. The calculation method can be found in the model correction section above, so it will not be repeated here. The indoor environment will be adjusted according to the current command issued by the user.
[0125] 2. Sleeping state
[0126] At this point, the user has already fallen asleep, and the quality of the user's sleep needs to be ensured. The air conditioner must be able to adjust itself according to changes in user needs.
[0127] (4) Human body parameter monitoring: If the user does not issue a new instruction, human body information is collected once according to the time interval △t, and the information is brought into the model, thereby updating the model;
[0128] (5) Instruction optimization: After obtaining the updated model, determine whether the model F(X) is equal to 0. If it is equal to 0, it means that the human body's needs have not changed, so continue the previous instruction to maintain the indoor environment; if it is not equal to 0, determine whether F(X) is greater than 0. If it is greater than 0, it means that the user feels hot now. If it is less than 0, it means that the user feels cold. At this time, set F(X) = 0 and set [T a ,P hi ,v a ] is an unknown number, and then the model is optimized by the particle swarm algorithm to solve the current optimal parameters. The parameter range needs to be constrained when solving:
[0129] T min ≤T a ≤T max , P min ≤P hi ≤P max , v min ≤v a ≤v max , 0≤|ΔT|≤3
[0130] Where T min , T max , P min , Pmax and v min 、v max They are the temperature range, humidity range and wind speed range that make the human body feel comfortable, to prevent the optimal value from being obtained outside this range during optimization, which will cause a bad user experience; ΔT is the difference between the optimized solution temperature and the current ambient temperature (the temperature of the last air conditioning instruction), that is, ΔT = T a -T g , thus avoiding large temperature changes, because the human body temperature changes by about 3 degrees during sleep, so the ambient temperature is only allowed to fluctuate between [-3,3] during sleep to avoid over-adjustment. After solving the optimal parameters, the parameters are integerated to make them executable air conditioning instructions, and the instructions are updated: T g =T a , S g =P hi , v g =v a Then, the command is issued to make the air conditioner adjust the compressor frequency and other models according to the new command, and then adjust the indoor environment. This step is performed once every △t time to ensure that the user can have a comfortable sleeping environment in different sleep stages.
[0131] Figure 6 is a logic control flow chart of a sleep mode according to an exemplary embodiment of the present invention.
[0132] like Figure 6 As shown, according to one or more embodiments of the present invention, the logic control of the sleep mode is:
[0133] S41: The air conditioner enters sleep mode;
[0134] S42: Start the current time of sleep mode, set variable t=time, and turn off the display light;
[0135] S43: User preset initial value: temperature T g , humidity S g , wind speed V g ;
[0136] S44: Obtain information such as gender, age, weight, height, heart rate, blood pressure, and body temperature;
[0137] S45: Set command T a =T g ;P hi =S g ; V a =V g ;
[0138] S46: Initialize and modify the comfort model F(X), and solve the model parameters;
[0139] S47: Determine whether F(X)=0 is established in the current setting state;
[0140] S48: Determine whether F(X) is greater than 0;
[0141] S49: If F(x) is greater than zero, then let F(x) = 0, ΔT = T a -T g , where: 0>ΔT>-3; Phi min ≤Phi≤Phi max ;Va min ≤Va≤Va max , jump to step S51;
[0142] S50: If F(x) is greater than zero, then set: F(x) = 0, ΔT = T a -T g , where the conditions are: 0<ΔT<3; Phi min ≤Phi≤Phi max ;Va min ≤Va≤Va max , jump to step S51;
[0143] S51: Simultaneous equations, optimizing and solving air conditioning parameters: temperature T a 、Humidity hi , wind speed V a ;
[0144] S52: Let T g =T a ; S g =P hi ; V g =V a ;
[0145] S53: Issue air conditioning adjustment command: temperature T a 、Humidity hi , wind speed V a ;
[0146] S54: Adjust temperature and humidity according to the original mechanism of the model;
[0147] S55: Determine whether the user issues a new instruction;
[0148] S56: If the user issues a new instruction, determining whether to exit the sleep mode;
[0149] S57: If the user determines to exit the sleep mode, then the sleep mode is exited, and the air conditioner executes the instruction according to other rules;
[0150] S58: If the user does not issue a new instruction, then set t1 = time, Δt <t1-t;
[0151] S59: If the time adjustment reaches time, then set t=t1;
[0152] S60: Update the heart rate N, blood pressure Y, body temperature Tr and other information, and return to step S47;
[0153] S61: If the user has not exited the sleep mode, determine whether to update the temperature T g , humidity S g , wind speed V g ;
[0154] S62: If the user confirms the update, then update: heart rate N, blood pressure Y, body temperature Tr and other information; update T g , humidity S g , wind speed V g , other instructions are not executed, and the process returns to step S46;
[0155] S63: If the user does not update the initial parameter T g , humidity S g , wind speed V g , then the air conditioner follows the original instruction and returns to step S58.
[0156] According to one or more embodiments of the present invention, the particle swarm algorithm is an optimization algorithm based on population behavior. Each particle represents a potential feasible solution. Each particle has two properties: position x and i and speed v i , mark the optimal position of each particle as Pbest(i), the optimal position of the population as gbest(i), and the relationship between each particle and speed is:
[0157] v i+1 =wv i c1rand(j)(P best (i)-x i )+c1rand(j)(g best (i))
[0158] x i =x i +v i
[0159] Formula (13)
[0160] Among them, c1 and c2 are constants, representing the influence factors of particles, ran() is a random value, the domain of j is [0,1], and w represents the inertia weight, reflecting the relationship between the inertia and velocity of particles. In the early stage of optimization, in order to increase the global search ability, a larger weight needs to be assigned, but in the later stage, the accuracy of local search needs to be improved, so a smaller weight is used. To reflect this change in w, its expression is:
[0161]
[0162] where w end =0.4, w start =0.9, the current number of iterations is recorded as t, T max The maximum number of iterations allowed during the iteration process.
[0163] According to one or more embodiments of the present invention, the particle swarm algorithm suitable for the solution of the present invention is:
[0164] The particles in the particle swarm represent [T a ,P hi ,v a ], the objective function can be obtained by transforming the function F(X) in formula (12). Since the particle position closest to 0 is required, the objective function can be expressed as: G(X) = |F(X)| = |β*PMV+ξ|. Then the optimization can be performed according to the following process:
[0165] (1) Initialize particles; (2) Evaluate particle fitness and store the current P best and g best ; (3) Update the particle velocity and displacement according to formulas (13) and (14); (4) Then update P best and g best ; (5) Determine whether the particle is within the constraint range. If so, then; (6) Determine whether the termination condition is met. If so, end the search; if not, return to step (3); (7) The optimal population g after the search is completed best This is the result of optimization.
[0166] According to one or more embodiments of the present invention, the present invention sets the air conditioning parameters in the comfort model as unknowns, optimizes the comfort model through a particle swarm algorithm to obtain an optimal solution for the air conditioning parameters, and controls the air conditioning to regulate the indoor environment according to the optimal solution. The particle swarm algorithm in the present invention can adopt a conventional example swarm algorithm in the prior art. It should be noted that the position of the particles is limited within the constraint range to avoid optimization within an unreasonable range, so that the optimization structure exceeds the expected result.
[0167] Figure 7is a flow chart of an overall control scheme of an air conditioner entering a sleep mode according to an exemplary embodiment of the present invention.
[0168] like Figure 7 As shown, step S71: turning on the air conditioner;
[0169] S72: Determine whether to select the sleep mode;
[0170] S73: If the sleep mode is not selected, the air conditioning will be operated according to the original air conditioning mode and logic;
[0171] S74: If the sleep mode is selected, the air conditioner enters the sleep mode stage;
[0172] S75: The user sets an initial value, and the default initial value is set to make the user feel comfortable;
[0173] S76: Establish data communication with the smart wearable device to collect information such as heart rate, blood pressure, and body temperature: update the data every Δt, and wake up and obtain data immediately when the user issues a new instruction;
[0174] S77: judging the user's comfort level by F(X), where F(X)=0 indicates comfort, F(X)>0 indicates heat, and F(X)<0 indicates cold;
[0175] S78: When F(X)≠0, the current temperature, humidity and wind speed are assumed to be unknown, and F(X)=0, and the particle swarm algorithm is used for optimization and solution to obtain the optimal temperature, humidity and wind speed; when F(X)=0, the current temperature, humidity and wind speed are considered to be the optimal values, and no optimization is required;
[0176] S79: After obtaining the instructions for the optimal wind speed, temperature and humidity, the instructions are issued, and the compressor frequency, the opening of the electronic expansion valve and the fan blade speed are adjusted according to the original logic of the model;
[0177] S80: The air conditioner exits sleep mode.
[0178] According to one or more embodiments of the present invention, the present invention also provides an air conditioning control device, comprising a memory and a processor; the memory is used to store a computer program; the processor is used to implement the above-mentioned air conditioning control method when executing the computer program.
[0179] According to one or more embodiments of the present invention, the present invention further provides an air conditioner, which uses the above-mentioned air conditioner control method, or includes the above-mentioned air conditioner control device.
[0180] According to one or more embodiments of the present invention, the control logic in the present invention can use coded instructions (e.g., computer and / or machine readable instructions) stored on a non-transitory computer and / or machine readable medium (e.g., a hard drive, flash memory, read-only memory, optical disk, digital versatile disk, cache, random access memory and / or any other storage device or storage disk) to implement the processing of the process in the above system of the present invention, and store information for any time period (e.g., an extended period of time, permanent, short-term instance, temporary cache and / or information cache) in the non-transitory computer and / or machine readable medium. As used herein, the term "non-transitory computer readable medium" is explicitly defined to include any type of computer readable storage device and / or storage disk, and excludes propagation signals and excludes transmission media.
[0181] According to one or more embodiments of the present invention, the logic in the system of the present invention can be implemented using a control circuit, (control logic, main control system or control module), which may include one or more processors, and may also include a non-temporary computer-readable medium inside. Specifically, the main control system or control module may include a microcontroller MCU. The processor used to implement the processing of logic in the system of the present invention may be such as but not limited to one or more single-core or multi-core processors. (One or more) processors may include any combination of general-purpose processors and special-purpose processors (for example, graphics processors, application processors, etc.). The processor may be coupled to and / or may include a computer memory / storage device, and may be configured to execute instructions stored in the memory / storage device to implement various applications and / or operating systems running on the controller in the present invention.
[0182] The accompanying drawings and detailed description of the present invention referred to above as examples of the present invention are used to explain the present invention, but do not limit the meaning or scope of the present invention described in the claims. Therefore, those skilled in the art can easily realize modifications from the above description. In addition, those skilled in the art can delete some components described herein without degrading performance, or can add other components to improve performance. In addition, those skilled in the art can change the order of the steps of the method described herein according to the environment of the process or equipment. Therefore, the scope of the present invention should not be determined by the embodiments described above, but by the claims and their equivalents.
[0183] While the invention has been described in connection with what are presently considered to be capable of implementation, it is to be understood that the invention is not limited to the disclosed embodiments, but on the contrary is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. An air conditioning control method, comprising: S1: obtaining the air conditioning parameters initially set by the user and parameters related to the user's body, and establishing a comfort model; S2: inputting the air conditioning parameters initially set by the user and parameters related to the user's body into the comfort model, and determining whether to update the air conditioning parameters according to the calculation result of the comfort model; S3: If the air conditioning parameters are not updated, the air conditioning is controlled according to the air conditioning parameters initially set by the user; If the air conditioning parameters need to be updated, determining updated air conditioning parameter values, and controlling the air conditioning with the updated air conditioning parameter values; The air conditioning parameters initially set by the user include the indoor temperature, indoor air humidity and air flow rate set by the user; the parameters related to the user's body include heart rate, blood pressure and body temperature; The comfort model = F(X) = β·PMV+ξ, where β is a correction factor, which is used to make macro corrections to the comfort model and adjust the change trend of the comfort model; The PMV is a comfort index, and the ξ is an error factor, which has the function of correcting model deviation; The step S1 further includes modifying the comfort model, wherein modifying the comfort model includes: when the user sets new air conditioning parameters, inputting the new air conditioning parameters, air conditioning parameters related to the current air conditioning environment, and parameters related to the user's body into the comfort model, and calculating a modified correction factor and an error factor; The correction factor β and the error factor ξ are obtained in the following manner: the new air-conditioning parameter values and the parameter values related to the user's body are input into the comfort model, and the comfort model is set to 0 to obtain a first equation; the air-conditioning parameters related to the current air-conditioning environment and the parameters related to the user's body are input into the comfort model, and the comfort model is set to 1 or -1 to obtain a second equation. The corrected correction factor and error factor can be obtained by calculating the first equation and the second equation.
2. The method according to claim 1, wherein: The step S1 also includes initializing the comfort model, and the initialization includes: substituting the air-conditioning parameters initially set by the user into the comfort model, and making the comfort model 0, the correction factor 1, and the error factor 0, thereby obtaining the initial parameters in the comfort model.
3. The method according to claim 1, wherein: When the ambient temperature of the new air-conditioning parameter is greater than or equal to the ambient temperature of the air-conditioning parameter related to the current environment of the air-conditioning, the comfort model is -1; When the indoor temperature in the new air-conditioning parameter is lower than the indoor temperature in the air-conditioning parameter related to the current environment of the air-conditioner, the comfort model is 1. 4 . The method according to claim 1 , wherein in the step S3 , when the calculation result is 0, the air conditioning parameters are not updated, and when the calculation result is not 0, the air conditioning parameters are updated.
5. The method according to claim 1, wherein: In step S3, when the calculation result is not 0, the comfort model is set to 0, and the air-conditioning parameters in the comfort model are set to unknown numbers. The comfort model is optimized by the particle swarm algorithm to obtain the optimal solution of the air-conditioning parameters, and the air-conditioning is controlled according to the optimal solution to regulate the indoor environment.
6. The method according to claim 1, wherein: Before step S1, determine whether the control selects the sleep mode or is in the sleep mode. If so, enter step S1. If not, operate according to the original mode and logic of the air conditioner.
7. The method according to claim 1, wherein: The method of obtaining the parameters related to the user's body is to obtain them through a wearable device.
8. An air conditioning control device, comprising a memory and a processor; the memory is used to store a computer program; the processor is used to implement the air conditioning control method according to any one of claims 1 to 7 when executing the computer program.
9. An air conditioner, using the air conditioner control method according to any one of claims 1 to 7, or comprising the air conditioner control device according to claim 8.
