Air conditioner control method, air conditioner and readable storage medium

Through human activity detection and posture data analysis, the air conditioner temperature is adjusted in real time, which solves the problem of difficulty in balancing comfort and energy saving during sleep in the existing technology, realizes dynamic adjustment of air conditioner temperature, and improves user experience and energy efficiency.

CN118463345BActive Publication Date: 2024-09-13GREE ELECTRIC (GANZHOU) CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410917708.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-09-13
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

Existing air conditioning control methods are difficult to achieve energy saving while ensuring comfort, especially when adjusting temperature during sleep, which can easily cause users to feel uncomfortable or affect sleep quality.

Method used

Through human activity detection, use human body posture data to generate activity energy value data, adjust the air conditioner temperature, and combine preset rules and temperature curves to achieve progressive heating or cooling. The temperature can be adjusted in real time according to the user's activity frequency and posture status to optimize comfort and Energy saving needs.

Benefits of technology

It effectively improves the energy efficiency and user experience of the air conditioner, ensures comfort and energy-saving effects during sleep, and improves the accuracy and comfort of temperature adjustment by dynamically adjusting the temperature rules to adapt to the user's sleep state and individual differences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118463345B
    Figure CN118463345B
Patent Text Reader

Abstract

The present invention provides a control method for an air conditioner, an air conditioner and a readable storage medium. The control method for the air conditioner includes: obtaining human posture data in sleep mode, adjusting the temperature according to the human posture data; in the step of controlling the temperature value of the air conditioner according to the human posture data, generating activity energy value data according to the human posture data; if the count of activity energy value data higher than a preset first energy threshold within a detection period does not exceed a first preset number, controlling the temperature rise according to a first preset rule. The air conditioner includes a processor, and the processor is used to implement the control method of the air conditioner when executing a computer program stored in a memory. The readable storage medium stores a computer program, and the computer program implements the control method of the air conditioner when executed by the processor. The present invention takes into account both comfort and energy-saving requirements, and improves energy efficiency and user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioners, and in particular to a control method for an air conditioner, an air conditioner and a readable storage medium, and in particular to a control method for an air conditioner based on human activity detection, an air conditioner and a readable storage medium. Background Art

[0002] An existing air conditioner control method collects original point cloud data related to multiple frames of three-dimensional data in an indoor environment through a driven millimeter-wave radar of a home appliance, detects the posture of the user's limbs in the indoor environment in each frame of the original point cloud data, and then calculates the user's sleeping state based on this, and adjusts multiple control parameters of the air conditioner, including the indoor temperature, according to different sleeping states.

[0003] Now we hope to control the air conditioner based on human activity detection to ensure comfort while solving energy-saving problems. Summary of the invention

[0004] The first object of the present invention is to provide a control method for an air conditioner which ensures comfort and is beneficial to energy saving.

[0005] A second object of the present invention is to provide an air conditioner capable of implementing the above-mentioned air conditioner control method.

[0006] A third object of the present invention is to provide a readable storage medium capable of implementing the above-mentioned air conditioner control method.

[0007] The first purpose of the present invention provides an air conditioner control method that includes in sleep mode: obtaining human body posture data, and adjusting the temperature according to the human body posture data; wherein, the step of controlling the temperature value of the air conditioner according to the human body posture data includes: generating activity energy value data according to the human body posture data; if the count of activity energy value data higher than a preset first energy threshold within a detection period does not exceed a first preset number, controlling the temperature rise according to a first preset rule; the first preset rule includes increasing a preset temperature rise value in each temperature rise period until the current temperature value reaches a preset upper limit value.

[0008] It can be seen from the above scheme that in the present invention, after entering the sleep mode, the temperature will be regulated to achieve energy saving. Considering that as the temperature rises, the user may gradually feel uncomfortable and become restless or half-awake, and the user will make some movements at this time. For this reason, during the heating process, the human posture data is also acquired in real time by the human body sensing sensor. When the count of the activity energy value data exceeding the preset first energy threshold exceeds the first preset number during the detection period, it means that the user's current activity frequency suddenly increases, and it is considered to be in the above-mentioned state of discomfort and half-awake. As long as the user is not found to be in an uncomfortable state, the temperature is controlled to continue to rise, and the gradual heating is achieved under the first preset rule. This method can produce less adverse physical sensations for the user. It can be seen that the present invention takes into account both comfort and energy-saving requirements, and improves energy efficiency and user experience.

[0009] A further solution is that if the result of the step of determining whether the count of activity energy value data higher than a preset first energy threshold within a detection period exceeds a first preset number is yes, the temperature is controlled to be lowered according to a second preset rule.

[0010] From the above, it can be seen that, further, during the detection period, if the count of activity energy value data exceeding the preset first energy threshold exceeds the first preset number, it means that the user's current activity frequency has suddenly increased, and it is considered that the user is in the above-mentioned state of physical discomfort and semi-awakeness. At this time, the temperature is stopped from rising and lowered to ensure comfort.

[0011] A further solution is that the step of generating activity energy value data based on human posture data includes calculating Euclidean distance data based on three-dimensional data of human posture data of two frames before and after, and generating activity energy value data based on the Euclidean distance data.

[0012] As can be seen from the above, for three-dimensional coordinate data, the Euclidean distance can intuitively reflect the user's activity level between two previous and subsequent time nodes.

[0013] A further solution is that after the step of generating activity energy value data according to human body posture data, it also includes determining whether the count of activity energy value data below a preset second energy threshold within a preset time period exceeds a second preset number: if so, executing the step of controlling cooling according to the second preset rule if the count of activity energy value data exceeding the preset first energy threshold within the detection period exceeds the preset number, otherwise controlling heating according to the first preset rule; if not, adjusting the temperature according to the preset temperature curve.

[0014] As can be seen from the above, the purpose of this judgment step is mainly to determine whether the user has entered the sleep state after entering the sleep mode. If the user has entered the sleep state, the activity frequency and energy are both low, and the temperature can be controlled at this time to save energy; if the user's activity frequency and energy are still high, it means that the current user has not fallen asleep. At this time, the user's comfort should be given priority, and the temperature should be adjusted according to the preset temperature curve.

[0015] A further solution is that the detection period is included in the heating period.

[0016] As can be seen from the above, the heating cycle is generally longer, such as 30 minutes, otherwise the temperature rises too quickly and makes the user uncomfortable; and the detection cycle should be shorter, such as 3 to 5 minutes as a detection cycle, otherwise, when the detection detects that the user is in an uncomfortable state, the temperature cannot be adjusted immediately, affecting the sleep quality. It can be seen that the energy-saving effect that the present invention hopes to achieve is based on ensuring the user's comfort and sleep quality.

[0017] A further solution is that after the step of acquiring the human body posture data, it also includes calculating and generating a feature data group based on the three-dimensional data of multiple human body posture data, and determining the type of the human body posture based on the feature data group.

[0018] A further solution is that the feature data set includes mean absolute difference data, mean absolute value data, zero crossing rate data and variance data.

[0019] As can be seen from the above, the mean absolute difference is used to measure the degree of change of the signal, the mean absolute value is used to measure the overall strength of the signal, the zero crossing rate is used to detect the frequency characteristics of the signal, and the variance is used to measure the fluctuation degree of the signal. Different types of human postures have different threshold combinations of various feature data. When a specific threshold combination is met, it can be considered that the user is currently in a certain specific action state. These data can be used for algorithm iteration for gradual optimization to ensure that a better control solution is provided for the current user.

[0020] A further solution is that after the step of acquiring the human body posture data, it also includes calculating and generating a feature data group based on the three-dimensional data of multiple human body posture data, and updating the preset first energy threshold based on the feature data group.

[0021] As can be seen from the above, this method mainly takes into account the large individual differences between different users due to body shape, movement habits, etc. Suppose that the current user is a child, and the factory preset first energy threshold is relatively large relative to the current user. In the detection of the sleep mode, it is found that the current user's activity energy value data within the detection period has a small number of counts higher than the first energy threshold, but the degree of change, fluctuation, intensity or frequency characteristics of the signal reflected by the feature data group are large. At this time, the system can conclude based on the feature group data that the current user is in a frequently active state rather than a sleep state, and that the current preset first energy threshold is relatively large relative to the current user, so the preset first energy threshold is lowered. After multiple iterations, the preset first energy threshold can reach a value that is more suitable for the current user, and there are more accurate results in the judgment of the sleep state.

[0022] The air conditioner provided by the second purpose of the present invention includes a processor, and the processor is used to implement the above-mentioned air conditioner control method when executing the computer program stored in the memory.

[0023] The third object of the present invention is to provide a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned air conditioning control method is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a flowchart of an embodiment of a method for controlling an air conditioner according to the present invention. DETAILED DESCRIPTION

[0025] Air conditioner control method embodiment

[0026] The air conditioner control method of the present invention is mainly based on human activity detection to control the air conditioner temperature, thereby achieving energy saving effect while ensuring user comfort.

[0027] See also Figure 1 , the air conditioner control method of the present invention comprises:

[0028] The system first executes step S1 and enters the sleep mode.

[0029] The system can enter the sleep mode according to the control command received; it can also enter the sleep mode according to the preset time period and the motion state of the target. Furthermore, when the preset time point is reached, the human body sensing sensor of the air conditioner starts scanning and sensing, and the type of the motion state of the target is calculated and determined based on the three-dimensional data of the acquired human body posture data to generate a feature data group, which is further described below. The human body sensing sensor is, for example, a millimeter wave radar sensor.

[0030] The system then executes step S2 to monitor the indoor target. After entering the sleep mode, the human body sensing sensor will continue to collect the human body posture data of the indoor human target. The human body posture data includes the information of the three axes (x, y, z) of the target, that is, three-dimensional data. Three-dimensional data is usually represented in the form of point cloud data. Each point cloud contains multiple points in space, indicating the spatial distribution of the human target. The point cloud data will then be preprocessed, including filtering noise, eliminating redundant data, smoothing data, etc., to ensure that the subsequent feature extraction and analysis process is effective.

[0031] Subsequently, the feature data set of the preprocessed three-dimensional data is calculated and generated, including the mean absolute difference data, mean absolute value data, zero crossing rate data, and variance data. The feature data set is input into the pre-trained convolutional neural network (CNN) model, and the human target state is classified or regressed according to the output of the neural network. Classification includes recognizing the posture and activity state of the human body, etc.; regression involves predicting the activity energy value data of the human body, etc.

[0032] In addition, the system also calculates the activity energy value data for each frame ,The activity energy value data is actually the Euclidean distance data calculated based on the ,three-dimensional data of the human body posture data of the previous and next ,frames.

[0033] Then, the system executes the judgment step S3 to judge whether the human target in the room has fallen asleep. This is mainly to monitor whether the target has low-frequency activity or no activity for a period of time. Further, the preset time length T is judged. 3 The energy level is lower than the preset second energy threshold E 2 The count P of the activity energy value data E 2 Whether it exceeds the second preset number n 2 .

[0034] If not, the system adjusts the temperature according to the preset temperature curve.

[0035] If yes, the system executes step S4 to control the gradual temperature increase. Further, the temperature increase is controlled according to the first preset rule, from the initial indoor temperature T _init At the beginning, each heating cycle interval 1 Increase the temperature by a preset value delta_T until the current temperature reaches the preset upper limit T _max .

[0036] The progressive temperature rise regulation algorithm is designed as follows:

[0037] (1) Set the initial indoor temperature to T _init

[0038] (2) Set the temperature preset upper limit to T _max

[0039] (3) Set the preset temperature rise value to delta_T

[0040] (4) Set the heating cycle to interval 1

[0041] (5) Current temperature T_current = T_init

[0042] (6) while (T_current <T_max):

[0043] (7) Waiting for interval 1 time

[0044] (8) Update the current temperature T_current

[0045] (9) If T_current <T_max:

[0046] (10) Increase the temperature setting value by delta_T

[0047] (11) Perform temperature adjustment operations.

[0048] (12) else:

[0049] (13) End the loop

[0050] In this embodiment, the initial temperature T _init Set to 26 degrees Celsius, the preset temperature rise value delta_T is preset to 0.5 degrees Celsius, and the temperature rise period interval is 1 Set to 30 minutes, preset upper limit value T _max It is 28 degrees Celsius.

[0051] In the process of gradual temperature increase, specifically, after each step S4 is performed to increase a preset temperature increase value to delta_T, the human body activity in the room is continuously monitored by the human body sensing sensor, and further, step S5 is performed to determine whether the target is in an uncomfortable state. If the sensor detects a sudden increase in the user's activity frequency and an increase in the activity energy value during the temperature increase process, it may indicate that the user feels uncomfortable or is in a semi-awake state.

[0052] In step S5, if the detection period interval 2 The energy level is higher than the preset first energy threshold E 1 The count P of the activity energy value data E 1 Exceeding the first preset number n 1 , then the judgment result of step S5 is yes, then step S6 is executed to automatically adjust the temperature, and further, the temperature is controlled according to the second preset rule.

[0053] If the judgment result of step S5 is no, then the gradual temperature increase adjustment of step S4 is continued.

[0054] Among them, the detection period interval 2 Temperature rise period interval 1 is much shorter. In this embodiment, the detection cycle interval 2 Set to 5 minutes. In addition, of course, the first energy threshold E is preset 1 Than the preset second energy threshold E2 .

[0055] Considering that as the temperature rises, the user may gradually feel uncomfortable and become restless or half-awake, and the user will make some movements at this time, so during the heating process, the human body posture data is obtained in real time through the human body sensing sensor, and the detection period interval 2 Within, exceeding the preset first energy threshold E 1 The count of activity energy value data P 1 Exceeds the first preset number n 1 , it means that the user's current activity frequency suddenly increases, and it is considered that the user is in a state of physical discomfort and semi-awakeness. At this time, the temperature is stopped from rising and cooled to ensure comfort. It can be seen that the present invention takes into account both comfort and energy-saving requirements, and improves energy efficiency and user experience.

[0056] Finally, the system will proceed to step S7 to record all relevant data of the working process of this sleep mode and optimize the temperature adjustment strategy, including calculating and comparing according to the characteristic data group to determine the type of motion state, and updating the preset first energy threshold according to the relevant calculation results of the characteristic data group.

[0057] In this embodiment, the feature data group includes mean absolute difference data, mean absolute value data, zero crossing rate data and variance data.

[0058] The mean absolute difference data MAD is used to measure the degree of change of the signal. , MAD can be defined as: The role of MAD is to reflect the fluctuation and change of the signal. A large MAD value means that the signal changes dramatically, indicating that there may be significant activity.

[0059] The mean absolute value data MAV is used to measure the overall strength of the signal. , MAV can be defined as: ,The role of MAV is to reflect the average strength of the ,signal. A large MAV value indicates that the overall ,strength of the signal is high, which may indicate the existence of ,continuous activity.

[0060] The zero crossing rate data ZCR is used to detect the frequency characteristics of the signal. The zero crossing rate indicates the number of times the signal changes its sign per unit time. For a series of data points such as , ZCR can be defined as: ,in It is an indicator function that returns 1 when the condition is true, otherwise it returns 0. The role of ZCR is to reflect the frequency characteristics of the signal. A large ZCR value may indicate frequent signal oscillations, which may indicate frequent activities.

[0061] Variance is used to measure the fluctuation of a signal. , the variance can be defined as: ,in Variance is used to measure the dispersion of the signal. A large variance value indicates that the signal fluctuates greatly, which may indicate intense human activity.

[0062] The activity energy value data E can be calculated based on these feature data groups and distinguish different activity states according to the corresponding threshold combinations. The activity energy value data E is often used to measure the intensity of human activity. The following are some examples:

[0063] Light activity: When MAV is low and ZCR is low, it usually indicates light activity, such as small movements or slight movements. Possible thresholds: MAV < 0.5, ZCR < 5.

[0064] Moderate activity: When MAD and MAV increase and ZCR is moderate, it may indicate moderate activity, such as walking or simple exercise. Possible thresholds: MAD>0.2, MAV>1.0, ZCR>10.

[0065] Vigorous activity: When MAD, MAV, ZCR, and variance are all high, it may indicate vigorous activity, such as running or intense exercise. Possible thresholds: MAD>0.5, MAV>2.0, ZCR>20, variance>1.0.

[0066] The above threshold combinations are just examples, and the specific values ​​will vary depending on the device and application scenario. The purpose of setting these thresholds is to distinguish the activity status of the human body based on the characteristics of different activities. Through these examples, you can judge what activity status the human body may be in based on the feature data group, and use the appropriate threshold combination for classification and recognition.

[0067] When the activity state determined by comparing the characteristic data set with the threshold combination deviates from the exercise intensity calculated according to the activity energy value data E, the system considers that the current preset first energy threshold T 1 The degree of adaptation to the target is insufficient, so the preset first energy threshold T is updated 1 After multiple iterations, the first energy threshold T is preset. 1 It is possible to reach a value that is more suitable for the current user and have more accurate results in judging the sleep state.

[0068] In addition, after each sleep mode ends, the system will record the temperature adjustment every night and the user's response reflected by the frequency of human activities, so as to self-learn and adjust the optimal temperature adjustment strategy to provide users with a more personalized sleeping environment. If the system records and counts the user's sleep data over a period of time (such as a week), the system analyzes the user's recent sleeping habits through self-learning (the user tends to get hot at 2 a.m.), then the system intelligently generates the user's sleep mode operating parameters (the air conditioner's operating temperature is controlled at a comfortable temperature at 2 a.m.), and pushes the optimal temperature adjustment strategy to the user for the user to choose. In addition, the system provides a user feedback and optimization mechanism, allowing users to evaluate the sleep quality and air conditioning performance of the previous night after waking up, and the system can use this feedback to further optimize its algorithm.

[0069] air conditioner

[0070] The air conditioner of the present invention includes devices such as a processor and a memory, such as a single chip microcomputer including a central processing unit, etc. Moreover, the processor is used to implement the steps of the above-mentioned air conditioner control method when executing a computer program stored in the memory.

[0071] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0072] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0073] Computer Readable Storage Medium Embodiments

[0074] The computer-readable storage medium of the present invention can be any form of storage medium that can be read by the processor of a computer device, including but not limited to non-volatile memory, volatile memory, ferroelectric memory, etc. A computer program is stored on the computer-readable storage medium. When the processor of the computer device reads and executes the computer program stored in the memory, the steps of the above-mentioned air conditioning control method can be implemented.

[0075] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.

[0076] Finally, it should be emphasized that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and modifications. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. The control method of the air conditioner includes: In the sleep mode, obtaining human body posture data, and adjusting the temperature according to the human body posture data; Features: The step of controlling the temperature value of the air conditioner according to the human body posture data comprises: Calculating activity energy value data according to the human body posture data; Determine whether the count of the activity energy value data higher than the preset first energy threshold within the detection period exceeds a first preset number, and if not, control the temperature rise according to a first preset rule; The first preset rule includes: Each heating cycle increases by a preset temperature value until the current temperature value reaches the preset upper limit value; If the result of the step of determining whether the count of the activity energy value data higher than the preset first energy threshold within the detection period exceeds the first preset number is yes, controlling the temperature to drop according to the second preset rule; The step of generating activity energy value data according to the human body posture data comprises: Calculate Euclidean distance data based on the three-dimensional data of the human body posture data of the two preceding and following frames, and generate the activity energy value data based on the Euclidean distance data; After the step of generating activity energy value data according to the human body posture data, the method further includes: Determine whether the count of the activity energy value data below the preset second energy threshold within a preset time period exceeds a second preset number: If so, executing the step of determining whether the count of the activity energy value data above the preset first energy threshold within the detection period exceeds a first preset number; If not, adjust the temperature according to the preset temperature curve; The first energy threshold is greater than the second energy threshold.

2. The air conditioner control method according to claim 1, characterized in that: The detection period is shorter than the heating period.

3. The air conditioner control method according to claim 1, characterized in that: After the step of obtaining human body posture data, the method further comprises: A feature data group is generated based on the three-dimensional data of the plurality of human posture data, and the type of the human posture is determined based on the feature data group.

4. The air conditioner control method according to claim 1, characterized in that: After the step of obtaining human body posture data, the method further comprises: A feature data group is generated based on the three-dimensional data of the plurality of human posture data, and the preset first energy threshold is updated based on the feature data group.

5. The air conditioner control method according to claim 3 or 4, characterized in that: The feature data set includes at least two of the following: mean absolute difference data, mean absolute value data, zero crossing rate data and variance data.

6. Air conditioning, characterized in that: The air conditioner includes a processor, and the processor is used to implement the control method of the air conditioner according to any one of claims 1 to 5 when executing a computer program stored in a memory.

7. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the air conditioner control method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Air conditioner control method, electronic equipment and computer readable storage medium

    CN108332375A

  • Air conditioner control method and device, control equipment, air conditioner and storage medium

    CN112283906A

  • Method and device for controlling air conditioner and air conditioner

    CN113137723A

  • Information processing method and device, computer equipment and computer readable storage medium

    CN116704615A

  • System and method using information of involuntary body movement during sleep, and sleeping state detection system and method

    US20160278696A1