CN110594943A - Method and system for controlling air conditioner based on sound source positioning - Google Patents
Method and system for controlling air conditioner based on sound source positioning Download PDFInfo
- Publication number
- CN110594943A CN110594943A CN201910823071.4A CN201910823071A CN110594943A CN 110594943 A CN110594943 A CN 110594943A CN 201910823071 A CN201910823071 A CN 201910823071A CN 110594943 A CN110594943 A CN 110594943A
- Authority
- CN
- China
- Prior art keywords
- position information
- sound source
- air conditioner
- sound
- angle
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000005236 sound signal Effects 0.000 claims description 21
- 230000004807 localization Effects 0.000 claims description 15
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000004378 air conditioning Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/88—Electrical aspects, e.g. circuits
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2120/00—Control inputs relating to users or occupants
- F24F2120/20—Feedback from users
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention discloses a method for controlling an air conditioner based on sound source positioning, which comprises the following steps: the method comprises the steps of obtaining sound information collected by a sound source collecting device, calculating first position information of a sound source according to the obtained sound information, judging whether the first position information and the second position information of the sound source are the same, adjusting control parameters of an air conditioner if the first position information and the second position information of the sound source are different, and changing the control state of the air conditioner from the control state corresponding to the first position information to the control state corresponding to the second position information. In addition, the invention also discloses a system for controlling the air conditioner based on sound source positioning.
Description
Technical Field
The invention relates to the field of intelligent home control, in particular to a method and a system for controlling an air conditioner based on sound source positioning.
Background
At present, the intelligent house trade is developing fast, and internet TV, interconnection washing machine etc. various domestic appliance get into the era of a function pluralism, and more multi-functional in the time, also higher and more high to intelligent requirement, the air conditioner is as essential domestic appliance in daily life, also developing along with user's demand constantly, and the intelligent air conditioner on the existing market compares with traditional air conditioner and has very big change in outward appearance function, also has very big improvement in the aspect of user experience moreover. In the prior art, a voice recognition module or an infrared module is generally added in the air conditioner control mode, so that a user can conveniently control the air conditioner in a voice mode; however, when the user moves indoors, the air conditioner cannot be self-adjusted along with the change of the position of the user, the user needs to send a voice command or adjust the wind direction, the wind speed and the like of the user through infrared remote control, the intelligence of the air conditioner is low, and the requirements of the user cannot be met.
Therefore, the prior art is subject to further improvement.
Disclosure of Invention
In view of the defects in the prior art, the invention provides a method and a system for controlling an air conditioner based on sound source positioning, and aims to solve the problem that the air conditioner in the prior art cannot automatically adjust the air swing angle and the air volume according to the change of the position of a user.
In a first aspect, this embodiment provides a method for controlling an air conditioner based on sound source localization, which is applied to a system for controlling an air conditioner based on sound source localization, where the system for controlling an air conditioner based on sound source localization includes: at least two sound source collecting devices;
the method for controlling the air conditioner by positioning the sound source comprises the following steps:
acquiring sound information acquired by the sound source acquisition device;
calculating first position information of the sound source according to the acquired sound information;
judging whether the first position information and the second position information of the sound source are the same or not; the second position information is historical position information of the sound source;
and if the first position information and the second position information of the sound source are judged to be different, adjusting the control parameter of the air conditioner so as to enable the control state of the air conditioner to be changed from the control state corresponding to the first position information to the control state corresponding to the second position information.
Optionally, the sound information includes: receiving time of sound signals received by the at least two sound source collecting devices;
the step of acquiring the sound information acquired by the sound source acquisition device comprises:
and acquiring the receiving time of any two sound source collecting devices in the at least two sound source collecting devices for receiving the sound signals.
Optionally, the step of calculating first position information of the sound source according to the acquired sound information includes:
acquiring position information of any two sound source acquisition devices;
calculating the time difference of receiving the sound signals according to the receiving time of the sound signals received by any two sound source collecting devices;
and calculating first position information of the sound source according to the position information of any two sound source collecting devices, the time difference and the sound propagation speed.
Optionally, the first location information includes: a first distance value and a first angle value;
the first distance value is the distance value between the position of the sound source and the central point of the first connecting line;
the first angle value is an angle value between a second connecting line and a vertical line which is positioned on the center point of the first connecting line and is vertical to the first connecting line;
the first connecting line is a connecting line between the two sound source collecting devices;
the second connecting line is a connecting line between the position of the sound source and the central point of the first connecting line;
the step of calculating the first position information of the sound source according to the time difference and the sound propagation speed of the position information of any two sound source collecting devices comprises the following steps:
calculating a second distance value between any two sound source collecting devices according to the position information of any two sound source collecting devices;
and calculating the first distance value and the first angle value according to the second distance value and the sound propagation speed.
Optionally, the control state of the air conditioner includes: the swing angle between the wind pendulum of the air conditioner and the sound source and the air volume of the air conditioner;
if the first position information and the second position information of the sound source are judged to be different, the step of adjusting the control parameter of the air conditioner to enable the control state of the air conditioner to be changed from the control state corresponding to the first position information to the control state corresponding to the second position information comprises the following steps:
acquiring a swing angle and air volume corresponding to the second position information;
and adjusting control parameters of the air conditioner according to the swing angle and the air volume corresponding to the second position information, so that the swing angle and the air volume corresponding to the first position information after adjustment are the same as those corresponding to the second position information.
Optionally, the step of adjusting the control parameter of the air conditioner according to the swing angle and the air volume of the air conditioner corresponding to the second location information, so that the swing angle and the air volume between the adjusted air swing of the air conditioner and the sound source are the same as the swing angle and the air volume at the location of the second location information includes:
calculating an adjustment angle according to the first angle value and the swing angle corresponding to the second position information; the adjustment angle is an angle required to be adjusted when the swing angle corresponding to the first position information is adjusted to be the same as the swing angle corresponding to the second position information;
and controlling the swing angle of the air conditioner air swing to rotate to the same swing angle as the position where the second position information is located according to the adjusting angle.
Optionally, the step of controlling the swing angle of the air conditioner pendulum to rotate to the same swing angle as the swing angle of the position where the second position information is located according to the adjustment angle includes:
judging whether the adjustment angle is larger than a preset angle threshold value or not, if so, controlling to adjust the adjustment angle at a first swing speed, and otherwise, controlling to adjust the adjustment angle at a second swing speed;
monitoring whether the adjustment angle is adjusted to be smaller than or equal to the preset angle value or not while controlling the adjustment angle to be adjusted at the first swing speed, and if so, controlling the adjustment angle at a second swing speed; the first swing speed is greater than the second swing speed.
Optionally, the step of adjusting the control parameter of the air conditioner according to the swing angle and the air volume at the position of the second position information, so that the swing angle and the air volume between the air swing of the air conditioner at the position of the adjusted first position information and the sound source are the same as the swing angle and the air volume at the position of the second position information includes:
judging whether the wind speed area where the first position information is located is the same as the wind speed area where the second position information is located;
and if not, controlling the air volume of the air conditioner to be adjusted to the air volume corresponding to the air speed area where the second position information is located.
In a second aspect, an embodiment of the present invention provides a system for controlling an air conditioner based on sound source localization, including: at least two sound source collecting devices and an air conditioner controller;
the sound source collecting device is used for receiving sound information emitted by a sound source and transmitting the sound information to the air conditioner controller;
the air conditioner controller is used for calculating first position information of the sound source according to the acquired sound information; judging whether the first position information and the second position information of the sound source are the same or not; the second position information is historical position information of the sound source;
and if the first position information and the second position information of the sound source are judged to be different, adjusting the control parameter of the air conditioner so as to enable the control state of the air conditioner to be changed from the control state corresponding to the first position information to the control state corresponding to the second position information.
Optionally, the sound source collecting device is a microphone or a sound pickup.
Compared with the prior art, the embodiment of the invention has the following advantages:
according to the method provided by the embodiment of the invention, the sound information acquired by the sound source acquisition device is acquired, the first position information of the sound source is calculated according to the acquired sound information, whether the first position information and the second position information of the sound source are the same or not is judged, and if the first position information and the second position information of the sound source are judged to be different, the control parameter of the air conditioner is adjusted, so that the control state of the air conditioner is changed from the control state corresponding to the second position information to the control state corresponding to the first position information. In the embodiment, the target sound source is positioned, the air outlet angle of the air conditioner is tracked in real time, and the air volume of the air conditioner to the target coordinate position is unchanged, so that the air conditioner can adjust the air swing angle and the air volume of the air conditioner according to the change of the sound source position coordinate of a user, the intelligence of a product is enhanced, and the comfort and the convenience of the user are 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 described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of an exemplary application scenario in an embodiment of the present invention;
FIG. 2 is a flow chart illustrating steps of a method for controlling an air conditioner based on sound source localization according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the fixing of a sound source locator in an air-conditioned room according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating movement of a sound source locator in an air-conditioned room according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating the configuration of a system for controlling an air conditioner based on sound source localization according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The existing method for controlling the air conditioner is usually realized through infrared remote control or voice control, because the air conditioner has a certain angle at the air inlet in the using process, the air conditioner or hot air blown out of the air conditioner can only cover a part of area, therefore, when a user has position change indoors, the air conditioner can not follow the change of the position of the user and automatically adjust the angle and the air volume of the air inlet, although the air conditioner can be adjusted through voice or an infrared remote control mode, the user is required to continuously issue different adjusting instructions to enable the air conditioner to reach the state met by the user, the whole process is complicated, the intelligence of the air conditioner is not favorably improved, and the user experience is poor.
In order to solve the above problems, in the embodiment of the present invention, after two microphones on an air conditioner receive sound emitted by a user, a sound source position, that is, a position where the user is located, is calculated by obtaining position information of the two microphones, a time difference between the sound received by the two microphones, and a propagation speed of the sound, and whether the obtained position information of the user is the same as position information of a previous or default setting is determined, if the position information of the user is the same as the position information of the previous or default setting, no adjustment is needed, if the position information of the user is not the same as the position information of the previous or default setting, a swing angle is automatically adjusted according to the position of the user and an air volume is kept unchanged, the air conditioner is controlled to adjust the swing angle and the air volume to be consistent with the previous or default setting, the position where the user is located is determined by determining the position where the user emits the, a better experience is brought.
For example, the present invention implementation may be applied to the scenario shown in FIG. 1. In this scenario, the sound source collecting device 102 is disposed between the user 101 and the air conditioner 103 for receiving and transmitting sound information emitted by the user, the sound source collecting device 102 may be disposed in multiple numbers, or may be any device having a function of inputting audio, such as a microphone, a sound pickup, etc., first, the user 101 emits sound, the microphone 102 receives the sound information emitted by the user and forwards the sound information to the air conditioner 103, the air conditioner 103 calculates the position of the user 101 according to the time difference between the sound signal contained in the received user sound information and the sound signal received by the microphone 102 and the position information of the microphone 102, determines whether the position of the user 101 is the same as the position information set at the previous time or by default, does not need to adjust the air conditioner when the determination is the same, automatically adjusts the swing angle of the microphone according to the position of the user and keeps the air volume constant when the determination is different, so that the wind swing angle and the wind volume are the same as those of the previous time or the default setting, and when the user position moves, the air conditioner can intelligently track the target to adjust so as to improve the comfort of the user.
It should be noted that the above application scenarios are only presented to facilitate understanding of the present invention, and the embodiments of the present invention are not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Exemplary method
Referring to fig. 2, a method for controlling an air conditioner based on sound source localization in an embodiment of the present invention is shown. In this embodiment, the method may include, for example, the steps of:
step S201, acquiring sound information acquired by the sound source acquisition device.
In this embodiment, the sound source collecting device collects sound information of a user, the sound information includes a sound signal and a time difference between the sound signal and the sound signal received by at least two sound source collecting devices, and the sound signal may be a voice of the user speaking, an instruction sound issued, or a voice of the user gently singing a song.
It should be noted that at least two sound source collecting devices are installed on the air conditioner for collecting sound information, the sound source collecting devices may be microphones, sound pickups, etc., and the installation positions may be symmetrically installed, for example, the sound information is collected by installing one sound source collecting device in parallel in the middle of the air conditioner.
When at least two sound source collecting devices collect sound information of a user, sound signals are collected, receiving time of the sound source collecting devices for receiving the sound signals is respectively obtained, time difference of the sound source collecting devices for receiving the sound signals is respectively calculated, for example, when a microphone on an air conditioner collects sound emitted by people in the surrounding environment, voice of a person is recorded and time at the moment is obtained, conceivably, the time difference exists because the placing positions of the air conditioner or the installation positions of the microphones are different, and the arrival time of the sound is different.
Step S202, calculating first position information of the sound source according to the acquired sound information.
In this embodiment, a plurality of sound source collecting devices may be installed on the air conditioner, and the first location information of the sound source is calculated by obtaining the sound signals obtained by at least two sound source collecting devices and the time difference values of the sound signals respectively received by the sound source collecting devices, and obtaining the pre-stored location information and the sound propagation speed, where it is worth to say that the installation location information of the sound source collecting devices is known, and the spatial location coordinates of the sound source collecting devices are recorded in the memory of the air conditioner, for example: when a user makes a sound in an air-conditioned room, a microphone a and a microphone b on the air conditioner respectively receive the sound, the received time difference is t, the pre-stored spatial coordinate values of the microphones a and b are obtained, the sound velocity in the air-conditioned room is fixed at V, and the spatial coordinate of the sound-making position, namely the current position of a person, can be calculated through an algorithm.
Specifically, the first position information includes: a first distance value and a first angle value;
the first distance value is: the distance value between the position of the sound source and the central point of the first connecting line;
the first angle value is: and the angle value between the second connecting line and a vertical line which is positioned on the central point of the first connecting line and is vertical to the first connecting line.
The first connecting line is a connecting line between the two sound source collecting devices, and the second connecting line is a connecting line between the position of the sound source and the central point of the first connecting line.
And obtaining a first coordinate value of the position of the sound source according to the first position information and obtaining a second coordinate value of the position of the sound source according to the second position information, wherein the three-dimensional coordinate system of the first coordinate value and the second coordinate value is a three-dimensional coordinate axis established by taking a connecting line between the two sound source collecting devices as an X axis, taking a central point of the connecting line between the two sound source collecting devices as a coordinate origin, taking a vertical line which is positioned on the central point and is perpendicular to the first connecting line as a Y axis and taking a vertical line which is positioned on the central point and is perpendicular to the planes of the X axis and the Y axis as a Z axis.
In one implementation, the two microphones are installed on the same plane of the air conditioner and symmetrically installed on the left and right sides, the first connection line may be a connection line between the two microphones in the air conditioner, and the second connection line may be a connection line from the user location to a center point of the first connection line.
Further, a second distance value between the two sound source collecting devices is calculated according to the position information of the two sound source collecting devices, a first distance value of a center point of a connecting line between the position of the sound source and the two microphones can be calculated by utilizing a cosine law according to the second distance value between the two sound source collecting devices, the time difference of the two sound source collecting devices receiving the sound information and the sound propagation speed, and a first angle value between the connecting line between the position of the sound source and the center point and a vertical line which is positioned on the center point and perpendicular to the connecting line between the two microphones can be calculated, and the current position of the user can be determined through the calculated first distance value and the calculated first angle value.
Referring to fig. 3, when a user sends a voice message in the air-conditioned room, the angle θ and the distance L may be calculated by an algorithm according to the time difference t received by the microphone a and the microphone b and the fixed sound velocity V in the air-conditioned room.
Specifically, the calculation method is as follows:
and setting theta as an included angle between the sound source and the central line of the two microphones, and setting L as the distance between the sound source and the central point. From this, L1 is L2+ Vt and calculated according to the triangle cosine law.
Equation 1: (L2+ Vt)2=L02+L22-2*L0*L2*cos(θ1);
Equation 2: l is2=(L0/2)2+L22-2*(L0/2)*L2*cos(θ1);
Equation 3: (L2+ Vt)2=(L0/2)2+L2-2*(L0/2)*L*cos(90+θ);
Equation 4: (L0/2)2=L2+L22-2*L*L2*cos[90+θ-(θ1)]。
Where L0, Vt are known, the values of θ and L can be derived from the correlation of the four equations, the four variables θ, L, L2 and (θ 1) and the trigonometric function.
When the user of the sound source in the air-conditioned room moves, referring to fig. 4, when the user in the air-conditioned room moves from the position a to the position B, the angle between the sound source and the center line of the two microphones is changed from θ to θ ', and the distance between the sound source and the center point is changed from L to L'. Through the movement of the sound source monitored in real time, the air conditioner is controlled to perform the same control adjustment before the movement according to the position of the sound source movement, so that the air pendulum and the air volume of the air conditioner are kept consistent before and after the movement, and the inconvenience caused by that the air conditioner feels hot and cold when being blown is avoided.
Step S203, judging whether the first position information and the second position information of the sound source are the same; the second position information is historical position information of the sound source.
Comparing the first position information (i.e. the current position of the user) in the above steps with the second position information, it should be noted that the second position information is the historical position information of the sound source, which may be the position information of the user who was last or default set, that is, the time difference between the position information of the last two sound collection devices and the received sound signal and the sound propagation speed, the calculated position information of the user where the sound source is located, or the user position information preset by the air conditioning system.
Step S204, if the first position information and the second position information of the sound source are judged to be different, adjusting control parameters of the air conditioner, and enabling the control state of the air conditioner to be changed from the control state corresponding to the first position information to the control state corresponding to the second position information.
In an embodiment of the present invention, the control state of the air conditioner may include: the swing angle between the air pendulum and the sound source of the air conditioner and the air volume of the air conditioner are obtained, when the second position information of the first position information of the sound source is judged to be different, the wind pendulum angle of the air conditioner blades and the size of the output air volume when the second position information of the sound source is recorded in an internal memory of the air conditioner or is set by default are obtained, and then the wind pendulum and the air volume of the air conditioner are adjusted, so that the adjusted swing angle and the adjusted air volume are the same as the corresponding wind pendulum angle and the adjusted air volume when the preset position information or the default is set.
For example, when the current position of the user is the same as the previous position, the air conditioner adjusts the air outlet angle of the air conditioner in real time to be over against the target and the air volume from the air conditioner to the target coordinate position is the same as the previous position.
Next, a specific description will be given of "if it is determined in S204 that the first location information and the second location information of the sound source are not the same, adjusting a control parameter of an air conditioner so that after the control parameter is adjusted, a control state of the air conditioner corresponding to the second location information is the same as a control state of the air conditioner corresponding to the first location information".
Step S204 may include the steps of:
s204 a: and acquiring the swing angle and the air volume between the wind swing of the air conditioner corresponding to the second position information and the sound source.
And calculating a swing angle between the wind pendulum of the air conditioner and the sound source corresponding to the second position information according to the coordinate value of the position point corresponding to the second position information in the three-dimensional coordinate system established in the step S202 and the coordinate value of the position point of the wind pendulum center of the air conditioner in the three-dimensional coordinate system. And the parameters of the air-conditioning air pendulum and the air quantity parameters corresponding to the second position information can be inquired from the memory of the air-conditioning main control board.
S204 b: calculating an adjustment angle according to the swing angle between the wind pendulum corresponding to the first angle value and the second position information and the sound source; the adjustment angle is an angle required to be adjusted when the swing angle of the position where the first position information is located is adjusted to be the same as the swing angle of the position where the second position information is located; and controlling the swing angle of the air conditioner air swing to rotate to the same swing angle as the position where the second position information is located according to the adjusting angle.
In this embodiment, the current air-conditioning swing angle may be known from the calculated coordinate value of the first position, and an adjustment angle required to adjust the air-conditioning swing angle from the first position to the second position may be calculated by combining the known coordinate value of the second position and the stored air swing angle, and further, the current air-conditioning swing angle of the first position may be adjusted to the previous air swing angle at the second position.
It should be emphasized that, in the process of adjusting the air-conditioning swing vane, in an implementation manner of this embodiment, the method further includes: and judging whether the position point corresponding to the first position information is positioned on the left side or the right side of the position point corresponding to the second position information, controlling the air-conditioning air pendulum to adjust the adjustment angle leftwards when the position point corresponding to the first position information is positioned on the left side of the position point corresponding to the second position information, and controlling the air-conditioning air pendulum to adjust the adjustment angle rightwards when the position point corresponding to the first position information is positioned on the right side of the position point corresponding to the second position information.
For example, when the included angle formed by the position of the user and the vertical line at the midpoint on the connecting lines of the two sound source collecting devices is smaller than the included angle formed by the last position of the user, the current position is positioned on the left side of the last position, the air-conditioning wind pendulum is adjusted to adjust the angle to the left, and when the included angle formed by the position of the user and the vertical line at the midpoint on the connecting lines of the two microphones is larger than the included angle formed by the last position of the user, the current position is positioned on the right side of the last position, and the air-conditioning wind needs to be swung to be adjusted to the right.
S204 c: judging whether the adjustment angle is larger than a preset angle threshold value or not, if so, controlling to adjust the adjustment angle at a first swing speed, and otherwise, controlling to adjust the adjustment angle at a second swing speed; monitoring whether the adjustment angle is adjusted to be smaller than or equal to the preset angle value or not while controlling the adjustment angle to be adjusted at the first swing speed, and if so, controlling the adjustment angle at a second swing speed; the first swing speed is greater than the second swing speed.
In the present embodiment, as shown in fig. 4, when the adjustment angle required to adjust the air-conditioning swing angle from the first position a to the second position B is calculated, meanwhile, it is necessary to determine whether the adjustment angle, that is, the difference between the first angle value θ' shown in fig. 4 and the swing angle θ of the position point corresponding to the second position information exceeds a preset angle value, and when the adjustment angle greatly exceeds the preset angle, controlling the air conditioner to adjust the wind pendulum to the adjusting angle at a first swinging speed, and when the adjusting angle is smaller and does not exceed a preset angle, controlling the adjustment angle to be adjusted at the second swing speed, monitoring whether the adjustment angle is adjusted to be less than or equal to a preset angle value or not while controlling the adjustment angle to be adjusted at the first swing speed, when the adjustment is monitored to be smaller than or equal to the preset angle value, controlling the angle to be adjusted at a second swing speed; it is worth mentioning that the first swing speed is larger than the second swing speed.
S204 d: judging whether the wind speed area where the first position information is located is the same as the wind speed area where the second position information is located; if not, controlling the air volume of the air conditioner to be adjusted to the air volume corresponding to the air speed area where the second position information is located;
calculating a first coordinate value of the position of the sound source according to the first position information and calculating a second coordinate value of the position of the sound source according to the second position information; the three-dimensional coordinate system of the first coordinate value and the second coordinate is a three-dimensional coordinate axis established by taking a connecting line between the two sound source collecting devices as an X axis, taking a central point of the connecting line between the two sound source collecting devices as a coordinate origin, taking a vertical line which is positioned on the central point and is vertical to the first connecting line as a Y axis, and taking a vertical line which is positioned on the central point and is vertical to a plane of the X axis and the Y axis as a Z axis;
judging whether the wind speed area where the first coordinate value is located is the same as the wind speed area where the second coordinate value is located;
and if the air volume of the air conditioner is different, controlling the air volume of the air conditioner to be adjusted to the air volume corresponding to the air speed area where the second coordinate value is located.
In this embodiment, a first coordinate value of the position of the sound source is calculated according to the first position information, a second coordinate value of the position of the sound source is calculated according to the second position information, further, whether a wind speed area where the first coordinate value is located is the same as a wind speed area where the second coordinate value is located is judged, when the wind speed areas where the first coordinate value is located are the same, a wind speed interval does not need to be adjusted, and when the wind speed areas where the second coordinate value is located are different, the air volume of the air conditioner is controlled to be adjusted to the air volume corresponding to the wind speed area where the second.
It should be noted that the air volume corresponding to the located wind speed area can be freely set by the user, different wind speed intervals where the user is located are judged according to the distance between the sound source and the air conditioner, and the corresponding wind speed intervals are set according to different distances from different positions to the air conditioner, for example, when the sound source is detected to be located in a weak wind area, the air conditioner automatically adjusts to weak wind; when the low wind area is detected, the air conditioner automatically adjusts to low wind; when the detected wind is in the middle-low wind area, the air conditioner automatically adjusts to the middle-low wind; when the area is detected to be in the stroke area, the air conditioner is automatically adjusted to be in the stroke area; when the detected wind is in a middle and high wind area, the air conditioner automatically adjusts to middle and high wind; when the high wind area is detected, the air conditioner automatically adjusts to high wind; and when the detected area is the super strong wind area, the air conditioner automatically adjusts to the super strong wind. The air quantity can be oriented and felt stably by the user before and after the position of the user changes, and the comfort of the user is improved.
It can be understood that the air outlet angle of the air conditioner is just opposite to the target, so as to ensure that the air volume from the air conditioner to the target coordinate position is unchanged, as a further improved scheme, the air outlet of the air conditioner can be automatically avoided from the sound source target, for example, a voiceprint in a sound signal emitted from the sound source position can be identified in the sound source positioning process, when the user is identified to be an old person or a child through the voiceprint, a fixed value is added in the subsequent calculation of the distance value between the position of the sound source and the central point of the connecting line between the two microphones, or a fixed angle value is added in the angle value between the connecting line between the position of the sound source and the central point and a vertical line which is positioned on the central point and is perpendicular to the connecting line between the two microphones, so that the calculated first position information and the position of the actual user are not at the same position, so that the position of the sound source can be automatically avoided when the, different working modes are realized for people of different ages, and convenience is brought to users.
Exemplary device
On the basis of the above method, the present invention also discloses a system for controlling an air conditioner based on sound source localization, as shown in fig. 5, including: at least two sound source collecting devices and an air conditioner controller.
The sound source collecting device is used for receiving sound information emitted by a sound source and transmitting the sound information to the air conditioner controller;
the air conditioner controller is used for calculating first position information of the sound source according to the acquired sound information; judging whether the first position information and the second position information of the sound source are the same or not; the second position information is historical position information of the sound source;
the historical position information of the sound source can be the sound information emitted by the sound source collected last time, the calculated position information of the sound source, or the default position information of the sound source.
And if the first position information and the second position information of the sound source are judged to be different, adjusting the control parameter of the air conditioner so as to enable the control state of the air conditioner to be changed from the control state corresponding to the first position information to the control state corresponding to the second position information.
In one implementation, the sound source collecting device may be a microphone or a sound pickup, and the sound source may be a remote controller.
At least two microphones set up on the sound source control panel, still be provided with the power on the sound source control panel and be used for establishing the serial ports of communication connection with the main control board of air conditioner, the sound source control panel can also be provided with loudspeaker for carry out voice prompt. A fan motor control component and a swing motor control component are arranged on a main control panel of the air conditioner and are respectively used for adjusting the air volume of the air conditioner and the air swing of the air conditioner.
The invention discloses a method for controlling an air conditioner based on sound source positioning, which comprises the following steps: acquiring sound information acquired by a sound source acquisition device, calculating first position information of a sound source according to the acquired sound information, judging whether the first position information and the second position information of the sound source are the same, and adjusting control parameters of an air conditioner if the first position information and the second position information of the sound source are judged to be different, so that after the control parameters are adjusted, the air conditioner control state of the position of the second position information is the same as the air conditioner control state of the position of the first position information. According to the method, whether the first position and the second position of the sound source are the same or not is judged, and the air swing angle and the air volume of the air conditioner at the first position are adjusted to be the same as those at the second position when the first position and the second position are the same, so that the air conditioner can adjust the air swing angle and the air volume of the air conditioner according to the change of the position coordinate of the sound source, the intelligence of a product is enhanced, and the comfort and the convenience of a user are improved. In addition, the invention also discloses a system for controlling the air conditioner based on sound source positioning.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (10)
1. A method for controlling an air conditioner based on sound source positioning is characterized in that the method is applied to a system for controlling the air conditioner based on sound source positioning, and the system for controlling the air conditioner based on sound source positioning comprises the following steps: at least two sound source collecting devices; the method for controlling the air conditioner by positioning the sound source comprises the following steps:
acquiring sound information acquired by the sound source acquisition device;
calculating first position information of the sound source according to the acquired sound information;
judging whether the first position information is the same as the second position information; the second position information is historical position information of the sound source;
and if the first position information is judged to be different from the second position information, adjusting control parameters of the air conditioner so as to enable the control state of the air conditioner to be changed from the control state corresponding to the first position information to the control state corresponding to the second position information.
2. The method of controlling an air conditioner based on sound source localization according to claim 1, wherein the sound information includes: receiving time of sound signals received by the at least two sound source collecting devices;
the step of acquiring the sound information acquired by the sound source acquisition device comprises:
and acquiring the receiving time of any two sound source collecting devices in the at least two sound source collecting devices for receiving the sound signals.
3. The method of claim 2, wherein the calculating of the first position information of the sound source according to the acquired sound information comprises:
acquiring the position information of any two sound source acquisition devices;
calculating the time difference of receiving the sound signals according to the receiving time of the sound signals received by any two sound source collecting devices;
and calculating first position information of the sound source according to the position information of any two sound source collecting devices, the time difference and the sound propagation speed.
4. The method of controlling an air conditioner based on sound source localization according to claim 3, wherein the first location information includes: a first distance value and a first angle value;
the first distance value is a distance value between the position of the sound source and the central point of the first connecting line;
the first angle value is an angle value between a second connecting line and a vertical line which is positioned on the center point of the first connecting line and is vertical to the first connecting line;
the first connecting line is the connecting line between any two acquired sound source acquisition devices;
the second connecting line is a connecting line between the position of the sound source and the central point of the first connecting line;
the step of calculating the first position information of the sound source according to the position information of any two sound source collecting devices, the time difference and the sound propagation speed comprises the following steps:
calculating a second distance value between any two sound source collecting devices according to the position information of any two sound source collecting devices;
and calculating the first distance value and the first angle value according to the second distance value and the sound propagation speed.
5. The method of controlling an air conditioner based on sound source localization according to any one of claims 1 to 4, wherein the control state of the air conditioner includes: the swing angle between the wind pendulum of the air conditioner and the sound source and the air volume of the air conditioner;
if the first position information and the second position information of the sound source are judged to be different, adjusting control parameters of an air conditioner, and replacing the control state of the air conditioner from the control state corresponding to the first position information to the control state corresponding to the second position information comprises the following steps:
acquiring a swing angle and air volume corresponding to the second position information;
and adjusting control parameters of the air conditioner according to the swing angle and the air volume corresponding to the second position information, so that the swing angle and the air volume corresponding to the first position information after adjustment are the same as those corresponding to the second position information.
6. The method according to claim 5, wherein the step of adjusting the control parameters of the air conditioner according to the swing angle and the air volume corresponding to the second position information so that the swing angle and the air volume corresponding to the first position information after adjustment are the same as the swing angle and the air volume corresponding to the second position information comprises:
calculating an adjustment angle according to the first angle value and the swing angle corresponding to the second position information; the adjustment angle is an angle required to be adjusted when the swing angle corresponding to the first position information is adjusted to be the same as the swing angle corresponding to the second position information;
and controlling the swing angle of the air conditioner air swing to rotate to the same swing angle as the position where the second position information is located according to the adjusting angle.
7. The method for controlling an air conditioner based on sound source localization according to claim 6, wherein the step of controlling the swing angle of the air conditioner pendulum to be rotated to be the same as the swing angle of the position where the second position information is located according to the adjustment angle comprises:
judging whether the adjustment angle is larger than a preset angle threshold value or not, if so, controlling to adjust the adjustment angle at a first swing speed, and otherwise, controlling to adjust the adjustment angle at a second swing speed;
monitoring whether the adjustment angle is adjusted to be smaller than or equal to the preset angle value or not while controlling the adjustment angle to be adjusted at the first swing speed, and if so, controlling the adjustment angle at a second swing speed; the first swing speed is greater than the second swing speed.
8. The method for controlling the air conditioner based on the sound source localization as claimed in claim 5, wherein the step of adjusting the control parameters of the air conditioner according to the swing angle and the air volume of the position of the second position information, so that the swing angle and the air volume between the air swing of the air conditioner and the sound source at the position of the first position information after adjustment are the same as the swing angle and the air volume at the position of the second position information comprises:
judging whether the wind speed area where the first position information is located is the same as the wind speed area where the second position information is located;
and if not, controlling the air volume of the air conditioner to be adjusted to the air volume corresponding to the air speed area where the second position information is located.
9. A system for controlling an air conditioner based on sound source localization, comprising: at least two sound source collecting devices and an air conditioner controller;
the sound source collecting device is used for receiving sound information emitted by a sound source and transmitting the sound information to the air conditioner controller;
the air conditioner controller is used for calculating first position information of the sound source according to the acquired sound information; judging whether the first position information and the second position information of the sound source are the same or not; the second position information is historical position information of the sound source;
and if the first position information and the second position information of the sound source are judged to be different, adjusting the control parameter of the air conditioner so as to enable the control state of the air conditioner to be changed from the control state corresponding to the first position information to the control state corresponding to the second position information.
10. The system for controlling an air conditioner based on sound source localization according to claim 9, wherein the sound source collecting means is a microphone or a sound pickup.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910823071.4A CN110594943B (en) | 2019-09-02 | 2019-09-02 | Method and system for controlling air conditioner based on sound source positioning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910823071.4A CN110594943B (en) | 2019-09-02 | 2019-09-02 | Method and system for controlling air conditioner based on sound source positioning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110594943A true CN110594943A (en) | 2019-12-20 |
CN110594943B CN110594943B (en) | 2021-07-02 |
Family
ID=68856948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910823071.4A Active CN110594943B (en) | 2019-09-02 | 2019-09-02 | Method and system for controlling air conditioner based on sound source positioning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110594943B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111412587A (en) * | 2020-03-31 | 2020-07-14 | 广东美的制冷设备有限公司 | Voice processing method and device of air conditioner, air conditioner and storage medium |
CN111896119A (en) * | 2020-08-14 | 2020-11-06 | 北京声智科技有限公司 | Infrared temperature measurement method and electronic equipment |
CN113685988A (en) * | 2021-08-18 | 2021-11-23 | 深圳市中菁环境工程有限公司 | Central air conditioner energy-saving control system centralized control method and central air conditioner |
CN113865021A (en) * | 2021-08-20 | 2021-12-31 | 海信(山东)空调有限公司 | Air conditioning system and air conditioning control method |
CN115519970A (en) * | 2022-09-27 | 2022-12-27 | 上汽通用五菱汽车股份有限公司 | Vehicle-mounted air conditioner air volume adjusting method, device, equipment and storage medium |
CN115950077A (en) * | 2022-12-23 | 2023-04-11 | 珠海格力电器股份有限公司 | Temperature control method and device based on voice air conditioner, air conditioner and storage medium |
CN116379537A (en) * | 2023-05-26 | 2023-07-04 | 广州市冰峰制冷工程有限公司 | Intelligent brand-new fan set control system |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970047366A (en) * | 1995-12-27 | 1997-07-26 | 구자홍 | Air conditioner control method and device |
CN1329228A (en) * | 2001-07-12 | 2002-01-02 | 姚宇 | Intelligent body-tracking air outlet type air-conditioner |
KR20090043267A (en) * | 2007-10-29 | 2009-05-06 | 엘지전자 주식회사 | Air conditioner |
CN104848478A (en) * | 2015-04-28 | 2015-08-19 | 广东美的制冷设备有限公司 | Method and system for adjusting voice instruction identification threshold in air conditioner |
US20150319524A1 (en) * | 2014-04-30 | 2015-11-05 | Gwangju Institute Of Science And Technology | Apparatus and method for detecting location of moving body, lighting apparatus, air conditioning apparatus, security apparatus, and parking lot management apparatus |
CN106369773A (en) * | 2016-11-15 | 2017-02-01 | 北京小米移动软件有限公司 | Method and device for controlling air supply of air conditioner |
CN107271963A (en) * | 2017-06-22 | 2017-10-20 | 广东美的制冷设备有限公司 | The method and apparatus and air conditioner of auditory localization |
CN107940681A (en) * | 2017-11-17 | 2018-04-20 | 广东美的制冷设备有限公司 | Air conditioner air blowing control method, electronic equipment and computer-readable recording medium |
CN108870650A (en) * | 2018-07-12 | 2018-11-23 | 四川虹美智能科技有限公司 | A kind of air-conditioning and a kind of control method of air-conditioning |
CN109974225A (en) * | 2019-04-09 | 2019-07-05 | 珠海格力电器股份有限公司 | Air conditioner control method and device, storage medium and air conditioner |
-
2019
- 2019-09-02 CN CN201910823071.4A patent/CN110594943B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970047366A (en) * | 1995-12-27 | 1997-07-26 | 구자홍 | Air conditioner control method and device |
CN1329228A (en) * | 2001-07-12 | 2002-01-02 | 姚宇 | Intelligent body-tracking air outlet type air-conditioner |
KR20090043267A (en) * | 2007-10-29 | 2009-05-06 | 엘지전자 주식회사 | Air conditioner |
US20150319524A1 (en) * | 2014-04-30 | 2015-11-05 | Gwangju Institute Of Science And Technology | Apparatus and method for detecting location of moving body, lighting apparatus, air conditioning apparatus, security apparatus, and parking lot management apparatus |
CN104848478A (en) * | 2015-04-28 | 2015-08-19 | 广东美的制冷设备有限公司 | Method and system for adjusting voice instruction identification threshold in air conditioner |
CN106369773A (en) * | 2016-11-15 | 2017-02-01 | 北京小米移动软件有限公司 | Method and device for controlling air supply of air conditioner |
CN107271963A (en) * | 2017-06-22 | 2017-10-20 | 广东美的制冷设备有限公司 | The method and apparatus and air conditioner of auditory localization |
CN107940681A (en) * | 2017-11-17 | 2018-04-20 | 广东美的制冷设备有限公司 | Air conditioner air blowing control method, electronic equipment and computer-readable recording medium |
CN108870650A (en) * | 2018-07-12 | 2018-11-23 | 四川虹美智能科技有限公司 | A kind of air-conditioning and a kind of control method of air-conditioning |
CN109974225A (en) * | 2019-04-09 | 2019-07-05 | 珠海格力电器股份有限公司 | Air conditioner control method and device, storage medium and air conditioner |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111412587A (en) * | 2020-03-31 | 2020-07-14 | 广东美的制冷设备有限公司 | Voice processing method and device of air conditioner, air conditioner and storage medium |
CN111412587B (en) * | 2020-03-31 | 2021-12-07 | 广东美的制冷设备有限公司 | Voice processing method and device of air conditioner, air conditioner and storage medium |
CN111896119A (en) * | 2020-08-14 | 2020-11-06 | 北京声智科技有限公司 | Infrared temperature measurement method and electronic equipment |
CN113685988A (en) * | 2021-08-18 | 2021-11-23 | 深圳市中菁环境工程有限公司 | Central air conditioner energy-saving control system centralized control method and central air conditioner |
CN113865021A (en) * | 2021-08-20 | 2021-12-31 | 海信(山东)空调有限公司 | Air conditioning system and air conditioning control method |
CN115519970A (en) * | 2022-09-27 | 2022-12-27 | 上汽通用五菱汽车股份有限公司 | Vehicle-mounted air conditioner air volume adjusting method, device, equipment and storage medium |
CN115950077A (en) * | 2022-12-23 | 2023-04-11 | 珠海格力电器股份有限公司 | Temperature control method and device based on voice air conditioner, air conditioner and storage medium |
CN116379537A (en) * | 2023-05-26 | 2023-07-04 | 广州市冰峰制冷工程有限公司 | Intelligent brand-new fan set control system |
CN116379537B (en) * | 2023-05-26 | 2023-08-18 | 广州市冰峰制冷工程有限公司 | Intelligent brand-new fan set control system |
Also Published As
Publication number | Publication date |
---|---|
CN110594943B (en) | 2021-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110594943B (en) | Method and system for controlling air conditioner based on sound source positioning | |
CN118442675A (en) | Communication system and transmitting apparatus | |
CN110864440B (en) | Air supply method, air supply device and air conditioner | |
CN108966077A (en) | A kind of control method and system of speaker volume | |
WO2021233471A1 (en) | Control method, embedded machine, and computer readable storage medium | |
CN108375168B (en) | Method for adjusting air conditioning equipment | |
CN105571046A (en) | Method for adjusting air outlet state of air conditioner and indoor unit | |
CN105116994A (en) | Intelligent robot tracking method and tracking device based on artificial intelligence | |
CN103900208A (en) | Air conditioner controlling method and air conditioner | |
JP6847275B2 (en) | Air conditioning control system and air conditioner | |
CN110072177B (en) | Space division information acquisition method and device and storage medium | |
WO2022247245A1 (en) | Voice control method for air conditioner and air conditioner | |
CN106545974A (en) | Air-conditioner and its wind direction control method | |
CN113266933A (en) | Voice control method of air conditioner and air conditioner | |
CN208367199U (en) | Separate type microphone array | |
CN212744442U (en) | Control device and air supply equipment | |
KR20030026530A (en) | Electrical device control system based on user location | |
CN112669808A (en) | Active noise control window for target tracking and control method thereof | |
CN111768049B (en) | Intelligent Internet of things terminal control management system and method for multi-service application scene | |
CN112013504B (en) | Air conditioning system and control method thereof | |
CN214312639U (en) | Active noise control window for target tracking | |
JP7278390B2 (en) | ELECTRICAL DEVICE SYSTEM, SOUND OUTPUT DEVICE, ELECTRICAL DEVICE, SOUND OUTPUT METHOD AND PROGRAM | |
CN114754474A (en) | Air conditioner control method and device and air conditioner system | |
CN112922877B (en) | Fan control method, fan, system and storage medium | |
CN113899057B (en) | Air conditioner control method, air conditioner internal unit, remote controller and system |
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 |