CN107490152B - Control method of air conditioner, air conditioner and storage medium - Google Patents

Control method of air conditioner, air conditioner and storage medium Download PDF

Info

Publication number
CN107490152B
CN107490152B CN201710815371.9A CN201710815371A CN107490152B CN 107490152 B CN107490152 B CN 107490152B CN 201710815371 A CN201710815371 A CN 201710815371A CN 107490152 B CN107490152 B CN 107490152B
Authority
CN
China
Prior art keywords
pyroelectric infrared
air conditioner
preset
detection device
heat source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710815371.9A
Other languages
Chinese (zh)
Other versions
CN107490152A (en
Inventor
杨胜良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201710815371.9A priority Critical patent/CN107490152B/en
Publication of CN107490152A publication Critical patent/CN107490152A/en
Application granted granted Critical
Publication of CN107490152B publication Critical patent/CN107490152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a control method of an air conditioner, the air conditioner and a storage medium, wherein when an initialization completion instruction fed back by a pyroelectric infrared detection device is received, the pyroelectric infrared detection device is controlled to detect a static heat source within a preset rotation angle, the relative position information of the static heat source is calculated by obtaining the deflection angle of the pyroelectric infrared detection device relative to a preset initial position when a pulse signal is fed back in the period, and when the static heat source is a human body, the set temperature and/or air outlet parameter of the air conditioner are/is adjusted according to the indoor and outdoor temperature and the relative position relation, so that the problem that when the human body is static in a certain area, the operation parameter of the air conditioner cannot be adjusted by using a pulse signal generated by a pyroelectric infrared sensor, and the comfort of the air conditioner is improved.

Description

Control method of air conditioner, air conditioner and storage medium
Technical Field
The invention relates to the technical field of air conditioners, in particular to a control method of an air conditioner, the air conditioner and a storage medium.
Background
The existing heat source detection based on a single-point pyroelectric infrared sensor can identify a moving human body or a heating object, but is difficult to detect a static heat source. Therefore, when the pyroelectric infrared sensor is applied to the air conditioner, the opening or closing of the air conditioner in a corresponding area is controlled only according to the pulse signal generated when a human body moves, and when the human body is still in a certain area, the operation parameter of the air conditioner cannot be adjusted by using the pulse signal generated by the pyroelectric infrared sensor, so that the comfort of the air conditioner is poor; and when a thermopile consisting of a plurality of single-point pyroelectric infrared sensors is used for detecting a micro-motion heat source, the cost is higher.
Disclosure of Invention
The invention mainly aims to provide a control method of an air conditioner, aiming at improving the comfort of the air conditioner.
In order to achieve the above object, the present invention provides a control method of an air conditioner, the air conditioner is provided with a pyroelectric infrared detection device, the control method comprises the following steps:
when an initialization completion instruction is received, controlling the pyroelectric infrared detection device to detect a static heat source within a preset rotation angle;
acquiring a deflection angle of the pyroelectric infrared detection device relative to a preset initial position when a pulse signal is fed back in the period, and calculating relative position information of a static heat source according to the deflection angle;
and when the static heat source is a human body, adjusting the set temperature and/or the air outlet parameters of the air conditioner according to the indoor and outdoor temperatures and the relative position information.
Further, before performing all the steps, the control method further includes:
and after receiving a starting instruction, controlling the pyroelectric infrared detection device to execute initialization operation.
Further, the pyroelectric infrared detection device includes a pyroelectric infrared sensor with a fresnel lens, and a stepping motor that drives the pyroelectric infrared sensor to rotate in a horizontal direction, and after receiving a start instruction, the step of controlling the pyroelectric infrared detection device to execute an initialization operation specifically includes:
after receiving a starting instruction, detecting whether the pyroelectric infrared sensor is at a preset initial position or not;
if so, generating an initialization completion instruction;
if not, controlling the stepping motor to drive the pyroelectric infrared sensor to rotate leftwards or rightwards to a preset initial position.
Further, the step of controlling the pyroelectric infrared detection device to detect a stationary heat source within a preset rotation angle when receiving an initialization completion instruction specifically includes:
when an initialization completion instruction is received, monitoring the indoor temperature;
when the difference value between the indoor temperature and the set temperature of the air conditioner is smaller than a first preset threshold value, generating a detection instruction;
and controlling the stepping motor to drive the pyroelectric infrared sensor to complete a preset rotation period corresponding to the preset rotation angle at a preset rotation speed according to the detection instruction.
Further, when the stationary heat source is located in a first preset region, the step of obtaining a deflection angle of the pyroelectric infrared detection device relative to a preset initial position when feeding back a pulse signal in the present period, and calculating the position information of the stationary heat source according to the deflection angle specifically includes:
when the pyroelectric infrared detection device receives the detection instruction, recording a first time t1The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a first pulse signal fed back by the pyroelectric infrared detection device is received, recording a second moment t2And based on said first time t1And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed1
When a second pulse signal fed back by the pyroelectric infrared detection device is received, recording a third moment t3And based on said first time t1Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle2
According to the theta1、θ2And calculating the relative position information of the static heat source according to the detection radius of the pyroelectric infrared sensor.
Further, when the stationary heat source is located in a second preset region, the step of obtaining a deflection angle of the pyroelectric infrared detection device relative to a preset initial position when feeding back a pulse signal in the present period, and calculating the position information of the stationary heat source according to the deflection angle specifically includes:
when the pyroelectric infrared detection device receives the detection instruction, recording a fourth time t4The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a third pulse signal fed back by the pyroelectric infrared detection device is received, recording a fifth moment t5And based on said fourth time t4And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed3
When a fourth pulse signal fed back by the pyroelectric infrared detection device is received, recording a sixth moment t6And based on said fourth time t4Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle4
When a fifth pulse signal fed back by the pyroelectric infrared detection device is received, recording a seventh moment t7The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a sixth pulse signal fed back by the pyroelectric infrared detection device is received, recording an eighth time t8And based on said seventh time t7And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed5
When a seventh pulse signal fed back by the pyroelectric infrared detection device is received, recording a ninth moment t9And based on said seventh time t7Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle6
According to the theta3、θ4、θ5、θ6And calculating the relative position information of the static heat source according to the detection radius of the pyroelectric infrared sensor.
Further, when the stationary heat source is a human body, the step of adjusting the set temperature and/or the air outlet parameters of the air conditioner according to the indoor and outdoor temperatures and the relative position information specifically includes:
when the temperature parameter and the area parameter of the static heat source are matched with the human body parameter, detecting the indoor and outdoor temperature;
when the indoor temperature is lower than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is larger than a second preset threshold value, reducing the set temperature of the air conditioner, and/or controlling the air conditioner to supply air to the area where the human body is located and increase the air output according to the relative position information;
when the indoor temperature is lower than the outdoor temperature and the difference between the human body temperature and the indoor temperature is lower than a second preset threshold value, the set temperature of the air conditioner is increased, and/or the air conditioner is controlled to supply air to other areas and the air output is decreased according to the relative position information;
when the indoor temperature is higher than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is higher than a third preset threshold value, the set temperature of the air conditioner is increased, and/or the air conditioner is controlled to supply air to the area where the human body is located and increase the air output according to the relative position information;
and when the indoor temperature is higher than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is smaller than a third preset threshold value, reducing the set temperature of the air conditioner, and/or controlling the air conditioner to supply air to other areas and reduce the air output according to the relative position information.
Further, when the static heat source is a non-human body and the temperature of the static heat source is greater than a preset temperature threshold value, outputting a voice alarm prompt; or displaying an alarm prompt on a display unit of the air conditioner; or sending an alarm prompt to a terminal or a background server connected with the air conditioner.
The invention further provides an air conditioner, which comprises a pyroelectric infrared detection device, a memory, a processor and a control program stored in the memory and running on the processor, wherein:
the pyroelectric infrared detection device is used for feeding back a pulse signal when a static heat source is detected;
the control program implements the steps of the control method of the air conditioner as described above when executed by the processor.
The present invention also proposes a storage medium storing a control program that, when executed by a processor, implements the steps of the control method of the air conditioner as described above.
The control method of the air conditioner provided by the embodiment of the invention is used for the air conditioner provided with the pyroelectric infrared detection device, when an initialization completion instruction fed back by the pyroelectric infrared detection device is received, the pyroelectric infrared detection device is controlled to detect a static heat source within a preset rotation angle, the relative position information of the static heat source is calculated by obtaining the deflection angle of the pyroelectric infrared detection device relative to the preset initial position when a pulse signal is fed back in the period, and the set temperature and/or the air outlet parameter of the air conditioner are/is adjusted according to the indoor and outdoor temperature and the relative position relation when the static heat source is a human body. According to the control method, the pyroelectric infrared detection device is used for detecting an indoor static heat source and acquiring relative position information of the indoor static heat source, and then when the static heat source is determined to be a human body, the set temperature and/or the air outlet parameter of the air conditioner are/is adjusted by combining the indoor temperature and the outdoor temperature, so that the problem that when the human body is static in a certain area, the operation parameter of the air conditioner cannot be adjusted by using a pulse signal generated by the pyroelectric infrared sensor is solved, and the comfort of the air conditioner is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic diagram of a hardware configuration of an embodiment of an air conditioner according to the present invention;
FIG. 2 is a flowchart illustrating an embodiment of a method for controlling an air conditioner according to the present invention;
FIG. 3 is a flowchart illustrating an embodiment of step S10 in FIG. 2;
FIG. 4 is a flowchart illustrating an embodiment of step S20 in FIG. 2;
FIG. 5 is a detailed flowchart of the first embodiment of step S30 in FIG. 2;
FIG. 6 is a detailed flowchart of a second embodiment of step S30 in FIG. 2;
fig. 7 is a detailed flowchart of an embodiment of step S40a in fig. 2.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware structure of an embodiment of an air conditioner of the present invention.
As shown in fig. 1, the air conditioner 100 may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display unit (Display) and an input unit such as an interactive interface, in the present invention, the air conditioner 100 may interact with a user terminal during software operation, when performing parameter setting or debugging on the air conditioner 100, a tester or a setter may input data information by using the user interface 1003, and the optional user interface 1003 may further include a standard wired interface or a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the air conditioner 100 may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, air quality sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display unit according to the brightness of ambient light, and a proximity sensor that turns on the display unit and/or a backlight when detecting that a person walks into the air conditioner 100. As one of the motion sensors, the gravity acceleration sensor may detect the magnitude of acceleration in each direction (generally, three axes), and may detect the magnitude and direction of gravity when stationary, and may be used for applications (such as magnetometer attitude calibration) for recognizing the attitude of the mobile terminal, and related functions (such as tapping) of vibration recognition; as the environment detecting element, the air quality sensor may be a temperature sensor, a humidity sensor, a carbon dioxide sensor, and a PM2.5 sensor, and the air quality sensor in this embodiment is preferably a temperature sensor so as to detect the indoor and outdoor temperatures of the environment where the air conditioner is located in real time; of course, the air conditioner 100 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the air conditioner 100 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The main solution of the embodiment of the invention is as follows: the air conditioner is used for controlling the pyroelectric infrared detection device to detect a static heat source in a preset rotation angle when receiving an initialization completion instruction fed back by the pyroelectric infrared detection device, calculating the relative position information of the static heat source by acquiring the deflection angle of the pyroelectric infrared detection device relative to a preset initial position when feeding back a pulse signal in the period, and adjusting the set temperature and/or the air outlet parameter of the air conditioner according to the indoor and outdoor temperature and the relative position relation when the static heat source is a human body.
According to the control method, the pyroelectric infrared detection device is used for detecting an indoor static heat source and acquiring relative position information of the indoor static heat source, and then when the static heat source is determined to be a human body, the set temperature and/or the air outlet parameter of the air conditioner are/is adjusted by combining the indoor temperature and the outdoor temperature, so that the problem that when the human body is static in a certain area, the operation parameter of the air conditioner cannot be adjusted by using a pulse signal generated by the pyroelectric infrared sensor is solved, and the comfort of the air conditioner is improved.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, and a control program therein.
In the air conditioner 100 shown in fig. 1, the air conditioner 100 is provided with a pyroelectric infrared detection device, and the network interface 1004 is mainly used for connecting a background server or a big data cloud and performing data communication with the background server or the big data cloud; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client;
the pyroelectric infrared detection device feeds back a pulse signal when detecting a static heat source;
the processor 1001 may be configured to call a control program stored in the memory 1005 and perform the following operations:
when an initialization completion instruction is received, controlling the pyroelectric infrared detection device to detect a static heat source within a preset rotation angle;
acquiring a deflection angle of the pyroelectric infrared detection device relative to a preset initial position when a pulse signal is fed back in the period, and calculating relative position information of a static heat source according to the deflection angle;
and when the static heat source is a human body, adjusting the set temperature and/or the air outlet parameters of the air conditioner according to the indoor and outdoor temperatures and the relative position information.
Further, the processor 1001 may also call the control program stored in the memory 1005 to perform the following operations:
and after receiving a starting instruction, controlling the pyroelectric infrared detection device to execute initialization operation.
Further, the pyroelectric infrared detection device includes a pyroelectric infrared sensor with a fresnel lens, and a stepping motor for driving the pyroelectric infrared sensor to rotate in a horizontal direction, and the processor 1001 may further invoke a control program stored in the memory 1005 to perform the following operations:
after receiving a starting instruction, detecting whether the pyroelectric infrared sensor is at a preset initial position or not;
if so, generating an initialization completion instruction;
if not, controlling the stepping motor to drive the pyroelectric infrared sensor to rotate leftwards or rightwards to a preset initial position.
Further, the processor 1001 may also call the control program stored in the memory 1005 to perform the following operations:
when an initialization completion instruction is received, monitoring the indoor temperature;
when the difference value between the indoor temperature and the set temperature of the air conditioner is smaller than a first preset threshold value, generating a detection instruction;
and controlling the stepping motor to drive the pyroelectric infrared sensor to complete a preset rotation period corresponding to the preset rotation angle at a preset rotation speed according to the detection instruction.
Further, when the static heat source is located in the first preset area, the processor 1001 may further call the control program stored in the memory 1005 to perform the following operations:
when the pyroelectric infrared detection device receives the detection instruction, recording a first time t1The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a first pulse signal fed back by the pyroelectric infrared detection device is received, recording a second moment t2And based on said first time t1And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed1
Upon receipt of the pyroelectric infraredRecording a third moment t when a second pulse signal fed back by the detection device3And based on said first time t1Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle2
According to the theta1、θ2And calculating the relative position information of the static heat source according to the detection radius of the pyroelectric infrared sensor.
Further, when the static heat source is located in the second preset area, the processor 1001 may further call the control program stored in the memory 1005 to perform the following operations:
when the pyroelectric infrared detection device receives the detection instruction, recording a fourth time t4The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a third pulse signal fed back by the pyroelectric infrared detection device is received, recording a fifth moment t5And based on said fourth time t4And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed3
When a fourth pulse signal fed back by the pyroelectric infrared detection device is received, recording a sixth moment t6And based on said fourth time t4Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle4
When a fifth pulse signal fed back by the pyroelectric infrared detection device is received, recording a seventh moment t7The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a sixth pulse signal fed back by the pyroelectric infrared detection device is received, recording an eighth time t8And based on said seventh time t7And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed5
When receiving the pyroelectric infrared detection deviceRecording the ninth time t when the seventh pulse signal is fed back9And based on said seventh time t7Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle6
According to the theta3、θ4、θ5、θ6And calculating the relative position information of the static heat source according to the detection radius of the pyroelectric infrared sensor.
Further, the processor 1001 may also call the control program stored in the memory 1005 to perform the following operations:
when the temperature parameter and the area parameter of the static heat source are matched with the human body parameter, detecting the indoor and outdoor temperature;
when the indoor temperature is lower than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is larger than a second preset threshold value, reducing the set temperature of the air conditioner, and/or controlling the air conditioner to supply air to the area where the human body is located and increase the air output according to the relative position information;
when the indoor temperature is lower than the outdoor temperature and the difference between the human body temperature and the indoor temperature is lower than a second preset threshold value, the set temperature of the air conditioner is increased, and/or the air conditioner is controlled to supply air to other areas and the air output is decreased according to the relative position information;
when the indoor temperature is higher than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is higher than a third preset threshold value, the set temperature of the air conditioner is increased, and/or the air conditioner is controlled to supply air to the area where the human body is located and increase the air output according to the relative position information;
and when the indoor temperature is higher than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is smaller than a third preset threshold value, reducing the set temperature of the air conditioner, and/or controlling the air conditioner to supply air to other areas and reduce the air output according to the relative position information.
Further, the processor 1001 may also call the control program stored in the memory 1005 to perform the following operations:
when the static heat source is a non-human body and the temperature of the static heat source is greater than a preset temperature threshold value, outputting a voice alarm prompt; or displaying an alarm prompt on a display unit of the air conditioner; or sending an alarm prompt to a terminal or a background server connected with the air conditioner.
The invention further provides a control method of the air conditioner, which is used for the air conditioner provided with the pyroelectric infrared detection device.
Referring to fig. 2, fig. 2 is a flowchart illustrating a control method of an air conditioner according to an embodiment of the present invention.
In this embodiment, the air conditioner is provided with a pyroelectric infrared detection device, and the control method includes the following steps:
s10: after receiving a starting instruction, controlling the pyroelectric infrared detection device to execute initialization operation;
s20: when an initialization completion instruction is received, controlling the pyroelectric infrared detection device to detect a static heat source within a preset rotation angle;
s30: acquiring a deflection angle of the pyroelectric infrared detection device relative to a preset initial position when a pulse signal is fed back in the period, and calculating relative position information of a static heat source according to the deflection angle;
judging whether the static heat source is a human body;
if yes, go to step S40 a;
s40 a: adjusting the set temperature and/or air outlet parameters of the air conditioner according to the indoor and outdoor temperatures and the relative position information;
if not, go to step S40 b;
s40 b: when the temperature of the static heat source is greater than a preset temperature threshold value, outputting a voice alarm prompt; or displaying an alarm prompt on a display unit of the air conditioner; or sending an alarm prompt to a terminal or a background server connected with the air conditioner.
In this embodiment, the control method based on the air conditioner mainly detects an indoor stationary heat source through a pyroelectric infrared detection device, the pyroelectric infrared detection device includes a pyroelectric infrared sensor with a fresnel lens and a stepping motor, the stepping motor drives the pyroelectric infrared sensor to move to detect the indoor stationary heat source, so that a relative motion trend is formed between the pyroelectric infrared sensor and the stationary heat source, so that the fresnel lens can continuously and alternately enter a high-sensitivity region from a 'dead zone' to generate an electric signal, the electric signal is transmitted to a single-point pyroelectric infrared sensor, the pyroelectric infrared sensor receives the electric signals with different intensities to generate a series of pulse waves, the pulse electric waves are processed by a peripheral circuit (noise removal and high-frequency clutter removal), and then are converted into digital pulse signals to be fed back to a processor of the air conditioner, the processor judges the detection angle of the pyroelectric infrared detection device when receiving the pulse signal, calculates the relative position relation of a static heat source relative to the pyroelectric infrared detection device by utilizing an algorithm after acquiring the pulse signal in a period, and intelligently adjusts the set temperature and the air outlet parameter of the air conditioner by combining the indoor and outdoor temperature, and the specific steps are as follows:
after receiving a starting instruction, the air conditioner enters a refrigerating running state or a heating running state according to the starting instruction, and cold or heat is conveyed indoors, wherein the starting instruction can be generated by an air conditioner remote controller, an on-off key of an air conditioner interaction interface and user operation on a terminal, and can also be synchronously generated along with an entrance guard signal when an entrance guard system consisting of a pyroelectric infrared sensor detects that a user enters a room. After the air conditioner is started, controlling a pyroelectric infrared detection device arranged on the air conditioner to execute initialization operation, wherein the initialization operation is executed once every preset time after the air conditioner is started so as to ensure the accuracy of detection data in each detection period.
After the pyroelectric infrared detection device completes initialization, an initialization completion instruction is fed back to a processor of the air conditioner, so that the processor controls the pyroelectric infrared detection device to detect an indoor static heat source within a preset angle range, the pyroelectric infrared detection device is usually installed near an air outlet of an indoor unit of the air conditioner, most of indoor areas can be brought into a scanning area, the preset angle range is that the pyroelectric infrared detection device is initialized and then 90 degrees are respectively arranged at the left or right, therefore, the preset rotation angle range is 0-180 degrees, and the preset rotation angle range can be optimized to be 0-160 degrees according to actual needs.
In the detection process of the pyroelectric infrared detection device, the pyroelectric infrared detection device rotates leftwards by a quarter angle of the preset rotation angle from an initialized position as a starting point, then rotates rightwards by a half angle of the preset rotation angle, and finally rotates leftwards by a quarter angle of the preset rotation angle to complete a detection period, in the detection period, when the pyroelectric infrared detector detects a static heat source, namely the pyroelectric infrared detector moves relative to the static heat source, infrared rays radiated by the static heat source generate suddenly strong and weak electric signals in a high sensitive area and are transmitted to the pyroelectric infrared sensor, and due to different intensities of received electric signals, a string of pulse waves are processed by a peripheral circuit and then converted into digital pulse signals to be fed back to a processor of an air conditioner, and the processor can acquire the deflection angle of the pyroelectric infrared detection device relative to the preset initial position when receiving each pulse signal, and then calculating the relative position information of the static heat source through a plurality of deflection angles in the period.
After the relative position information of the static heat source is obtained, the air conditioner can be intelligently adjusted according to the type of the static heat source, for example, when the static heat source is a human body, the running state of the air conditioner can be intelligently judged by combining indoor and outdoor temperature and/or humidity, and then the air conditioner is automatically controlled to adjust the set temperature and/or air outlet parameters, for example, the air supply mode of the air conditioner is adjusted to be a following air supply mode, the air conditioner is controlled to supply air to the area where the human body is located according to the relative position information, or the air supply mode is avoided, the air conditioner is controlled to supply air to other areas according to the relative position information, and the air outlet quantity is adjusted to be small.
When the static heat source is a non-human body, further judging to obtain the real-time temperature of the static heat source, and when the temperature value of the static heat source is greater than a preset temperature threshold value, if the temperature value is greater than 80 ℃, deducing that a fire risk exists, and further outputting an alarm prompt, for example, outputting a voice alarm prompt when a user is detected to be far away from the air conditioner according to the relative position information, or outputting a language alarm prompt with overhigh temperature when the user is detected to be far away from the air conditioner through a proximity sensor or a camera, and also displaying the alarm prompt with overhigh temperature on a display unit of the air conditioner when the user is detected to be within a visual range of the air conditioner according to the proximity sensor or the camera, wherein the alarm prompt can be a flashing prompt or a text prompt. The display unit of the air conditioner is also used for displaying water temperature parameters, air quality parameters, current indoor and outdoor temperature parameters, time parameters and the like. In addition, when the air conditioner is detected to be capable of being connected to a terminal device, such as a mobile phone, a PAD and a tablet, an alarm prompt with overhigh temperature is sent to the terminal device, or when the air conditioner is detected to be capable of being connected to a background server of a supplier, the alarm prompt can also be sent to the background server, so that the life and property safety of a user is guaranteed.
The control method of the air conditioner provided by the embodiment of the invention is used for the air conditioner provided with the pyroelectric infrared detection device, when an initialization completion instruction fed back by the pyroelectric infrared detection device is received, the pyroelectric infrared detection device is controlled to detect a static heat source within a preset rotation angle, the relative position information of the static heat source is calculated by obtaining the deflection angle of the pyroelectric infrared detection device relative to the preset initial position when a pulse signal is fed back in the period, and the set temperature and/or the air outlet parameter of the air conditioner are/is adjusted according to the indoor and outdoor temperature and the relative position relation when the static heat source is a human body. According to the control method, the pyroelectric infrared detection device is used for detecting an indoor static heat source and acquiring relative position information of the indoor static heat source, and then when the static heat source is determined to be a human body, the set temperature and/or the air outlet parameter of the air conditioner are/is adjusted by combining the indoor temperature and the outdoor temperature, so that the problem that when the human body is static in a certain area, the operation parameter of the air conditioner cannot be adjusted by using a pulse signal generated by the pyroelectric infrared sensor is solved, and the comfort of the air conditioner is improved.
Further, referring to fig. 3, the pyroelectric infrared detection device includes a pyroelectric infrared sensor with a fresnel lens, and a stepping motor that drives the pyroelectric infrared sensor to rotate in a horizontal direction, and the control method of the air conditioner based on the above embodiment, in step S10, specifically includes:
s11: after receiving a starting instruction, detecting whether the pyroelectric infrared sensor is at a preset initial position or not;
if yes, go to step S12;
s12: generating an initialization completion instruction;
if not, go to step S13;
s13: and controlling the stepping motor to drive the pyroelectric infrared sensor to rotate leftwards or rightwards to a preset initial position.
In this embodiment, after receiving a start instruction generated by an air conditioner remote controller, a switch key of an air conditioner interactive interface, and a user operation on a terminal, or a start instruction generated synchronously with an entrance guard signal when an entrance guard system composed of a pyroelectric infrared sensor detects that a user enters a room, it detects whether the pyroelectric infrared sensor is at a preset initial position, where the preset initial position is an initial position when a deflection angle is 0 °, and if the preset rotation angle is 160 °, the stepping motor may drive the pyroelectric infrared sensor to rotate 80 ° left or 80 ° right, and when the deflection angle of the pyroelectric infrared sensor is 0 °, an initialization completion instruction is generated, and when the pyroelectric infrared sensor deflects, and controlling the stepping motor to drive the pyroelectric infrared sensor to rotate a deflection angle in a relative deflection direction so as to enable the pyroelectric infrared sensor to return to an initial position with the deflection angle of 0 degree, and then generating an initialization completion instruction so as to ensure that the relative position information of the static heat source acquired in the period is accurate, so that the set temperature and/or the air outlet parameter of the air conditioner are accurately controlled, and the comfort of the air conditioner is improved.
In addition, the pyroelectric infrared detection device of the embodiment can detect a static heat source only by using a single-point pyroelectric infrared sensor and a stepping motor, and the cost is reduced compared with a thermopile consisting of a plurality of pyroelectric infrared sensors.
Further, referring to fig. 4, the method for controlling an air conditioner based on the foregoing embodiment, in step S20, specifically includes:
s21: when an initialization completion instruction is received, monitoring the indoor temperature;
s22: when the difference value between the indoor temperature and the set temperature of the air conditioner is smaller than a first preset threshold value, generating a detection instruction;
s23: and controlling the stepping motor to drive the pyroelectric infrared sensor to complete a preset rotation period corresponding to the preset rotation angle at a preset rotation speed according to the detection instruction.
In this embodiment, after the pyroelectric infrared detection device completes initialization, an initialization completion instruction is fed back to the air conditioner, and when the initialization completion instruction is received, the indoor temperature is monitored by using a temperature sensor arranged in the air conditioner, or the indoor temperature is monitored by using real-time temperature data fed back by temperature sensors arranged in various indoor areas, or the indoor temperature is monitored by using other household appliances; in order to improve the intelligence of the automatic adjustment of the air conditioner, improve the response speed and the efficiency of the intelligent adjustment of the air conditioner and simultaneously adjust the operation parameters of the air conditioner in real time to improve the comfort of the air conditioner, when the difference between the indoor temperature and the set temperature of the air conditioner is smaller than a first preset threshold, generating a detection instruction, wherein the first preset threshold is 3-5 ℃; after the pyroelectric infrared detection device receives the detection instruction, the pyroelectric infrared sensor is driven by the operation of the stepping motor to rotate at a preset rotation speed by one fourth of the preset rotation angle from a preset initial position to the left, then rotate at one half of the preset rotation angle to the right, finally rotate at one fourth of the preset rotation angle to the left, and finish a preset rotation period, or rotate at one fourth of the preset rotation angle from the preset initial position to the right, then rotate at one half of the preset rotation angle to the left, and finally rotate at one fourth of the preset rotation angle to the right, so that a static heat source of the indoor space is detected.
Further, referring to fig. 5, when the stationary heat source is located in the first preset area, based on the control method of the air conditioner of the above embodiment, the first embodiment of step S30 specifically includes:
s31 a: when the pyroelectric infrared detection device receives the detection instruction, recording a first time t1The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
s32 a: when a first pulse signal fed back by the pyroelectric infrared detection device is received, recording a second moment t2And based on said first time t1And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed1
S33 a: when a second pulse signal fed back by the pyroelectric infrared detection device is received, recording a third moment t3And based on said first time t1Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle2
S34 a: according to the theta1、θ2And calculating the relative position information of the static heat source according to the detection radius of the pyroelectric infrared sensor.
In this embodiment, the first preset region is a left blind region or a right blind region that is not directly opposite to the pyroelectric infrared sensor when the pyroelectric infrared sensor is at a preset initial position, when the stationary heat source is located in the first preset region, and when the stepping motor drives the pyroelectric infrared sensor to complete a preset rotation period, the "high-sensitivity region" divided by the fresnel lens may detect the stationary heat source twice, and then feed back a pulse signal twice, and the processor may know a deflection angle of the pyroelectric infrared sensor according to a moment at which the pulse signal is received, and then calculate relative position information of the stationary heat source with respect to the pyroelectric infrared detection device, specifically as follows:
when the pyroelectric red is presentWhen the external detection device receives the detection instruction, the pyroelectric infrared sensor is positioned at a preset initial position, the deflection angle is 0 degree, and the first time t is recorded1(ii) a When the pyroelectric infrared sensor detects a static heat source for the first time, a first pulse signal is fed back, and a second moment t is recorded2Then, the second time t can be determined2And a first time t1The deviation angle theta of the pyroelectric infrared sensor relative to the starting point, namely the preset initial position is calculated according to the difference value and the preset rotating speed of the pyroelectric infrared sensor1(ii) a When the pyroelectric infrared sensor detects a static heat source for the second time, a second pulse signal is fed back, and a third moment t is recorded3At this time, the third time t can be determined3And a first time t1And the total deflection angle of the pyroelectric infrared sensor is calculated by subtracting the third moment t from the preset rotating speed3And a second time t2The product of the difference value and the preset rotating speed can obtain the deflection angle theta of the pyroelectric infrared sensor relative to the preset initial position2(ii) a Finally according to the theta1、θ2And calculating the relative position information of the static heat source relative to the pyroelectric infrared detection device according to the detection radius of the pyroelectric infrared sensor.
Further, referring to fig. 6, when the stationary heat source is located in the second preset area, based on the control method of the air conditioner of the above embodiment, the second embodiment of step S30 specifically includes:
s31 b: when the pyroelectric infrared detection device receives the detection instruction, recording a fourth time t4The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
s32 b: when a third pulse signal fed back by the pyroelectric infrared detection device is received, recording a fifth moment t5And based on said fourth time t4And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed3
S33 b: when a fourth pulse signal fed back by the pyroelectric infrared detection device is received, recording a sixth momentt6And based on said fourth time t4Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle4
S34 b: when a fifth pulse signal fed back by the pyroelectric infrared detection device is received, recording a seventh moment t7The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
s35 b: when a sixth pulse signal fed back by the pyroelectric infrared detection device is received, recording an eighth time t8And based on said seventh time t7And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed5
S36 b: when a seventh pulse signal fed back by the pyroelectric infrared detection device is received, recording a ninth moment t9And based on said seventh time t7Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle6
S37 b: according to the theta3、θ4、θ5、θ6And calculating the relative position information of the static heat source according to the detection radius of the pyroelectric infrared sensor.
In this embodiment, when the pyroelectric infrared sensor is at the preset initial position, dead zones opposite to the pyroelectric infrared sensors are formed, when the static heat source is positioned in the second preset area, when the stepping motor drives the pyroelectric infrared sensor to complete a preset rotation period, the high-sensitivity area divided by the Fresnel lens can detect the static heat source for four times, and the dead zone opposite to the pyroelectric infrared sensor can also generate a pulse signal due to the relative movement with a static heat source, therefore, the pulse signal is fed back five times in the preset rotation period, the processor can acquire the deflection angle of the pyroelectric infrared sensor according to the moment of receiving the pulse signal, further, relative position information of the static heat source relative to the pyroelectric infrared detection device is calculated, and the method specifically comprises the following steps:
when the pyroelectric infrared detection device receives the detection instruction, the pyroelectric infrared sensor is at a preset initial position, the deflection angle is 0 degree, and a fourth time t is recorded4(ii) a When the pyroelectric infrared sensor detects a static heat source for the first time, a third pulse signal is fed back, and a fifth moment t is recorded5At this time, the fifth time t can be used5And a fourth time t4The deviation angle theta of the pyroelectric infrared sensor relative to the starting point, namely the preset initial position is calculated according to the difference value and the preset rotating speed of the pyroelectric infrared sensor3(ii) a Feeding back a fourth pulse signal when the pyroelectric infrared sensor detects a static heat source for the second time, and recording a sixth moment t6At this time, the sixth time t can be used6And a fourth time t4And the total deflection angle of the pyroelectric infrared sensor is calculated by subtracting the sixth moment t from the preset rotating speed6And a fifth time t5The product of the difference value and the preset rotating speed can obtain the deflection angle theta of the pyroelectric infrared sensor relative to the preset initial position4(ii) a Similarly, when the pyroelectric infrared sensor detects a static heat source for the third time, a fifth pulse signal is fed back, and the seventh moment t is recorded7At the moment, the pyroelectric infrared sensor returns to a preset initial position, and the deflection angle is 0 degree; feeding back a sixth pulse signal when the pyroelectric infrared sensor goes to a static heat source from the fourth reverse side, and recording an eighth time t8At this time, the eighth time t8And a seventh time t7The deviation angle theta of the pyroelectric infrared sensor relative to the preset initial position is calculated according to the difference value and the preset rotating speed of the pyroelectric infrared sensor5(ii) a Feeding back a seventh pulse signal when the pyroelectric infrared sensor detects a static heat source for the sixth time, and recording a ninth moment t9At this time, the ninth time t can be determined9And a seventh time t7And the total deflection angle of the pyroelectric infrared sensor is calculated by subtracting the ninth moment t from the preset rotating speed9And an eighth time t8The product of the difference value and the preset rotating speed can obtain the product of the pyroelectric infrared sensor and the preset rotating speedDeflection angle theta of initial position6(ii) a Finally, the value of theta can be determined according to the value of theta3、θ4、θ5、θ6And calculating the relative position information of the static heat source relative to the pyroelectric infrared detection device according to the detection radius of the pyroelectric infrared sensor.
Further, referring to fig. 7, the step S40a of the method for controlling an air conditioner according to the above embodiment specifically includes:
s41 a: when the temperature parameter and the area parameter of the static heat source are matched with the human body parameter, detecting the indoor and outdoor temperature;
s42 a: when the indoor temperature is lower than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is larger than a second preset threshold value, reducing the set temperature of the air conditioner, and/or controlling the air conditioner to supply air to the area where the human body is located and increase the air output according to the relative position information;
s43 a: when the indoor temperature is lower than the outdoor temperature and the difference between the human body temperature and the indoor temperature is lower than a second preset threshold value, the set temperature of the air conditioner is increased, and/or the air conditioner is controlled to supply air to other areas and the air output is decreased according to the relative position information;
s44 a: when the indoor temperature is higher than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is higher than a third preset threshold value, the set temperature of the air conditioner is increased, and/or the air conditioner is controlled to supply air to the area where the human body is located and increase the air output according to the relative position information;
s45 a: and when the indoor temperature is higher than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is smaller than a third preset threshold value, reducing the set temperature of the air conditioner, and/or controlling the air conditioner to supply air to other areas and reduce the air output according to the relative position information.
In this embodiment, when judging whether the static heat source is a human body, matching is mainly performed by acquiring a temperature parameter and an area parameter of the static heat source and a human body infrared chart parameter, such as a temperature distribution, a temperature value and a temperature value variation trend of a human body infrared chart, when the temperature distribution, the temperature value and the temperature variation trend of the static heat source are all matched with the human body infrared chart parameter, it is determined that the static heat source is a human body, and then indoor and outdoor temperature and/or humidity are detected, and the air conditioner is intelligently adjusted by combining the human body temperature and the relative position information, specifically:
when the indoor temperature is lower than the outdoor temperature, the air conditioner is judged to be in a refrigerating operation mode, the human body temperature and the indoor temperature are further compared, when the human body temperature is higher than the indoor temperature and the difference value between the human body temperature and the indoor temperature is higher than a second preset threshold value, the second preset threshold value is 3-5 ℃, the heat sensation of the current human body is obvious, the set temperature of the air conditioner can be reduced, the indoor temperature can be further reduced, the air outlet angle of the air conditioner can be adjusted to the area where the human body is located according to the relative position information, the air outlet speed is increased, the air outlet quantity is increased, or the air conditioner is controlled to supply air to the area where the human body is located at the same time of reducing the set temperature, the heat sensation of the human body is reduced, and the comfort of the air conditioner is improved;
when the indoor temperature is lower than the outdoor temperature, the air conditioner is judged to be in a refrigerating operation mode, the human body temperature and the indoor temperature are further compared, when the human body temperature is higher than the indoor temperature and the difference value between the human body temperature and the indoor temperature is smaller than a second preset threshold value, the second preset threshold value is 3-5 ℃, the fact that the heat sensation of the current human body is relieved is known, the set temperature of the air conditioner can be increased to further reduce the rate of reduction of the indoor temperature, the air outlet angle of the air conditioner can be adjusted to other areas where the human body is not located according to the relative position information, the air outlet speed is decreased to reduce the air outlet quantity, or the air conditioner is controlled to supply air to other areas where the human body is not located while the set temperature is increased to reduce the air outlet quantity, the phenomenon that the human body is cold due to the temperature is avoided, the health of the human body is threatened;
when the indoor temperature is higher than the outdoor temperature, the air conditioner is judged to be in a heating operation mode, the human body temperature and the indoor temperature are further compared, when the human body temperature is higher than the indoor temperature and the difference value between the human body temperature and the indoor temperature is higher than a third preset threshold value, the third preset threshold value is 4-6 ℃, the cold feeling of the current human body is obvious, the set temperature of the air conditioner can be increased to further raise the indoor temperature, the air outlet angle of the air conditioner can be adjusted to the area where the human body is located according to the relative position information, the air outlet speed is increased to increase the air outlet quantity, or the air conditioner is controlled to supply air to the area where the human body is located at the same time of increasing the set temperature, the cold feeling of the human body is reduced, and the comfort of the air conditioner is improved;
when the indoor temperature is higher than the outdoor temperature, the air conditioner is judged to be in a heating operation mode, the human body temperature and the indoor temperature are further compared, when the human body temperature is higher than the indoor temperature and the difference value between the human body temperature and the indoor temperature is smaller than a third preset threshold value, the third preset threshold value is 4-6 ℃, the cold feeling of the current human body is known to be relieved, the set temperature of the air conditioner can be reduced at the moment to further reduce the rising speed of the indoor temperature, the air outlet angle of the air conditioner can be adjusted to other areas where the human body is not located according to the relative position information, the air outlet speed is adjusted to reduce the air outlet quantity, or the air conditioner is controlled to supply air to other areas where the human body is not located while the set temperature is adjusted to be reduced, the phenomenon that the human body generates heat sensation due to overhigh temperature is avoided, and the comfort of the air conditioner is improved.
Furthermore, an embodiment of the present invention further provides a storage medium storing a control program, where the control program implements the steps of the control method of the air conditioner as described above when executed by a processor.
The method for implementing the control program when executed may refer to various embodiments of the control method of the air conditioner of the present invention, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A control method of an air conditioner is characterized in that the air conditioner is provided with a pyroelectric infrared detection device, and the control method comprises the following steps:
when an initialization completion instruction is received, controlling the pyroelectric infrared detection device to detect a static heat source within a preset rotation angle;
acquiring a deflection angle of the pyroelectric infrared detection device relative to a preset initial position when a pulse signal is fed back in the period, and calculating relative position information of a static heat source according to the deflection angle;
when the static heat source is a human body, adjusting the set temperature and/or the air outlet parameters of the air conditioner according to the indoor and outdoor temperatures and the relative position information;
the pyroelectric infrared detection device comprises a pyroelectric infrared sensor with a Fresnel lens and a stepping motor for driving the pyroelectric infrared sensor to rotate in the horizontal direction, and the stepping motor is controlled to drive the pyroelectric infrared sensor to complete a preset rotation period corresponding to a preset rotation angle at a preset rotation speed according to a detection instruction;
when the static heat source is located in a first preset area, the first preset area is a left blind area or a right blind area which is not over against the pyroelectric infrared sensor when the pyroelectric infrared sensor is located at a preset initial position, the step of obtaining a deflection angle of the pyroelectric infrared detection device relative to the preset initial position when a pulse signal is fed back in the period and calculating the relative position information of the static heat source according to the deflection angle specifically comprises the following steps:
when the pyroelectric infrared detection device receives the detection instruction, recording a first time t1The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a first pulse signal fed back by the pyroelectric infrared detection device is received, recording a second moment t2And based on said first time t1And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed1
When a second pulse signal fed back by the pyroelectric infrared detection device is received, recording a third moment t3And based on said first time t1Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle2
According to the theta1、θ2And calculating the relative position information of the static heat source according to the detection radius of the pyroelectric infrared sensor;
when the static heat source is located in a second preset area, the second preset area is a blind area where the pyroelectric infrared sensor is located at a preset initial position and is directly opposite to the pyroelectric infrared sensor, a deflection angle of the pyroelectric infrared detection device relative to the preset initial position when a pulse signal is fed back in the period is obtained, and the step of calculating the relative position information of the static heat source according to the deflection angle specifically includes:
when the pyroelectric infrared detection device receives the detection instruction, recording a fourth time t4The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a third pulse signal fed back by the pyroelectric infrared detection device is received, recording a fifth moment t5And based on said fourth time t4And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed3
When a fourth pulse signal fed back by the pyroelectric infrared detection device is received, recording a sixth moment t6And based on said fourth time t4Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle4
When a fifth pulse signal fed back by the pyroelectric infrared detection device is received, recording a seventh moment t7The pyroelectric infrared sensor is positioned at an initial position with a deflection angle of 0 degree;
when a sixth pulse signal fed back by the pyroelectric infrared detection device is received, recording an eighth time t8And based on said seventh time t7And calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed5
When a seventh pulse signal fed back by the pyroelectric infrared detection device is received, recording a ninth moment t9And based on said seventh time t7Calculating the deflection angle theta of the pyroelectric infrared sensor relative to the initial position according to the preset rotating speed and the preset rotating angle6
According to the theta3、θ4、θ5、θ6And calculating the relative position information of the static heat source by the detection radius of the pyroelectric infrared sensorAnd (4) information.
2. The control method according to claim 1, characterized in that before performing all the steps, the control method further comprises:
and after receiving a starting instruction, controlling the pyroelectric infrared detection device to execute initialization operation.
3. The control method according to claim 2, wherein the step of controlling the pyroelectric infrared detection device to perform an initialization operation after receiving the start instruction specifically includes:
after receiving a starting instruction, detecting whether the pyroelectric infrared sensor is at a preset initial position or not;
if so, generating an initialization completion instruction;
if not, controlling the stepping motor to drive the pyroelectric infrared sensor to rotate leftwards or rightwards to a preset initial position.
4. The control method according to claim 3, wherein the step of controlling the pyroelectric infrared detection device to detect a stationary heat source within a preset rotation angle when receiving an initialization completion instruction specifically comprises:
when an initialization completion instruction is received, monitoring the indoor temperature;
and generating a detection instruction when the difference value between the indoor temperature and the set temperature of the air conditioner is smaller than a first preset threshold value.
5. The control method according to any one of claims 1 to 4, wherein when the stationary heat source is a human body, the step of adjusting the set temperature and/or the air outlet parameter of the air conditioner according to the indoor and outdoor temperatures and the relative position information specifically comprises:
when the temperature parameter and the area parameter of the static heat source are matched with the human body parameter, detecting the indoor and outdoor temperature;
when the indoor temperature is lower than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is larger than a second preset threshold value, reducing the set temperature of the air conditioner, and/or controlling the air conditioner to supply air to the area where the human body is located and increase the air output according to the relative position information;
when the indoor temperature is lower than the outdoor temperature and the difference between the human body temperature and the indoor temperature is lower than a second preset threshold value, the set temperature of the air conditioner is increased, and/or the air conditioner is controlled to supply air to other areas and the air output is decreased according to the relative position information;
when the indoor temperature is higher than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is higher than a third preset threshold value, the set temperature of the air conditioner is increased, and/or the air conditioner is controlled to supply air to the area where the human body is located and increase the air output according to the relative position information;
and when the indoor temperature is higher than the outdoor temperature and the difference value between the human body temperature and the indoor temperature is smaller than a third preset threshold value, reducing the set temperature of the air conditioner, and/or controlling the air conditioner to supply air to other areas and reduce the air output according to the relative position information.
6. The control method according to claim 1, wherein when the stationary heat source is a non-human body and the temperature of the stationary heat source is greater than a preset temperature threshold, a voice alarm prompt is output; or displaying an alarm prompt on a display unit of the air conditioner; or sending an alarm prompt to a terminal or a background server connected with the air conditioner.
7. An air conditioner, comprising a pyroelectric infrared detection device, a memory, a processor, and a control program stored in the memory and running on the processor, wherein:
the pyroelectric infrared detection device feeds back a pulse signal when detecting a static heat source;
the control program, when executed by the processor, implements the steps of the control method of the air conditioner as set forth in any one of claims 1-6.
8. A storage medium storing a control program that realizes the steps of the control method of an air conditioner according to any one of claims 1 to 6 when executed by a processor.
CN201710815371.9A 2017-09-11 2017-09-11 Control method of air conditioner, air conditioner and storage medium Active CN107490152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710815371.9A CN107490152B (en) 2017-09-11 2017-09-11 Control method of air conditioner, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710815371.9A CN107490152B (en) 2017-09-11 2017-09-11 Control method of air conditioner, air conditioner and storage medium

Publications (2)

Publication Number Publication Date
CN107490152A CN107490152A (en) 2017-12-19
CN107490152B true CN107490152B (en) 2020-06-05

Family

ID=60652079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710815371.9A Active CN107490152B (en) 2017-09-11 2017-09-11 Control method of air conditioner, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN107490152B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108332381A (en) * 2018-03-07 2018-07-27 徐宏亮 A kind of musical instrument room air conditioner and its control method
CN108826597A (en) * 2018-03-20 2018-11-16 珠海格力电器股份有限公司 The control method and device of air-conditioning equipment
CN110345609B (en) * 2018-04-03 2021-03-23 青岛海尔空调电子有限公司 Networking matching method and device among air conditioners and storage medium
CN108469106A (en) * 2018-04-28 2018-08-31 泰铂(上海)环保科技股份有限公司 The air conditioning control device and method in a kind of human body infrared control air outlet direction
CN109654697B (en) * 2018-12-29 2021-01-29 青岛海尔空调器有限总公司 Control method and device for direct-blowing-preventing air conditioner, storage medium and computer equipment
CN109654701B (en) * 2018-12-29 2020-12-29 青岛海尔空调器有限总公司 Control method and device for direct-blowing-preventing air conditioner, storage medium and computer equipment
CN109882982B (en) * 2019-01-21 2023-09-26 长沙市万科企业有限公司 Kitchen fresh air system based on human physiological state adjustment and control method thereof
CN110173869B (en) * 2019-05-29 2023-07-28 广东美的制冷设备有限公司 Air conditioner control method, air conditioner and storage medium
CN110440419A (en) * 2019-08-23 2019-11-12 奥克斯空调股份有限公司 Air conditioner intelligent air blowing control method, air conditioner and computer readable storage medium
CN111219846A (en) * 2019-11-18 2020-06-02 珠海格力电器股份有限公司 Method, device and system for monitoring service life of air conditioner, outdoor unit and air conditioner
CN111237974B (en) * 2020-03-10 2021-03-16 珠海格力电器股份有限公司 Human body positioning device and air conditioner
CN111442465A (en) * 2020-03-17 2020-07-24 海信(山东)空调有限公司 Air conditioner control method and device, air conditioner and computer storage medium
CN111692698B (en) * 2020-06-23 2022-01-11 宁波奥克斯电气股份有限公司 Intelligent air supply control method and device, air conditioner and computer readable storage medium
CN113531650B (en) * 2021-07-13 2022-11-22 青岛海信日立空调系统有限公司 Indoor unit of air conditioner
CN113587386B (en) * 2021-07-13 2022-11-22 青岛海信日立空调系统有限公司 Indoor unit of air conditioner
CN113639392B (en) * 2021-07-30 2023-06-20 青岛海尔空调电子有限公司 Air conditioner control method based on positioning calibration of azimuth sensor and air conditioner
CN114251820B (en) * 2021-12-24 2023-04-14 珠海格力电器股份有限公司 Detection device and air conditioner with same
CN115264925B (en) * 2022-08-17 2023-04-21 宁波奥克斯电气股份有限公司 Air conditioner radar static locking control method and air conditioner

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5180333A (en) * 1991-10-28 1993-01-19 Norm Pacific Automation Corp. Ventilation device adjusted and controlled automatically with movement of human body
CN101498475A (en) * 2008-02-01 2009-08-05 Lg电子株式会社 Air conditioner and its control method
CN104296306A (en) * 2013-07-15 2015-01-21 广东美的制冷设备有限公司 Method and device for controlling air conditioner
CN105627508A (en) * 2015-12-30 2016-06-01 美的集团武汉制冷设备有限公司 Air conditioner control method and device based on shell temperature
CN106500240A (en) * 2016-09-30 2017-03-15 广东美的制冷设备有限公司 Air blowing control method, controller for blasting and air-conditioning
CN106705391A (en) * 2017-03-29 2017-05-24 广东顺德鲁棒智能技术有限公司 Control method, device and system of heating and ventilation air-conditioning system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101472020B1 (en) * 2008-02-11 2014-12-12 엘지전자 주식회사 air conditioner

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5180333A (en) * 1991-10-28 1993-01-19 Norm Pacific Automation Corp. Ventilation device adjusted and controlled automatically with movement of human body
CN101498475A (en) * 2008-02-01 2009-08-05 Lg电子株式会社 Air conditioner and its control method
CN104296306A (en) * 2013-07-15 2015-01-21 广东美的制冷设备有限公司 Method and device for controlling air conditioner
CN105627508A (en) * 2015-12-30 2016-06-01 美的集团武汉制冷设备有限公司 Air conditioner control method and device based on shell temperature
CN106500240A (en) * 2016-09-30 2017-03-15 广东美的制冷设备有限公司 Air blowing control method, controller for blasting and air-conditioning
CN106705391A (en) * 2017-03-29 2017-05-24 广东顺德鲁棒智能技术有限公司 Control method, device and system of heating and ventilation air-conditioning system

Also Published As

Publication number Publication date
CN107490152A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
CN107490152B (en) Control method of air conditioner, air conditioner and storage medium
CN107576022B (en) Control method of air conditioner, air conditioner and storage medium
US10334304B2 (en) Set top box automation
US10382716B2 (en) Display apparatus with a sensor and camera and control method thereof
US10708653B1 (en) Entry presence detection for audio-video products and devices
CN110779150B (en) Millimeter wave-based air conditioner control method and device and air conditioner
EP3798685B1 (en) Systems and methods of ultrasonic sensing in smart devices
US20170109984A1 (en) Adjustable movement detection doorbell
CN105357842A (en) Main control intelligent lamp
US20120169584A1 (en) Air conditioning apparatus and a method for controlling an air conditioning apparatus
US20150194040A1 (en) Intelligent motion sensor
US9761099B1 (en) Configurable sensor
US20170138771A1 (en) Sensor module capable of setting operation reference through input of physical value, and control method of sensor module
JP2011166332A (en) Information processor
CN107655177B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
JP6285815B2 (en) Air conditioner or air conditioning system
US11734932B2 (en) State and event monitoring
US20140036056A1 (en) Monitoring system and monitoring method thereof
CN107940670B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN113220189A (en) Intelligent household equipment, display control method and storage medium
CN107975908B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
KR20180063990A (en) IR Remote using Internal Sensors and Scenarios to control electric devices automatically and its control method
CN107906677B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
US20060208679A1 (en) Temperature sensor-actuated infrared type load control system
US11450070B2 (en) Alerts of mixed reality devices

Legal Events

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