[go: up one dir, main page]

CN114151912B - Air conditioner control method and device and air conditioner - Google Patents

Air conditioner control method and device and air conditioner Download PDF

Info

Publication number
CN114151912B
CN114151912B CN202111321025.8A CN202111321025A CN114151912B CN 114151912 B CN114151912 B CN 114151912B CN 202111321025 A CN202111321025 A CN 202111321025A CN 114151912 B CN114151912 B CN 114151912B
Authority
CN
China
Prior art keywords
sleep
light intensity
air conditioner
temperature
set temperature
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
CN202111321025.8A
Other languages
Chinese (zh)
Other versions
CN114151912A (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.)
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
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 Aux Air Conditioning Co Ltd, Ningbo Aux Electric Co Ltd filed Critical Aux Air Conditioning Co Ltd
Priority to CN202111321025.8A priority Critical patent/CN114151912B/en
Publication of CN114151912A publication Critical patent/CN114151912A/en
Application granted granted Critical
Publication of CN114151912B publication Critical patent/CN114151912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • 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/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
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/72Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
    • F24F11/74Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling air flow rate or air velocity
    • F24F11/77Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling air flow rate or air velocity by controlling the speed of ventilators
    • 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/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/80Control systems characterised by their outputs; Constructional details thereof for controlling the temperature of the supplied air
    • 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/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F13/00Details common to, or for air-conditioning, air-humidification, ventilation or use of air currents for screening
    • F24F13/24Means for preventing or suppressing noise
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

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

Abstract

The invention discloses an air conditioner control method and device and an air conditioner, and relates to the technical field of air conditioners, wherein the air conditioner control method comprises the following steps: monitoring indoor environment temperature and light intensity values during the operation of the air conditioner in a sleep mode; judging whether the sleep period condition is met based on the indoor environment temperature, if so, starting timing based on a timer, and determining the sleep time according to the timing result of the timer; when the light intensity value is smaller than the preset minimum light intensity, adjusting the set temperature of the indoor unit based on the sleeping time length; when the sleeping time length is longer than the first preset time length and is smaller than the maximum sleeping time length, the set temperature is inversely related to the sleeping time length. The invention can avoid the situation that the user catches a cold due to lower indoor environment temperature when the user sleeps in a sleep mode, and simultaneously avoid the situation that the indoor comfort is influenced by higher indoor environment temperature when the user sleeps shallowly, thereby improving the user experience.

Description

一种空调器控制方法、装置及空调器Air conditioner control method, device and air conditioner

技术领域Technical field

本发明涉及空调技术领域,具体而言,涉及一种空调器控制方法、装置及空调器。The present invention relates to the technical field of air conditioning, and specifically to an air conditioner control method, device and air conditioner.

背景技术Background technique

目前的空调器通常可以设置睡眠模式,空调器以睡眠模式运行时,一般仅提高设定温度或限制空调器输出,以适当提高室内环境温度,避免房间温度太低而影响人体睡眠质量。但是,实际使用睡眠模式时,夜晚室外环境温度先降后升,人体从深睡状态到浅睡状态时新陈代谢逐渐增多,早上室内环境温度偏高,导致用户的舒适性较低,用户体验较差。Current air conditioners can usually be set to sleep mode. When the air conditioner operates in sleep mode, it generally only increases the set temperature or limits the output of the air conditioner to appropriately increase the indoor ambient temperature and prevent the room temperature from being too low and affecting human sleep quality. However, when sleeping mode is actually used, the outdoor ambient temperature first drops and then rises at night. The human body's metabolism gradually increases from deep sleep to light sleep. In the morning, the indoor ambient temperature is higher, resulting in lower user comfort and poor user experience. .

发明内容Contents of the invention

为解决上述问题,本发明提供了一种空调器控制方法、装置及空调器,能够使空调器在用户从入睡到熟睡的过程中逐渐提高室内环境温度,避免室内环境温度较低而导致用户着凉;还可以使空调器在用户从熟睡到浅睡的过程中逐渐降低室内环境温度,避免用户新陈代谢增多时室内环境温度较高影响室内舒适性,提升了用户体验。In order to solve the above problems, the present invention provides an air conditioner control method, device and air conditioner, which can enable the air conditioner to gradually increase the indoor ambient temperature when the user falls asleep to a deep sleep, thereby preventing the user from catching cold due to low indoor ambient temperature. ; It can also enable the air conditioner to gradually lower the indoor ambient temperature when the user is sleeping from deep sleep to light sleep, thus preventing the higher indoor ambient temperature from affecting indoor comfort when the user's metabolism increases, thus improving the user experience.

根据本发明实施例,一方面提供了一种空调器控制方法,包括:在空调器以睡眠模式运行过程中,监测室内环境温度及光强度值;基于所述室内环境温度判断是否满足睡眠期条件,如果是,基于计时器开始计时,并根据所述计时器的计时结果确定睡眠时长;当所述光强度值小于预设最小光强度时,基于所述睡眠时长调整室内机的设定温度;其中,当所述睡眠时长小于第一预设时长时,所述设定温度与所述睡眠时长成正相关,当所述睡眠时长大于所述第一预设时长小于最大睡眠时长时,所述设定温度与所述睡眠时长成负相关。According to an embodiment of the present invention, on the one hand, an air conditioner control method is provided, which includes: monitoring the indoor ambient temperature and light intensity value while the air conditioner is operating in sleep mode; and determining whether the sleep period conditions are met based on the indoor ambient temperature. , if yes, start counting based on the timer, and determine the sleep duration based on the timing result of the timer; when the light intensity value is less than the preset minimum light intensity, adjust the set temperature of the indoor unit based on the sleep duration; Wherein, when the sleep duration is less than the first preset duration, the set temperature is positively correlated with the sleep duration; when the sleep duration is greater than the first preset duration and less than the maximum sleep duration, the set temperature is There is a negative correlation between constant temperature and said sleep duration.

通过采用上述技术方案,在睡眠时长小于第一预设时长即在睡眠时长较短时,控制设定温度随睡眠时长的增大而增大,可以使空调器在用户从入睡到熟睡的过程中逐渐提高室内环境温度,由于用户进入熟睡后因新陈代谢较少,避免室内环境温度持续不变而导致用户着凉,同时降低了空调能耗;通过在睡眠时间大于第一预设时长即在睡眠时长较长时,控制设定温度随睡眠时长的增大而减小,可以使空调器在用户从熟睡到浅睡的过程中逐渐降低室内环境温度,避免用户新陈代谢增多时室内环境温度较高影响室内舒适性,提升了用户体验。By adopting the above technical solution, when the sleep duration is less than the first preset duration, that is, when the sleep duration is short, the set temperature is controlled to increase as the sleep duration increases, so that the air conditioner can be used during the user's process from falling asleep to falling asleep deeply. Gradually increasing the indoor ambient temperature will prevent the user from catching cold due to lower metabolism after the user enters a deep sleep, thereby preventing the user from catching cold due to the continued constant indoor ambient temperature, and at the same time reducing the energy consumption of the air conditioner. For a long time, controlling the set temperature to decrease with the increase of sleep duration can make the air conditioner gradually reduce the indoor ambient temperature when the user goes from deep sleep to light sleep, and avoid the high indoor ambient temperature affecting indoor comfort when the user's metabolism increases. sex, improving user experience.

优选的,所述当所述光强度值小于预设最小光强度值时,基于所述睡眠时长调整室内机的设定温度的步骤,包括:当所述睡眠时长小于所述最大睡眠时长时,判断所述光强度值是否小于预设最小光强度;当所述光强度值小于预设最小光强度时,基于所述睡眠时长确定用户的睡眠状态;其中,所述睡眠状态包括入睡期、浅睡期、熟睡期、深睡期、快速眼动期和退出睡眠期;获取室内机的当前设定温度,基于所述睡眠状态调整所述当前设定温度。Preferably, when the light intensity value is less than the preset minimum light intensity value, the step of adjusting the set temperature of the indoor unit based on the sleep duration includes: when the sleep duration is less than the maximum sleep duration, Determine whether the light intensity value is less than the preset minimum light intensity; when the light intensity value is less than the preset minimum light intensity, determine the user's sleep state based on the sleep duration; wherein the sleep state includes falling asleep, light sleep, Sleep period, deep sleep period, deep sleep period, rapid eye movement period and exit sleep period; obtain the current set temperature of the indoor unit, and adjust the current set temperature based on the sleep state.

通过采用上述技术方案,在睡眠场景下降用户的睡眠状态划分为多个睡眠区间,以便通过调整设定温度精准控制各睡眠区间的环境温度,提升了室内温度控制的合理性。By adopting the above technical solution, the user's sleep state is divided into multiple sleep intervals during the sleep scene, so that the ambient temperature of each sleep interval can be accurately controlled by adjusting the set temperature, thereby improving the rationality of indoor temperature control.

优选的,所述基于所述睡眠状态调整所述空调器的当前设定温度的步骤,包括:当所述睡眠状态为所述入睡期时,控制所述当前设定温度降低第一温度;当所述睡眠状态为所述浅睡期时,控制所述当前设定温度保持不变;当所述睡眠状态为所述熟睡期时,控制所述当前设定温度增大第二温度;当所述睡眠状态为所述深睡期时,控制所述当前设定温度增大第三温度;其中,所述第三温度大于等于所述第二温度;当所述睡眠状态为所述快速眼动期时,控制所述当前设定温度增大第四温度;其中,所述第四温度小于所述第三温度;当所述睡眠状态为所述退出睡眠期时,控制所述当前设定温度降低第五温度。Preferably, the step of adjusting the current set temperature of the air conditioner based on the sleep state includes: when the sleep state is the sleep period, controlling the current set temperature to decrease by a first temperature; When the sleep state is the light sleep period, the current set temperature is controlled to remain unchanged; when the sleep state is the deep sleep period, the current set temperature is controlled to increase by a second temperature; when the sleep state is the deep sleep period, the current set temperature is controlled to increase. When the sleep state is the deep sleep period, the current set temperature is controlled to increase a third temperature; wherein the third temperature is greater than or equal to the second temperature; when the sleep state is the REM period, control the current set temperature to increase a fourth temperature; wherein the fourth temperature is less than the third temperature; when the sleep state is the exit sleep period, control the current set temperature Lower the fifth temperature.

通过采用上述技术方案,在入睡期控制降低室内环境温度有利于人体快速进入睡眠状态,通过在浅睡期、熟睡期或深睡期适度提高室内环境温度,避免用户体感温度较低而着凉,节约了空调能耗,同时保证了人体舒适度,通过在快速眼动期和退出睡眠期降低室内环境温度,提高了人体舒适性。By adopting the above technical solution, controlling and lowering the indoor ambient temperature during the sleep period is conducive to the human body quickly entering the sleep state. By appropriately increasing the indoor ambient temperature during the light sleep period, deep sleep period or deep sleep period, users can avoid catching cold due to low body temperature and save money. It reduces the energy consumption of air conditioning while ensuring human body comfort. By reducing the indoor ambient temperature during the rapid eye movement period and exiting sleep period, human comfort is improved.

优选的,所述空调器控制方法还包括:当所述睡眠状态为所述入睡期时,控制室内机以低风挡运行;当所述睡眠状态为所述浅睡期、熟睡期、深睡期和快速眼动期中的任一睡眠状态时,控制室内机以静音风挡运行;所述静音风挡的转速小于所述低风挡的转速;当所述睡眠状态为所述退出睡眠期时,控制室内机以低风挡运行。Preferably, the air conditioner control method further includes: when the sleep state is the falling asleep period, controlling the indoor unit to operate with a low windshield; when the sleep state is the light sleep period, deep sleep period, or deep sleep period When the sleep state is in the exit sleep period, the indoor unit is controlled to operate with a silent windshield; the rotation speed of the silent windshield is smaller than the rotation speed of the low windshield; when the sleep state is the exit sleep period, the indoor unit is controlled to operate Run with low windshield.

通过采用上述技术方案,在入睡期控制室内机以低风挡运行,可以降低室内噪音,保证空调器冷量输出的同时提升用户体验;通过在浅睡期、熟睡期、深睡期和快速眼动期降低室内风机转速,在能够保证人体舒适度的同时,进一步改善了人体听感,避免空调噪音影响用户的睡眠;通过在睡眠退出期提升室内风机的转速,以提升空调器的冷量输出,避免室内环境温度较高而影响用户的舒适性。By adopting the above technical solution, controlling the indoor unit to operate with a low windshield during the sleep period can reduce indoor noise, ensure the cooling output of the air conditioner and improve the user experience; Periodically reducing the indoor fan speed can ensure human comfort while further improving human hearing and preventing air conditioning noise from affecting the user's sleep. By increasing the indoor fan speed during the sleep exit period, the cooling output of the air conditioner can be increased. Avoid high indoor ambient temperatures that may affect user comfort.

优选的,在所述在空调器以睡眠模式运行过程中,监测室内环境温度及光强度值的步骤之前,还包括:当所述空调器进入制冷模式运行,且所述空调器的自动睡眠功能开启时,周期性检测当前的光强度值;当连续两次检测到所述光强度值小于预设光强度阈值时,控制所述空调器自动进入睡眠模式运行。Preferably, before the step of monitoring the indoor ambient temperature and light intensity value while the air conditioner is operating in the sleep mode, it also includes: when the air conditioner enters the cooling mode, and the automatic sleep function of the air conditioner When turned on, the current light intensity value is periodically detected; when the light intensity value is detected twice in a row and is less than the preset light intensity threshold, the air conditioner is controlled to automatically enter sleep mode operation.

通过采用上述技术方案,在室内光强度值持续较低时控制空调器自动进入睡眠模式,避免用户忘记开启睡眠模式导致夜晚室内温度过低,提升了室内温度的舒适性。By adopting the above technical solution, the air conditioner is controlled to automatically enter the sleep mode when the indoor light intensity value continues to be low, preventing the user from forgetting to turn on the sleep mode and causing the indoor temperature to be too low at night, and improving the comfort of the indoor temperature.

优选的,所述基于所述室内环境温度判断是否满足睡眠期条件的步骤,包括:周期性计算所述室内环境温度与设定温度的温度差值;当连续两次计算得到的所述温度差值均小于零时,确定满足睡眠期条件。Preferably, the step of determining whether sleep period conditions are met based on the indoor ambient temperature includes: periodically calculating the temperature difference between the indoor ambient temperature and the set temperature; when the temperature difference calculated twice consecutively When the values are all less than zero, it is determined that the sleep period conditions are met.

通过采用上述技术方案,在室内环境温度持续低于设定温度时,确定满足睡眠期条件,以便在空调器完成室内降温时,再对空调器进行睡眠场景智能调整,保证了用户的舒适性,另一方面,室内环境温度持续低于设定温度可以间接表明用户的活动代谢量减小,提升了确定睡眠期开始时间的准确性。By adopting the above technical solution, when the indoor ambient temperature continues to be lower than the set temperature, it is determined that the sleep period conditions are met, so that when the air conditioner completes indoor cooling, the air conditioner can intelligently adjust the sleep scene to ensure user comfort. On the other hand, if the indoor ambient temperature continues to be lower than the set temperature, it can indirectly indicate that the user's activity metabolism has decreased, improving the accuracy of determining the start time of the sleep period.

优选的,所述基于计时器的计时结果确定睡眠时长的步骤,包括:获取所述空调器所在地区的当前时间所对应的时间补偿;获取计时器的计时结果,计算所述计时结果与所述时间补偿之和,得到所述睡眠时长。Preferably, the step of determining the sleep duration based on the timing result of the timer includes: obtaining the time compensation corresponding to the current time in the area where the air conditioner is located; obtaining the timing result of the timer, calculating the timing result and the The time compensation is summed to obtain the sleep duration.

通过采用上述技术方案,根据实际的当前时间对计时器的计时结果进行修正,以使得到的睡眠时长符合自然睡眠习惯,提升了确定睡眠时长的准确性。By adopting the above technical solution, the timing result of the timer is corrected according to the actual current time, so that the obtained sleep duration conforms to natural sleep habits, and the accuracy of determining sleep duration is improved.

优选的,所述空调器控制方法还包括:当所述光强度值大于等于所述预设最小光强度小于等于预设最大光强度时,计算预设时间内的光强度变化值,基于所述光强度变化值调整室内机的设定温度及运行风挡;当所述光强度值大于所述预设最大光强度时,或者,当所述睡眠时长大于等于最大睡眠时长时,控制所述空调器退出所述睡眠模式。Preferably, the air conditioner control method further includes: when the light intensity value is greater than or equal to the preset minimum light intensity and less than or equal to the preset maximum light intensity, calculating the light intensity change value within a preset time, based on the The light intensity change value adjusts the set temperature and operating windshield of the indoor unit; when the light intensity value is greater than the preset maximum light intensity, or when the sleep duration is greater than or equal to the maximum sleep duration, the air conditioner is controlled Exit said sleep mode.

通过采用上述技术方案,在光强度值较大时,进一步基于光强度变化值调整室内机的设定温度及运行风挡,以便根据室内所处的场景控制空调器运行,避免室内温度过高或过低,通过在光强度值很大或睡眠时长过长时,控制空调器退出睡眠模式以快速降低室内环境温度,提高人体舒适性。By adopting the above technical solution, when the light intensity value is large, the set temperature and operating windshield of the indoor unit are further adjusted based on the light intensity change value, so as to control the operation of the air conditioner according to the indoor scene and avoid the indoor temperature being too high or too high. Low, by controlling the air conditioner to exit sleep mode when the light intensity value is very high or the sleep duration is too long, it can quickly reduce the indoor ambient temperature and improve human comfort.

优选的,所述基于所述光强度变化值调整室内机的设定温度及运行风挡的步骤,包括:当所述光强度变化值大于预设变化阈值时,控制所述室内机以第一预设风挡运行,控制所述室内机的设定温度降低第六温度,周期性检测当前光强度值,判断所述当前光强度值是否小于预设光强度阈值,如果否,控制所述空调器在第三预设时长后退出所述睡眠模式;当所述光强度变化值小于等于所述预设变化阈值时,控制所述室内机以第二预设风挡运行,控制所述室内机的设定温度降低第七温度,控制所述空调器在第四预设时长后退出所述睡眠模式。Preferably, the step of adjusting the set temperature and operating windshield of the indoor unit based on the light intensity change value includes: when the light intensity change value is greater than a preset change threshold, controlling the indoor unit to a first preset value. Set up the windshield operation, control the set temperature of the indoor unit to lower the sixth temperature, periodically detect the current light intensity value, determine whether the current light intensity value is less than the preset light intensity threshold, and if not, control the air conditioner to Exit the sleep mode after a third preset time; when the light intensity change value is less than or equal to the preset change threshold, control the indoor unit to operate with the second preset windshield, and control the setting of the indoor unit The temperature is lowered by a seventh temperature, and the air conditioner is controlled to exit the sleep mode after a fourth preset period of time.

通过采用上述技术方案,可以降低设定温度可以提高空调器制冷量,以应对室内热负荷增加,以免影响用户舒适性。By adopting the above technical solution, the set temperature can be lowered and the cooling capacity of the air conditioner can be increased to cope with the increase in indoor heat load, so as not to affect user comfort.

根据本发明实施例,另一方面提供了一种空调器控制装置,包括:监测模块,用于在空调器以睡眠模式运行过程中,监测室内环境温度及光强度值;判断模块,用于基于所述室内环境温度判断是否满足睡眠期条件,如果是,基于计时器开始计时,并根据所述计时器的计时结果确定睡眠时长;控制模块,用于当所述光强度值小于预设最小光强度时,基于所述睡眠时长调整室内机的设定温度;其中,当所述睡眠时长小于第一预设时长时,所述设定温度与所述睡眠时长成正相关,当所述睡眠时长大于所述第一预设时长小于最大睡眠时长时,所述设定温度与所述睡眠时长成负相关。According to an embodiment of the present invention, an air conditioner control device is provided on the other hand, including: a monitoring module for monitoring the indoor ambient temperature and light intensity value when the air conditioner is operating in sleep mode; and a judgment module for monitoring based on The indoor ambient temperature determines whether the sleep period conditions are met. If so, starts timing based on a timer, and determines the sleep duration based on the timing result of the timer; a control module for when the light intensity value is less than the preset minimum light intensity, adjust the set temperature of the indoor unit based on the sleep duration; wherein, when the sleep duration is less than the first preset duration, the set temperature is positively correlated with the sleep duration, and when the sleep duration is greater than When the first preset duration is less than the maximum sleep duration, the set temperature is negatively correlated with the sleep duration.

根据本发明实施例,另一方面提供了一种空调器,包括存储有计算机程序的计算机可读存储介质和处理器,所述计算机程序被所述处理器读取并运行时,实现如第一方面任一项所述的方法。According to an embodiment of the present invention, an air conditioner is provided on the other hand, including a computer-readable storage medium storing a computer program and a processor. When the computer program is read and run by the processor, the first step is implemented. The method described in any of the aspects.

根据本发明实施例,另一方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器读取并运行时,实现如第一方面任一项所述的方法。According to an embodiment of the present invention, on the other hand, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is read and run by a processor, any of the aspects of the first aspect are implemented. method described in one item.

本发明具有以下有益效果:在判断得到用户进入睡眠期后,通过在睡眠时长小于第一预设时长即在睡眠时长较短时,控制设定温度随睡眠时长的增大而增大,可以使空调器在用户从入睡到熟睡的过程中逐渐提高室内环境温度,由于用户进入熟睡后因新陈代谢较少,避免室内环境温度持续不变而导致用户着凉,同时降低了空调能耗;通过在睡眠时间大于第一预设时长即在睡眠时长较长时,控制设定温度随睡眠时长的增大而减小,可以使空调器在用户从熟睡到浅睡的过程中逐渐降低室内环境温度,避免用户新陈代谢增多时室内环境温度较高影响室内舒适性,提升了用户体验。The present invention has the following beneficial effects: after it is determined that the user has entered the sleep period, by controlling the set temperature to increase with the increase of the sleep duration when the sleep duration is less than the first preset duration, that is, when the sleep duration is shorter, the set temperature can be controlled to increase with the increase of the sleep duration. The air conditioner gradually increases the indoor ambient temperature when the user falls asleep to a deep sleep. Since the user has less metabolism after entering a deep sleep, it prevents the user from catching cold due to the constant indoor ambient temperature and reduces the energy consumption of the air conditioner. is greater than the first preset duration, that is, when the sleep duration is long, the control setting temperature decreases with the increase of the sleep duration, which allows the air conditioner to gradually lower the indoor ambient temperature when the user goes from deep sleep to light sleep, preventing the user from sleeping. When metabolism increases, the indoor ambient temperature is higher, which affects indoor comfort and improves user experience.

附图说明Description of the drawings

为了更清楚地说明本发明的实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是示例性的,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图引伸获得其它的实施附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary. For those of ordinary skill in the art, other implementation drawings can be obtained based on the extension of the provided drawings without exerting creative efforts.

本说明书所绘示的结构、比例、大小等,均仅用以配合说明书所揭示的内容,以供熟悉此技术的人士了解与阅读,并非用以限定本发明可实施的限定条件,故不具技术上的实质意义,任何结构的修饰、比例关系的改变或大小的调整,在不影响本发明所能产生的功效及所能达成的目的下,均应仍落在本发明所揭示的技术内容得能涵盖的范围内。The structures, proportions, sizes, etc. shown in this specification are only used to coordinate with the contents disclosed in the specification for the understanding and reading of people familiar with this technology. They are not used to limit the conditions under which the invention can be implemented, and therefore do not have any technical Any structural modification, change in proportion or size adjustment shall still fall within the scope of the technical content disclosed in the present invention without affecting the effectiveness and purpose achieved by the present invention. within the scope that can be covered.

图1为本发明提供的一种空调器控制方法流程图;Figure 1 is a flow chart of an air conditioner control method provided by the present invention;

图2为本发明提供的一种空调器控制装置结构示意图。Figure 2 is a schematic structural diagram of an air conditioner control device provided by the present invention.

具体实施方式Detailed ways

以下由特定的具体实施例说明本发明的实施方式,熟悉此技术的人士可由本说明书所揭露的内容轻易地了解本发明的其他优点及功效,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following specific embodiments are used to illustrate the implementation of the present invention. Persons familiar with this technology can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Obviously, the described embodiments are only part of the embodiments of the present invention. , not all examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and advantages of the present invention more obvious and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

本实施例提供了一种空调器控制方法,该方法可以应用于空调器的控制器,参见如图1所示的空调器控制方法流程图,该方法主要包括以下步骤S102~步骤S106:This embodiment provides an air conditioner control method, which can be applied to the controller of the air conditioner. Refer to the flow chart of the air conditioner control method shown in Figure 1. The method mainly includes the following steps S102 to S106:

步骤S102:在空调器以睡眠模式运行过程中,监测室内环境温度及光强度值。Step S102: While the air conditioner is operating in sleep mode, monitor the indoor ambient temperature and light intensity value.

当空调器进入睡眠模式运行时,基于空调器的内置元器件如光敏传感器、雷达传感器、红外线传感器、摄像头或WIF模块等检测房间的光强度值,以判断空调器是否进入夜晚场景,或者判断人体是否处于睡眠状态。When the air conditioner enters the sleep mode, the light intensity value in the room is detected based on the air conditioner's built-in components such as photosensitive sensors, radar sensors, infrared sensors, cameras or WIF modules to determine whether the air conditioner has entered a night scene or whether the human body is Whether it is in sleep state.

步骤S104:基于室内环境温度判断是否满足睡眠期条件,如果是,基于计时器开始计时,并根据计时器的计时结果确定睡眠时长。Step S104: Determine whether the sleep period conditions are met based on the indoor ambient temperature. If so, start timing based on a timer, and determine the sleep duration based on the timing result of the timer.

当空调器进入睡眠模式运行后,周期性检测室内环境温度,根据室内环境温度判断用户是否进行睡眠期,由于用户进入睡眠期后新陈代谢会逐渐减小,当室内环境温度持续低于设定温度(可以是用户输入的设定温度或空调器默认的设定温度)时,判断用户已进入睡眠期,基于计时器开始计时,并根据计时结果确定用户的睡眠时长。When the air conditioner enters the sleep mode, it periodically detects the indoor ambient temperature and determines whether the user is in the sleep phase based on the indoor ambient temperature. Since the user's metabolism will gradually decrease after entering the sleep phase, when the indoor ambient temperature continues to be lower than the set temperature ( It can be the set temperature input by the user or the default set temperature of the air conditioner), it is determined that the user has entered the sleep period, the timer is started based on the timer, and the user's sleep duration is determined based on the timing result.

步骤S106:当光强度值小于预设最小光强度时,基于睡眠时长调整室内机的设定温度。Step S106: When the light intensity value is less than the preset minimum light intensity, adjust the set temperature of the indoor unit based on the sleep duration.

判断当前的光强度值是否小于预设最小光强度(诸如可以是90~100lx,优选值100lx),如果是,根据睡眠时长控制室内机的设定温度,当睡眠时长小于第一预设时长(从开始入睡到进入深度睡眠的所需时长,诸如取值范围可以是4~6h)时,设定温度与睡眠时长成正相关,当睡眠时长大于第一预设时长小于最大睡眠时长(用户通常的总睡眠时长,诸如取值范围可以是8~9h)时,设定温度与睡眠时长成负相关。Determine whether the current light intensity value is less than the preset minimum light intensity (such as 90~100lx, preferably 100lx). If so, control the set temperature of the indoor unit according to the sleep duration. When the sleep duration is less than the first preset duration ( When the time required from falling asleep to entering deep sleep (for example, the value range can be 4 to 6 hours), the set temperature is positively correlated with the sleep duration. When the sleep duration is greater than the first preset duration and less than the maximum sleep duration (the user's usual When the total sleep duration (for example, the value range can be 8 to 9 hours), the set temperature is negatively correlated with the sleep duration.

基于调整后的设定温度控制空调器运行,由于用户的睡眠过程通过由浅睡到深睡再到浅睡,通过先提高设定温度再降低设定温度,从而使室内环境温度由较低到较高再到较低,符合用户的新陈代谢规律,使室内环境温度更贴合睡眠舒适温度区间。The operation of the air conditioner is controlled based on the adjusted set temperature. As the user's sleep process goes from light sleep to deep sleep and then to light sleep, by first increasing the set temperature and then lowering the set temperature, the indoor ambient temperature changes from lower to higher. From high to low, it conforms to the user's metabolism and makes the indoor ambient temperature more suitable for sleeping comfort temperature range.

本实施例提供的上述空调器控制方法,在判断得到用户进入睡眠期后,通过在睡眠时长小于第一预设时长即在睡眠时长较短时,控制设定温度随睡眠时长的增大而增大,可以使空调器在用户从入睡到熟睡的过程中逐渐提高室内环境温度,由于用户进入熟睡后因新陈代谢较少,避免室内环境温度持续不变而导致用户着凉,同时降低了空调能耗;通过在睡眠时间大于第一预设时长即在睡眠时长较长时,控制设定温度随睡眠时长的增大而减小,可以使空调器在用户从熟睡到浅睡的过程中逐渐降低室内环境温度,避免用户新陈代谢增多时室内环境温度较高影响室内舒适性,提升了用户体验。The above air conditioner control method provided in this embodiment, after determining that the user has entered the sleep period, controls the set temperature to increase as the sleep duration increases when the sleep duration is less than the first preset duration, that is, when the sleep duration is shorter. Large, the air conditioner can gradually increase the indoor ambient temperature when the user falls asleep to a deep sleep. Since the user has less metabolism after entering a deep sleep, it avoids the user catching cold due to the continued constant indoor ambient temperature, and at the same time reduces the energy consumption of the air conditioner; By controlling the set temperature to decrease as the sleep duration increases when the sleep time is greater than the first preset duration, that is, when the sleep duration is longer, the air conditioner can gradually reduce the indoor environment when the user goes from deep sleep to light sleep. Temperature, avoid high indoor ambient temperature affecting indoor comfort when the user's metabolism increases, and improve the user experience.

考虑现有的空调器在以睡眠模式运行时,通常需要用户手动开启,而用户在房间初始环境下需要快速制冷,因此用不到睡眠模式或者忘记开启睡眠模式,为了避免用户在夜晚忘记开启睡眠模式,导致室内环境温度较低而着凉,在上述步骤S102之前,还可以包括:当空调器进入制冷模式运行,且空调器的自动睡眠功能开启时,周期性检测当前的光强度值;当连续两次检测到所述光强度值小于预设光强度阈值时,控制空调器自动进入睡眠模式运行。Considering that existing air conditioners usually require users to manually turn them on when running in sleep mode, and users need rapid cooling in the initial room environment, so they do not need sleep mode or forget to turn on sleep mode. In order to prevent users from forgetting to turn on sleep mode at night mode, causing the indoor ambient temperature to be low and causing colds. Before the above step S102, it may also include: when the air conditioner enters the cooling mode and the automatic sleep function of the air conditioner is turned on, periodically detecting the current light intensity value; when continuously When it is detected twice that the light intensity value is less than the preset light intensity threshold, the air conditioner is controlled to automatically enter sleep mode operation.

上述空调器可以设置有自动睡眠功能,当自动睡眠功能处于开启状态时,空调器可以在夜晚场景下自动进入睡眠模式。空调器进入制冷模式且开启自动睡眠功能时,每间隔1~3min获取当前的光强度值I,如果连续两次的光强度值I<0.5lx,则进入睡眠模式,当光强度值持续小于设定值时,房间光照不足,空调器判断房间进入夜晚场景;否则空调器按照原制冷模式运行。通过在室内光强度值持续较低时控制空调器自动进入睡眠模式,避免用户忘记开启睡眠模式导致夜晚室内温度过低,提升了室内温度的舒适性。The above-mentioned air conditioner can be set with an automatic sleep function. When the automatic sleep function is turned on, the air conditioner can automatically enter sleep mode in night scenes. When the air conditioner enters the cooling mode and turns on the automatic sleep function, it will obtain the current light intensity value I every 1 to 3 minutes. If the light intensity value I is less than 0.5lx for two consecutive times, it will enter the sleep mode. When the light intensity value continues to be less than the set value, When setting the value, if there is insufficient light in the room, the air conditioner determines that the room has entered a night scene; otherwise, the air conditioner operates in the original cooling mode. By controlling the air conditioner to automatically enter the sleep mode when the indoor light intensity continues to be low, it prevents the user from forgetting to turn on the sleep mode and causing the indoor temperature to be too low at night, thereby improving the comfort of the indoor temperature.

为了准确判断用户是否已进入睡眠期,本实施例提供了基于室内环境温度判断是否满足睡眠期条件的具体实施例:周期性计算室内环境温度与设定温度的温度差值;当连续两次计算得到的温度差值均小于零时,确定满足睡眠期条件。In order to accurately determine whether the user has entered the sleep period, this embodiment provides a specific example of determining whether the sleep period conditions are met based on the indoor ambient temperature: periodically calculating the temperature difference between the indoor ambient temperature and the set temperature; when calculating twice in a row When the obtained temperature differences are all less than zero, it is determined that the sleep period conditions are met.

空调器进入睡眠模式运行后,每间隔1~3min获取当前的室内环境温度T室内及设定温度T设温,计算室内环境温度与设定温度的温差△T=T室内-T设温,如果连续两次温差△T<0℃,表明室内环境温度持续低于设定温度,开始根据空调器运行时间修正设定温度;否则空调器按照原制冷模式运行。当温差持续小于零时,判断房间温度在用户允许的舒适范围内,且空调器完成房间降温过程,进入稳定阶段,可以按照睡眠场景智能调整房间设定温度。通过在室内环境温度持续低于设定温度时,确定满足睡眠期条件,以便在空调器完成室内降温时,再对空调器进行睡眠场景智能调整,保证了用户的舒适性,另一方面,室内环境温度持续低于设定温度可以间接表明用户的活动代谢量减小,提升了确定睡眠期开始时间的准确性。After the air conditioner enters the sleep mode, it obtains the current indoor ambient temperature T indoor and the set temperature T set temperature every 1 to 3 minutes, and calculates the temperature difference between the indoor ambient temperature and the set temperature △T = T indoor - T set temperature . If Two consecutive temperature differences △T<0°C indicate that the indoor ambient temperature continues to be lower than the set temperature, and the set temperature begins to be corrected based on the air conditioner operating time; otherwise, the air conditioner operates in the original cooling mode. When the temperature difference continues to be less than zero, it is judged that the room temperature is within the comfortable range allowed by the user, and the air conditioner completes the room cooling process and enters a stable stage. The room temperature setting can be intelligently adjusted according to the sleep scene. When the indoor ambient temperature continues to be lower than the set temperature, it is determined that the sleep period conditions are met, so that when the air conditioner completes indoor cooling, the air conditioner can intelligently adjust the sleep scene to ensure user comfort. On the other hand, indoor If the ambient temperature is continuously lower than the set temperature, it can indirectly indicate that the user's activity metabolism has decreased, improving the accuracy of determining the start time of the sleep period.

为了提升确定用户睡眠时长的准确性,本实施例提供了基于计时器的计时结果确定睡眠时长的具体实施方式:获取空调器所在地区的当前时间所对应的时间补偿;获取计时器的计时结果,计算计时结果与时间补偿之和,得到睡眠时长。In order to improve the accuracy of determining the user's sleep duration, this embodiment provides a specific implementation method of determining the sleep duration based on the timing result of the timer: obtaining the time compensation corresponding to the current time in the area where the air conditioner is located; obtaining the timing result of the timer, Calculate the sum of the timing result and time compensation to obtain the sleep duration.

在一种可行的实施方式中,可以接收用户输入的输入符合自己作息习惯的时间补偿表,即接收用户输入的夜晚各时刻对应的时间补偿值,根据空调器所在地区的当前时间查询用户输入的时间补偿表,得到当前时间所对应的时间补偿值。In a feasible implementation, a time compensation table input by the user that conforms to one's own work and rest habits can be received, that is, the time compensation value input by the user corresponding to each moment of the night is received, and the user-entered time compensation table is queried based on the current time in the area where the air conditioner is located. Time compensation table, obtain the time compensation value corresponding to the current time.

上述空调器设置有计时器及时钟,获取时钟的当前时间,获取计时器的计时结果,根据当前的实际时间修正计时结果,由于当前时间越晚用户开始睡眠的可能性越大,空调器所在地区的当前时间越晚,当前时间所对应的时间补偿越大,诸如,当前时间为20时时,当前时间所对应的时间补偿可以是0;当前时间为22时时,当前时间所对应的时间补偿可以是0.5h;当前时间为24,当前时间所对应的时间补偿可以是1h。计算计时结果t计时结果与时间补偿t时间补偿之和,得到睡眠时长,睡眠时长t=t计时结果+t时间补偿。通过根据实际的当前时间对计时器的计时结果进行修正,以使得到的睡眠时长符合自然睡眠习惯,提升了确定睡眠时长的准确性。The above-mentioned air conditioner is equipped with a timer and a clock, obtains the current time of the clock, obtains the timing result of the timer, and corrects the timing result according to the current actual time. Since the later the current time is, the greater the possibility that the user will start sleeping. The area where the air conditioner is located The later the current time is, the greater the time compensation corresponding to the current time is. For example, when the current time is 20 o'clock, the time compensation corresponding to the current time can be 0; when the current time is 22 o'clock, the time compensation corresponding to the current time can be 0.5h; the current time is 24, and the time compensation corresponding to the current time can be 1h. Calculate the sum of the timing result t timing result and the time compensation t time compensation to obtain the sleep duration, where the sleep duration t = t timing result + t time compensation . By correcting the timer's timing results based on the actual current time, the resulting sleep duration is in line with natural sleep habits, improving the accuracy of determining sleep duration.

为了提升用户的睡眠舒适性,本实施例提供了当光强度值小于预设最小光强度值时,基于睡眠时长调整室内机的设定温度的实施方式,具体可参照如下步骤(1)~步骤(3)执行:In order to improve the user's sleep comfort, this embodiment provides an implementation method of adjusting the set temperature of the indoor unit based on the sleep duration when the light intensity value is less than the preset minimum light intensity value. For details, please refer to the following steps (1) to steps (3)Execution:

步骤(1):当睡眠时长小于最大睡眠时长时,判断光强度值是否小于预设最小光强度。Step (1): When the sleep duration is less than the maximum sleep duration, determine whether the light intensity value is less than the preset minimum light intensity.

每间隔1~3min获取空调器确定得到的睡眠时长,在睡眠时长未超过用户的最大睡眠时长时,获取当前的光强度值,并判断当前的光强度值所处的温度区间。The sleep duration determined by the air conditioner is obtained every 1 to 3 minutes. When the sleep duration does not exceed the user's maximum sleep duration, the current light intensity value is obtained, and the temperature range in which the current light intensity value is located is determined.

步骤(2):当光强度值小于预设最小光强度时,基于睡眠时长确定用户的睡眠状态。Step (2): When the light intensity value is less than the preset minimum light intensity, determine the user's sleep state based on the sleep duration.

当光强度值小于预设最小光强度时,光强度值较小,确定当前仍处于睡眠场景,空调器按照睡眠模式运行,根据睡眠时长的长短确定用户当前所处的睡眠状态。室内光强度值受到室内灯光和室外光线的影响,可能会产生波动或者随着睡眠时长的增加而逐渐增大,当光强度值小于预设最小光强度时,仍按照睡眠场景处理。When the light intensity value is less than the preset minimum light intensity, the light intensity value is small and it is determined that the user is still in the sleep scene. The air conditioner operates according to the sleep mode and determines the user's current sleep state based on the sleep duration. The indoor light intensity value is affected by indoor light and outdoor light, and may fluctuate or gradually increase as the sleep duration increases. When the light intensity value is less than the preset minimum light intensity, it will still be processed according to the sleep scene.

步骤(3):获取室内机的当前设定温度,基于睡眠状态调整当前设定温度。Step (3): Obtain the current set temperature of the indoor unit and adjust the current set temperature based on the sleep state.

根据用户通常的睡眠时间与睡眠状态,将上述睡眠状态划分为多个睡眠期,上述睡眠状态包括入睡期、浅睡期、熟睡期、深睡期、快速眼动期和退出睡眠期,在各睡眠状态下分别调整室内机的当前设定温度,控制空调器以新的设定温度运行,从而对应调整室内环境温度。通过在睡眠场景下降用户的睡眠状态划分为多个睡眠区间,以便通过调整设定温度精准控制各睡眠区间的环境温度,提升了室内温度控制的合理性。According to the user's usual sleep time and sleep state, the above-mentioned sleep state is divided into multiple sleep periods. The above-mentioned sleep state includes the sleep period, light sleep period, deep sleep period, deep sleep period, rapid eye movement period and exit sleep period. In the sleep state, the current set temperature of the indoor unit is adjusted respectively, and the air conditioner is controlled to operate at the new set temperature, thereby adjusting the indoor ambient temperature accordingly. By dividing the user's sleep state into multiple sleep zones in the sleep scene, the ambient temperature of each sleep zone can be accurately controlled by adjusting the set temperature, thereby improving the rationality of indoor temperature control.

在一种可行的实施方式中,根据上述睡眠状态确定设定温度的补偿值,基于当前设定温度与补偿值之和确定新的设定温度,控制空调器以新的设定温度运行,上述睡眠区间的划分,可以参照如下表一所示的各睡眠状态下补偿值与风挡关系表所示:In a feasible implementation, the compensation value of the set temperature is determined according to the above-mentioned sleep state, the new set temperature is determined based on the sum of the current set temperature and the compensation value, and the air conditioner is controlled to operate at the new set temperature. For the division of sleep intervals, you can refer to the relationship between compensation values and windshield in each sleep state shown in Table 1 below:

表一各睡眠状态下补偿值与风挡关系表Table 1: Relationship between compensation value and windshield in each sleep state

在一种可行的实施方式中,在基于睡眠状态调整空调器得到的当前设定温度时,可以参照如下1)~6)执行:In a feasible implementation, when adjusting the current set temperature obtained by the air conditioner based on the sleep state, the following steps 1) to 6) can be performed:

1)当睡眠状态为入睡期时,控制当前设定温度降低第一温度。1) When the sleep state is in the falling asleep stage, control the current set temperature to lower the first temperature.

通过在入睡期时,控制当前设定温度降低,空调器在运行时为了使室内环境温度接近当前设定温度,控制制冷量增加使室内环境温度降低。入睡期降低室内环境温度有利于人体快速进入睡眠状态,室内空气一般比家具冷得快,降低室内环境温度可以进一步降低床和被子的温度,提高人体舒适感。By controlling the current set temperature to decrease during the sleep period, in order to bring the indoor ambient temperature close to the current set temperature during operation, the air conditioner controls the cooling capacity to increase to lower the indoor ambient temperature. Lowering the indoor ambient temperature during sleep is helpful for the human body to quickly enter the sleep state. Indoor air generally cools faster than furniture. Lowering the indoor ambient temperature can further reduce the temperature of the bed and quilt and improve human comfort.

2)当睡眠状态为浅睡期时,控制当前设定温度保持不变。2) When the sleep state is in the light sleep period, the current set temperature is controlled to remain unchanged.

3)当睡眠状态为熟睡期时,控制当前设定温度增大第二温度。3) When the sleep state is in the deep sleep period, control the current set temperature to increase the second temperature.

上述第二温度可以是0.5~1℃,在熟睡期的不同阶段,上述第二温度可以取不同的值。The above-mentioned second temperature may be 0.5-1°C. In different stages of the deep sleep period, the above-mentioned second temperature may take different values.

4)当睡眠状态为深睡期时,控制当前设定温度增大第三温度;其中,第三温度大于等于第二温度。4) When the sleep state is in the deep sleep period, control the current set temperature to increase the third temperature; wherein the third temperature is greater than or equal to the second temperature.

当确定用户的睡眠状态为浅睡期、熟睡期或深睡期时,由于浅睡期、熟睡期和深睡期人体已新陈代谢减缓,对室内环境温度的要求下降,通过适当增大当前设定温度,可以适度提高室内环境温度,避免用户体感温度较低而着凉,节约了空调能耗,同时保证了人体舒适度。When it is determined that the user's sleep state is light sleep, deep sleep, or deep sleep, because the human body's metabolism has slowed down during the light sleep, deep sleep, and deep sleep periods, the requirements for the indoor ambient temperature decrease. By appropriately increasing the current setting It can moderately increase the indoor ambient temperature to prevent users from catching cold due to low body temperature, saving air conditioning energy consumption while ensuring human body comfort.

5)当睡眠状态为快速眼动期时,控制当前设定温度增大第四温度;其中,第四温度小于第三温度。5) When the sleep state is in the rapid eye movement period, control the current set temperature to increase the fourth temperature; wherein the fourth temperature is smaller than the third temperature.

上述第四温度可以是0~0.5℃,通过控制当前设定温度增大第四温度,由于第四温度小于第三温度,相对于深睡期,降低了当前设定温度,从而降低了室内环境温度。The above-mentioned fourth temperature may be 0 to 0.5°C. The fourth temperature is increased by controlling the current set temperature. Since the fourth temperature is lower than the third temperature, the current set temperature is lowered compared to the deep sleep period, thereby reducing the indoor environment. temperature.

快速眼动期时人体逐渐退出睡眠状态,人体新陈代谢增加,且快速眼动期往往对应着日出时分,太阳直射房间导致房间热负荷增多,通过降低室内环境温度有利于应对人体新陈代谢和房间热负荷的增多,保证人体舒适度。During the REM period, the human body gradually exits sleep, and human metabolism increases. Moreover, the REM period often corresponds to sunrise, when the sun shines directly into the room, causing an increase in room heat load. Lowering the indoor ambient temperature is beneficial to deal with human metabolism and room heat load. increase to ensure human body comfort.

6)当睡眠状态为退出睡眠期时,控制当前设定温度降低第五温度。6) When the sleep state is to exit the sleep period, control the current set temperature to reduce the fifth temperature.

在退出睡眠期时,此时人体已醒来或处于半醒阶段,对房间温度较敏感,进一步降低当前设定温度以保证空调器的冷量输出,降低室内环境温度,以免影响人的体感。When exiting the sleep period, the human body has woken up or is in a semi-awake stage and is more sensitive to the room temperature. The current set temperature should be further reduced to ensure the cooling output of the air conditioner and reduce the indoor ambient temperature to avoid affecting the human body feeling.

在一种可行的实施方式中,为了避免空调器的运行噪音影响用户睡眠,本实施例提供的空调器控制方法还包括以下步骤a~步骤c:In a feasible implementation, in order to prevent the operating noise of the air conditioner from affecting the user's sleep, the air conditioner control method provided in this embodiment further includes the following steps a to c:

步骤a:当睡眠状态为入睡期时,控制室内机以低风挡运行。Step a: When the sleep state is falling asleep, control the indoor unit to run with low windshield.

上述低风挡即为室内风机的最小风挡,上述空调器的室内风机可以包括高风挡、中风挡和低风挡,通过在入睡期控制室内机以低风挡运行,可以降低室内噪音,保证空调器冷量输出的同时提升用户体验。The above-mentioned low windshield is the minimum windshield of the indoor fan. The indoor fan of the above-mentioned air conditioner can include a high windshield, a medium windshield and a low windshield. By controlling the indoor unit to operate with a low windshield during the sleep period, indoor noise can be reduced and the cooling capacity of the air conditioner can be ensured. Improve user experience while outputting.

步骤b:当睡眠状态为浅睡期、熟睡期、深睡期和快速眼动期中的任一睡眠状态时,控制室内机以静音风挡运行。Step b: When the sleep state is any one of light sleep, deep sleep, deep sleep and rapid eye movement, control the indoor unit to operate with a silent windshield.

上述静音风挡的转速小于低风挡的转速,上述静音风挡的转速为静音模式下室内风机的转速,浅睡、熟睡和深睡期人体已新陈代谢减缓,对室内温度的要求下降,通过降低室内风机转速,在能够保证人体舒适度的同时,进一步改善了人体听感,避免空调噪音影响用户的睡眠。The rotation speed of the above-mentioned silent windshield is smaller than the rotation speed of the low windshield. The rotation speed of the above-mentioned silent windshield is the rotation speed of the indoor fan in silent mode. During light sleep, deep sleep and deep sleep, the human body's metabolism has slowed down, and the requirements for indoor temperature have dropped. By reducing the indoor fan speed , while ensuring human body comfort, further improves human hearing and prevents air-conditioning noise from affecting users' sleep.

步骤c:当睡眠状态为退出睡眠期时,控制室内机以低风挡运行。Step c: When the sleep state is exiting the sleep period, control the indoor unit to run with low windshield.

当睡眠状态为退出睡眠期时,人体已醒来或处于半醒阶段,对房间温度较敏感,通过控制室内风机以低风挡运行,提升室内风机的转速,以提升空调器的冷量输出,避免室内环境温度较高而影响用户的舒适性。When the sleep state is exiting the sleep period, the human body has woken up or is in the semi-awake stage, and is more sensitive to the room temperature. By controlling the indoor fan to run at a low windshield, the indoor fan speed is increased to increase the cooling output of the air conditioner to avoid The indoor ambient temperature is high and affects the user's comfort.

考虑到在睡眠时长小于最大睡眠时长,但光强度值不满足小于预设最小光强度时,可能存在提前退出睡眠场景的情况,本实施例提供的空调器控制方法还包括以下(1)~(2):Considering that when the sleep duration is less than the maximum sleep duration but the light intensity value is not less than the preset minimum light intensity, there may be a situation where the sleep scene is exited early, the air conditioner control method provided by this embodiment also includes the following (1) ~ ( 2):

(1)当光强度值大于等于预设最小光强度小于等于预设最大光强度时,计算预设时间内的光强度变化值,基于光强度变化值调整室内机的设定温度及运行风挡。(1) When the light intensity value is greater than or equal to the preset minimum light intensity and less than or equal to the preset maximum light intensity, calculate the light intensity change value within the preset time, and adjust the set temperature and operating windshield of the indoor unit based on the light intensity change value.

上述预设最大光强度为正午时分室内的光强度值,该预设最大光强度值的取值范围可以是180~200lx,优选值为200lx。当光强度值大于等于预设最小光强度且小于等于预设最大光强度时,周期性计算当前的光强度值与预设时间之前的光强度值的差值,得到预设时间内的光强度变化值,根据光强度变化值可以判断室内光线是突然增大还是逐渐增大,从而进一步判断当前是否还是睡眠场景。The above-mentioned preset maximum light intensity is the indoor light intensity value at noon. The preset maximum light intensity value can range from 180 to 200lx, and the preferred value is 200lx. When the light intensity value is greater than or equal to the preset minimum light intensity and less than or equal to the preset maximum light intensity, the difference between the current light intensity value and the light intensity value before the preset time is periodically calculated to obtain the light intensity within the preset time. Change value, according to the change value of light intensity, it can be judged whether the indoor light increases suddenly or gradually, so as to further determine whether the current scene is still sleeping.

当光强度变化值大于预设变化阈值时,控制室内机以第一预设风挡运行,控制室内机的设定温度降低第六温度,周期性检测当前光强度值,判断当前光强度值是否小于预设光强度阈值,如果否,控制空调器在第三预设时长后退出睡眠模式。When the light intensity change value is greater than the preset change threshold, the indoor unit is controlled to operate with the first preset windshield, the set temperature of the indoor unit is controlled to decrease by the sixth temperature, the current light intensity value is periodically detected, and it is determined whether the current light intensity value is less than Preset light intensity threshold, if not, control the air conditioner to exit sleep mode after the third preset time period.

上述预设变化阈值的取值范围可以是15~25lx,优选值为20lx。如果光强度变化值大于预设变化阈值,表明室内光强度值突然升高,可能是开灯或拉开窗帘的动作,与用户活动有关,不是睡眠场景的变化,由于开灯时人的活动量增多,拉开窗帘阳光照射量增多,导致室内热负荷增多,控制室内风机以第一预设风挡(诸如可以是低风挡或中风挡)运行,控制室内机的设定温度降低第六温度(诸如可以所述0.5~1℃,优选值为1℃),降低设定温度可以提高空调器制冷量,以应对室内热负荷增加,以免影响用户舒适性。The value range of the above-mentioned preset change threshold may be 15-25lx, and the preferred value is 20lx. If the light intensity change value is greater than the preset change threshold, it indicates that the indoor light intensity value suddenly increases. It may be an action of turning on the lights or opening the curtains, which is related to the user's activity, not a change in the sleep scene. Due to the amount of human activity when the lights are turned on, Increase, open the curtains to increase the amount of sunlight, resulting in an increase in indoor heat load, control the indoor fan to operate at the first preset windshield (such as a low windshield or a midwindshield), and control the set temperature of the indoor unit to reduce the sixth temperature (such as It can be 0.5 to 1°C (the preferred value is 1°C). Lowering the set temperature can increase the cooling capacity of the air conditioner to cope with the increase in indoor heat load, so as not to affect user comfort.

在控制室内机以第一预设风挡及降低第六温度后的设定温度(记为第三设温T三设,T三设=T设温-T六温)运行时,每间隔1~3min获取检测当前光强度值,如果当前光强度值小于上述预设光强度阈值(0.5lx),则判断室内再次进入睡眠场景,按原睡眠模式运行,即返回执行上述当光强度值小于预设最小光强度时,基于睡眠时长确定用户的睡眠状态的步骤。如果当前光强度值大于等于上述预设光强度值,控制空调器进入睡眠模式和制冷模式的过渡期,即控制室内机以第一预设风挡及第三设温运行第三预设时长(诸如可以是1h)后,退出睡眠模式,空调器按照原制冷模式的设定温度及设定风挡运行。When the indoor unit is controlled to operate with the first preset windshield and the set temperature after lowering the sixth temperature (recorded as the third set temperature T three set , T three set = T set temperature - T six temperature ), every interval 1 ~ 3min to obtain and detect the current light intensity value. If the current light intensity value is less than the above-mentioned preset light intensity threshold (0.5lx), it will be judged that the room has entered the sleep scene again and run in the original sleep mode, that is, return to the above execution when the light intensity value is less than the preset value. Steps to determine the user's sleep state based on sleep duration when the light intensity is minimum. If the current light intensity value is greater than or equal to the above-mentioned preset light intensity value, the air conditioner is controlled to enter the transition period between sleep mode and cooling mode, that is, the indoor unit is controlled to run with the first preset windshield and the third set temperature for a third preset time period (such as It can be 1h) after which the sleep mode is exited and the air conditioner operates according to the set temperature and windshield of the original cooling mode.

当光强度变化值小于等于预设变化阈值时,控制室内机以第二预设风挡运行,控制室内机的设定温度降低第七温度,控制空调器在第四预设时长后退出睡眠模式。When the light intensity change value is less than or equal to the preset change threshold, the indoor unit is controlled to operate with the second preset windshield, the set temperature of the indoor unit is controlled to decrease by the seventh temperature, and the air conditioner is controlled to exit the sleep mode after the fourth preset time period.

如果光强度值大于等于预设最小光强度小于等于预设最大光强度,且上述光强度变化值小于等于上述预设变化阈值,表明室内光强度已处于较高水平,且仍然在缓慢升高,可能是室外光线逐渐变亮,室内热负荷会逐渐增多,通过控制室内机以第二预设风挡(诸如可以是低风挡或中风挡)运行,控制室内机的设定温度降低第七温度(诸如可以所述0.5~1℃,优选值为1℃),降低后的设定温度记为第四设温T四设,T四设=T设温-T七温,降低了室内机的设定温度,提高了空调器制冷量的出风量,可以应对室内热负荷增加,提升了用户舒适性,当空调器以第二预设风挡和第四设温运行第四预设时长(诸如可以是1h)后,控制空调器退出睡眠模式,空调器按照原制冷模式的设定温度及设定风挡运行。If the light intensity value is greater than or equal to the preset minimum light intensity and less than or equal to the preset maximum light intensity, and the above-mentioned light intensity change value is less than or equal to the above-mentioned preset change threshold, it indicates that the indoor light intensity is at a high level and is still slowly increasing. It may be that the outdoor light gradually becomes brighter and the indoor heat load gradually increases. By controlling the indoor unit to operate at the second preset windshield (such as a low windshield or a middle windshield), the set temperature of the indoor unit is controlled to reduce the seventh temperature (such as It can be 0.5~1℃, the preferred value is 1℃), the lowered set temperature is recorded as the fourth set temperature T four set , T four set = T set temperature - T seven temperature , the setting temperature of the indoor unit is reduced temperature, which increases the air output of the air conditioner's cooling capacity, can cope with the increase in indoor heat load, and improves user comfort. When the air conditioner operates with the second preset windshield and the fourth set temperature for a fourth preset duration (such as 1 hour) ), the air conditioner is controlled to exit the sleep mode, and the air conditioner operates according to the set temperature and windshield setting of the original cooling mode.

(2)当光强度值大于预设最大光强度时,或者,当睡眠时长大于等于最大睡眠时长时,控制空调器退出睡眠模式。(2) When the light intensity value is greater than the preset maximum light intensity, or when the sleep duration is greater than or equal to the maximum sleep duration, the air conditioner is controlled to exit the sleep mode.

当光强度值大于预设最大光强度时,判断当前光强度值过大,控制空调器退出睡眠模式,按原制冷模式的设定温度和风挡控制空调器运行。当光强度值大于预设最大光强度时,光强度值与正午时分室内的数值相当,判断不是睡眠场景;而且当前光强度过大时,室内热负荷比较大,切换成原制冷模式有利于维持房间温度,以免影响人的体感。When the light intensity value is greater than the preset maximum light intensity, it is judged that the current light intensity value is too large, the air conditioner is controlled to exit the sleep mode, and the air conditioner is controlled to operate according to the set temperature and windshield of the original cooling mode. When the light intensity value is greater than the preset maximum light intensity, the light intensity value is equivalent to the indoor value at noon, and it is judged that it is not a sleeping scene; and when the current light intensity is too high, the indoor heat load is relatively large, and switching to the original cooling mode is beneficial to maintain room temperature so as not to affect people's sense of body.

当睡眠时长大于等于最大睡眠时长时,退出睡眠模式,空调器按照原制冷模式运行,快速降低室内环境温度。睡眠模式运行时间过长,空调器判断不是睡眠场景,自动退出睡眠模式,避免用户起床时室内环境温度较高影响用户舒适性。When the sleep duration is greater than or equal to the maximum sleep duration, the sleep mode is exited and the air conditioner operates in the original cooling mode to quickly reduce the indoor ambient temperature. If the sleep mode has been running for too long, the air conditioner determines that it is not a sleep scene and automatically exits the sleep mode to prevent the high indoor ambient temperature from affecting user comfort when the user wakes up.

通过在光强度值较大时,进一步基于光强度变化值调整室内机的设定温度及运行风挡,以便根据室内所处的场景控制空调器运行,避免室内温度过高或过低,通过在光强度值很大或睡眠时长过长时,控制空调器退出睡眠模式以快速降低室内环境温度,提高人体舒适性。When the light intensity value is large, the set temperature and operating windshield of the indoor unit are further adjusted based on the light intensity change value, so as to control the operation of the air conditioner according to the indoor scene and avoid the indoor temperature from being too high or too low. When the intensity value is very high or the sleep duration is too long, the air conditioner is controlled to exit the sleep mode to quickly lower the indoor ambient temperature and improve human comfort.

本实施例提供的上述空调器控制方法,通过检测室内光强度值,可以自动识别是否处于睡眠场景,并在处于睡眠场景时控制空调器自动进入睡眠模式,根据用户的睡眠时长自动调节设定温度,进而可以调节室内环境温度,避免用户熟睡时过渡制冷,降低了室内噪音,降低了空调能耗,提高了用户的舒适性体验。The above air conditioner control method provided by this embodiment can automatically identify whether the air conditioner is in a sleep scene by detecting the indoor light intensity value, and control the air conditioner to automatically enter the sleep mode when in the sleep scene, and automatically adjust the set temperature according to the user's sleep duration. , which in turn can adjust the indoor ambient temperature, avoid over-cooling when the user is sleeping, reduce indoor noise, reduce air conditioning energy consumption, and improve the user's comfort experience.

对应于上述实施例提供的空调器控制方法,本发明实施例提供了应用上述空调器控制方法的实例,具体可参照如下步骤1~步骤11执行:Corresponding to the air conditioner control method provided in the above embodiment, the embodiment of the present invention provides an example of applying the above air conditioner control method. Specifically, the following steps 1 to 11 can be performed:

步骤1,空调器进入制冷模式且开启自动睡眠功能时,每隔一分钟获取当前光强度值I,如果连续两次的光强度值I<0.5lx,则进入睡眠模式;否则空调器按照原制冷模式运行。Step 1. When the air conditioner enters the cooling mode and turns on the automatic sleep function, it obtains the current light intensity value I every one minute. If the light intensity value I is less than 0.5lx for two consecutive times, it enters the sleep mode; otherwise, the air conditioner operates according to the original cooling mode. mode operation.

通过空调内置元器件,如光敏传感器、雷达传感器、红外线传感器、摄像头或WIF模块等检测房间的光强度值,判断空调器是否进入夜晚场景,或者判断人体是否处于睡眠状态。当光强度值持续小于设定值时,房间光照不足,空调器判断房间进入夜晚场景。Through the built-in components of the air conditioner, such as photosensitive sensors, radar sensors, infrared sensors, cameras or WIF modules, the light intensity value in the room is detected to determine whether the air conditioner has entered a night scene, or whether the human body is in a sleep state. When the light intensity value continues to be lower than the set value, the room is insufficiently illuminated and the air conditioner determines that the room has entered a night scene.

步骤2,空调器进入睡眠模式后,按照原制冷模式运行,内风机维持原风挡运行,每隔一分钟获取室内温度T室内和设定温度T设温,计算温差△T=T室内-T设温,如果连续两次温差△T<0℃,设计时器初始值为0,基于计时器开始记录时间。Step 2: After the air conditioner enters the sleep mode, it will operate according to the original cooling mode, and the internal fan will maintain the original windshield operation. It will obtain the indoor temperature T indoor and the set temperature T set every one minute, and calculate the temperature difference △T = T indoor - T set temperature , if the temperature difference ΔT between two consecutive times is <0°C, the initial value of the design timer is 0, and the timer starts recording time.

当温差持续小于设定值时,判断房间温度在用户允许的舒适范围内,且空调器完成房间降温过程,进入稳定阶段,可以按照睡眠场景智能调整房间设定温度。When the temperature difference continues to be less than the set value, it is judged that the room temperature is within the comfortable range allowed by the user, and the air conditioner completes the room cooling process and enters a stable stage, and can intelligently adjust the room set temperature according to the sleep scene.

步骤3,获取当前实际时间对应的时间补偿值,基于时间补偿值对计时结果进行修正,得到用户的睡眠时长。Step 3: Obtain the time compensation value corresponding to the current actual time, correct the timing result based on the time compensation value, and obtain the user's sleep duration.

根据当前实际时间或者客户睡眠习惯修正空调器运行时间的计时结果t计时,得到用户的睡眠时长t=t计时+t时间补偿+t睡眠习惯补偿。t时间补偿与空调器所在地区的当前实际时间相关;根据用户睡眠习惯设置的补偿值t睡眠习惯补偿与客户睡眠曲线(该睡眠曲线可以是根据用户设置输入的睡眠作息时间绘制的)相关,如上N次空调器进入睡眠模式和退出睡眠模式时间的平均值,进入睡眠模式时间平均值越晚。当前实际时间越晚,t时间补偿越大;进入睡眠模式和退出睡眠模式时间的平均值越晚,t睡眠习惯补偿越大。The timing result t timing of correcting the air conditioner running time according to the current actual time or the customer's sleeping habit is used to obtain the user's sleep duration t = t timing + t time compensation + t sleeping habit compensation . t time compensation is related to the current actual time in the area where the air conditioner is located; the compensation value t sleep habit compensation set according to the user's sleeping habits is related to the customer's sleep curve (the sleep curve can be drawn based on the sleep schedule input by the user settings), as above The average time of N times when the air conditioner enters sleep mode and exits sleep mode. The later the average time of entering sleep mode is. The later the current actual time is, the greater the t time compensation is ; the later the average time of entering sleep mode and exiting sleep mode is, the greater the t sleep habit compensation is .

步骤4,根据用户睡眠时长将睡眠模式划分为六个区间,分别对应入睡期、浅睡期、熟睡期、深睡期、快速眼动期和退出睡眠,每个区间设有对应的设定温度的补偿值和内风机运行风挡。Step 4: Divide the sleep mode into six intervals according to the user's sleep duration, corresponding to the sleep period, light sleep period, deep sleep period, deep sleep period, rapid eye movement period and exit sleep. Each interval has a corresponding set temperature. compensation value and internal fan operation windshield.

将人体睡眠时间分为6个区间,精准控制每个区间的温度,贴合睡眠舒适温度区间,改善人的睡眠质量。Divide the human body's sleep time into 6 intervals, accurately control the temperature in each interval, and fit the comfortable sleep temperature interval to improve people's sleep quality.

步骤5,获取睡眠时长对应的补偿值,基于该补偿值修正设定温度,得到第二设温T二设=T设温+补偿值,控制空调器按照第二设温和对应的运行风挡运行。Step 5: Obtain the compensation value corresponding to the sleep duration, correct the set temperature based on the compensation value, obtain the second set temperature T2set = T set temperature + compensation value, and control the air conditioner to operate according to the operating windshield corresponding to the second set temperature.

入睡期降低室内环境温度有利于人体快速进入睡眠状态。室内空气一般比家具冷得快,降低室内环境温度进一步降低床和被子的温度,提高人的体感;而低风档可以降低房间噪音,保证空调器冷量输出的同时提高人体听感。Lowering the indoor ambient temperature during sleep is helpful for the human body to quickly enter the sleep state. Indoor air generally cools faster than furniture. Lowering the indoor ambient temperature will further reduce the temperature of the bed and quilt, and improve people's physical sensation. Low wind speed can reduce room noise, ensure the cooling output of the air conditioner, and improve the human body's sense of hearing.

浅睡、熟睡和深睡期人体已新陈代谢减缓,对室内温度的要求下降,适度提高室内温度也可以保证人体舒适度。风挡设为静音档,进一步改善人体听感。During light sleep, deep sleep and deep sleep, the human body's metabolism has slowed down, and the requirements for indoor temperature have dropped. Moderately increasing the indoor temperature can also ensure human body comfort. The windshield is set to silent mode to further improve human hearing.

快速眼动期时人体逐渐退出睡眠状态,人体新陈代谢增加;另一方面,快速眼动期往往对应着日出时分,太阳直射房间导致房间热负荷增多。降低房间温度有利于应对人体新陈代谢和房间热负荷的增多,保证人体舒适度。During the REM period, the human body gradually exits sleep and the body's metabolism increases; on the other hand, the REM period often corresponds to sunrise, when the sun shines directly into the room, causing the room's heat load to increase. Lowering the room temperature is conducive to coping with the increase in human metabolism and room heat load, ensuring human comfort.

退出睡眠期,此时人体已醒来或处于半醒阶段,对房间温度较敏感,进一步降低室内温度和风挡设为低风档以保证空调器的冷量输出,以免影响人的体感。After exiting the sleep period, the human body has woken up or is in the semi-awake stage and is more sensitive to the room temperature. Further lower the indoor temperature and set the windshield to a low wind speed to ensure the cooling output of the air conditioner so as not to affect the human body.

步骤6,每隔一分钟获取空调器运行时间t,如果睡眠时长t>9h,则退出睡眠模式,空调器按照睡眠模式之前的制冷模式运行。Step 6: Obtain the air conditioner running time t every one minute. If the sleep time t>9h, exit the sleep mode and the air conditioner runs in the cooling mode before the sleep mode.

睡眠模式运行时间过长,空调器判断不是睡眠场景,自动退出睡眠模式,空调器按照原制冷模式对应的设定温度和设定风挡运行。If the sleep mode runs for too long, the air conditioner determines that it is not a sleep scene and automatically exits the sleep mode. The air conditioner operates according to the set temperature and windshield corresponding to the original cooling mode.

步骤7,如果睡眠时长t≤9h,获取当前光强度值I2和一分钟前检测的光强度I1,并且计算光强度差值△I=I2-I1,判断室内光线是否突然增大或逐渐增大,判断当前是否还是睡眠场景。Step 7, if the sleep duration t≤9h, obtain the current light intensity value I 2 and the light intensity I 1 detected one minute ago, and calculate the light intensity difference △I=I 2 -I 1 to determine whether the indoor light suddenly increases Or gradually increase to determine whether the current scene is still sleeping.

步骤8,光强度I2>200lx时,当前光强度高于设定值,判断当前光强度过大,空调器退出睡眠模式,按原制冷模式的设定温度和风挡控制空调器运行。Step 8: When the light intensity I 2 >200lx, the current light intensity is higher than the set value, it is judged that the current light intensity is too large, the air conditioner exits the sleep mode, and the air conditioner is controlled to operate according to the set temperature and windshield of the original cooling mode.

光强度值与正午时分室内的数值相当,判断不是睡眠场景;而且当前光强度过大时,室内热负荷可能比较大,切换成原制冷模式有利于维持房间温度,以免影响人的体感。The light intensity value is equivalent to the indoor value at noon, so it is judged that it is not a sleeping scene; and when the current light intensity is too high, the indoor heat load may be relatively large. Switching to the original cooling mode is beneficial to maintaining the room temperature, so as not to affect people's physical sensation.

步骤9,光强度I2<100lx时,空调器按当前睡眠模式运行;室内光强度I2受室内灯光和室外光线的影响,可能会波动或者随着运行时间变成逐渐增大,当光强度I2小于设定值时,仍按睡眠场景处理。Step 9: When the light intensity I 2 <100lx, the air conditioner operates in the current sleep mode; the indoor light intensity I 2 is affected by indoor light and outdoor light, and may fluctuate or gradually increase with operating time. When the light intensity When I 2 is less than the set value, it will still be processed as a sleep scene.

步骤10,光强度100lx≤I2≤200lx时,进一步判断△I的数值。如果△I>20lx,按照第三设温T三设和低风档控制空调器运行,其中T三设=T设温-1。并且每隔1min获取光强度值I,如果是光强度I<0.5lx,则进入原睡眠模式运行;否则,空调器运行1h后按原制冷模式的设定温度和风挡控制空调器运行。Step 10: When the light intensity is 100lx≤I 2 ≤200lx, further determine the value of △I. If △I>20lx, control the air conditioner to operate according to the third set temperature T3 set and low wind speed, where T3 set =T set temperature -1. And the light intensity value I is obtained every 1 minute. If the light intensity I is <0.5lx, it will enter the original sleep mode; otherwise, the air conditioner will run according to the set temperature and windshield of the original cooling mode after running for 1 hour.

室内光强度突然升高,可能是开灯或拉开窗帘的动作,与用户有关,不是睡眠场景,由于开灯时人的活动量增多,拉开窗帘阳光照射量增多,导致室内热负荷增多,降低设定温度,提高空调器制冷量可以应对室内热负荷增加,以免影响用户舒适性。如果光强度再次降到设定值100lx以下,则判断室内再次进入睡眠场景,按原睡眠模式运行;否则,空调器进入睡眠模式和制冷模式的过渡期,按T三设运行1h后退出睡眠模式。The sudden increase in indoor light intensity may be due to the action of turning on the lights or opening the curtains. It is related to the user and is not a sleeping scene. Because people's activity increases when the lights are turned on, and the amount of sunlight when the curtains are opened increases, the indoor heat load increases. Lowering the set temperature and increasing the cooling capacity of the air conditioner can cope with the increase in indoor heat load, so as not to affect user comfort. If the light intensity drops below the set value 100lx again, it will be judged that the room has entered the sleep scene again and run in the original sleep mode; otherwise, the air conditioner will enter the transition period between sleep mode and cooling mode, press T3 to run for 1 hour and then exit the sleep mode .

步骤11,如果△I≤20lx,按照第四设温T四设和低风档控制空调器运行,其中T四设=T设温-1,空调器运行1h后按原制冷模式的设定温度和风挡控制空调器运行。Step 11, if △I≤20lx, control the operation of the air conditioner according to the fourth temperature setting T4 setting and low wind speed, where T4 setting = T setting temperature -1, the air conditioner will operate according to the original cooling mode setting temperature after 1 hour and windshield control air conditioner operation.

室内光强度缓慢升高,可能是室外阳光逐渐增大,室内热负荷增多,降低设定温度,提高空调器制冷量可以应对室内热负荷增加,以免影响用户舒适性,空调器进入睡眠模式和制冷模式的过渡期,按T四设运行1h后退出睡眠模式。The indoor light intensity slowly increases, which may be due to the gradual increase in outdoor sunlight and the increase in indoor heat load. Lowering the set temperature and increasing the cooling capacity of the air conditioner can cope with the increase in indoor heat load, so as not to affect user comfort, and the air conditioner enters sleep mode and cooling During the transition period of the mode, press T4 to set it to run for 1 hour and then exit the sleep mode.

对应于上述实施例提供的空调器控制方法,本发明实施例提供了一种空调器控制装置,该装置可以应用于空调器的控制器,参见如图2所示的空调器控制装置结构示意图,该装置包括以下模块:Corresponding to the air conditioner control method provided in the above embodiment, the embodiment of the present invention provides an air conditioner control device, which can be applied to the controller of the air conditioner. Refer to the schematic structural diagram of the air conditioner control device shown in Figure 2. The device includes the following modules:

监测模块21,用于在空调器以睡眠模式运行过程中,监测室内环境温度及光强度值。The monitoring module 21 is used to monitor the indoor ambient temperature and light intensity value when the air conditioner is operating in sleep mode.

判断模块22,用于基于室内环境温度判断是否满足睡眠期条件,如果是,基于计时器开始计时,并根据计时器的计时结果确定睡眠时长。The judgment module 22 is used to judge whether the sleep period conditions are met based on the indoor ambient temperature. If so, start timing based on the timer, and determine the sleep duration based on the timing result of the timer.

控制模块23,用于当光强度值小于预设最小光强度时,基于睡眠时长调整室内机的设定温度;其中,当睡眠时长小于第一预设时长时,设定温度与睡眠时长成正相关,当睡眠时长大于第一预设时长小于最大睡眠时长时,设定温度与睡眠时长成负相关。The control module 23 is used to adjust the set temperature of the indoor unit based on the sleep duration when the light intensity value is less than the preset minimum light intensity; wherein, when the sleep duration is less than the first preset duration, the set temperature is positively correlated with the sleep duration. , when the sleep duration is greater than the first preset duration and less than the maximum sleep duration, the set temperature is negatively correlated with the sleep duration.

本实施例提供的上述空调器控制装置,在判断得到用户进入睡眠期后,通过在睡眠时长小于第一预设时长即在睡眠时长较短时,控制设定温度随睡眠时长的增大而增大,可以使空调器在用户从入睡到熟睡的过程中逐渐提高室内环境温度,由于用户进入熟睡后因新陈代谢较少,避免室内环境温度持续不变而导致用户着凉,同时降低了空调能耗;通过在睡眠时间大于第一预设时长即在睡眠时长较长时,控制设定温度随睡眠时长的增大而减小,可以使空调器在用户从熟睡到浅睡的过程中逐渐降低室内环境温度,避免用户新陈代谢增多时室内环境温度较高影响室内舒适性,提升了用户体验。The air conditioner control device provided in this embodiment, after determining that the user has entered the sleep period, controls the set temperature to increase as the sleep duration increases when the sleep duration is less than the first preset duration, that is, when the sleep duration is shorter. Large, the air conditioner can gradually increase the indoor ambient temperature when the user falls asleep to a deep sleep. Since the user has less metabolism after entering a deep sleep, it avoids the user catching cold due to the continued constant indoor ambient temperature, and at the same time reduces the energy consumption of the air conditioner; By controlling the set temperature to decrease as the sleep duration increases when the sleep time is greater than the first preset duration, that is, when the sleep duration is longer, the air conditioner can gradually reduce the indoor environment when the user goes from deep sleep to light sleep. Temperature, avoid high indoor ambient temperature affecting indoor comfort when the user's metabolism increases, and improve the user experience.

在一种实施方式中,上述控制模块23,进一步用于当睡眠时长小于最大睡眠时长时,判断光强度值是否小于预设最小光强度;当光强度值小于预设最小光强度时,基于睡眠时长确定用户的睡眠状态;其中,睡眠状态包括入睡期、浅睡期、熟睡期、深睡期、快速眼动期和退出睡眠期;获取室内机的当前设定温度,基于睡眠状态调整当前设定温度。In one embodiment, the above control module 23 is further configured to determine whether the light intensity value is less than the preset minimum light intensity when the sleep duration is less than the maximum sleep duration; when the light intensity value is less than the preset minimum light intensity, based on the sleep The duration determines the user's sleep state; among them, the sleep state includes the sleep period, light sleep period, deep sleep period, deep sleep period, rapid eye movement period and exit sleep period; obtain the current set temperature of the indoor unit, and adjust the current setting based on the sleep state fixed temperature.

在一种实施方式中,上述控制模块23,进一步用于当睡眠状态为入睡期时,控制当前设定温度降低第一温度;当睡眠状态为浅睡期时,控制当前设定温度保持不变;当睡眠状态为熟睡期时,控制当前设定温度增大第二温度;当睡眠状态为深睡期时,控制当前设定温度增大第三温度;其中,第三温度大于等于第二温度;当睡眠状态为快速眼动期时,控制当前设定温度增大第四温度;其中,第四温度小于第三温度;当睡眠状态为退出睡眠期时,控制当前设定温度降低第五温度。In one embodiment, the above-mentioned control module 23 is further configured to control the current set temperature to decrease by the first temperature when the sleep state is in the sleep state; when the sleep state is in the light sleep state, control the current set temperature to remain unchanged. ; When the sleep state is in the deep sleep period, control the current set temperature to increase the second temperature; when the sleep state is in the deep sleep period, control the current set temperature to increase the third temperature; where the third temperature is greater than or equal to the second temperature ; When the sleep state is in the rapid eye movement period, control the current set temperature to increase the fourth temperature; wherein, the fourth temperature is less than the third temperature; when the sleep state is to exit the sleep period, control the current set temperature to decrease the fifth temperature .

在一种实施方式中,上述装置还包括:In one embodiment, the above device further includes:

第二控制模块,用于当睡眠状态为入睡期时,控制室内机以低风挡运行;当睡眠状态为浅睡期、熟睡期、深睡期和快速眼动期中的任一睡眠状态时,控制室内机以静音风挡运行;静音风挡的转速小于低风挡的转速;当睡眠状态为退出睡眠期时,控制室内机以低风挡运行。The second control module is used to control the indoor unit to operate with a low windshield when the sleep state is in the sleep stage; when the sleep state is in any of the sleep states of light sleep, deep sleep, deep sleep and rapid eye movement, The indoor unit operates with a silent windshield; the rotation speed of the silent windshield is smaller than that of the low windshield; when the sleep state is to exit the sleep period, the indoor unit is controlled to operate with a low windshield.

第三控制模块,用于当空调器进入制冷模式运行,且空调器的自动睡眠功能开启时,周期性检测当前的光强度值;当连续两次检测到光强度值小于预设光强度阈值时,控制空调器自动进入睡眠模式运行。The third control module is used to periodically detect the current light intensity value when the air conditioner enters the cooling mode and the automatic sleep function of the air conditioner is turned on; when the light intensity value is detected twice in a row and is less than the preset light intensity threshold , control the air conditioner to automatically enter sleep mode.

在一种实施方式中,上述判断模块22,进一步用于周期性计算室内环境温度与设定温度的温度差值;当连续两次计算得到的温度差值均小于零时,确定满足睡眠期条件。In one embodiment, the above-mentioned judgment module 22 is further used to periodically calculate the temperature difference between the indoor ambient temperature and the set temperature; when the temperature difference calculated twice in a row is less than zero, it is determined that the sleep period condition is met. .

在一种实施方式中,上述判断模块22,进一步用于获取空调器所在地区的当前时间所对应的时间补偿;获取计时器的计时结果,计算计时结果与时间补偿之和,得到睡眠时长。In one embodiment, the above-mentioned judgment module 22 is further used to obtain the time compensation corresponding to the current time in the area where the air conditioner is located; obtain the timing result of the timer, calculate the sum of the timing result and the time compensation, and obtain the sleep duration.

在一种实施方式中,上述装置还包括:In one embodiment, the above device further includes:

第四控制模块,用于当光强度值大于等于预设最小光强度小于等于预设最大光强度时,计算预设时间内的光强度变化值,基于光强度变化值调整室内机的设定温度及运行风挡;当光强度值大于预设最大光强度时,或者,当睡眠时长大于等于最大睡眠时长时,控制空调器退出睡眠模式。The fourth control module is used to calculate the light intensity change value within the preset time when the light intensity value is greater than or equal to the preset minimum light intensity and less than or equal to the preset maximum light intensity, and adjust the set temperature of the indoor unit based on the light intensity change value. and operating the windshield; when the light intensity value is greater than the preset maximum light intensity, or when the sleep duration is greater than or equal to the maximum sleep duration, the air conditioner is controlled to exit the sleep mode.

在一种实施方式中,上述第四控制模块,进一步用于当光强度变化值大于预设变化阈值时,控制室内机以第一预设风挡运行,控制室内机的设定温度降低第六温度,周期性检测当前光强度值,判断当前光强度值是否小于预设光强度阈值,如果否,控制空调器在第三预设时长后退出睡眠模式;当光强度变化值小于等于预设变化阈值时,控制室内机以第二预设风挡运行,控制室内机的设定温度降低第七温度,控制空调器在第四预设时长后退出睡眠模式。In one embodiment, the above-mentioned fourth control module is further used to control the indoor unit to operate with the first preset windshield and control the set temperature of the indoor unit to decrease by a sixth temperature when the light intensity change value is greater than the preset change threshold. , periodically detect the current light intensity value and determine whether the current light intensity value is less than the preset light intensity threshold. If not, control the air conditioner to exit the sleep mode after the third preset time; when the light intensity change value is less than or equal to the preset change threshold time, the indoor unit is controlled to operate with the second preset windshield, the set temperature of the indoor unit is controlled to decrease by the seventh temperature, and the air conditioner is controlled to exit the sleep mode after the fourth preset time period.

本实施例提供的上述空调器控制装置,通过检测室内光强度值,可以自动识别是否处于睡眠场景,并在处于睡眠场景时控制空调器自动进入睡眠模式,根据用户的睡眠时长自动调节设定温度,进而可以调节室内环境温度,避免用户熟睡时过渡制冷,降低了室内噪音,降低了空调能耗,提高了用户的舒适性体验。The above air conditioner control device provided in this embodiment can automatically identify whether it is in a sleep scene by detecting the indoor light intensity value, and control the air conditioner to automatically enter the sleep mode when in the sleep scene, and automatically adjust the set temperature according to the user's sleep duration. , which in turn can adjust the indoor ambient temperature, avoid over-cooling when the user is sleeping, reduce indoor noise, reduce air conditioning energy consumption, and improve the user's comfort experience.

对应于上述实施例提供的空调器控制方法,本实施例提供了一种空调器,该空调器包括存储有计算机程序的计算机可读存储介质和处理器,计算机程序被处理器读取并运行时,实现上述实施例提供的空调器控制方法。Corresponding to the air conditioner control method provided in the above embodiment, this embodiment provides an air conditioner. The air conditioner includes a computer readable storage medium storing a computer program and a processor. When the computer program is read and run by the processor , implement the air conditioner control method provided by the above embodiment.

本实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述空调器控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。This embodiment also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, each process of the above-mentioned air conditioner control method embodiment is implemented, and the same technology can be achieved. The effect will not be described here in order to avoid repetition. Wherein, the computer-readable storage medium is such as read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

当然,本领域技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程度来指令控制装置来完成,所述的程序可存储于一计算机可读取的存储介质中,所述程序在执行时可包括如上述各方法实施例的流程,其中所述的存储介质可为存储器、磁盘、光盘等。Of course, those skilled in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the control device through a computer level. The program can be stored in a computer-readable storage medium, so When executed, the above program may include the processes of the above method embodiments, wherein the storage medium may be a memory, a magnetic disk, an optical disk, etc.

虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or any such actual relationship or sequence between operations. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的空调器控制装置和空调器而言,由于其与实施例公开的空调器控制方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on its differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. As for the air conditioner control device and air conditioner disclosed in the embodiment, since they correspond to the air conditioner control method disclosed in the embodiment, the description is relatively simple. For relevant details, please refer to the description of the method section.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those 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 practiced in 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.

虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims.

Claims (10)

1. An air conditioner control method, comprising:
monitoring indoor environment temperature and light intensity values during the operation of the air conditioner in a sleep mode; judging whether the indoor environment temperature meets the sleep period condition or not based on the indoor environment temperature, if so, starting timing based on a timer, and acquiring time compensation corresponding to the current time of the area where the air conditioner is located; obtaining a timing result of the timer, and calculating the sum of the timing result and the time compensation to obtain sleep time; the determining mode of the time compensation comprises the following steps: receiving a time compensation value corresponding to each moment at night input by a user, inquiring a time compensation table input by the user according to the current time of the area where the air conditioner is located, and obtaining time compensation corresponding to the current time;
when the light intensity value is smaller than the preset minimum light intensity, adjusting the set temperature of the indoor unit based on the sleeping time length; when the sleep time length is smaller than a first preset time length, the set temperature is positively correlated with the sleep time length, and when the sleep time length is longer than the first preset time length and smaller than a maximum sleep time length, the set temperature is negatively correlated with the sleep time length;
The step of judging whether the sleep period condition is satisfied based on the indoor environment temperature comprises the following steps:
periodically calculating the temperature difference between the indoor environment temperature and the set temperature;
and when the temperature difference values obtained by two continuous calculation are smaller than zero, determining that the sleep period condition is met.
2. The air conditioner control method as set forth in claim 1, wherein the step of adjusting the set temperature of the indoor unit based on the sleep time period when the light intensity value is less than a preset minimum light intensity value, comprises:
when the sleeping time length is smaller than the maximum sleeping time length, judging whether the light intensity value is smaller than a preset minimum light intensity or not;
when the light intensity value is smaller than a preset minimum light intensity, determining a sleep state of the user based on the sleep duration; wherein the sleep states include a sleep-in period, a light sleep period, a deep sleep period, a fast eye movement period, and a sleep-out period;
and acquiring the current set temperature of the indoor unit, and adjusting the current set temperature based on the sleep state.
3. The air conditioner control method as set forth in claim 2, wherein the step of adjusting the current set temperature of the air conditioner based on the sleep state includes:
When the sleep state is the sleep stage, controlling the current set temperature to reduce a first temperature;
when the sleep state is the shallow sleep period, controlling the current set temperature to be unchanged;
when the sleep state is the deep sleep period, controlling the current set temperature to increase by a second temperature;
when the sleep state is the deep sleep period, controlling the current set temperature to increase by a third temperature; wherein the third temperature is greater than or equal to the second temperature;
when the sleep state is the rapid eye movement period, controlling the current set temperature to increase by a fourth temperature; wherein the fourth temperature is less than the third temperature;
and when the sleep state is the sleep exiting period, controlling the current set temperature to reduce a fifth temperature.
4. The air conditioner control method as set forth in claim 2, further comprising:
when the sleep state is the sleep stage, controlling the indoor unit to run on a low windshield;
when the sleep state is any one of the light sleep period, the deep sleep period and the rapid eye movement period, the indoor unit is controlled to operate as a mute windshield; the rotating speed of the mute windshield is smaller than that of the low windshield;
And when the sleep state is the sleep-exiting period, controlling the indoor unit to operate with a low windshield.
5. The method of controlling an air conditioner as set forth in claim 1, further comprising, before the step of monitoring the indoor environment temperature and the light intensity value during the operation of the air conditioner in the sleep mode:
when the air conditioner enters a refrigeration mode to operate and an automatic sleep function of the air conditioner is started, periodically detecting a current light intensity value;
and when the light intensity value is detected to be smaller than the preset light intensity threshold value twice continuously, controlling the air conditioner to automatically enter a sleep mode to operate.
6. The air conditioner control method as set forth in claim 2, further comprising:
when the light intensity value is larger than or equal to the preset minimum light intensity and smaller than or equal to the preset maximum light intensity, calculating a light intensity change value in preset time, and adjusting the set temperature of the indoor unit and the running windshield based on the light intensity change value;
and when the light intensity value is larger than the preset maximum light intensity value or the sleep time length is larger than or equal to the maximum sleep time length, controlling the air conditioner to exit the sleep mode.
7. The air conditioner control method as set forth in claim 6, wherein the step of adjusting a set temperature of the indoor unit and operating the damper based on the light intensity variation value includes:
when the light intensity variation value is larger than a preset variation threshold value, controlling the indoor unit to run through a first preset windshield, controlling the set temperature of the indoor unit to reduce the sixth temperature, periodically detecting the current light intensity value, judging whether the current light intensity value is smaller than the preset light intensity threshold value, and if not, controlling the air conditioner to exit the sleep mode after a third preset duration;
when the light intensity change value is smaller than or equal to the preset change threshold value, controlling the indoor unit to run through a second preset windshield, controlling the set temperature of the indoor unit to reduce the seventh temperature, and controlling the air conditioner to exit the sleep mode after a fourth preset time period.
8. An air conditioner control device, comprising:
the monitoring module is used for monitoring indoor environment temperature and light intensity values in the running process of the air conditioner in the sleep mode;
the judging module is used for periodically calculating the temperature difference between the indoor environment temperature and the set temperature; when the temperature difference values obtained by two continuous calculations are smaller than zero, determining that the sleep period condition is met, starting timing based on a timer, and obtaining time compensation corresponding to the current time of the area where the air conditioner is located; obtaining a timing result of the timer, and calculating the sum of the timing result and the time compensation to obtain sleep time; the determining mode of the time compensation comprises the following steps: receiving a time compensation value corresponding to each moment at night input by a user, inquiring a time compensation table input by the user according to the current time of the area where the air conditioner is located, and obtaining time compensation corresponding to the current time;
The control module is used for adjusting the set temperature of the indoor unit based on the sleep duration when the light intensity value is smaller than a preset minimum light intensity; and when the sleep time length is longer than the first preset time length and is smaller than the maximum sleep time length, the set temperature is inversely related to the sleep time length.
9. An air conditioner comprising a computer readable storage medium storing a computer program and a processor, the computer program implementing the method of any one of claims 1-7 when read and run by the processor.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when read and run by a processor, implements the method according to any of claims 1-7.
CN202111321025.8A 2021-11-09 2021-11-09 Air conditioner control method and device and air conditioner Active CN114151912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111321025.8A CN114151912B (en) 2021-11-09 2021-11-09 Air conditioner control method and device and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111321025.8A CN114151912B (en) 2021-11-09 2021-11-09 Air conditioner control method and device and air conditioner

Publications (2)

Publication Number Publication Date
CN114151912A CN114151912A (en) 2022-03-08
CN114151912B true CN114151912B (en) 2023-10-20

Family

ID=80459804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111321025.8A Active CN114151912B (en) 2021-11-09 2021-11-09 Air conditioner control method and device and air conditioner

Country Status (1)

Country Link
CN (1) CN114151912B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114923264B (en) * 2022-04-20 2024-02-02 宁波奥克斯电气股份有限公司 Control method of air conditioner and air conditioner
CN115077021B (en) * 2022-05-05 2025-03-21 青岛海尔空调器有限总公司 Air conditioning control method, device and air conditioner for improving sleep quality
CN117146389A (en) * 2022-05-24 2023-12-01 青岛海尔空调器有限总公司 Air conditioner control method, device and air conditioner
CN115264816A (en) * 2022-06-21 2022-11-01 青岛海尔空调器有限总公司 Air outlet method, device, electronic device, readable storage medium, and air conditioner
CN115200193B (en) * 2022-07-29 2023-07-07 宁波奥克斯电气股份有限公司 An air conditioner and its control method and device
CN115751652A (en) * 2022-11-24 2023-03-07 青岛海尔空调器有限总公司 Control method and device of air conditioner and air conditioner
CN115751656B (en) * 2022-12-14 2024-07-26 宁波奥克斯电气股份有限公司 A method and device for controlling air conditioner and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011094881A (en) * 2009-10-29 2011-05-12 Mitsubishi Electric Corp Air conditioner and air conditioning system
CN105318483A (en) * 2014-05-27 2016-02-10 美的集团股份有限公司 Air-conditioner sleep mode control method and air-conditioner sleep mode control device
CN106196475A (en) * 2016-07-27 2016-12-07 深圳创维空调科技有限公司 The control method of a kind of air-conditioner and control device
CN107606754A (en) * 2017-10-11 2018-01-19 宋彦震 Automatic temperature-control air-conditioning, air-conditioning system and control method based on user's deep sleep
CN109059214A (en) * 2018-08-15 2018-12-21 Tcl空调器(中山)有限公司 Air conditioner, automatic sleep control method, and computer-readable storage medium
CN111964230A (en) * 2020-08-06 2020-11-20 青岛海尔空调器有限总公司 Control method and control device of air conditioner and air conditioner

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011094881A (en) * 2009-10-29 2011-05-12 Mitsubishi Electric Corp Air conditioner and air conditioning system
CN105318483A (en) * 2014-05-27 2016-02-10 美的集团股份有限公司 Air-conditioner sleep mode control method and air-conditioner sleep mode control device
CN106196475A (en) * 2016-07-27 2016-12-07 深圳创维空调科技有限公司 The control method of a kind of air-conditioner and control device
CN107606754A (en) * 2017-10-11 2018-01-19 宋彦震 Automatic temperature-control air-conditioning, air-conditioning system and control method based on user's deep sleep
CN109059214A (en) * 2018-08-15 2018-12-21 Tcl空调器(中山)有限公司 Air conditioner, automatic sleep control method, and computer-readable storage medium
CN111964230A (en) * 2020-08-06 2020-11-20 青岛海尔空调器有限总公司 Control method and control device of air conditioner and air conditioner

Also Published As

Publication number Publication date
CN114151912A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
CN114151912B (en) Air conditioner control method and device and air conditioner
CN109297157B (en) Air conditioner control method and air conditioner
CN105650815B (en) Air-conditioning fan inter-linked controlling method, apparatus and system
CN105805898B (en) Air conditioner and its relax sleep mode control method
CN110701754B (en) Operation control method, operation control device, air conditioner and computer readable storage medium
CN109340998B (en) Air conditioner and control method and device thereof
CN105910224A (en) Adaptive air-conditioning adjusting system and method based on environment detection and automatic learning
CN109869865A (en) Air conditioner control method and device and air conditioner
CN110701753A (en) Operation control method and device, air conditioner and storage medium
CN106839279B (en) Air conditioner sleep control method
CN113311721A (en) Intelligent home control method, device, equipment and medium based on Internet of things
CN111076351B (en) Air conditioner control method and device, air conditioner and storage medium
CN110686374A (en) Air conditioner energy-saving control method, computer readable storage medium and air conditioner
CN108386970B (en) Air conditioner control method and air conditioner
CN111895576B (en) A kind of air conditioner intelligent control sleep method, air conditioner and computer readable storage medium
CN113864990A (en) Air conditioner control method and device and air conditioning unit
CN107894070A (en) A kind of air-conditioner sleep mode method to set up and air conditioner
CN113639378A (en) Sleep control method and device of air conditioner, air conditioner and storage medium
CN112303804A (en) Control method and system for indoor air conditioning mode and lighting mode and storage medium
CN113639380A (en) A sleep control method, device, air conditioner and storage medium of an air conditioner
TWI507644B (en) Methods for adjusting room temperature
CN106839280B (en) Air conditioner sleep control method
CN114413407B (en) Air conditioner control method, control device, air conditioner and storage medium
CN112443937B (en) Air conditioner, control method and device thereof and readable storage medium
EP3674620B1 (en) Method and apparatus for processing information

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
CP03 Change of name, title or address

Address after: 315191 No. 1166 Mingguang North Road, Jiangshan Town, Ningbo, Zhejiang, Yinzhou District

Patentee after: NINGBO AUX ELECTRIC Co.,Ltd.

Country or region after: China

Patentee after: AUX AIR CONDITIONING LIMITED BY SHARE Ltd.

Address before: No. 1166 Mingguang North Road, Jiangshan Town, Ningbo, Zhejiang, Yinzhou District

Patentee before: NINGBO AUX ELECTRIC Co.,Ltd.

Country or region before: China

Patentee before: AUX AIR CONDITIONING LIMITED BY SHARE Ltd.

CP03 Change of name, title or address