Air conditioner control method, device, air conditioner and storage medium
The infrared temperature sensor array is used to detect the human body surface temperature and relative angle, and the human body temperature sensation is calculated in combination with the ambient temperature. The air supply parameters are adjusted to solve the problem of inaccurate air supply control of the air conditioner and improve the comfort of specific people.
Patent Information
- Application Number
- CN202310791968.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2043-06-29
AI Technical Summary
Existing air conditioners have low precision in controlling air supply to specific people, resulting in poor comfort.
The infrared temperature sensor array is used to detect the human body surface temperature and relative angle, and the human body temperature sensation is calculated in combination with the ambient temperature. The air supply parameters are adjusted to improve the accuracy of air supply control.
The accuracy of air supply control for specific personnel is improved, which enhances comfort.
Smart Images

Figure CN116804480B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of air conditioners, and in particular to a control method and device for an air conditioner, an air conditioner, and a storage medium. Background Art
[0002] With the continuous improvement of people's living standards, air conditioners have become a necessity in people's daily lives. Air conditioners not only provide indoor cooling and heating, but also improve indoor air quality. Installing an air conditioner indoors can improve the comfort of the indoor environment. Existing technologies use pyroelectric temperature sensors or thermopile array temperature sensors to detect the presence of people indoors, enabling shutdown. They also detect the position of the person relative to the air conditioner, allowing the air to flow directly to or away from them. However, as people's demands for comfort grow, air conditioners must also be increasingly precise in controlling the air supply to specific individuals. For example, people with a cold and fever are not suitable for air conditioning. Currently, air conditioning systems have low air supply control accuracy for specific individuals, causing discomfort due to the air. Summary of the Invention
[0003] Embodiments of the present invention provide a control method and device for an air conditioner, an air conditioner, and a storage medium, aiming to solve the problem that the air supply control accuracy of existing air conditioners for specific persons is low, resulting in poor comfort.
[0004] In a first aspect, an embodiment of the present invention provides a method for controlling an air conditioner, comprising:
[0005] If an intelligent comfortable air supply instruction is received, whether the body surface temperature collection condition is met is detected based on the collected multiple first infrared temperature values;
[0006] If the body surface temperature collection condition is met, the human body surface temperature is calculated based on the collected multiple second infrared temperature values and the acquired ambient temperature;
[0007] determining a human body temperature sensation based on the human body surface temperature and the ambient temperature, and calculating a relative angle of the human body relative to the air conditioner based on the collected plurality of third infrared temperature values;
[0008] The air supply parameters of the air conditioner are adjusted according to the human body temperature and the relative angle.
[0009] In a second aspect, an embodiment of the present invention further provides a control device for an air conditioner, comprising:
[0010] A detection unit, used to detect whether the rapid cooling start condition is met based on the acquired set temperature and inner tube temperature;
[0011] The first control unit is used to control the solenoid valve to close if the rapid cooling start condition is met, and to set the speed of the indoor fan and adjust the frequency of the compressor according to the inner tube temperature.
[0012] In a third aspect, an embodiment of the present invention further provides an air conditioner, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.
[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.
[0014] An embodiment of the present invention provides a control method, device, air conditioner, and storage medium for an air conditioner. The method includes: upon receiving an intelligent comfortable air supply instruction, detecting whether a body surface temperature collection condition is met based on multiple collected first infrared temperature values; if the body surface temperature collection condition is met, calculating the human body surface temperature based on multiple collected second infrared temperature values and the acquired ambient temperature; determining the human body temperature sensation based on the human body surface temperature and the ambient temperature, and calculating the relative angle of the human body relative to the air conditioner based on multiple collected third infrared temperature values; and adjusting the air supply parameters of the air conditioner based on the human body temperature sensation and the relative angle. The technical solution of the embodiment of the present invention, when the body surface temperature collection condition is met, determines the human body temperature sensation based on the human body surface temperature and the ambient temperature, and adjusts the air supply parameters of the air conditioner based on the human body temperature sensation and the calculated relative angle, thereby improving the accuracy of air supply control for a specific person and thereby improving the comfort of the specific person. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 A schematic flow chart of a method for controlling an air conditioner provided by an embodiment of the present invention;
[0017] Figure 2 for Figure 1 Schematic diagram of the infrared temperature sensor array and display panel in the air conditioner;
[0018] Figure 3 for Figure 1 Schematic diagram of the effective detection area formed by the mid-infrared temperature sensor array;
[0019] Figure 4 A schematic diagram of a sub-flow diagram of a method for controlling an air conditioner provided by an embodiment of the present invention;
[0020] Figure 5 A schematic diagram of a sub-flow diagram of a method for controlling an air conditioner provided by an embodiment of the present invention;
[0021] Figure 6 A schematic diagram of a sub-flow diagram of a method for controlling an air conditioner provided by an embodiment of the present invention;
[0022] Figure 7 A schematic diagram of a sub-flow diagram of a method for controlling an air conditioner provided by an embodiment of the present invention;
[0023] Figure 8 for Figure 1 Schematic diagram for determining the relative angle of the human body with respect to the air conditioner;
[0024] Figure 9 A schematic block diagram of a control device for an air conditioner provided by an embodiment of the present invention; and
[0025] Figure 10 A schematic block diagram of an air conditioner provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0027] It will be understood that when used in this specification and the appended claims, the terms “comprises” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0028] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in the specification and appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0029] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0030] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0031] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for controlling an air conditioner according to an embodiment of the present invention. Figure 2 As shown, the air conditioner in this embodiment is a cabinet air conditioner, which is equipped with a display module, a voice playback module and an infrared temperature sensing module, wherein the display module can be a display panel, such as an LED display; the voice playback module is a voice speaker, which interacts with the user by voice; the infrared temperature sensing module includes multiple CMOS infrared temperature sensors, and the multiple CMOS infrared temperature sensors form an infrared temperature sensor array, which is installed at a height of 1.5m to 1.8m on the cabinet air conditioner, horizontally or slightly tilted downward, so as to achieve the detection of the entire scene and the temperature of the human forehead as much as possible. For example, in this embodiment, the temperature acquisition array is 60×80 (i.e., 4800 pixel temperature points), as shown in FIG. Figure 3 As shown, the horizontal viewing angle A≥90° and the vertical viewing angle B≥60° form a certain effective detection area; in other embodiments, the temperature acquisition array can also be a higher number of arrays. It is understandable that the more the number of temperature acquisition arrays, the more accurate the recognition of human body temperature, distance test and human position test will be. The CMOS infrared temperature sensor has the advantages of low cost and high precision. The control method of the air conditioner is described in detail below. Figure 1 As shown, the method includes the following steps S110-S140.
[0032] S110: If an intelligent comfortable air supply instruction is received, whether a body surface temperature collection condition is met is detected based on the collected multiple first infrared temperature values.
[0033] In an embodiment of the present invention, a user activates intelligent comfort air supply via a display panel button, remote control, or app, causing the air conditioner to enter intelligent comfort air supply mode. When the air conditioner enters intelligent comfort air supply mode, it receives an intelligent comfort air supply command. Upon receiving the intelligent comfort air supply command, the air conditioner collects multiple first infrared temperature values using multiple CMOS infrared temperature sensors and detects whether the body surface temperature collection condition is met based on the multiple first infrared temperature values.
[0034] In some embodiments, such as the present embodiment, Figure 4 As shown, the step S110 may include steps S111-S114.
[0035] S111. For each of a first preset number of acquisition cycles, collect a plurality of first infrared temperature values, and calculate an average value of the plurality of first infrared temperature values to obtain a plurality of first average infrared temperature values corresponding to the acquisition cycle;
[0036] S112, calculating the difference between the first average infrared temperature value corresponding to the latter acquisition cycle and the first average infrared temperature value corresponding to the former acquisition cycle in two adjacent acquisition cycles to obtain an average infrared temperature difference;
[0037] S113: If the average infrared temperature difference is greater than the preset infrared temperature difference, continue collecting first infrared temperature values for a second preset number of collection cycles, and calculate the average of the first infrared temperature values in each collection cycle to obtain a plurality of first average infrared temperature values corresponding to the collection cycles;
[0038] S114: If the plurality of first average infrared temperature values are all greater than a preset infrared temperature threshold, it is determined that the body surface temperature collection condition is met.
[0039] In an embodiment of the present invention, the cabinet air conditioner further includes a main control unit, which collects infrared temperature values of 60×80 array points of the CMOS infrared temperature sensor in a certain collection period, wherein the collection period is T. In this embodiment, the value of T is any value from 0.3s to 1s; the main control unit collects multiple first infrared temperature values for each collection period in a first preset number of collection periods, and calculates the average value of the multiple first infrared temperature values to obtain multiple first average infrared temperature values corresponding to the collection period, wherein the first preset number is 4; for ease of understanding, it is assumed that the first average infrared temperature values corresponding to the first collection period, the second collection period, the third collection period, and the fourth collection period are T respectively. n 、T n+1 、T n+2 and T n+3 , a is the preset infrared temperature difference; calculate T n+3 -T n+2 、T n+2 -T n+1 and T n+1 -T n , if T n+3 -T n+2 >a、T n+2 -T n+1 >a and T n+1 -T n>a, indicating that the overall infrared detection temperature field increases and a user is approaching the air conditioner; the main control unit collects multiple first infrared temperature values for each collection period in the second preset number of collection periods, and calculates the average value of the multiple first infrared temperature values to obtain multiple first average infrared temperature values corresponding to the collection period, wherein the second preset number is 3; assuming that the first average infrared temperature values corresponding to the fifth collection period, the sixth collection period, and the seventh collection period are T n+4 、T n+5 as well as Tn+6 , b is the preset infrared temperature threshold; if T n+3 >b、T n+4 >b、T n+5 >b and T n+6 >b, indicating that the user is sufficiently close to the air conditioner and is stably within the effective distance detection area, thus satisfying the body surface temperature acquisition conditions. Understandably, the closer the user gets to the air conditioner's CMOS infrared temperature sensor, the higher the overall temperature radiated by the human body, i.e., the first average infrared temperature value, will also increase.
[0040] S120: If the body surface temperature collection condition is met, calculate the human body surface temperature based on the collected multiple second infrared temperature values and the acquired ambient temperature.
[0041] In an embodiment of the present invention, if the surface temperature collection conditions are met, the internal fan is controlled to shut off, thereby stopping cooling or heating. This prevents the user from being exposed to cold or hot air at close range, which could cause discomfort, and also prevents the air from blowing directly onto the user, which could distort the temperature measurement. After shutting off the internal fan, the system also includes prompting the user to stand in a suitable position via voice announcement, for example, such as, "The air conditioner is about to collect your surface temperature. Please stand within 1 meter of the air conditioner for 3 seconds." The display on the air conditioner's display panel is cleared, and the display is set to a preset value, which is then flashed. For example, if a conventional air conditioner's display panel displays a target set temperature or indoor ambient temperature, the display is cleared and replaced with a temperature value of 00.0, and temperature detection is triggered until the detection is successful. During the temperature detection period, the temperature value of 00.0 flashes to remind the user that surface temperature collection is in progress. The CMOS infrared temperature sensor collects multiple second infrared temperature values, the temperature sensor collects ambient temperature, and the human surface temperature is calculated based on the multiple second infrared temperature values and the ambient temperature.
[0042] In some embodiments, such as the present embodiment, Figure 5 As shown, the step S120 may include steps S121-S123.
[0043] S121, collecting multiple second infrared temperature values, wherein the multiple second infrared temperature values are temperature values corresponding to the forehead area of the human body;
[0044] S122: If the plurality of second infrared temperature values are all within the preset temperature range, calculating an average value of the plurality of second infrared temperature values as the initial human body surface temperature;
[0045] S123: Acquire the ambient temperature, and compensate the initial human body surface temperature according to the ambient temperature to obtain the human body surface temperature.
[0046] In an embodiment of the present invention, the highest k infrared temperature values in the infrared temperature sensor array are collected (under normal circumstances, when a user is close to the air conditioner, the highest temperature value detected by the infrared temperature sensor is generally the temperature of the user's forehead. The k infrared temperature values are the number of temperature points occupied by the exposed area of the user's forehead when the user is close to the air conditioner). If the k infrared temperature values are all within the preset temperature range, where the preset temperature range is between 34°C and 37°C, it means that the k infrared temperature values are valid. If they are not between 34°C and 37°C, it means that the k infrared temperature values are invalid and need to be collected again. It can be understood that after collecting k valid infrared temperature values, the average temperature value of the k infrared temperature values is calculated as the initial human body surface temperature T k Obtain the ambient temperature, and compensate the initial human body surface temperature according to the ambient temperature to obtain the human body surface temperature. It should be noted that if T k If both are lower than the preset temperature c, it means that the user has exited the effective distance detection area of the air conditioner.
[0047] In some embodiments, such as the present embodiment, Figure 6 As shown, the step S123 may include steps S1231-S1233.
[0048] S1231, calculating the difference between the initial human body surface temperature and the ambient temperature to obtain a temperature difference value;
[0049] S1232, calculating the product of the temperature difference and the compensation coefficient to obtain a temperature compensation value;
[0050] S1233. Calculate the sum of the temperature compensation value and the initial human body surface temperature to obtain the human body surface temperature.
[0051] In the embodiment of the present invention, it is assumed that the ambient temperature is Tenvironment, β is the compensation coefficient value, ΔT is the temperature compensation value, and the human body surface temperature is T 显示 , first calculate T k- T 环境 , then calculate △T=β×(T k -T 环境 ); finally calculate T显示 =△T+T k , calculate T 显示 Afterwards, the display content is set to the human body surface temperature T 显示 , and maintains the preset display time, where the preset display time is 3s to 10s; the air conditioner simultaneously announces the detected human body surface temperature through voice broadcast. If the human body surface temperature is greater than a preset human body surface temperature threshold, the user is prompted that the body temperature is abnormal, where the preset human body surface temperature threshold is 37.3°C. It should be noted that in this embodiment, if the display time reaches the preset display time, the human body surface temperature detection working state is exited, the display panel resumes displaying the original display content of the air conditioner, and the internal fan is controlled to turn on, resuming the cooling or heating working state of the air conditioner.
[0052] S130: Determine the human body's temperature sensation based on the human body surface temperature and the ambient temperature, and calculate the relative angle of the human body with respect to the air conditioner based on the collected multiple third infrared temperature values.
[0053] In an embodiment of the present invention, a human body temperature sensation is determined based on the human body surface temperature and the ambient temperature. Specifically, as shown in Table 1, the human body temperature sensation includes cool, normal, and warm. The ambient temperature includes three temperature intervals: above 28°C, 26°C to 28°C, and below 26°C. The human body temperature sensation determined by the human body surface temperature T varies depending on the ambient temperature interval. For example, if the ambient temperature is 29°C and the human body surface temperature is 35.9°C, the human body temperature sensation is cool; if the ambient temperature is 27°C and the human body surface temperature is 35.9°C, the human body temperature sensation is normal; and if the ambient temperature is 27°C and the human body surface temperature is 37.1°C, the human body temperature sensation is warm. It should be noted that in this embodiment, the actual determination of the human body temperature sensation is not limited to the human body surface temperature range and the ambient temperature interval, and can be determined according to actual conditions.
[0054] Table 1
[0055]
[0056] Furthermore, after determining the human body temperature coldness, the relative angle of the human body relative to the air conditioner is calculated based on the collected multiple third infrared temperature values, wherein the relative angle is the horizontal angle of the human body relative to the air conditioner, specifically, Figure 7 As shown, the step S130 may include steps S131-S134.
[0057] S131, collecting multiple third infrared temperature values, and calculating an average value of the multiple third infrared temperature values to obtain a second average infrared temperature value;
[0058] S132, calculating the sum of the second average infrared temperature value and a preset background value to obtain a target average infrared temperature value;
[0059] S133. For each of the third infrared temperature values, calculate the difference between the third infrared temperature value and the target average infrared temperature value to generate an initial array temperature table;
[0060] S134: Replace the values in the initial array temperature table that are less than the preset temperature value with the preset temperature value to generate a target array temperature table, and determine the relative angle of the human body with respect to the air conditioner according to the target array temperature table.
[0061] In the embodiment of the present invention, the main control unit collects the third infrared temperature value of the infrared temperature sensor array point once in a certain collection period (0.3s to 1s), and calculates the average value of the plurality of third infrared temperature values to obtain a second average infrared temperature value, which is recorded as T m For ease of understanding, the calculation method of the relative angle between the human body and the air conditioner is explained by taking a 10×10 infrared sensor array as an example. The third infrared temperature value collected by the 10×10 infrared sensor array is shown in Table 2. The bold area in Table 2 is the user position, so the temperature value is higher. Assuming a is the preset background value, the target average infrared temperature value is calculated as T m +a, for each of the third infrared temperature values in Table 2, calculate the difference between the third infrared temperature value and the target average infrared temperature value to generate an initial array temperature table, the initial array temperature table is shown in Table 3, replace the values in Table 3 that are less than the preset temperature value with the preset temperature value to generate a target array temperature table to eliminate the background array temperature value, the target array temperature table is shown in Table 4, wherein the preset temperature value is 0, and the relative angle of the human body with respect to the air conditioner is determined based on the target array temperature table. It should be noted that, in this embodiment, the preset background value is the value obtained when a large number of tests are performed on the human body surface temperature and background temperature values, and the background temperature value is the temperature value of the area other than the human body. It should also be noted that the reason for eliminating the background array temperature value is to facilitate the positioning of the human body.
[0062] Furthermore, in Table 4, the non-zero part is the position of the thermal imaging array of the human body. The relative angle of the human body to the air conditioner can be calculated based on the position of the thermal imaging array of the human body. Assuming that the horizontal detection angle of the infrared sensor is 100°, the middle position is defaulted to 0°, and the horizontal position of the mapped person is -10° to 10°, that is, the relative angle of the human body to the air conditioner is a horizontal angle of -10° to 10°. In order to better understand the calculation process of the relative angle of the human body to the air conditioner, an 18×12 infrared sensor array is used as an example. At this time, there are 18 acquisition points in the horizontal direction and 12 acquisition points in the vertical direction. The horizontal viewing angle is 90° and the vertical viewing angle is 60°. Figure 8As shown, a horizontal sensor array point is 5°, and a vertical sensor array point is also 5°. Figure 8 The relative angle of the human body to the air conditioner is 10° to 20° from the horizontal.
[0063] Table 2
[0064] 22.5 22.3 22.4 22.5 22.6 22.7 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 22.6 22.7 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 22.6 22.7 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 36.4 36.3 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 36.4 36.2 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 35.9 36.1 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 22.6 22.7 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 22.6 22.7 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 22.6 22.7 22.8 22.6 22.4 22.4 22.5 22.3 22.4 22.5 22.6 22.7 22.8 22.6 22.4 22.4
[0065] Table 3
[0066] -0.834 -1.034 -0.934 -0.834 -0.734 -0.634 -0.534 -0.734 -0.934 -0.934 -0.834 -1.034 -0.934 -0.834 -0.734 -0.634 -0.534 -0.734 -0.934 -0.934 -0.834 -1.034 -0.934 -0.834 -0.734 -0.634 -0.534 -0.734 -0.934 -0.934 -0.834 -1.034 -0.934 -0.834 13.066 12.966 -0.534 -0.734 -0.934 -0.934 -0.834 -1.034 -0.934 -0.834 13.066 12.866 -0.534 -0.734 -0.934 -0.934 -0.834 -1.034 -0.934 -0.834 12.566 12.766 -0.534 -0.734 -0.934 -0.934 -0.834 -1.034 -0.934 -0.834 -0.734 -0.634 -0.534 -0.734 -0.934 -0.934 -0.834 -1.034 -0.934 -0.834 -0.734 -0.634 -0.534 -0.734 -0.934 -0.934 -0.834 -1.034 -0.934 -0.834 -0.734 -0.634 -0.534 -0.734 -0.934 -0.934
[0067] Table 4
[0068] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13.066 12.966 0 0 0 0 0 0 0 0 13.066 12.866 0 0 0 0 0 0 0 0 12.566 12.766 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[0069] S140: Adjust the air supply parameters of the air conditioner according to the human body temperature and the relative angle.
[0070] In an embodiment of the present invention, after calculating the relative angle of a human body relative to an air conditioner, the air supply parameters of the air conditioner are adjusted based on the human body's temperature sensation and the relative angle, where the air supply parameters include the air supply angle and the air supply temperature. Specifically, if the human body's temperature sensation is normal or cool, the air supply angle is adjusted based on the relative angle; if the human body's temperature sensation is warm, the air supply angle remains unchanged. A target temperature corresponding to the human body's temperature sensation is obtained, and the air supply temperature is adjusted to the target temperature. More specifically, as shown in Table 5, human body temperature sensations include normal, cool, and warm, and target temperatures include cooling target temperatures and heating target temperatures. If the human body's temperature sensation is normal or cool, the air supply angle is adjusted based on the relative angle, with air supplied at an angle away from the user. If the human body's temperature sensation is warm, allowing the user to enjoy the air, the air supply angle remains unchanged. It should be noted that in this embodiment, setting different target temperatures based on different human body temperature sensations and the same cooling and heating modes can improve user comfort.
[0071] Table 5
[0072]
[0073]
[0074] It should be noted that in this embodiment, the human body surface temperature can be quickly measured by the infrared temperature sensor array, and the relative angle is calculated based on the human body surface temperature and the ambient temperature to provide reasonable air supply, thereby solving the problem that certain people are not suitable for blowing air and improving the comfort of certain people.
[0075] Figure 9FIG. 2 is a schematic block diagram of a control device 200 for an air conditioner provided by an embodiment of the present invention. Figure 9 As shown, corresponding to the above air conditioner control method, the present invention also provides an air conditioner control device 200. The air conditioner control device 200 includes a unit for executing the above air conditioner control method, and the device can be configured in the air conditioner. Figure 9 The control device 200 of the air conditioner includes a detection unit 201 , a first calculation unit 202 , a second calculation unit 203 and an adjustment unit 204 .
[0076] Among them, the detection unit 201 is used to detect whether the body surface temperature collection conditions are met based on the collected multiple first infrared temperature values if an intelligent comfortable air supply instruction is received; the first calculation unit 202 is used to calculate the human body surface temperature based on the collected multiple second infrared temperature values and the acquired ambient temperature if the body surface temperature collection conditions are met; the second calculation unit 203 is used to determine the human body temperature sensation based on the human body surface temperature and the ambient temperature, and calculate the relative angle of the human body relative to the air conditioner based on the collected multiple third infrared temperature values; the adjustment unit 204 is used to adjust the air supply parameters of the air conditioner according to the human body temperature sensation and the relative angle.
[0077] In some embodiments, such as this embodiment, the detection unit 201 includes a first calculation subunit, a second calculation subunit, a third calculation subunit, and a determination unit.
[0078] Among them, the first calculation subunit is used to collect multiple first infrared temperature values for each acquisition cycle in a first preset number of acquisition cycles, and calculate the average value of the multiple first infrared temperature values to obtain multiple first average infrared temperature values corresponding to the acquisition cycle; the second calculation subunit is used to calculate the difference between the first average infrared temperature value corresponding to the latter acquisition cycle and the first average infrared temperature value corresponding to the previous acquisition cycle in two adjacent acquisition cycles to obtain an average infrared temperature difference; the third calculation subunit is used to continue to collect the first infrared temperature values for a second preset number of acquisition cycles if the average infrared temperature difference is greater than the preset infrared temperature difference, and calculate the average value of the first infrared temperature values in each acquisition cycle to obtain multiple first average infrared temperature values corresponding to the acquisition cycle; the judgment unit is used to determine that the body surface temperature acquisition condition is met if all multiple first average infrared temperature values are greater than a preset infrared temperature threshold.
[0079] In some embodiments, such as this embodiment, the first calculation unit 202 includes an acquisition unit, a fourth calculation subunit, and a compensation unit.
[0080] In which, the acquisition unit is used to collect multiple second infrared temperature values, wherein the multiple second infrared temperature values are temperature values corresponding to the forehead area of the human body; the fourth calculation subunit is used to calculate the average value of the multiple second infrared temperature values as the initial human body surface temperature if the multiple second infrared temperature values are all within a preset temperature range; the compensation unit is used to obtain the ambient temperature, and compensate the initial human body surface temperature according to the ambient temperature to obtain the human body surface temperature.
[0081] In some embodiments, such as this embodiment, the compensation unit includes a fifth calculation subunit, a sixth calculation subunit, and a seventh calculation subunit.
[0082] Among them, the fifth calculation subunit is used to calculate the difference between the initial human body surface temperature and the ambient temperature to obtain a temperature difference value; the sixth calculation subunit is used to calculate the product of the temperature difference value and the compensation coefficient to obtain a temperature compensation value; the seventh calculation subunit is used to calculate the sum of the temperature compensation value and the initial human body surface temperature to obtain the human body surface temperature.
[0083] In some embodiments, such as this embodiment, the second calculation unit 203 includes an eighth calculation subunit, a ninth calculation subunit, a tenth calculation subunit, and a replacement unit.
[0084] Among them, the eighth calculation subunit is used to collect multiple third infrared temperature values, and calculate the average value of the multiple third infrared temperature values to obtain a second average infrared temperature value; the ninth calculation subunit is used to calculate the sum of the second average infrared temperature value and the preset background value to obtain a target average infrared temperature value; the tenth calculation subunit is used to calculate the difference between the third infrared temperature value and the target average infrared temperature value for each third infrared temperature value to generate an initial array temperature table; the replacement unit is used to replace the value in the initial array temperature table that is less than the preset temperature value with the preset temperature value to generate a target array temperature table, and determine the relative angle of the human body with respect to the air conditioner according to the target array temperature table.
[0085] In some embodiments, such as this embodiment, the adjusting unit 204 includes a first adjusting subunit, a holding unit, and a second adjusting subunit.
[0086] Among them, the first regulating subunit is used to adjust the air supply angle according to the relative angle if the human body temperature sensation is normal or cool; the maintaining unit is used to keep the air supply angle unchanged if the human body temperature sensation is warm; the second regulating subunit is used to obtain the target temperature corresponding to the human body temperature sensation and adjust the air supply temperature to the target temperature.
[0087] In some embodiments, such as this embodiment, the air conditioner control device 200 further includes a first prompting unit, a clearing unit, a first setting unit, a second setting unit, a second prompting unit, and a control unit.
[0088] Among them, the first prompt unit is used to prompt the user to stand in a suitable position through voice broadcast; the clearing unit is used to clear the display content in the display panel of the air conditioner; the first setting unit is used to set the display content to a preset display value and make the preset display value flash; the second setting unit is used to set the display content to the human body surface temperature and maintain the display of the preset display time; the second prompt unit is used to prompt the user that the body temperature is abnormal if the human body surface temperature is greater than the preset human body surface temperature threshold; the control unit is used to control the internal fan to turn on if the display time reaches the preset display time.
[0089] The control device of the air conditioner can be realized in the form of a computer program. The computer program can be used in Figure 10 The air conditioner shown is running.
[0090] See also Figure 10 , Figure 10 FIG3 is a schematic block diagram of an air conditioner according to an embodiment of the present invention. The air conditioner 300 is a device that can quickly cool down when powered on.
[0091] See Figure 10 The air conditioner 300 includes a processor 302 , a memory, and a network interface 305 connected via a system bus 301 , wherein the memory may include a non-volatile storage medium 303 and an internal memory 304 .
[0092] The non-volatile storage medium 303 can store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, the processor 302 can execute a method for controlling an air conditioner.
[0093] The processor 302 is used to provide computing and control capabilities to support the operation of the entire air conditioner 300 .
[0094] The internal memory 304 provides an environment for the operation of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can execute a method for controlling an air conditioner.
[0095] The network interface 305 is used to communicate with other devices through the network. Figure 10The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present invention, and does not constitute a limitation on the air conditioner 300 to which the solution of the present invention is applied. The specific air conditioner 300 may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0096] The processor 302 is configured to run a computer program 3032 stored in a memory to implement any embodiment of the above-mentioned air conditioner control method.
[0097] It should be understood that in the embodiment of the present invention, the processor 302 may be a central processing unit (CPU), and the processor 302 may also be 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. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0098] Those skilled in the art will appreciate that all or part of the steps in the method of the above-described embodiment can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the steps in the method of the above-described embodiment.
[0099] Therefore, the present invention further provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When executed by a processor, the computer program causes the processor to execute any embodiment of the air conditioner control method.
[0100] The storage medium may be any computer-readable storage medium that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk.
[0101] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the composition and steps of each example according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0102] In the several embodiments provided herein, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the various units is merely a logical functional division, and actual implementation may employ other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented.
[0103] The steps in the methods of the embodiments of the present invention may be adjusted in order, combined, or deleted as needed. The units in the devices of the embodiments of the present invention may be combined, divided, or deleted as needed. Furthermore, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0104] If this integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes several instructions for causing an air conditioner to execute all or part of the steps of the method described in various embodiments of the present invention.
[0105] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0106] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, to the extent such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to encompass such changes and modifications.
[0107] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and such modifications or substitutions are intended to be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.
Claims
1. A method for controlling an air conditioner, characterized in that: include: If an intelligent comfortable air supply instruction is received, whether the body surface temperature collection condition is met is detected based on the collected multiple first infrared temperature values; If the body surface temperature collection condition is met, the human body surface temperature is calculated based on the collected multiple second infrared temperature values and the acquired ambient temperature; determining a human body temperature sensation based on the human body surface temperature and the ambient temperature, and calculating a relative angle of the human body relative to the air conditioner based on the collected plurality of third infrared temperature values; adjusting the air supply parameters of the air conditioner according to the human body temperature and the relative angle; The step of detecting whether the body surface temperature collection condition is met based on the collected multiple first infrared temperature values includes: For each of a first preset number of acquisition cycles, collecting a plurality of first infrared temperature values, and calculating an average value of the plurality of first infrared temperature values to obtain a plurality of first average infrared temperature values corresponding to the acquisition cycle; Calculating the difference between the first average infrared temperature value corresponding to the latter acquisition cycle and the first average infrared temperature value corresponding to the former acquisition cycle in two adjacent acquisition cycles to obtain an average infrared temperature difference; If the average infrared temperature difference is greater than the preset infrared temperature difference, continuing to collect the first infrared temperature values for a second preset number of collection cycles, and calculating the average of the first infrared temperature values in each collection cycle to obtain a plurality of first average infrared temperature values corresponding to the collection cycles; If the plurality of first average infrared temperature values are all greater than the preset infrared temperature threshold, it is determined that the body surface temperature collection condition is met.
2. The method according to claim 1, characterized in that The step of calculating the human body surface temperature based on the collected multiple second infrared temperature values and the acquired ambient temperature includes: collecting a plurality of second infrared temperature values, wherein the plurality of second infrared temperature values are temperature values corresponding to a forehead area of a human body; If the plurality of second infrared temperature values are all within the preset temperature range, calculating an average value of the plurality of second infrared temperature values as the initial human body surface temperature; Acquire the ambient temperature, and compensate the initial human body surface temperature according to the ambient temperature to obtain the human body surface temperature.
3. The method according to claim 2, characterized in that The step of compensating the initial human body surface temperature according to the ambient temperature to obtain the human body surface temperature comprises: Calculating the difference between the initial human body surface temperature and the ambient temperature to obtain a temperature difference value; Calculating the product of the temperature difference and the compensation coefficient to obtain a temperature compensation value; The sum of the temperature compensation value and the initial human body surface temperature is calculated to obtain the human body surface temperature.
4. The method according to claim 1, wherein The step of calculating the relative angle of the human body with respect to the air conditioner based on the collected multiple third infrared temperature values includes: collecting a plurality of third infrared temperature values, and calculating an average value of the plurality of third infrared temperature values to obtain a second average infrared temperature value; Calculating the sum of the second average infrared temperature value and a preset background value to obtain a target average infrared temperature value; For each of the third infrared temperature values, calculating a difference between the third infrared temperature value and the target average infrared temperature value to generate an initial array temperature table; The values in the initial array temperature table that are less than the preset temperature value are replaced with the preset temperature value to generate a target array temperature table, and the relative angle of the human body to the air conditioner is determined according to the target array temperature table.
5. The method according to claim 1, wherein The air supply parameters include an air supply angle and an air supply temperature. The step of adjusting the air supply parameters of the air conditioner according to the human body temperature and the relative angle includes: If the body temperature is normal or cool, the air supply angle is adjusted according to the relative angle; If the human body temperature sensation is warm, the air supply angle is kept unchanged; A target temperature corresponding to the human body temperature sensation is obtained, and the supply air temperature is adjusted to the target temperature.
6. The method according to claim 1, wherein Before the step of calculating the human body surface temperature based on the collected multiple second infrared temperature values and the acquired ambient temperature, the method further includes: Control the internal fan to shut down; Prompt users to stand in the appropriate position through voice broadcast; Clearing the display content on the display panel of the air conditioner; Setting the display content to a preset display value and making the preset display value flash; After the step of calculating the human body surface temperature based on the collected multiple second infrared temperature values and the acquired ambient temperature, the method further includes: Setting the display content to the human body surface temperature and maintaining the display for a preset display time; If the human body surface temperature is greater than a preset human body surface temperature threshold, the user is prompted that the body temperature is abnormal; If the displayed time reaches the preset display time, the internal fan is controlled to turn on.
7. A control device for an air conditioner, characterized in that: include: a detection unit, configured to detect whether a body surface temperature collection condition is met based on the collected multiple first infrared temperature values upon receiving an intelligent comfortable air supply instruction; a first calculation unit, configured to calculate the human body surface temperature based on the collected plurality of second infrared temperature values and the acquired ambient temperature if the body surface temperature collection condition is met; a second calculation unit, configured to determine a human body temperature sensation based on the human body surface temperature and the ambient temperature, and calculate a relative angle of the human body with respect to the air conditioner based on the collected plurality of third infrared temperature values; An adjusting unit, configured to adjust air supply parameters of the air conditioner according to the human body temperature and the relative angle; Wherein, the detection unit includes: a first calculating subunit, configured to collect a plurality of first infrared temperature values for each of a first preset number of collection periods, and calculate an average value of the plurality of first infrared temperature values to obtain a plurality of first average infrared temperature values corresponding to the collection period; The second calculation subunit is configured to calculate a difference between the first average infrared temperature value corresponding to the latter acquisition cycle and the first average infrared temperature value corresponding to the former acquisition cycle in two adjacent acquisition cycles to obtain an average infrared temperature difference; a third calculating subunit, configured to, if the average infrared temperature difference is greater than a preset infrared temperature difference, continue collecting first infrared temperature values for a second preset number of collection cycles, and calculate an average value of the first infrared temperature values in each collection cycle to obtain a plurality of first average infrared temperature values corresponding to the collection cycles; The determination unit is configured to determine that a body surface temperature collection condition is met if the plurality of first average infrared temperature values are all greater than a preset infrared temperature threshold.
8. An air conditioner, characterized in that: The air conditioner includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 can be implemented.
Citation Information
Patent Citations
Control method of air conditioner and air conditioner
CN106016636A
Intelligent air conditioner control method and intelligent air conditioner
CN107525237A