Disclosure of Invention
The present invention is directed to a control method and an air conditioner, which at least partially solve the above technical problems.
To solve the above problems, an aspect of the present invention provides a control method for controlling an operation of an air conditioner when the air conditioner is in a sleep mode, including: judging whether the air conditioner enters a sleep mode or not; if yes, acquiring the near-end skin temperature and the far-end skin temperature of the human body; judging whether a first difference value between the far-end skin temperature and the near-end skin temperature is within a first preset range or not; if so, controlling the air conditioner to operate at the current setting; if not, calculating a first environment temperature required by the first difference value within a first preset range, and setting air conditioner operation parameters according to the first environment temperature; acquiring the core temperature of the human body after the first difference value is within the first preset range for a preset time period; judging whether the absolute value of a second difference value between the core temperature and the optimal sleeping core temperature of the human body is within a second preset range or not; if so, controlling the air conditioner to operate at the current setting; if not, calculating a second ambient temperature required by the absolute value of the second difference value within a second preset range, and setting air conditioner operation parameters according to the second ambient temperature.
Therefore, the sleep mode of the air conditioner is designed into the sleep period control mode and the sleep period control mode, the air conditioner is controlled to operate according to the skin temperature of the far end and the near end of a human body in the sleep period, the air conditioner is controlled to operate according to the current core temperature and the optimal sleep core temperature of the human body in the sleep period, different control modes are adopted for different sleep states, the optimal sleep of a user in each time period can be guaranteed, and user experience is improved.
Optionally, the calculating a first ambient temperature required for the first difference to be within a first preset range includes: and calculating the first environment temperature according to the current environment temperature, the current near-end skin temperature, the current far-end skin temperature and the human body thermal regulation model.
Therefore, based on the current environment temperature and the skin temperature, the indoor environment temperature required by the user to fall asleep better can be accurately calculated by combining the human body thermal regulation model, and the current optimal operation parameters of the air conditioner are obtained.
Optionally, the calculating the second ambient temperature required for the absolute value of the second difference to be within a second preset range includes: and calculating the second environment temperature according to the current environment temperature and the human body thermal regulation model.
Therefore, based on the current ambient temperature and in combination with the human body thermal regulation model, the indoor ambient temperature required by the user for optimal sleep in the sleep period can be accurately calculated, and the current optimal operating parameters of the air conditioner are obtained.
Optionally, the determining whether an absolute value of a second difference between the core temperature and the optimal core temperature for sleeping in the human body is within a second preset range includes: acquiring the core temperature of human sleep in non-air-conditioning use seasons; and fitting a human body optimal sleep core temperature curve according to the core temperature of the human body in the non-air-conditioning use season to obtain the human body optimal sleep core temperature.
Therefore, the optimal sleep temperature curve is obtained by collecting the human body temperature in the sleep state in the non-air-conditioning season, and the optimal temperature control curve is fitted, so that the sleep quality of the user can be improved.
Optionally, the setting of the air conditioner operation parameter according to the first ambient temperature includes: when the air conditioner is used for refrigerating, if the first difference value is larger than the upper limit of the first preset range, the wind direction of the air conditioner is adjusted to the far-end skin; and if the first difference is smaller than the upper limit of the first preset range, adjusting the wind direction of the air conditioner to the near-end skin.
Therefore, the wind direction of the air conditioner is adjusted according to the current skin temperature of the far end and the near end of the human body, so that the human body can quickly reach the optimal sleeping state and can better fall asleep.
Optionally, the control method further includes: calculating the time for the current core temperature of the human body to reach the optimal sleep core temperature according to the human body regulation thermal model; and setting the time for repeatedly acquiring the core temperature of the human body according to the time, and comparing the acquired core temperature of the human body with the optimal sleep core temperature of the human body at the time.
Optionally, when the current core temperature of the human body is greater than the optimal sleep core temperature, repeatedly acquiring the core temperature of the human body after an interval t2/3 and comparing the core temperature with the optimal sleep core temperature of the human body; when the current core temperature of the human body is less than the optimal sleep core temperature, repeatedly acquiring the core temperature of the human body after an interval t2/2 and comparing the core temperature with the optimal sleep core temperature of the human body, wherein t2Is the time for the current core temperature to reach the optimal sleep core temperature.
Therefore, the human body core temperature is continuously changed, the optimal temperature value in the optimal core temperature curve is also changed, the air conditioner setting parameters are continuously adjusted by monitoring the human body core temperature in real time, the human body sleeping temperature is basically consistent with the optimal sleeping core temperature, the optimal sleeping environment is obtained, and the control accuracy is improved.
Optionally, the control method further includes: under the refrigeration condition, when the current core temperature of the human body is higher than the optimal sleep core temperature, the rotating speed of a fan of the air conditioner is increased; when the current core temperature of the human body is lower than the optimal sleep core temperature, reducing the rotating speed of a fan of the air conditioner; under the heating condition, when the current core temperature of the human body is higher than the optimal sleep core temperature, the rotating speed of a fan of the air conditioner is reduced; and when the current core temperature of the human body is lower than the optimal sleep core temperature, increasing the rotating speed of a fan of the air conditioner.
Therefore, different control modes can be implemented in different seasons according to different human cold and heat feelings, and user experience is improved.
Optionally, the first preset range is-1 to 1 ℃, and the second preset range is 0 to 0.2 ℃.
Therefore, the temperature difference value ranges judged by different sleep modes are reasonably designed, the accuracy of the control method can be improved, accurate control is realized, and the optimal sleep of a human body is guaranteed.
Still another aspect of the present invention provides an air conditioner including a computer-readable storage medium storing a computer program and a processor, the computer program being read and executed by the processor to perform the control method described above. The air conditioner has the advantages of the control method, and the detailed description is omitted.
Detailed Description
In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an air conditioner sleep mode control method based on a human body heat regulation model, which is characterized in that the air conditioner is controlled to operate according to the skin temperature at the far end and the near end in the sleep period, and the air conditioner is controlled to operate according to the current core temperature of a human body and the optimal core temperature of the human body in the sleep period. The control method can ensure that the user can fall asleep better, has better sleep quality in the sleep period, and improves the user experience. The following description will be given with reference to specific examples.
Example one
Fig. 1 schematically shows a flowchart of a control method according to a first embodiment of the present invention, and fig. 2 schematically shows a control pattern diagram of an air conditioner according to a first embodiment of the present invention, and as shown in fig. 1 and 2, the control method may include operations S101 to S109, for example.
And S101, judging whether the air conditioner enters a sleep mode or not.
If not, controlling the air conditioner to continuously execute the normal cooling and heating mode. If yes, operation S102 is performed.
S102, acquiring the near-end skin temperature and the far-end skin temperature of the human body.
In the above operation S102, the data acquisition module completes the near-end skin temperature and the far-end skin temperature of the human body. The data acquisition module can comprise an indoor environment acquisition module and a user physiological parameter acquisition module. The indoor environment acquisition module can adopt an indoor environment monitor to acquire environmental parameters such as indoor temperature distribution, wind speed and the like. The user inputs a human body image before use, names the human body image and distinguishes different positions, the image acquisition and analysis system can judge the near-far end position of the human body according to the input image, and the infrared thermal imaging technology is used for acquiring infrared energy emitted by different physics and analyzing the body surface temperature of the user to obtain the near-far end skin temperature. The user physiological parameter acquisition module can be a currently existing bracelet, wherein the physiological parameters comprise heart rate, metabolism rate and the like. The sleep state of the user can be judged according to the physiological parameters, such as shallow sleep, deep sleep and the like.
After the air conditioner enters the sleep mode, a certain temperature (e.g., 0.5 ℃) is lowered based on the current temperature set by the user during the falling asleep period, and then the near-end skin temperature and the far-end skin temperature are measured after a certain period of time (e.g., 5 min). In this embodiment, the skin temperature of the chest is used as the proximal skin temperature, and the skin temperature of the feet is used as the distal skin temperature.
S103, judging whether a first difference value between the far-end skin temperature and the near-end skin temperature is within a first preset range.
Studies have shown that a human body is more likely to fall asleep in a relatively cool environment, and is more likely to fall asleep when DPG (DPG ═ distal skin temperature — proximal skin temperature) is at-1 to 1 ℃ (preferably greater than zero), i.e., the first predetermined range may be-1 to 1 ℃, and is preferably 0 to 1 ℃.
If yes, operation S104 is performed, and if no, operation S105 is performed.
And S104, controlling the air conditioner to operate at the current setting.
If the DPG is in the range of-1 to 1 ℃, the indoor environment temperature is the proper temperature for the human body to fall asleep, so that the current operation state of the air conditioner needs to be maintained to ensure that the user falls asleep better. The holding time period may be, for example, 20 to 30 min. And when the user completely falls asleep, namely the current state is kept for 20-30 min, the air conditioner enters a sleep period control mode.
And S105, calculating a first environment temperature required by the first difference value within a first preset range, and setting air conditioner operation parameters according to the first environment temperature.
If the DPG is not in the range of-1 to 1 ℃, the current indoor environment temperature is not suitable for the user to sleep better. At this time, the data processing module can calculate the environmental temperature required by meeting the conditions according to the current environmental temperature, the human skin temperature and the human body thermal regulation model, and then the air conditioner control module sets the operating parameters of the air conditioner according to the environmental temperature required to be reached, so that the actual indoor environmental temperature reaches the environmental temperature required by calculation. And, record a specific time t to reach the desired state1(min). After a certain time, the operation is continued (30-t)1) min, and then entering a sleep period air conditioner control mode.
The adjusted parameter can be the temperature of the air conditioner, and can also be the wind speed, the wind direction and the like. In some embodiments of the present invention, when the air conditioner is in cooling mode, the wind direction is adjusted to the far skin to reach the optimum state faster if DPG > 1, and adjusted to the near skin if DPG < 1.
And S106, acquiring the core temperature of the human body after the first difference value is within a first preset range for a preset time period.
The first difference value is located in a first preset range for a preset time period to indicate that the user enters the sleep period from the sleep period, and at the moment, the air conditioner starts a sleep period control mode and controls the operation of the air conditioner according to the core temperature of the human body. The preset time period is, for example, 20 to 30 min. The core temperature of the human body can also be obtained through the data acquisition module, and when the air conditioner enters a sleep control period, the current core temperature of the human body can be obtained by measuring the current environmental parameter value.
S107, judging whether the absolute value of a second difference value between the core temperature and the optimal sleep core temperature of the human body is in a second preset range.
The human body has different cold and heat feelings and is divided into spring and summer and autumn and winter. When sleeping in summer, the ambient temperature is too high, so that the night is not easy to fall asleep quickly, and when sleeping in winter, the ambient temperature is too low, so that the night is not easy to fall asleep quickly, and the waking in the morning is also difficult. So that the optimum core temperature for sleeping of the human body is obtained according to the core temperature of the human body when sleeping in the season of non-air-conditioning use, such as spring and autumn. Specifically, the core temperature curve of the user in the optimal sleep is fitted to the collected core temperature of the human body in the historical non-air-conditioning use season during sleep. For example: in the season of non-air-conditioning use, the core temperature of the human body is measured every hour from 22 o 'clock to 8 o' clock in the next day, the temperature data of every day is recorded, and the temperature value of every hour is averaged. Finally, the temperature at each time is fitted to the optimal core temperature curve by a trigonometric function. Research shows that the core temperature of the human body is close to a trigonometric function, and the trigonometric function is used for fitting a night sleep temperature curve. Determining a sine function

In x
1,x
2.x
3The value of (c). For the measured points, (22, T1), (24, T2), (02, T3.) the equation is calculated
At a minimum, i.e.
When k is 0, 1, 2, the condition is satisfied. Solving the above equation to obtain x
1,x
2.x
3To obtain a core temperature change curve.
After the air conditioner enters the sleep mode, the core temperature of the human body is monitored in real time, and compared with the optimal sleep core temperature, if the difference value is within a second preset range, the optimal sleep condition of the user is met, and then operation S108 is performed. If the difference is not within the second preset range, the optimal sleep condition of the user is not satisfied, and operation S109 is performed. In some embodiments of the present invention, the second predetermined range may be 0 to 0.2 ℃.
And S108, controlling the air conditioner to operate at the current setting.
And S109, calculating a second ambient temperature required by the absolute value of the second difference value within a second preset range, and setting air conditioner operation parameters according to the second ambient temperature.
If the difference is not within the second preset range, the current ambient temperature needs to be adjusted. And combining the human body thermal regulation model and the current environmental parameters to obtain the environmental temperature required by reaching the optimal core temperature so as to regulate the air conditioner setting. Specifically, in the human body thermal regulation model, the temperature is set as a variable, and the output core temperature is a constant value, so that the temperature required for reaching the target core temperature is obtained. Such as: the current environment temperature is 27 ℃, the wind speed is 0.2m/s, the core temperature of the human body under the current environment can be obtained to be 36.8 ℃, if the optimal sleep core temperature is 36.2 ℃, the target core temperature can be set to be 36.2 ℃ in the model, meanwhile, other variables except the temperature are kept unchanged, the environment temperature required by reaching the target core temperature can be obtained, and the set temperature of the air conditioner can be obtained.
The air speed can be adjusted while setting the operating parameters of the air conditioner according to the environment temperature required by the optimal core temperature, and the rotating speed of a fan of the air conditioner is increased under the refrigeration condition when the current core temperature of a human body is higher than the optimal sleep core temperature; and when the current core temperature of the human body is lower than the optimal sleep core temperature, reducing the rotating speed of a fan of the air conditioner. Under the heating condition, when the current core temperature of the human body is higher than the optimal sleep core temperature, the rotating speed of a fan of the air conditioner is reduced; and when the current core temperature of the human body is lower than the optimal sleep core temperature, the rotating speed of a fan of the air conditioner is increased. For example, under the cooling condition, when the current temperature is higher, the rotation speed of the internal machine is increased by 50 revolutions, and when the current temperature is lower, the rotation speed is decreased by 50 revolutions.
In addition, as the core temperature of the human body is changing constantly, the optimal temperature value in the optimal core temperature curve is also changing. In order to achieve the most accurate control, the time t for the current core temperature of the human body to reach the optimal sleep core temperature is calculated according to the human body regulation thermal model2According to time t2The time for repeatedly acquiring the core temperature of the human body is set, and at the time, the acquired core temperature of the human body is compared with the optimal sleep core temperature of the human body. Specifically, when the current body temperature is greater than the optimal core temperature, at t2(t is the current body temperature is less than the optimal core temperature)2And/2) detecting the core temperature of the human body again to compare with the optimal core temperature, and repeating the steps S106 to S109. Continuously adjusting the set parameters of the air conditioner to make the sleeping temperature of the human body basically coincide with the optimal sleeping core temperature so as to obtain the optimal sleeping environment.
The human body thermal regulation model that adopts among the above-mentioned control process is 24 node models, and the model divides the human body into head, truck, arm, hand, shank, 6 parts of foot, and every part divide into 4 layers: core layer, muscle layer, fat layer, skin layer. Heat exchange between the human body and the environment includes evaporative heat exchange, convective heat exchange, and radiant heat exchange. The model is divided into different groups according to different populations, such as age, gender and the like, but is consistent in implementation. The concrete expression is as follows:
breathing and heat exchange:
evaporation and heat dissipation of sweat: e (i, 4) ═ EB (i, 4) + skins (i) × SWEAT × Q10(i,4)
EMAX(i)=(PSKIN(i))-Pair×2.2×(ht-hr×S(i))
E (i, 4) ═ emax (i), when E (i, 4) > emax (i)
Wherein SKINS (i) is the weighting coefficient of the skin layer of each part.
Convection and radiant heat exchange: qt(i,4)=ht×(T(i,4)-Ta)×S(i)
Wherein h istIs the total heat exchange coefficient of the skin surface and the environment, hrIs the radiant heat transfer coefficient, hcIs the convective heat transfer coefficient, VaIs the air flow rate. The coefficients of the respective portions are shown in table 1.
TABLE 1
Thermal equilibrium equation for each node:
core layer:
muscle layer:
fat layer:
skin layer:
in summary, the present embodiment provides a control method, in which a sleep mode of an air conditioner is designed as an in-sleep control mode and a sleep control mode, the air conditioner is controlled to operate according to the skin temperature of the far end and the near end of the human body during the in-sleep period, the air conditioner is controlled to operate according to the current core temperature and the optimal sleep core temperature of the human body during the sleep period, and different control modes are adopted for different sleep states, so that the optimal sleep of a user at each time interval can be ensured, and user experience is improved. And in the control process, the operation parameters of the air conditioner are adjusted based on the human body thermal adjustment model and the environmental parameters, and the optimal sleep temperature curve is obtained by collecting the human body temperature in the non-air-conditioning seasonal sleep state, so that the control parameters more in line with the sleep of the user are obtained. In addition, the core temperature of the human body is monitored in real time, so that the changed core temperature of the human body and the optimal sleep core temperature are met, and the control accuracy is improved.
Example two
The present embodiment provides an air conditioner, which includes a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to perform the control method described above. The air conditioner has the advantages of the control method, and the detailed description is omitted.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.