CN113028605B - Temperature control method and system - Google Patents

Temperature control method and system Download PDF

Info

Publication number
CN113028605B
CN113028605B CN202110137598.9A CN202110137598A CN113028605B CN 113028605 B CN113028605 B CN 113028605B CN 202110137598 A CN202110137598 A CN 202110137598A CN 113028605 B CN113028605 B CN 113028605B
Authority
CN
China
Prior art keywords
temperature
sleeper
air conditioner
current
sleeping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110137598.9A
Other languages
Chinese (zh)
Other versions
CN113028605A (en
Inventor
黄阳阳
崔鸣
刘伟
华英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Vocational University
Original Assignee
Suzhou Vocational University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Vocational University filed Critical Suzhou Vocational University
Priority to CN202110137598.9A priority Critical patent/CN113028605B/en
Publication of CN113028605A publication Critical patent/CN113028605A/en
Application granted granted Critical
Publication of CN113028605B publication Critical patent/CN113028605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • F24F11/66Sleep mode
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2120/00Control inputs relating to users or occupants
    • F24F2120/10Occupancy

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a temperature control method, in the scheme, a processor firstly acquires the current temperature of a sleeper in the sleeping process, if the duration time that the current temperature is lower than the lowest comfortable temperature threshold is longer than the preset time, the sleeper feels colder in the sleeping process, and at the moment, the processor sends a control command to an air conditioner controller so that the air conditioner can carry out corresponding temperature adjustment based on the control command. Therefore, the method can monitor the current temperature of the sleeper in the sleeping process in real time, further judge whether the sleeper feels colder in the sleeping process, automatically regulate and control the temperature of the air conditioner when judging that the sleeper feels colder in the sleeping process, and improve the comfort and the sleeping quality of the sleeping process. The invention also discloses a temperature control system which has the same beneficial effects as the temperature control method.

Description

Temperature control method and system
Technical Field
The present invention relates to the field of temperature control, and in particular, to a temperature control method and system.
Background
When the air conditioner is turned on in summer for sleeping, the metabolism state of a human body in the sleeping process can be gradually slowed down from the initial exuberance, so that the air conditioner temperature set according to the lower heat demand temperature in the early sleep stage can cause the problems of cold feeling, sleep interruption and the like of the human body along with the rise of the heat demand temperature in the middle and later sleep stages, and the sleeping quality is influenced.
Disclosure of Invention
The invention aims to provide a temperature control method and a temperature control system, which can monitor the current temperature of a sleeper in the sleeping process in real time, further judge whether the sleeper feels colder in the sleeping process, automatically realize the regulation and control of the temperature of an air conditioner when judging that the sleeper feels colder in the sleeping process, and improve the comfort and the sleeping quality in the sleeping process.
In order to solve the above technical problem, the present invention provides a temperature control method, including:
acquiring the current temperature of a sleeper in the sleeping process;
judging whether the duration time that the current temperature is lower than the lowest comfortable temperature threshold value is longer than preset time or not;
if so, sending a control command to an air conditioner controller so that the air conditioner can carry out corresponding temperature adjustment based on the control command;
if not, returning to the step of acquiring the current temperature of the sleeper in the sleeping process.
Preferably, acquiring the current temperature of the sleeper in the sleeping process comprises:
and taking the layer temperature of the sleeper cover acquired by the temperature sensor as the current temperature of the sleeper in the sleeping process.
Preferably, the temperature sensor is a plurality of temperature sensors;
before acquiring the current temperature of the sleeper in the sleeping process, the method further comprises the following steps:
judging whether a plurality of current temperatures of the sleeper obtained by the plurality of temperature sensors in the sleeping process are all larger than a temperature threshold value;
if so, judging that the sleeper is in a position to be detected, and entering the step of acquiring the current temperature of the sleeper in the sleeping process;
if not, returning to the step of judging whether the current temperatures of the sleeper acquired by the temperature sensors in the sleeping process are all larger than the temperature threshold.
Preferably, the sleep session comprises a deep sleep session;
the determination process of the lowest comfortable temperature threshold value comprises the following steps:
acquiring test temperatures of N sleepers to be tested at preset different environmental temperatures at preset moments before the N sleepers to be tested respectively enter the deep sleep process;
and taking the minimum value of the N test temperatures as the lowest comfortable temperature threshold, wherein N is a positive integer.
Preferably, the determination process of the preset time is as follows:
taking the moment when the current temperature of the sleeper to be tested is lower than the lowest comfortable temperature threshold value as the starting moment, and taking the moment when the sleeper to be tested is awakened cold as the ending moment; wherein, at all times between the starting time and the ending time, the current temperature of the sleeper to be tested is lower than the lowest comfortable temperature threshold;
acquiring N starting moments of N sleepers to be detected and N termination moments which are in one-to-one correspondence with the N starting moments;
determining N test times based on N starting moments of N sleepers to be tested and N ending moments which are in one-to-one correspondence with the N starting moments;
and taking the minimum value of the N test times as the preset time, wherein N is a positive integer.
In order to solve the above technical problem, the present invention further provides a temperature control system, including:
a memory for storing a computer program;
a processor for implementing the steps of the temperature control method as described above when executing the computer program.
Preferably, the temperature control system further comprises:
the temperature sensor is arranged on the quilt and connected with the processor and used for determining the current temperature of the sleeper in the sleeping process and the testing temperature of the sleeper to be tested so that the processor can obtain the current temperature and the testing temperature;
and the air conditioner controller is connected with the processor and is used for controlling the air conditioner to carry out corresponding temperature adjustment based on the control command sent by the processor.
Preferably, the temperature control system further comprises:
the gateway coordinator is connected with the temperature sensor, the processor and the air conditioner controller and is used for storing data acquired by the temperature sensor and realizing communication between the temperature sensor and the processor and communication between the processor and the air conditioner controller;
the data collected by the temperature sensor comprise the current temperature of the sleeper in the sleeping process and the test temperature of the sleeper to be tested.
The invention provides a temperature control method, in the scheme, a processor firstly acquires the current temperature of a sleeper in the sleeping process, if the duration time that the current temperature is lower than the lowest comfortable temperature threshold is longer than the preset time, the sleeper feels cold in the sleeping process is indicated, and at the moment, the processor sends a control command to an air conditioner controller so that the air conditioner can carry out corresponding temperature adjustment based on the control command. Therefore, the method can monitor the current temperature of the sleeper in the sleeping process in real time, further judge whether the sleeper feels colder in the sleeping process, automatically realize the regulation and control of the air conditioner temperature when judging that the sleeper feels colder in the sleeping process, and improve the comfort and sleeping quality of the sleeping process.
The invention also provides a temperature control system which has the same beneficial effects as the temperature control method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a process flow diagram of a temperature control method provided by the present invention;
FIG. 2 is a schematic diagram of a sensor distribution according to the present invention;
FIG. 3a is a graph of the sleep state of a subject versus the change in average heart rate in a typical scenario 1 provided by the present invention;
FIG. 3b is a graph of the change in average heart rate versus sleep state of the subject in exemplary scenario 2 provided by the present invention;
FIG. 3c is a graph of the sleep state of a subject versus the change in average heart rate in an exemplary scenario 3 provided by the present invention;
FIG. 4a is a schematic front view of a temperature sensor according to the present invention;
FIG. 4b is a schematic rear view of a temperature sensor according to the present invention;
FIG. 4c is a schematic side view of a temperature sensor according to the present invention;
FIG. 5a is a schematic front view of a temperature sensor housing according to the present invention;
FIG. 5b is a schematic rear view of a temperature sensor housing according to the present invention;
FIG. 5c is a side schematic view of a temperature sensor housing according to the present invention;
fig. 6a is a schematic diagram of a sleep state and a temperature change of a sleeper to be tested in a typical scenario 1 according to the present invention;
fig. 6b is a schematic diagram of the sleep state and the temperature change of the sleeper to be tested in the typical scenario 2 according to the present invention;
fig. 6c is a schematic diagram of the sleep state and the temperature change of the sleeper to be tested under the typical scenario 3 according to the present invention;
FIG. 7 is a schematic diagram of the temperature distribution of the temperature sensor 5 minutes before the sleeper to be tested enters the deep sleep process;
FIG. 8 is a schematic diagram of the temperature distribution of the temperature sensor 5 minutes before the sleeper to be tested is awakened cold;
fig. 9 is a schematic structural diagram of an air conditioner controller according to the present invention;
fig. 10 is a schematic structural diagram of a gateway coordinator according to the present invention.
Detailed Description
The core of the invention is to provide a temperature control method and a temperature control system, which can monitor the current temperature of a sleeper in the sleeping process in real time, further judge whether the sleeper feels colder in the sleeping process, automatically realize the regulation and control of the air conditioner temperature when judging that the sleeper feels colder in the sleeping process, and improve the comfort and the sleeping quality in the sleeping process.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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.
Referring to fig. 1 and fig. 2, fig. 1 is a process flow chart of a temperature control method provided by the present invention, fig. 2 is a schematic diagram of a sensor distribution position provided by the present invention, fig. 3a is a graph illustrating a relationship between a sleep state of a subject and a change in an average heart rate in a typical scenario 1 provided by the present invention, fig. 3b is a graph illustrating a relationship between a sleep state of a subject and a change in an average heart rate in a typical scenario 2 provided by the present invention, and fig. 3c is a graph illustrating a relationship between a sleep state of a subject and a change in an average heart rate in a typical scenario 3 provided by the present invention.
The method comprises the following steps:
s11: acquiring the current temperature of a sleeper in the sleeping process;
s12: judging whether the duration time that the current temperature is lower than the lowest comfortable temperature threshold value is longer than preset time or not;
if yes, enter S13:
s13: sending a control command to an air conditioner controller so that the air conditioner can perform corresponding temperature adjustment based on the control command;
if not, the process returns to step S11.
The modern society has higher and higher requirements on the quality of life, and the high-quality sleep is related to the mental state, the working efficiency and the physical health of people. A person sleeps for about one third of his life, and good sleep is critical to maintaining physical and mental well-being of the human body. However, the metabolism state of the human body in the sleeping process gradually slows down from the initial exuberance, so that the air conditioner temperature set according to the lower heat demand temperature in the early sleep stage can cause the problems of cold feeling, sleep interruption and the like of the human body along with the rise of the heat demand temperature in the middle and later sleep stages, and the sleeping quality is influenced. The air conditioner is used as common high-energy-consumption equipment in a family, and the lower set temperature also increases the energy consumption to a certain extent, so that the air conditioner is not beneficial to environmental protection, energy conservation and emission reduction. In addition, some needs of the prior art scheme install communication module additional at the air conditioner, do not conform to the reality situation that most air conditioners do not support communication module in the existing market.
Based on this, in this embodiment, the processor first obtains the current temperature of the sleeper during the sleep process, and if the duration that the current temperature is lower than the lowest comfortable temperature threshold is greater than the preset time, it indicates that the sleeper experiences a partial cold during the sleep process, and at this time, the processor sends a control command to the air conditioner controller, so that the air conditioner performs corresponding temperature adjustment based on the control command.
It should be noted that the temperature control system typically further includes a temperature sensor capable of monitoring the ambient temperature in the room. The air conditioner performs corresponding temperature adjustment based on the control command, specifically, if the ambient temperature is less than or equal to 25.5 ℃, the processor regulates and controls the temperature of the air conditioner to 26 ℃, and the air conditioning mode is mode refrigeration and automatic wind speed; if the environmental temperature is more than 25.5 ℃ and less than or equal to 26.5 ℃, the processor regulates and controls the air-conditioning temperature to 27 ℃, and the air-conditioning mode is mode refrigeration and automatic wind speed; if the environmental temperature is higher than 26.5 ℃ and lower than or equal to 27.5 ℃, the processor regulates the air-conditioning temperature to 28 ℃, and the air-conditioning mode is mode refrigeration and automatic wind speed; if the ambient temperature is more than or equal to 27.5 ℃, the processor regulates and controls the air-conditioning temperature to 28 ℃, and the air-conditioning mode is a mode refrigeration and wind speed first-level mode.
Of course, the manner in which the air conditioner adjusts the temperature based on the control command is not limited to the above manner, and the application is not limited thereto.
In conclusion, the method can monitor the current temperature of the sleeper in the sleeping process in real time, further judge whether the sleeper feels colder in the sleeping process, automatically regulate and control the temperature of the air conditioner when judging that the sleeper feels colder in the sleeping process, and improve the comfort and the sleeping quality of the sleeping process.
Referring to fig. 4a, fig. 4b, fig. 4c, fig. 5a, fig. 5b, fig. 5c, fig. 6a, fig. 6b and fig. 6c, fig. 4a is a schematic front view of a temperature sensor provided by the present invention, fig. 4b is a schematic back view of a temperature sensor provided by the present invention, fig. 4c is a schematic side view of a temperature sensor provided by the present invention, fig. 5a is a schematic front view of a temperature sensor housing provided by the present invention, fig. 5b is a schematic back view of a temperature sensor housing provided by the present invention, fig. 5c is a schematic side view of a temperature sensor housing provided by the present invention, fig. 6a is a schematic diagram of a sleep state and a temperature change of a sleeper to be tested in a typical scene 1 provided by the present invention, fig. 6b is a schematic diagram of a sleep state and a temperature change of a sleeper to be tested in a typical scene 2 provided by the present invention, fig. 6c is a schematic diagram of the sleep state and the temperature change of the sleeper to be tested in the typical scenario 3 according to the present invention.
On the basis of the above-described embodiment:
as a preferred embodiment, acquiring the current temperature of the sleeper during the sleeping process includes:
and taking the layer temperature covered by the sleeper acquired by the temperature sensor as the current temperature of the sleeper in the sleeping process.
It should be noted that, physiologically, when a human body is in a comfortable state, the human body is in a balanced state with no thermoregulatory activity (no chills, sweat secretion, etc.), moderate peripheral blood flow, no excessive heat loss or heat storage in the body, and good subjective feeling, and at this time, the human body is in a state of minimum energy consumption. Most heat of a sleeping human body is dissipated by means of heat radiation, heat conduction and heat convection with the environment, and the heat dissipated by means of water evaporation and breathing and other means accounts for a very small amount. Factors such as bedding materials, mat materials, human metabolic rate, environmental temperature and humidity can all influence the comfort of a sleeping human body.
At present, the research of related thermal comfort models is mainly developed aiming at the waking human body, and can be used for predicting the thermal response of the human body before falling asleep and when waking up. However, the thermal comfort requirements of a person in a sleeping state are somewhat different from those in a waking state. Therefore, the project establishes a human body thermal comfort zone-air conditioner regulation and control logic model which can be suitable for a real sleep stage by collecting data such as a sleep state, sleep quality, a heart rate, indoor environment temperature and humidity, and a tegument environment temperature and humidity under a real sleep condition. Therefore, the device helps to recognize and predict the thermal comfort zone of the human body in the sleeping state, controls an air conditioner and the like to adjust the indoor environment, and ensures the comfort in the sleeping process.
In the scheme, 3 healthy adult male subjects are selected firstly, wherein the age interval is 21-35 years old, and the BMI (Body Mass Index) interval is 21.3 +/-1.4. The test materials comprise bedding, a mattress, a four-piece set, a pillow, a summer sleeping mat and short-sleeved pajamas. The micro temperature and humidity sensors are implanted on the silk quilt silk wadding sleeve (commonly called as the inner container) for collection, and considering that the temperature close to the chest, the abdomen and the legs of a human body possibly has difference, the number of implanted sensors is set to be 3, the sensors are longitudinally arranged along the middle line and transversely arranged in trisection, and the specific positions are shown in figure 2.
During the real sleep process at night of a tester, the wrist wears the millet bracelet 2 to collect sleep state and heart rate data at night, after the sleep test is finished, related test data in the Mi Band Notify synchronous millet bracelet are applied by a third party in a mobile mode, the sleep and heart rate data are analyzed by the Mi Band Notify mode, the version of a sleep analyzer is selected to be 4.7, the sleep analysis level is selected to be ultra-accurate, and data such as sleep quality evaluation, sleep state and average heart rate in sleep state time period are generated after the analysis is finished.
In an actual sleep test, a subject is generally controlled to set the air conditioner temperature at 25 ℃ or 26 ℃ in a sleep preparation stage, and the air conditioner temperature is autonomously heated due to cold feeling in the night sleep process. From a plurality of sleep test results, a sample with a better sleep quality comprehensive evaluation result of Mi Band Notify software and a sleep evaluation score of millet sports APP higher than 80 is screened out, and 3 typical scenes are combed as follows:
typical scenario 1: the air conditioning temperature is 25 ℃ in the sleep preparation stage, and the air conditioning temperature is controlled to be 27 ℃ after a subject feels cool in the sleep process;
typical scenario 2: the air-conditioning temperature is 25 ℃ in the sleep preparation stage, the air-conditioning temperature is adjusted to 26 ℃ by the subject after the subject feels cool in the sleep process, the air-conditioning temperature is adjusted to 27 ℃ by the subject after the subject wakes up again in the latter half night, and the comprehensive evaluation result of the sleep quality is better;
typical scenario 3: the air-conditioning temperature is 26 ℃ in the sleep preparation stage, the air-conditioning temperature is adjusted to 27 ℃ by the testee after the testee feels cold in the sleep process, and the comprehensive evaluation result of the sleep quality is better.
As can be seen from fig. 3a, 3b and 3c, the analysis results of the bracelet sleep data include three sleep states, namely waking state, light sleep state and deep sleep state. After a sleep preparation stage (waking), the subject enters a sleep state with alternate light sleep and deep sleep, and the occurrence frequency, duration, occurrence time and the like of the deep sleep are not fixed.
In addition, there is a certain regularity between the average heart rate and the sleep stage during sleep. The average heart rate in the sleep preparation stage (waking) is relatively highest and reaches about 65 bpm; after the sleeping state is entered, the average heart rate is wholly in the trend of descending and becoming stable, and the average heart rate is mostly fluctuated at a lower level of about 50bpm in the sleeping process; the trough in average heart rate, often occurring during deep sleep periods; in the sleeping process, the condition that the patient is waken up due to cold body feeling of the patient occurs, the average heart rate in the waken period rapidly rises to be more than 60bpm, and the average heart rate is reduced to a lower level after the patient falls asleep again.
Because the heart rate of a human body has strong correlation with metabolism, the metabolism of the human body can be relatively highest in the sleep preparation stage (waking stage), and the metabolism of the human body is relatively low after the human body enters a sleep state.
As a preferred embodiment, the temperature sensor is plural;
before acquiring the current temperature of the sleeper in the sleeping process, the method further comprises the following steps:
judging whether a plurality of current temperatures of the sleeper acquired by the temperature sensors in the sleeping process are all larger than a temperature threshold value;
if so, judging that the sleeper is in the position to be detected, and entering the step of acquiring the current temperature of the sleeper in the sleeping process;
if not, returning to the step of judging whether the current temperatures of the sleeper acquired by the temperature sensors in the sleeping process are all larger than the temperature threshold.
It is considered that the sensor can detect a more accurate temperature value only when the sleeper is in the position to be detected. In the scheme, if a plurality of current temperatures of the sleeper obtained by a plurality of temperature sensors in the sleeping process are all larger than a temperature threshold value, the sleeper is judged to be in a position to be detected, then the current temperature of the sleeper in the sleeping process is obtained, whether the duration time that the current temperature is lower than the lowest comfortable temperature threshold value is longer than preset time is judged, and whether the air conditioner temperature needs to be adjusted is further judged.
It should be noted that, in consideration of the normal range of the human body temperature, the temperature threshold is usually set to 30.4 ℃, that is, when the plurality of current temperatures of the sleeper obtained by the plurality of temperature sensors during the sleep process are all higher than 30.4 ℃, it is determined that the sleeper is in the position to be detected.
Of course, the temperature threshold is not limited to be set to 30.4 ℃, and the specific value of the temperature threshold can be set according to practical situations, and the application is not particularly limited herein.
It should be noted that the plurality of sensors are disposed near the chest, abdomen, and legs of the human body, but the position of the sensors is not limited to this embodiment, and the present application is not limited thereto.
Referring to fig. 7, fig. 7 is a schematic diagram of temperature distribution of the temperature sensor 5 minutes before the sleeper to be tested enters the deep sleep process.
As a preferred embodiment, the sleep process includes a deep sleep process;
the lowest comfort temperature threshold is determined by:
acquiring test temperatures of N sleepers to be tested at preset different environmental temperatures at preset moments before the N sleepers to be tested respectively enter a deep sleep process;
and taking the minimum value of the N test temperatures as the lowest comfortable temperature threshold, wherein N is a positive integer.
In the prior art, the lowest comfortable temperature threshold is set by experience, and a comfortable temperature interval of a sleeping human body is not obtained by a corresponding test method, so that the lowest comfortable temperature threshold is set. In addition, according to the test results of the subject group, in the prior art, the sleeping human body is in a cold state under the temperature condition of the tegument 20-28 degrees, the sleeping state cannot be maintained at all, and the temperature threshold is not accurate. In addition, the temperature of the tegument layer has fluctuation in the sleeping process, and the regulation and control are carried out when the temperature is lower than a certain temperature threshold value, so that the regulation and control are always carried out mistakenly in the sleeping process, and the technical scheme is not reasonable.
In this embodiment, at preset moments before N sleepers to be tested respectively enter the deep sleep process, test temperatures of the N sleepers to be tested at preset different environmental temperatures are obtained, and a minimum value of the N test temperatures is used as a minimum comfortable temperature threshold.
It should be noted that, considering that a good temperature environment is required when a human body enters a deep sleep process, the sensor temperature 5 minutes before entering the deep sleep process is selected as a reference interval of the human body heat demand temperature in the sleep process. Certainly, the preset time before the sleeper to be tested enters the deep sleep process is not limited to 5 minutes before the sleeper enters the deep sleep process, and the application is not particularly limited herein.
In addition, because the posture and the motion of the legs of the human body are more, and the temperature fluctuation is larger, the temperature of the sensor close to the chest and the abdomen of the human body is mainly analyzed:
when the indoor ambient temperature is lower than 25.5 ℃, the sensor close to the chest of the human body may have the phenomenon of higher than 33.3 ℃ or lower than 30.4 ℃. This is because the indoor ambient temperature is below 25.5 ℃, and when the air conditioner setting value is 25 ℃ in the early sleep stage, the metabolism of the human body is relatively vigorous in the early sleep stage, and the generated heat is large, so that the temperature is high. When the temperature is lower than 30 ℃, the temperature of the sensor close to the chest of the human body is reduced because the temperature required by the human body is lower in the early sleep stage and the quilt covering the upper half of the body is faded downwards by the subject.
The temperature of the sensor close to the human abdomen is relatively stable and is maintained within the range of 30.4-33.3 ℃. This is because the hot air environment of the sensor attachment is relatively stable because the human abdomen is in the central position of the litter microenvironment. In addition, the surface area of the abdomen of the human body is large, the distance change between the sensor and the heat source of the human body is relatively small, and the temperature stability is improved to a certain extent. In addition, when the indoor environment temperature rises to the range of 26-27 ℃ in the middle and later period of sleep, the metabolism of a human body is slowed down, the temperature fluctuation of the chest sensor is reduced, and the temperature fluctuation is also in the range of 30.4-33.3 ℃.
Therefore, a sensor close to the abdomen is selected, the test temperatures of the N sleepers to be tested at different preset environmental temperatures are obtained, and the minimum value of the N test temperatures is used as the lowest comfortable temperature threshold value.
Referring to fig. 8, fig. 8 is a schematic diagram of temperature distribution of the temperature sensors 5 minutes before the sleeper to be tested is awakened, wherein the temperature sensors are respectively distributed on the chest and the abdomen of the sleeper to be tested.
As a preferred embodiment, the determination process of the preset time is:
taking the moment when the current temperature of the sleeper to be tested is lower than the lowest comfortable temperature threshold value as the starting moment, and taking the moment when the sleeper to be tested is awakened cold as the ending moment; the current temperature of the sleeper to be detected is lower than the lowest comfortable temperature threshold value at all times between the starting time and the ending time;
acquiring N starting moments of N sleepers to be detected and N termination moments which are in one-to-one correspondence with the N starting moments;
determining N test times based on N starting moments of N sleepers to be tested and N termination moments which are in one-to-one correspondence with the N starting moments;
and taking the minimum value of the N test times as preset time, wherein N is a positive integer.
In the present embodiment, a specific implementation manner for determining the preset time is provided. Specifically, the minimum value of the time from the moment when the current temperature of the N sleepers to be tested is lower than the lowest comfortable temperature threshold value to the moment when the sleepers to be tested are awakened cold is taken as the preset time.
It should be noted that the preset time is usually 10 minutes, but is not limited to 10 minutes, and the application is not limited thereto.
For example, the indoor environment temperature of the sleeper to be tested 5min before being frozen is distributed in a lower interval of 24.5-25.4 ℃, and the temperature of the chest sensor and the abdominal sensor does not exceed 32 ℃. Comparing with the thermal comfort temperature interval of 30.4-33.3 deg.C, the temperature of the chest or abdomen sensor 5min before being frozen is 1 or more lower than the lower limit of the thermal comfort temperature interval of 30.4 deg.C, and the time from the last time when the temperature of the chest or abdomen sensor is higher than 30.4 deg.C is 15-24 min. Therefore, the temperature of the chest and abdomen sensors is 1 or more and lower than 30.4 ℃, and the duration time exceeds 10min, which is used as a judgment condition for judging that the human body is likely to be cooled.
The present invention also provides a temperature control system, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the temperature control method as described above when executing a computer program.
For the introduction of the temperature control system provided by the present invention, please refer to the above embodiments of the present invention, and the details of the present invention are not repeated herein.
Referring to fig. 9 and 10, fig. 9 is a schematic structural diagram of an air conditioner controller according to the present invention, and fig. 10 is a schematic structural diagram of a gateway coordinator according to the present invention.
On the basis of the above-described embodiment:
as a preferred embodiment, the temperature control system further comprises:
the temperature sensor is arranged on the quilt and connected with the processor and used for determining the current temperature of the sleeper in the sleeping process and the testing temperature of the sleeper to be tested so that the processor can obtain the current temperature and the testing temperature;
and the air conditioner controller is connected with the processor and is used for controlling the air conditioner to perform corresponding temperature adjustment based on the control command sent by the processor.
It should be noted that the collector terminal mainly completes temperature and humidity collection and Zigbee communication, and the terminal is designed on a PCB with a diameter of 27mm circle. The processor selects a CC2530F256 chip with low power consumption, and the CC2530F256 is a system-on-chip solution based on RFCCEs of 2.4GHz IEEE802.15.4 and ZigBee. The method is characterized in that stronger network nodes are established with extremely low material cost. The CC2530F256 chip is combined with resources such as a wireless radio frequency transceiver, an increased 8051CPU, a 256KB flash memory, an 8-KB low-power SRAM, two USART interfaces, 18 interrupt sources and the like. The CC2530F256 is mainly used for ZigBee communication and data processing. The temperature and humidity are measured by an SHT35 low-power consumption sensor, the temperature precision is +/-0.2 ℃, and the humidity precision is +/-1.5% RH. The power supply uses a CR2032 button battery with 240mAH for power supply, and temperature and humidity data are sent to the gateway coordinator every other minute, so that the gateway coordinator can work for 3 years. In actual operation, in order to prolong the working time of the battery, for example, the temperature and the humidity are not changed within 5 continuous minutes, and data are not sent, so that the actual working time of the battery is more than 3 years. The sensor shell is made by 3D printing, and the design model and the finished product are shown in figure 2. The shell model is designed by Unigraphics NX10.0 software, the wall thickness of the material is 1mm, the diameter of the internal chamber is 27mm, the height of the internal chamber is 5.6mm, the number of the vent holes is 9, the distance between the circle centers is 7.5mm, and the aperture is 2 mm. And after the model design is finished, the model is led into a 3D printer for printing, and high-strength resin is selected as a consumable. During assembly, the battery clamping groove on the back of the sensor is firstly stuck to the middle position of the imperforate shell by using double faced adhesive tape, and then the shell with the holes is covered to complete assembly.
Of course, the sensor is not limited to the above design, and the application is not limited thereto.
It should be further noted that the air conditioner controller terminal mainly includes a system on chip, an infrared emission tube, and a power module, and a working block diagram is shown in fig. 6. The air conditioner controller terminal receives the command of the gateway coordinator and converts the command into the infrared light emitting tube code capable of controlling the air conditioner, so that the purpose of controlling the output of the air conditioner is achieved. 7 infrared luminotrons are used, and each luminotron has certain direction installation requirement, and wherein a luminotron luminous center direction is perpendicular with PCB top layer, and another 6 luminotrons are installed every 60 degrees, and luminotron luminous center direction is even and is 45 degrees with PCB top layer surface. When the air conditioner controller terminal is placed in an application place, the position of the infrared receiver for transmitting the infrared coded light to the controlled air conditioner can be conveniently found.
Of course, the air conditioner controller is not limited to the above design, and the present application is not limited thereto.
As a preferred embodiment, the temperature control system further comprises:
the gateway coordinator is connected with the temperature sensor, the processor and the air conditioner controller and is used for storing data acquired by the temperature sensor and realizing communication between the temperature sensor and the processor and communication between the processor and the air conditioner controller;
the data collected by the temperature sensor comprise the current temperature of the sleeper in the sleeping process and the testing temperature of the sleeper to be tested.
It should be noted that the gateway coordinator mainly includes a CC2530 system on chip, a WIFI module, a memory, and a power module, and a working block diagram is shown in fig. 4. And the gateway coordinator and the collector terminal use ZigBee communication to complete the receiving of the temperature and humidity information of each terminal. The gateway coordinator and the cloud platform communicate in a WIFI mode, and the gateway coordinator packs the acquired temperature and humidity data and sends the temperature and humidity data to a cloud platform server in the wide area network. The gateway coordinator and the air conditioner controller terminal use ZigBee communication, and the gateway analyzes the acquired temperature and humidity according to the logic judgment model and sends a command to the air conditioner controller terminal, so that the air conditioner controller can control the air conditioner to output a required temperature value. The memory is used for storing the operation parameters and the user personalized data.
Of course, the gateway coordinator is not limited to the above design, and the application is not limited thereto.
In addition, the project is analyzed according to project requirements, and a Tencent cloud platform is adopted to build a server. The cloud platform has the obvious advantages of continuous online and continuous operation, offline maintenance-free and the like, and the APP is opened and operated always without the mobile phone end by putting the logic operation in the cloud end, so that the scene requirement of the consumer is met. In addition, by adopting the cloud server, more functions such as remote data viewing and remote equipment control can be realized. The Server version in the cloud platform selects windows Server2012R2, the Server project code mainly comprises chat management (chatManager, ChatSocket), Message processing (Handle Message, HandleSertring), APP communication management (MyAPP) and gateway communication management (WangguanMsg), and the IP address of the Server public network is 129.211.118.207.
The project establishes software and hardware communication between a gateway and a server based on Java Socket, the Socket communication is based on a transmission mode on a TCP/IP network layer, a server side initializes a Server Socket, then binds specified ports, monitors the ports and blocks the ports by calling an accept method, at the moment, only a mobile phone and the gateway are needed to be connected to the server side as a client side, and then the server side can be connected with the client side through the monitor and accept methods to realize bidirectional communication, thereby playing the role of a transfer station.
The specific working process comprises the following steps:
(1) data receiving: the gateway coordinator is equipped with someone cloud WIFI module, packs humiture data through the WIFI mode and sends the server public network IP in the wide area network to, and the cloud server carries out analysis and application according to corresponding data format after receiving data.
(2) And (3) data analysis: the cloud server analyzes temperature and humidity data uploaded to the cloud server by the gateway based on a logic model established by the project, and when the temperature change of a tegument of a user is monitored to reach a logic model triggering condition, the cloud server can actively send a corresponding instruction to the gateway to enable the gateway to control an air conditioner remote controller connected with the gateway, so that the air conditioner is regulated and controlled.
(3) Air conditioner regulation and control: after receiving the control instruction of the cloud server, the gateway coordinator analyzes the instruction data according to a corresponding format, and then controls the air conditioner remote controller to regulate and control parameters such as temperature, wind speed and modes of the household air conditioner.
Of course, the method is not limited to building a server through the Tencent cloud platform, and the application is not particularly limited herein.
In addition, the project uses Android studio to develop native application, the Android platform supports a large number of graphs and animations, the chart structure design required by the project is facilitated, the developed application is not jammed, the response is fast, the compatibility is high, the flash backing condition is less, viruses and bugs can be prevented, an interface provided by the equipment end can be used fast, and the processing speed is also superior. In addition, the native APP supports message pushing, so that a user has the right to select whether to receive messages in the using process, access to equipment files and hardware is supported, programs are stored locally, and most functions can be used without networking. The Android platform and the iOS platform can be compatible with each other at present, so that the problem of portability is solved, and the Android and the iOS do not need to be developed respectively.
According to the project requirement analysis, the business process which needs to be met by the APP comprises the following steps: (1) and (5) monitoring the state. The temperature and humidity data sent by the cloud server are received by the mobile phone APP, and the real-time change of the temperature is reflected through the numerical value, and the long-term change of the temperature is reflected through the curve graph. (2) And adjusting the threshold value. And the lower limit of the logic temperature and the time threshold value preset in the software are allowed to be adjusted, and the adjustment is fed back to the cloud server (3) for equipment control. The APP can manually regulate and control parameters such as temperature, mode and wind speed of the household air conditioner by means of the cloud server, the gateway coordinator, the air conditioner controller and the like.
1) And (3) state monitoring: the mobile phone APP binds the public network ip address and the corresponding open port number of the cloud server, and if the server has a network problem, the APP can prompt connection failure. The diagram display adopts MPAndriodcart, which is a powerful and easy-to-use diagram library in an Android platform, supports a line diagram, a column diagram, a scatter diagram, a candle diagram, a bubble diagram, a pie diagram and a spider-web diagram, supports zooming, dragging (translating), selecting and animation, and is suitable for all current Android system mobile phones released in the market.
2) Threshold adjustment: the lower limit of the comfortable interval temperature and the corresponding time length threshold are important indexes for predicting the current sleep experience of the user, but the individual consumers and the environment have certain difference, so that the mobile phone APP needs to support the user to adjust the lower limit of the comfortable interval temperature preset in the cloud server and feed the adjustment back to the cloud server, and therefore the individual requirements of different users are better met.
3) And (3) equipment control: the user can get into control interface through "my air conditioner" on the APP, carries out manual regulation and control to the air conditioner. In addition, the cloud server transfer framework of the product solves the regulation and control distance limitation, and can realize remote control of the air conditioner by consumers.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A method of temperature control, the method comprising:
acquiring the current temperature of a sleeper in the sleeping process;
judging whether the duration time that the current temperature is lower than the lowest comfortable temperature threshold value is longer than preset time or not;
if so, sending a control command to an air conditioner controller so that the air conditioner can carry out corresponding temperature adjustment based on the control command;
if not, returning to the step of acquiring the current temperature of the sleeper in the sleeping process;
the sleep process comprises a deep sleep process;
the determination process of the lowest comfortable temperature threshold value comprises the following steps:
acquiring test temperatures of N sleepers to be tested at preset different environmental temperatures at preset moments before the N sleepers to be tested respectively enter the deep sleep process;
taking the minimum value of N test temperatures as the lowest comfortable temperature threshold, wherein N is a positive integer;
the process of determining the preset time comprises the following steps:
taking the moment when the current temperature of the sleeper to be tested is lower than the lowest comfortable temperature threshold value as an initial moment, and taking the moment when the sleeper to be tested is awakened cold as a termination moment; wherein, at all times between the starting time and the ending time, the current temperature of the sleeper to be tested is lower than the lowest comfortable temperature threshold;
acquiring N starting moments of N sleepers to be detected and N ending moments corresponding to the N starting moments one by one;
determining N test times based on N starting moments of N sleepers to be tested and N ending moments which are in one-to-one correspondence with the N starting moments;
and taking the minimum value of the N test times as the preset time, wherein N is a positive integer.
2. The temperature control method of claim 1, wherein acquiring the current temperature of the sleeper during sleep comprises:
and taking the layer temperature of the cover of the sleeper acquired by the temperature sensor as the current temperature of the sleeper in the sleeping process.
3. The temperature control method according to claim 2, wherein the temperature sensor is plural;
before acquiring the current temperature of the sleeper in the sleeping process, the method further comprises the following steps:
judging whether a plurality of current temperatures of the sleeper obtained by the plurality of temperature sensors in the sleeping process are all larger than a temperature threshold value;
if so, judging that the sleeper is in a position to be detected, and entering the step of acquiring the current temperature of the sleeper in the sleeping process;
if not, returning to the step of judging whether the current temperatures of the sleeper acquired by the temperature sensors in the sleeping process are all larger than the temperature threshold.
4. A temperature control system, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the temperature control method according to any one of claims 1 to 3 when executing the computer program.
5. The temperature control system of claim 4, further comprising:
the temperature sensor is arranged on the quilt and connected with the processor and used for determining the current temperature of the sleeper in the sleeping process and the testing temperature of the sleeper to be tested so that the processor can obtain the current temperature and the testing temperature;
and the air conditioner controller is connected with the processor and is used for controlling the air conditioner to carry out corresponding temperature adjustment based on the control command sent by the processor.
6. The temperature control system of claim 5, further comprising:
the gateway coordinator is connected with the temperature sensor, the processor and the air conditioner controller and is used for storing data acquired by the temperature sensor and realizing communication between the temperature sensor and the processor and communication between the processor and the air conditioner controller;
the data collected by the temperature sensor comprise the current temperature of the sleeper in the sleeping process and the testing temperature of the sleeper to be tested.
CN202110137598.9A 2021-02-01 2021-02-01 Temperature control method and system Active CN113028605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110137598.9A CN113028605B (en) 2021-02-01 2021-02-01 Temperature control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110137598.9A CN113028605B (en) 2021-02-01 2021-02-01 Temperature control method and system

Publications (2)

Publication Number Publication Date
CN113028605A CN113028605A (en) 2021-06-25
CN113028605B true CN113028605B (en) 2022-07-15

Family

ID=76459661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110137598.9A Active CN113028605B (en) 2021-02-01 2021-02-01 Temperature control method and system

Country Status (1)

Country Link
CN (1) CN113028605B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113531849B (en) * 2021-08-27 2022-09-27 四川虹美智能科技有限公司 Self-adaptive intelligent air conditioning system capable of automatically adjusting temperature

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4031711A (en) * 1976-05-24 1977-06-28 Macneil Peter Cold air blast wake-up apparatus
CN103912960B (en) * 2013-01-07 2017-08-01 苏州三星电子有限公司 A kind of air-conditioner control system and its control method
CN104154633A (en) * 2014-08-19 2014-11-19 珠海格力电器股份有限公司 Intelligent control method, device and system for air conditioner

Also Published As

Publication number Publication date
CN113028605A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
EP3159620B1 (en) Method and device for controlling temperature adjustment device and a wearable system
CN105650815B (en) Air-conditioning fan inter-linked controlling method, apparatus and system
US10398357B2 (en) Smart bed systems and methods of operation thereof
WO2017088562A1 (en) Air conditioner control method and intelligent household system
CN109386940B (en) Device and method for improving sleep comfort degree and air conditioner
CN203432022U (en) Control device for remote indoor air-conditioning and humiture detection
US20160061472A1 (en) Method and device for controlling room temperature and humidity
CN110553358A (en) Air conditioner control method and system based on intelligent wearable device and air conditioner
JP2015178953A (en) Sensor mounting device
CN109442692B (en) Air conditioner control method and system based on smart bracelet and air conditioner
CN104990212A (en) Method and system for intelligently regulating and controlling air conditioner
CN110513840A (en) Temprature control method and system based on smart home operating system
CN106154856B (en) A kind of family's modernization amenity facilities combination control method based on DSP technology
CN110500723A (en) The Xingfeng capsule method and air conditioner of air conditioner
CN105115101A (en) Method and device for automatically controlling temperature of air conditioner for sleeping at night
CN105656679B (en) Control method, control device and the smart home device of smart home device
CN104154631A (en) Controller capable of automatically adjusting parameters of equipment
CN105045238A (en) Intelligent home furnishing sleep system
CN113494755A (en) Intelligent terminal and indoor air conditioning method
CN113028605B (en) Temperature control method and system
CN107101318B (en) Heating control method and device for air conditioner
KR20120043848A (en) Control method of indoor environment using of ubiquitous smart system
CN111912083A (en) Air conditioner control method based on smart band
CN203258803U (en) Intelligent air conditioner temperature control system
CN112671623B (en) Projection-based wake-up method and device, projection equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant