Control method of air conditioner, air conditioner and readable storage medium
By dynamically adjusting the radar identification threshold and air guide plate control, the problem of misidentification of the air conditioner when identifying the human body is solved, and the precise control of the air conditioner and user comfort guarantee are achieved.
Patent Information
- Application Number
- CN202510703054.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-31
- Publication Date
- 2025-08-01
AI Technical Summary
When existing air conditioners use radar to identify human bodies, the signal threshold is fixed, resulting in incorrect identification or inability to identify human bodies, affecting the accuracy of air conditioner control.
Dynamically adjust the target signal identification threshold of the radar according to the air conditioner's air outlet control parameters, determine the accuracy of the human body's existence through detection signals and identification thresholds, and adjust the wind speed of the air outlet to achieve accurate regulation.
The accuracy of the air conditioner's radar recognition of the human body is improved, ensuring that the control of the air conditioner matches the human body state, and ensuring the user's wind comfort and indoor thermal comfort.
Smart Images

Figure CN120403044A_ABST
Abstract
Description
[0001] This application is a divisional application with application number 202110603685.9. The application date of the parent case is May 31, 2021. The name of the invention of the parent case is: air conditioner control method, air conditioner and readable storage medium. Technical Field
[0002] The present invention relates to the technical field of air conditioning, and in particular to a control method of an air conditioner, an air conditioner, and a computer-readable storage medium. Background Art
[0003] With economic and technological development, air conditioners are becoming increasingly widespread, and their performance is becoming increasingly diverse. Currently, many air conditioners use radar to detect human presence in a room and control the air conditioner based on this detected human presence. During the human presence detection process, the air conditioner's radar compares the radar's detection signal with a signal threshold to determine whether a person is present.
[0004] However, current radars typically use fixed thresholds to identify the presence of a person. In practice, this threshold can be too high or too low, leading to other moving objects in the room being mistaken for a person, or failing to identify a person, resulting in an air conditioner responding incorrectly. Consequently, current radar-based human recognition results for air conditioners are inaccurate, impacting control accuracy. Summary of the Invention
[0005] The main purpose of the present invention is to provide a control method for an air conditioner, an air conditioner and a computer-readable storage medium, aiming to improve the accuracy of the air conditioner in identifying the human body based on radar, so as to ensure that the air conditioner can achieve precise control based on the human body recognition results of the radar, and achieve a balance between wind comfort and thermal comfort of indoor users.
[0006] To achieve the above object, the present invention provides a method for controlling an air conditioner, wherein the air conditioner includes a radar, and the method for controlling the air conditioner includes the following steps:
[0007] Obtaining air outlet control parameters of the air conditioner and the detection signal of the radar;
[0008] Determining a target signal recognition threshold of the radar according to the air outlet control parameter; different air outlet control parameters correspond to different target signal recognition thresholds;
[0009] Determining a human body recognition result based on the detection signal and the target signal recognition threshold, wherein the human body recognition result includes whether a human body exists in the target space area;
[0010] When the human body recognition result indicates that a human body exists in the target space, the air guide plate of the air conditioner is controlled to block the air outlet so that the air outlet speed of the air conditioner is less than the set wind speed;
[0011] When the human body recognition result is that there is no human body in the target space area, control the air deflector to open the air outlet so that the air outlet speed of the air conditioner is greater than the set speed.
[0012] In one embodiment, the farther the air outlet direction corresponding to the air outlet control parameter deviates from the position of the user, the greater the target signal recognition threshold.
[0013] In one embodiment, as the air outlet speed of the air conditioner corresponding to the air outlet control parameter decreases, the target signal recognition threshold shows a decreasing trend.
[0014] In one embodiment, the step of determining the target signal recognition threshold of the radar according to the air outlet control parameter includes:
[0015] When the air outlet control parameter is the first control parameter, determine the first signal recognition threshold as the target signal recognition threshold;
[0016] When the air outlet control parameter is the second control parameter, determine the second signal recognition threshold as the target signal recognition threshold;
[0017] Wherein, the air outlet speed of the air conditioner corresponding to the first control parameter is greater than or equal to the set speed, the air outlet speed of the air conditioner corresponding to the second control parameter is less than the set speed, and the first signal recognition threshold is greater than the second signal recognition threshold.
[0018] In one embodiment, the first control parameter is that the air deflector of the air conditioner opens the air outlet, and the second control parameter is that the air deflector blocks the air outlet, wherein the air deflector is provided with air outlet holes.
[0019] In one embodiment, the step of determining the human body recognition result according to the detection signal and the target signal recognition threshold includes:
[0020] When the air outlet control parameter is the second control parameter, if the detection signal is less than or equal to the second signal recognition threshold, determine that the human body recognition result is that there is no human body in the target space area;
[0021] If the detection signal is greater than the second signal recognition threshold, when the characteristic frequency of the detection signal matches the set human breathing frequency, determine that the human body recognition result is that there is a human body in the target space area; when the characteristic frequency does not match the set human breathing frequency, determine that the human body recognition result is that there is no human body in the target space area.
[0022] In one embodiment, after the step of determining the target signal recognition threshold of the radar according to the air outlet control parameter, the following is further included:
[0023] If the detection signal is greater than the first signal recognition threshold, it is determined that there is a human body in the target space area for the human body recognition result;
[0024] If the detection signal is less than or equal to the first signal recognition threshold and greater than the second signal recognition threshold, perform the step of determining that there is a human body in the target space area for the human body recognition result when the characteristic frequency of the detection signal matches the set human breathing frequency, and the step of determining that there is no human body in the target space area for the human body recognition result when the characteristic frequency does not match the set human breathing frequency.
[0025] In one embodiment, the detection signal includes the signal amplitude of the reflected signal received by the radar, and the control method of the air conditioner further includes:
[0026] Detect the signal amplitude of the reflected signal received by the radar, and analyze multiple speed values of the moving target corresponding to the reflected signal within a preset time period;
[0027] After performing Fourier transform on multiple speed values, extract its main motion frequency through the spectrum peak, and obtain the peak frequency period as the characteristic frequency.
[0028] In one embodiment, the step of determining that there is a human body in the target space area for the human body recognition result when the characteristic frequency of the detection signal matches the set human breathing frequency includes:
[0029] When the peak frequency period meets the frequency range in the set human breathing frequency, determine that there is a human body in the target space area for the human body recognition result; the step of determining that there is no human body in the target space area for the human body recognition result when the characteristic frequency does not match the set human breathing frequency includes:
[0030] When the peak frequency period does not meet the frequency range in the set human breathing frequency, determine that there is no human body in the target space area for the human body recognition result.
[0031] In one embodiment, the step of determining the human body recognition result according to the detection signal and the target signal recognition threshold includes:
[0032] If the detection signal is less than or equal to the target signal recognition threshold, determine that there is no human body in the target space area for the human body recognition result;
[0033] If the detection signal is greater than the target signal recognition threshold, determine that there is a human body in the target space area for the human body recognition result.
[0034] In one embodiment, the detection signal is the energy amplitude of the reflected signal detected by the radar, the target signal recognition threshold is the amplitude threshold corresponding to the energy amplitude, and the step of determining that there is no human body in the target space area when the detection signal is less than or equal to the target signal recognition threshold includes:
[0035] If the energy amplitude is less than the amplitude threshold, it is determined that there is no human body in the target space area;
[0036] The step of determining that there is a human body in the target space area when the detection signal is greater than the target signal recognition threshold includes:
[0037] If the energy amplitude is greater than the amplitude threshold, it is determined that there is a human body in the target space area.
[0038] In one embodiment, the target space area is a set of spatial positions in the space where the air conditioner acts that meet preset conditions, and the preset conditions include that the distance between the spatial position and the air conditioner is less than or equal to a set distance, and / or the deviation angle of the spatial position relative to the front of the air outlet of the air conditioner is less than or equal to a set angle.
[0039] In one embodiment, after the step of controlling the air deflector of the air conditioner to block the air outlet, the following steps are further included:
[0040] Determine the human body position parameter according to the detection signal;
[0041] Determine the target air supply wind speed according to the human body position parameter;
[0042] Control the air conditioner to operate at the target air supply wind speed.
[0043] In one embodiment, the human body position parameter includes the distance between the human body and the air conditioner and / or the deviation angle of the human body relative to the front of the air outlet of the air conditioner, the target air supply wind speed decreases as the distance decreases, and the target air supply wind speed decreases as the deviation angle decreases.
[0044] In addition, to achieve the above object, the present application also proposes an air conditioner, and the air conditioner includes:
[0045] Radar;
[0046] A control device, the radar is connected to the control device, and the control device includes: a memory, a processor, and a control program of an air conditioner stored on the memory and operable on the processor. When the control program of the air conditioner is executed by the processor, the steps of the control method of the air conditioner described in any one of the above are implemented.
[0047] In addition, to achieve the above object, the present application also proposes a computer-readable storage medium, on which a control program of an air conditioner is stored. When the control program of the air conditioner is executed by a processor, the steps of the control method of the air conditioner described in any one of the above are implemented.
[0048] A control method for an air conditioner proposed by the present invention determines a target signal recognition threshold of a radar based on the air outlet control parameters of an air conditioner provided with a radar. Different air outlet control parameters correspond to different target signal recognition thresholds. Based on the determined target signal recognition threshold and the detection signal of the radar, it is identified whether there is a human body in the target space area. In this process, the threshold for the radar to identify the human body in the space is not fixed, but changes with the air outlet control parameters of the air conditioner, which can ensure the accuracy of the recognition threshold, so that the human body recognition process based on the radar can match the influence of the air outlet of the air conditioner on the movement of objects in the space, effectively avoiding misidentifying other moving targets affected by the air outlet of the air conditioner in the space as human bodies, improving the accuracy of the air conditioner to identify human bodies based on the radar, so as to ensure that the air conditioner can achieve precise regulation based on the human body recognition result of the radar. Among them, when a human body is in the target space area, the air outlet can be prevented from directly blowing on the user to ensure the wind feeling comfort of the user. When the human body is not in the target space area, more heat can be input into the room to ensure the thermal comfort of the indoor users. Description of the Drawings
[0049] Figure 1 It is a schematic diagram of the hardware structure involved in the operation of an embodiment of the air conditioner of the present invention;
[0050] Figure 2 It is a schematic flowchart of an embodiment of the control method of the air conditioner of the present invention;
[0051] Figure 3 It is a schematic flowchart of another embodiment of the control method of the air conditioner of the present invention;
[0052] Figure 4 It is a schematic flowchart of yet another embodiment of the control method of the air conditioner of the present invention;
[0053] Figure 5 It is a schematic flowchart of still another embodiment of the control method of the air conditioner of the present invention.
[0054] The realization, functional characteristics, and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners
[0055] It should be understood that the specific embodiments described herein are merely used to explain the present invention and are not used to limit the present invention.
[0056] The main solution of the embodiment of the present invention is: obtaining the detection signal of the radar and the air outlet control parameter of the air conditioner; determining the target signal recognition threshold of the radar according to the air outlet control parameter; different air outlet control parameters correspond to different target signal recognition thresholds; determining the human body recognition result according to the detection signal and the target signal recognition threshold, where the human body recognition result includes whether there is a human body in the target space area; controlling the operation of the air conditioner according to the human body recognition result.
[0057] In the prior art, the signal threshold for the radar to identify whether there is a human body is generally a fixed parameter set in advance. During the actual detection process, it is easy to have a situation where the threshold is too large or too small, resulting in other moving targets in the space being misidentified as a human body or the human body not being recognized, leading to incorrect responses of the air conditioner. Therefore, currently, the result of the air conditioner identifying a human body based on the radar is not accurate enough, affecting the accuracy of the air conditioner control.
[0058] The present invention provides the above solution to improve the accuracy of the air conditioner in identifying a human body based on the radar, so as to ensure precise regulation based on the result of the air conditioner's human body recognition using the radar.
[0059] An air conditioner is proposed in the embodiment of the present invention. The air conditioner can be a wall-mounted air conditioner, a cabinet air conditioner, a window air conditioner, a mobile air conditioner, and / or a ceiling-mounted air conditioner, etc.
[0060] In the embodiment of the present invention, the air conditioner includes a radar 1 and a housing.
[0061] The radar 1 is installed on the housing. Specifically, in this embodiment, the radar 1 is a millimeter-wave radar 1. In other embodiments, the radar 1 can also be set as other types of radars 1 according to actual needs, for example, a lidar 1, etc.
[0062] The radar 1 has a detection range, and the coverage range of its detection range can be set according to the actual needs of the air conditioner control. Specifically, the detection range of the radar 1 can cover the front of the air outlet of the air conditioner, and can cover the lower part of the position where the air conditioner is located, etc.
[0063] Specifically, the housing is provided with an air outlet and a return air outlet. The housing is provided with an air duct inside. The air duct communicates the air outlet with the return air outlet. Components related to air conditioning such as a heat exchanger and a fan 2 are provided in the air duct. Driven by the fan 2, indoor air can enter the air duct from the return air outlet to exchange heat with the heat exchanger, and the heated air can be sent into the indoor environment from the air outlet.
[0064] Further, in this embodiment, the air conditioner further includes a wind deflector 3, which is disposed at the air outlet. The wind deflector 3 can be used to adjust the air outlet speed and / or the air outlet angle of the air outlet. Specifically, the wind deflector 3 can be movably installed at the air outlet in a rotational or sliding manner. The movable wind deflector 3 has a first position and a second position. When the wind deflector 3 moves to the first position, the air outlet is opened; when the wind deflector 3 moves to the second position, the air outlet is blocked. The wind deflector is provided with air outlet holes. When the wind deflector 3 is in the first position, the air outlet speed is greater than the set speed; when the wind deflector 3 is in the second position, the air outlet speed is less than the set speed. Specifically, the wind deflector 3 can be provided with a wind dispersing structure (such as a plurality of air outlet holes and / or a swirl module, etc., where the swirl module can disperse the flowing air to the periphery of the air outlet). Based on this, when the air outlet is blocked by the wind deflector 3, the air flow at the air outlet can be dispersed through the wind dispersing structure provided on the wind deflector 3 to reduce the air outlet speed and prevent the cold or hot air of the air conditioner from directly blowing on the user, so as to ensure the comfort of the user's wind feeling.
[0065] Further, referring to Figure 1 , the air conditioner further includes a control device. The control device can be disposed inside the housing or can be independently disposed outside the housing. The above-mentioned radar 1, wind deflector 3, fan 2, etc. can be communicatively connected to the control device here. The control device can be used to obtain the detection data of the radar 1 to control the operation of components such as the wind deflector 3 and fan 2 in the air conditioner based on the detection data.
[0066] In the embodiment of the present invention, referring to Figure 1 , the control device of the air conditioner includes: a processor 1001 (such as a CPU), a memory 1002, etc. The processor 1001 is connected to the memory 1002. The memory 1002 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1002 can also be a storage device independent of the aforementioned processor 1001.
[0067] Those skilled in the art can understand that Figure 1 the device structure shown in
[0068] does not constitute a limitation on the device, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components. Figure 1 As shown, the memory 1002, as a computer-readable storage medium, may include a control program for the air conditioner. In Figure 1 the device shown, the processor 1001 can be used to call the control program for the air conditioner stored in the memory 1002 and execute the relevant step operations of the air conditioner control method in the following embodiments.
[0069] An embodiment of the present invention further provides a control method for an air conditioner, which is applied to control the operation of the above-mentioned air conditioner.
[0070] Referring to Figure 2 , an embodiment of the control method of the air conditioner of the present application is proposed. In this embodiment, the control method of the air conditioner includes:
[0071] Step S10, obtaining the air outlet control parameter of the air conditioner and the detection signal of the radar;
[0072] The air outlet control parameter here specifically refers to a parameter used to adjust the air outlet parameters of the air conditioner (such as air outlet wind speed, air outlet direction, and / or air outlet coverage range, etc.). The air outlet control parameter specifically includes a wind speed control parameter, a direction control parameter, and / or a range control parameter, etc.
[0073] The air outlet control parameter here can be obtained by obtaining the operating parameters of the components related to the air outlet control of the air conditioner, such as the rotation speed of the fan, the number of open air outlets, the opening and closing state of the air outlet, and / or the position of the air deflector, etc.
[0074] Among them, the radar emits a radar signal into the space where the air conditioner is located. When the radar signal reaches the position of the target in the space, the signal reflected by the target and detected by the radar can be used as the detection signal here. In addition, the eigenvalue (such as the detected energy amplitude) extracted from the signal detected by the radar according to a preset rule can also be used as the detection signal here.
[0075] In the preset mode of the air conditioner (such as the anti-cold wind mode, etc.), step S10 here can be executed, so as to realize automatic adjustment of the operation of the air conditioner based on the human body state in the preset mode.
[0076] Step S20, determining the target signal recognition threshold of the radar according to the air outlet control parameter; different air outlet control parameters correspond to different target signal recognition thresholds;
[0077] The target signal recognition threshold is specifically a signal critical value used to distinguish whether the target detected in the space (i.e., the target that reflects the radar signal to form a detection signal) is a human body.
[0078] Different air outlet control parameters correspond to different target signal recognition thresholds. Specifically, a corresponding relationship between the air outlet control parameter and the target signal recognition threshold can be established in advance. This corresponding relationship can have forms such as a calculation relationship, a mapping relationship, an algorithm model, etc. Based on the preset corresponding relationship, the target signal recognition threshold corresponding to the current air outlet control parameter can be determined.
[0079] Specifically, a mapping relationship between the air outlet direction and the target signal recognition threshold can be established in advance. In the mapping relationship, the farther the air outlet direction deviates from the position of the user, the larger the target signal recognition threshold can be. For example, in the mapping relationship of a wall-mounted air conditioner, the target signal recognition threshold when the air outlet control parameter is obliquely upward air outlet is smaller than the target signal recognition threshold when the air outlet control parameter is obliquely upward air outlet. Based on this, by querying the mapping relationship based on the current air outlet direction of the air conditioner, the matching threshold in the mapping relationship can be determined as the target signal threshold.
[0080] Step S30: Determine the human body recognition result according to the detection signal and the target signal recognition threshold. The human body recognition result includes whether there is a human body in the target space area.
[0081] Specifically, the target space area is less than or equal to the detection range of the radar. The specific area size and area position of the target space area can be determined according to the control requirements in the current mode of the air conditioner. Different control requirements can correspond to different target space areas.
[0082] Specifically, the detection signal can be directly compared with the target signal recognition threshold, and based on the comparison result, it is determined whether there is a human body in the target space area. In addition, the quantitative relationship value (such as the difference or ratio) between the detection signal and the target signal recognition threshold can also be determined. After comparing the quantitative relationship value with the corresponding preset relationship threshold, it is determined whether there is a human body in the target space area according to the comparison result. For example, when the quantitative relationship value is the deviation value between the detection signal and the target signal recognition threshold, the preset relationship threshold is the preset deviation. If the actually determined deviation value is less than the preset deviation, it can be considered that there is a human body in the target space area. If the actually determined deviation value is greater than or equal to the preset deviation, it can be considered that there is no human body in the target space area. Another example is that when the quantitative relationship value is the ratio between the detection signal and the target signal recognition threshold, the preset relationship threshold is 1. If the deviation between the actually determined ratio and 1 is less than the set threshold, it can be considered that there is a human body in the target space area. If the deviation between the actually determined ratio and 1 is greater than or equal to the set threshold, it can be considered that there is no human body in the target space area.
[0083] In this embodiment, the human body recognition result is whether there is a human body in the target space area. In other embodiments, the human body recognition result may include not only whether there is a human body in the target space area, but also the type of personnel to which the human body in the space belongs. For example, different deviations between the detection signal and the target signal recognition threshold may correspond to different types of personnel.
[0084] Step S40: Control the operation of the air conditioner according to the human body recognition result.
[0085] Different human body recognition results correspond to different control modes of the air conditioner. For example, if the human body recognition result is that there is someone in the target space area, the air conditioner can be controlled to turn on; if the human body recognition result is that there is no one in the target space area, the air conditioner can be controlled to turn off; for another example, if the human body recognition result is that there is someone in the target space area, the air conditioner can be controlled to stop cooling and dehumidifying; if the human body recognition result is that there is no one in the target space area, the air conditioner can be controlled to turn on cooling and dehumidifying; for yet another example, if the human body recognition result is that there is someone in the target space area, the air conditioner's fan can be controlled to operate at a speed greater than or equal to the set speed; if the human body recognition result is that there is no one in the target space area, the air conditioner's fan can be controlled to operate at a speed less than the set speed.
[0086] A control method for an air conditioner proposed in an embodiment of the present invention determines a target signal recognition threshold of a radar based on the air outlet control parameters of the air conditioner provided with the radar. Different air outlet control parameters correspond to different target signal recognition thresholds. Whether there is a human body in the target space area is recognized based on the determined target signal recognition threshold and the detection signal of the radar. In this process, the threshold for the radar to recognize the human body in the space is not fixed, but changes with the air outlet control parameters of the air conditioner, which can ensure the accuracy of the recognition threshold, make the human body recognition process based on the radar match the influence of the air conditioner's air outlet on the movement of objects in the space, effectively avoid misrecognizing other moving targets affected by the air conditioner's air outlet in the space as human bodies, improve the accuracy of the air conditioner's human body recognition based on the radar, ensure the accurate regulation of the air conditioner based on the human body recognition result of the radar, ensure the precise matching of the operation of the air conditioner with the human body state, and ensure user comfort.
[0087] Specifically, in this embodiment, step S30 includes: if the detection signal is less than or equal to the target signal recognition threshold, it is determined that there is no human body in the target space area in the human body recognition result; if the detection signal is greater than the target signal recognition threshold, it is determined that there is a human body in the target space area in the human body recognition result. Specifically, in the embodiment, the detection signal is the energy amplitude of the reflection signal detected by the radar. Correspondingly, the target signal recognition threshold is the amplitude threshold corresponding to the energy amplitude. Then, when the energy amplitude is greater than or equal to the amplitude threshold, it can be considered that there is someone in the target space area; when the energy amplitude is less than the amplitude threshold, it can be considered that there is no one in the target space area.
[0088] Further, based on the above embodiments, another embodiment of the control method of the air conditioner of the present application is proposed. In this embodiment, as the air outlet speed of the air conditioner corresponding to the air outlet control parameter decreases, the target signal recognition threshold shows a decreasing trend. For example, when the air outlet control parameter is the rotation speed of the air supply fan, as the rotation speed of the air supply fan decreases and the air outlet speed of the air conditioner decreases, the target signal recognition threshold can decrease; another example is that when the air outlet control parameter is the wind blocking area of the air deflector, as the wind blocking area of the air deflector with a wind dispersing structure increases and the air outlet speed of the air conditioner decreases, the target signal recognition threshold can decrease.
[0089] Conversely, as the air outlet speed of the air conditioner corresponding to the air outlet control parameter increases, the target signal recognition threshold shows an increasing trend. For example, when the air outlet control parameter is the rotation speed of the air supply fan, as the rotation speed of the air supply fan increases and the air outlet speed of the air conditioner increases, the target signal recognition threshold can increase; another example is that when the air outlet control parameter is the wind blocking area of the air deflector, as the wind blocking area of the air deflector with a wind dispersing structure decreases and the air outlet speed of the air conditioner increases, the target signal recognition threshold can increase.
[0090] In this embodiment, since an object with a relatively light weight (less than the set weight threshold) in the space where the air conditioner acts may move slightly under the driving action of an air flow with a relatively high speed, and this object will be in a stationary state under the action of an air flow with a relatively low speed. Based on this, the target signal recognition threshold decreases as the air supply speed decreases, which is beneficial to ensuring that when a person's position in the space where the air conditioner acts is relatively fixed and only the breathing action forms a relatively small detection signal, it can also be effectively recognized, ensuring the accuracy of the air conditioner's human body recognition based on radar. In addition, the target signal recognition threshold increases as the air supply speed increases, which is beneficial to ensuring that even if there are relatively light objects in the space that move slightly under the driving action of an air flow with a relatively high speed, the relatively large target signal recognition threshold can ensure that the air conditioner will not misidentify these objects as people. Based on this, adapting the adjustment of the target signal recognition threshold to the air outlet speed of the air conditioner can improve the accuracy of the air conditioner in recognizing the human body.
[0091] Further, in this embodiment, based on this, referring to Figure 3 , step S20 includes:
[0092] Step S21, when the air outlet control parameter is the first control parameter, determine the first signal recognition threshold as the target signal recognition threshold;
[0093] Step S22, when the air outlet control parameter is the second control parameter, determine the second signal recognition threshold as the target signal recognition threshold;
[0094] Among them, the air outlet wind speed of the air conditioner corresponding to the first control parameter is greater than or equal to the set wind speed, the air outlet wind speed of the air conditioner corresponding to the second control parameter is less than the set wind speed, and the first signal recognition threshold is greater than the second signal recognition threshold.
[0095] The first signal recognition threshold and the second signal recognition threshold can be preset fixed parameters, or can be thresholds determined based on the current wind speed and / or the air outlet direction of the air conditioner.
[0096] In this embodiment, the first control parameter is that the air deflector of the air conditioner opens the air outlet, and the second control parameter is that the air deflector of the air conditioner blocks the air outlet. A wind-dispersing structure can be provided on the air deflector. Based on this, when the air deflector opens the air outlet, the air deflector will not block the airflow blown out of the air outlet, and the airflow is directly sent into the room. The air outlet wind speed reaches above the set wind speed. At this time, the air outlet of the air conditioner can blow directly at the user, and the user feels a greater sense of wind. And the airflow at this wind speed can blow light objects such as green plants and curtains; when the air deflector blocks the air outlet, the flow rate of the airflow blown out of the air outlet will decrease under the block of the air deflector, and the weakened airflow is sent into the room. The air outlet wind speed is smaller than the set wind speed. At this time, the air outlet of the air conditioner cannot blow directly at the user, and the user feels a smaller sense of wind. And the airflow at this wind speed cannot blow light objects such as green plants and curtains.
[0097] In other embodiments, the first control parameter can be the high wind gear of the blower, and the second control parameter can be the low wind gear of the blower.
[0098] Based on the target signal recognition threshold determined here, step S30 above includes: when the air outlet control parameter is the first control parameter, when the first signal recognition threshold is greater than or equal to the detected signal, it can be determined that there is no one in the target space area in the above-mentioned human body recognition result; when the first signal recognition threshold is less than the detected signal, it can be determined that there is someone in the target space area in the above-mentioned human body recognition result.
[0099] In addition, step S30 may further include: when the air outlet control parameter is the second control parameter, when the second signal recognition threshold is greater than or equal to the detected signal, it can be determined that there is no one in the target space area in the above-mentioned human body recognition result; when the second signal recognition threshold is less than the detected signal, it can be determined that there is someone in the target space area in the above-mentioned human body recognition result.
[0100] In this embodiment, when the air outlet wind speed of the air conditioner is relatively large, a larger first signal recognition threshold is used to recognize whether there is someone in the space. When the air outlet wind speed of the air conditioner is relatively small, a smaller second signal recognition threshold is used to recognize whether there is someone in the space, so as to ensure that the air conditioner can accurately recognize the human body in the space no matter which way it controls the air outlet.
[0101] Further, based on any of the above embodiments, another embodiment of the control method of the air conditioner of the present application is proposed. In this embodiment, when the air outlet speed corresponding to the air outlet control parameter is less than the set speed, the target signal recognition threshold is the second signal recognition threshold, and the second signal recognition threshold here specifically refers to the same parameter as the above-mentioned second signal recognition threshold. Refer to Figure 4 , the above step S30 includes:
[0102] Step S31, when the air outlet control parameter is the second control parameter, if the detection signal is less than or equal to the second signal recognition threshold, it is determined that there is no human body in the target space area in the human body recognition result;
[0103] Step S33, if the detection signal is greater than the second signal recognition threshold, when the characteristic frequency of the detection signal matches the set human breathing frequency, it is determined that there is a human body in the target space area in the human body recognition result; when the characteristic frequency does not match the set human breathing frequency, it is determined that there is no human body in the target space area in the human body recognition result.
[0104] The set human breathing frequency is specifically the frequency range (such as 0.1Hz - 0.5Hz) of the signal detected by the radar corresponding to the pre-set human breathing.
[0105] Specifically, the signal amplitude of the reflected signal received by the radar can be detected, and the multiple speed values of the moving target corresponding to the reflected signal within a preset time period can be analyzed. When there is human breathing movement, the multiple speed values obtained will have a periodic pattern. Based on this, a Fourier transform (FFT) is performed on the multiple speed values, and the main movement frequency is extracted through the spectrum peak to obtain the peak frequency period as the characteristic frequency. When the second signal recognition threshold is less than the detection signal, if the peak frequency period conforms to the frequency range in the set human breathing frequency, it can be considered that there is someone in the space; if the peak frequency period does not conform to the frequency range in the set human breathing frequency, it can be considered that there is no one in the space.
[0106] In this embodiment, when the air outlet speed of the air conditioner is small, on the basis of confirming that the detection signal is larger than the second signal recognition threshold, the human body recognition result is output by combining the determination of whether the detection signal satisfies the human breathing law, which is beneficial to further improving the accuracy of the human body recognition of the air conditioner based on the radar.
[0107] Further, in this embodiment, after the step of determining the target signal recognition threshold of the radar according to the air outlet control parameter, the following steps are further included: If the detection signal is greater than the first signal recognition threshold, it is determined that there is a human body in the target space area; if the detection signal is less than or equal to the first signal recognition threshold and greater than the second signal recognition threshold, the steps of determining that there is a human body in the target space area when the characteristic frequency of the detection signal matches the set human breathing frequency and determining that there is no human body in the target space area when the characteristic frequency does not match the set human breathing frequency are executed. The first signal recognition threshold here refers to the same parameter as the first signal recognition threshold in the above embodiment. Based on this, the recognition of whether there is a person in the space is combined with the two thresholds of the first signal recognition threshold and the second signal recognition threshold, so that when the human body movement amplitude is large enough, the recognition result that there is a person in the space can be quickly determined based on the first signal recognition threshold; when the human body movement amplitude is small, the recognition of whether there is a person in the space is combined with the second signal recognition threshold and the breathing law, so as to ensure the accuracy of the output human body recognition result while improving the acquisition efficiency of the human body recognition result.
[0108] Further, based on any of the above embodiments, another embodiment of the control method of the air conditioner of the present application is proposed. In this embodiment, referring to Figure 5 , the S40 includes:
[0109] Step S41, when the human body recognition result is that there is a human body in the target space area, control the air deflector of the air conditioner to block the air outlet, so that the air outlet speed of the air conditioner is less than the set speed;
[0110] Step S42, when the human body recognition result is that there is no human body in the target space area, control the air deflector to open the air outlet, so that the air outlet speed of the air conditioner is greater than the set speed;
[0111] Among them, the target space area is a set of spatial positions in the action space of the air conditioner that meet the preset conditions. The preset conditions include that the distance between the spatial position and the air conditioner is less than or equal to the set distance and / or the deviation angle of the spatial position relative to the front of the air outlet of the air conditioner is less than or equal to the set angle. Among them, the above detection signal can be the signal corresponding to the target space area.
[0112] The set distance and the set angle are pre-set parameters, which can be the parameters configured by the system by default or the parameters determined by the user's self-input instructions. In this embodiment, the set distance is 1.5 m and the set angle is 60 degrees. In other embodiments, other values can also be set according to actual needs.
[0113] Specifically, a plane perpendicular to the plane where the air outlet is located and bisecting the air outlet is used as the reference plane, and the deviation angle here is the angle between the line connecting the spatial position and the midpoint of the air outlet and this reference plane.
[0114] In this embodiment, the target space area is relatively close to the air conditioner and in the direct front of the air outlet (i.e., the coverage range of the direct blowing of the air conditioner). Based on this, the wind speed in the target space area is relatively high. Based on this, when a person is in the target space area, the air blown out by the air conditioner is likely to directly blow on the user. Therefore, the air outlet is blocked by the air deflector to prevent the air from directly blowing on the user and ensure the comfort of the user's wind feeling; when a person is not in the target space area, the air blown out by the air conditioner is not likely to directly blow on the user. Therefore, the air deflector opens the air outlet, enabling more heat exchange of the air conditioner to be input into the room and ensuring the thermal comfort of the indoor users.
[0115] Further, in this embodiment, after the step of controlling the air deflector of the air conditioner to block the air outlet, the following steps are further included:
[0116] Step S50: Determine the human body position parameter according to the detection signal;
[0117] Specifically, the position of the human body can be located based on the moment when the detection signal greater than the target recognition threshold is received and the preset propagation speed of the radar signal to obtain the human body position parameter here.
[0118] The human body position parameter specifically includes the distance between the human body and the air conditioner and / or the direction of the human body relative to the air conditioner, etc.
[0119] After receiving the radar reflection signal, record the first time when the radar reflection signal corresponding to the human body is received, obtain the second time when the radar emits the radar signal, and calculate the distance between the human body and the radar according to the time deviation between the first time and the second time and the propagation speed of the radar signal in space. For example, take the product of the time difference and the propagation speed as the distance here.
[0120] The radar may have more than one antenna, and each antenna can send and receive detection signals. By analogy with the above detection method of the distance, the set of positions of the first target detected by each antenna can be determined. Each antenna corresponds to a position set, and the intersection position in all position sets can be used as the target position where the human body is located. Based on the target position and the preset position corresponding to the radar, the direction of the human body relative to the radar (i.e., the deviation angle of the human body relative to the direct front of the air outlet of the air conditioner) can be determined; alternatively, the signal intensities of the reflection signals of the first target received by each antenna can also be compared, and the preset direction corresponding to the antenna with the strongest signal intensity can be used as the direction of the human body relative to the radar (i.e., the deviation angle of the human body relative to the direct front of the air outlet of the air conditioner).
[0121] Step S60: Determine the target air supply speed according to the human body position parameter.
[0122] Different human body position parameters correspond to different target air supply speeds. Different distances and different deviation angles correspond to different target air supply speeds. The correspondence between the distance, deviation angle, and wind speed can be preset, and it can be a calculation relationship, a mapping relationship, an algorithm model, etc. In this correspondence, the target air supply speed shows a decreasing trend as the distance decreases, and the target air supply speed shows a decreasing trend as the deviation angle decreases. Based on this correspondence, the target air supply speed corresponding to the distance and deviation angle of the human body can be determined.
[0123] In this embodiment, the correspondence between the distance, deviation angle, and wind speed is a mapping relationship. Specifically, the mapping relationship is the mapping relationship between different preset angle intervals, different preset distance intervals, and wind speed. Based on this, the preset distance interval where the distance is located can be determined, the preset angle interval where the deviation angle is located can be determined, and based on the preset mapping relationship, the preset wind speed corresponding to the preset distance interval and the preset angle interval is determined as the target air outlet speed.
[0124] Specifically, in this embodiment, the mapping relationship between the distance, deviation angle, and wind speed is shown in the following table:
[0125]
[0126] Based on the mapping relationship shown in the above table, when the current distance is 0.5m and the deviation angle is 17 degrees, the preset maximum wind speed of the fan with a wind speed of 7% can be determined; when the current distance is 1.1m and the deviation angle is 55, the preset maximum wind speed of the fan with a wind speed of 22% can be determined.
[0127] Step S70: Control the air conditioner to operate at the target air supply speed.
[0128] Specifically, the target rotation speed of the fan corresponding to the target air supply speed can be determined. Control the operation of the fan of the air conditioner according to the target rotation speed.
[0129] In this embodiment, while blocking the wind through the air deflector, the wind speed of the air conditioner is adjusted according to the human body position, so as to ensure that the wind speed at the position where the human body is located can be lower than the set wind speed, and the wind feeling comfort of the human body is guaranteed.
[0130] Among them, based on any of the above embodiments, in the cold wind prevention mode, the steps in any of the embodiments can be executed to set the air conditioner based on the human body recognition result to avoid the user being blown by cold wind. If it is determined that there is no one in the target space area within the set duration (such as 30s), the air conditioner can be controlled to exit the cold wind prevention mode (at this time, the air deflector opens the air outlet).
[0131] Further, to better understand the solution of the control method of the air conditioner involved in the embodiments of the present application, a specific example is listed below:
[0132] The millimeter-wave radar calculates the distance, speed, angle, and reflected energy amplitude of the target by transmitting and receiving the millimeter-wave signals reflected by the moving target. When the air deflector is in the open state, the wind blown by the air conditioner is relatively strong at this time. If there are easily movable objects such as green plants or curtains nearby, it is easy to cause misjudgment. Therefore, a relatively large radar detection threshold is set to ensure the detection of a real human body; after detecting that a human body enters the preset range, the anti-cold wind mode is entered, the windless air deflector is closed, and at the same time, the wind speed is adjusted according to the position and angle of the human body to ensure that the wind speed at the position where the person is located is lower than the preset value, so as to achieve the effect of preventing the cold wind from blowing directly; when the anti-cold wind mode is entered, the windless air deflector is in the closed state, and the wind blown by the air conditioner is very weak and can hardly blow green plants and curtains, etc. At this time, if someone sits still in front of the air conditioner, it is easy to cause missed detection. Therefore, a relatively small detection threshold is set to ensure the detection of the micro-motion signal, and at the same time, it is judged whether it is a human body according to whether the frequency of the micro-motion signal conforms to the human breathing law; if no human body is detected continuously for more than the preset time, the anti-cold wind mode is exited.
[0133] In addition, an embodiment of the present invention also provides a computer-readable storage medium, on which a control program of the air conditioner is stored. When the control program of the air conditioner is executed by a processor, the relevant steps of any one of the above embodiments of the control method of the air conditioner are implemented.
[0134] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of another identical element in the process, method, article or system including that element.
[0135] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.
[0136] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present invention.
[0137] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A control method for an air conditioner, the air conditioner including a radar, characterized in that, The control method of the air conditioner includes the following steps: Obtain the air outlet control parameter of the air conditioner and the detection signal of the radar; Determine the target signal recognition threshold of the radar according to the air outlet control parameter; different air outlet control parameters correspond to different target signal recognition thresholds; Determine the human body recognition result according to the detection signal and the target signal recognition threshold, where the human body recognition result includes whether there is a human body in the target space area; When the human body recognition result is that there is a human body in the target space area, control the air deflector of the air conditioner to block the air outlet, so that the air outlet speed of the air conditioner is less than the set speed; When the human body recognition result is that there is no human body in the target space area, control the air deflector to open the air outlet, so that the air outlet speed of the air conditioner is greater than the set speed.
2. The control method of the air conditioner according to claim 1, characterized in that, The farther the air outlet direction corresponding to the air outlet control parameter deviates from the position of the user, the greater the target signal recognition threshold.
3. The control method of the air conditioner according to claim 1, characterized in that, As the air outlet speed of the air conditioner corresponding to the air outlet control parameter decreases, the target signal recognition threshold shows a decreasing trend.
4. The control method of the air conditioner according to claim 3, wherein The step of determining the target signal recognition threshold of the radar according to the air outlet control parameter includes: When the air outlet control parameter is the first control parameter, determine the first signal recognition threshold as the target signal recognition threshold; When the air outlet control parameter is the second control parameter, determine the second signal recognition threshold as the target signal recognition threshold; Wherein, the air outlet speed of the air conditioner corresponding to the first control parameter is greater than or equal to the set speed, the air outlet speed of the air conditioner corresponding to the second control parameter is less than the set speed, and the first signal recognition threshold is greater than the second signal recognition threshold.
5. The control method of the air conditioner according to claim 4, characterized in that, The first control parameter is that the air deflector of the air conditioner opens the air outlet, and the second control parameter is that the air deflector blocks the air outlet, wherein the air deflector is provided with air outlet holes.
6. The control method of the air conditioner according to claim 4, characterized in that, The step of determining the human body recognition result according to the detection signal and the target signal recognition threshold includes: When the air outlet control parameter is the second control parameter, if the detection signal is less than or equal to the second signal recognition threshold, determine that the human body recognition result is that there is no human body in the target space area; If the detection signal is greater than the second signal recognition threshold, when the characteristic frequency of the detection signal matches the set human breathing frequency, determine that the human body recognition result is that there is a human body in the target space area; when the characteristic frequency does not match the set human breathing frequency, determine that the human body recognition result is that there is no human body in the target space area.
7. The control method of the air conditioner according to claim 6, characterized in that, After the step of determining the target signal recognition threshold of the radar according to the air outlet control parameter, it further includes: If the detection signal is greater than the first signal recognition threshold, determine that the human body recognition result is that there is a human body in the target space area; If the detection signal is less than or equal to the first signal recognition threshold and greater than the second signal recognition threshold, perform the step of determining that there is a human body in the target space area when the characteristic frequency of the detection signal matches the set human breathing frequency, and the step of determining that there is no human body in the target space area when the characteristic frequency does not match the set human breathing frequency.
8. The control method of the air conditioner according to claim 6, characterized in that, The detection signal includes the signal amplitude of the reflected signal received by the radar, and the control method of the air conditioner further includes: Detect the signal amplitude of the reflected signal received by the radar, and analyze multiple speed values of the moving target corresponding to the reflected signal within a preset time period; After performing Fourier transform on multiple speed values, extract its main motion frequency through the spectral peak to obtain the peak frequency period as the characteristic frequency.
9. The control method of the air conditioner according to claim 8, characterized in that, The step of determining that there is a human body in the target space area when the characteristic frequency of the detection signal matches the set human breathing frequency includes: When the peak frequency period conforms to the frequency range in the set human breathing frequency, determine that there is a human body in the target space area; the step of determining that there is no human body in the target space area when the characteristic frequency does not match the set human breathing frequency includes: When the peak frequency period does not conform to the frequency range in the set human breathing frequency, determine that there is no human body in the target space area.
10. The control method of the air conditioner according to claim 1, characterized in that, The step of determining the human body recognition result according to the detection signal and the target signal recognition threshold includes: If the detection signal is less than or equal to the target signal recognition threshold, determine that there is no human body in the target space area; If the detection signal is greater than the target signal recognition threshold, determine that there is a human body in the target space area.
11. The control method of the air conditioner according to claim 10, characterized in that, The detection signal is the energy amplitude of the reflected signal detected by the radar, the target signal recognition threshold is the amplitude threshold corresponding to the energy amplitude, and the step of determining that there is no human body in the target space area if the detection signal is less than or equal to the target signal recognition threshold includes: If the energy amplitude is less than the amplitude threshold, determine that there is no human body in the target space area; The step of determining that there is a human body in the target space area if the detection signal is greater than the target signal recognition threshold includes: If the energy amplitude is greater than the amplitude threshold, determine that there is a human body in the target space area.
12. The control method of the air conditioner according to any one of claims 1 to 11, characterized in that, The target space area is a set of spatial positions within the action space of the air conditioner that meet preset conditions, and the preset conditions include that the distance between the spatial position and the air conditioner is less than or equal to a set distance, and / or the deviation angle of the spatial position relative to the front of the air outlet of the air conditioner is less than or equal to a set angle.
13. The control method of the air conditioner according to any one of claims 1 to 11, characterized in that, After the step of controlling the air deflector of the air conditioner to block the air outlet, the following steps are further included: Determine the human body position parameters according to the detection signal; Determine the target air supply wind speed according to the human body position parameters; Control the air conditioner to operate at the target air supply wind speed; Wherein, the human body position parameters include the distance between the human body and the air conditioner and / or the deviation angle of the human body relative to the front of the air outlet of the air conditioner, and the target air supply wind speed decreases as the distance decreases, and the target air supply wind speed decreases as the deviation angle decreases.
14. An air conditioner, characterized in that, The air conditioner includes: A radar; A control device, the radar is connected to the control device, and the control device includes: a memory, a processor, and a control program of the air conditioner stored on the memory and executable on the processor. When the control program of the air conditioner is executed by the processor, the steps of the control method of the air conditioner according to any one of claims 1 to 13 are implemented.
15. A computer-readable storage medium, characterized in that, A control program of the air conditioner is stored on the computer-readable storage medium. When the control program of the air conditioner is executed by a processor, the steps of the control method of the air conditioner according to any one of claims 1 to 13 are implemented.