Positioning method of air conditioner and mobile equipment, air conditioner and mobile equipment

Through the ultrasonic positioning method between the air conditioner and the mobile device, the problem of fixed-point comfort control caused by the unstable position of the mobile device is solved, and high-accuracy positioning and environmental parameter compensation are achieved.

CN119335479APending Publication Date: 2025-01-21MIDEA GROUP WUHAN REFRIGERATION EQUIPMENT CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310899713.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-20
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The position of the mobile device in the indoor space is not fixed, which makes the air conditioner unable to accurately locate the relative position of the mobile device, and thus cannot perform position compensation based on the environmental parameters detected by the mobile device, resulting in the inability to perform fixed-point comfort control.

Method used

By sending ultrasonic waves to each other between the air conditioner and the mobile device, the relative position of the mobile device is determined by using the propagation time and direction difference of the ultrasonic waves. Specific steps include receiving the first ultrasonic wave to determine the direction, sending the second ultrasonic wave and determining the ultrasonic wave transmission duration based on the feedback information, and then calculating the distance and position.

Benefits of technology

By sending ultrasonic waves to each other for positioning, it avoids the interference of ultrasonic waves reflected by other objects, improves the accuracy of air conditioner positioning, and realizes position compensation and fixed-point comfort control based on environmental parameters detected by mobile devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119335479A_ABST
    Figure CN119335479A_ABST
Patent Text Reader

Abstract

The invention discloses an air conditioner and mobile equipment positioning method, an air conditioner and mobile equipment, and the method comprises the steps: determining the direction of the mobile equipment when a first ultrasonic wave sent by the mobile equipment is received; second ultrasonic waves are sent, and ultrasonic wave transmission duration is determined according to feedback information of the mobile equipment; determining the distance to the mobile device according to the ultrasonic transmission duration and the ultrasonic propagation speed; a location of the mobile device is determined based on the direction and the distance. According to the embodiment of the invention, the air conditioner can accurately position the position of the mobile equipment, so that fixed-point comfort control is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioners, and in particular to a positioning method for an air conditioner and a mobile device, an air conditioner and a mobile device. Background Art

[0002] In some smart home applications, mobile devices (such as air boxes) and air conditioners are set up separately, and some sensors are installed on the mobile devices to detect air quality, reducing the hardware settings on the air conditioner. The mobile devices are movable and can accurately detect environmental parameters near the user when moving with the user, thereby improving the accuracy of air conditioning. This mobile device is equipped with air quality sensors (temperature, humidity, PM2.5, CO2, TVOC, etc.), and also has a millimeter wave radar module that can detect human body movement, breathing and heart rate signals, thereby determining the activity status and sleep stages of the person. The mobile device and the air conditioner can communicate and be linked and controlled via WiFi or Bluetooth.

[0003] Although mobile devices can detect environmental parameters near the user, the mobile devices are not placed in a fixed position indoors, and the air conditioner cannot accurately locate the relative position of the mobile devices, and thus cannot perform position compensation based on the environmental parameters detected by the mobile devices, resulting in the inability to perform fixed-point comfort control.

[0004] It should be noted that the above contents are only used to assist in understanding the technical problems solved by the present invention, and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide a positioning method for an air conditioner and a mobile device, an air conditioner and a mobile device, aiming to enable the air conditioner to accurately locate the position of the mobile device, thereby achieving fixed-point comfort control.

[0006] Based on this, the present invention provides a method for positioning an air conditioner and a mobile device, and the method for positioning an air conditioner and a mobile device comprises the following steps:

[0007] When receiving a first ultrasonic wave sent by a mobile device, determining the direction of the mobile device;

[0008] Sending a second ultrasonic wave, and determining the ultrasonic wave transmission duration according to feedback information from the mobile device;

[0009] Determining the distance from the mobile device according to the ultrasonic transmission duration and the ultrasonic propagation speed;

[0010] A location of the mobile device is determined based on the direction and the distance.

[0011] Optionally, the step of sending a second ultrasonic wave and determining the ultrasonic wave transmission duration according to feedback information from the mobile device includes:

[0012] Send the second ultrasonic wave and start timing;

[0013] When the third ultrasonic wave sent by the mobile device is received, the timing ends and the total duration is obtained;

[0014] The ultrasonic transmission duration is determined according to the total duration, and the feedback information includes the third ultrasonic wave.

[0015] Optionally, the step of determining the ultrasonic transmission duration according to the total duration includes:

[0016] Determine a first duration according to the total duration and an interval duration between the mobile device sending the third ultrasonic wave after receiving the second ultrasonic wave;

[0017] The ultrasonic wave propagation duration is calculated according to the first duration, where the first duration is the sum of the propagation duration of the second ultrasonic wave and the propagation duration of the third ultrasonic wave.

[0018] Optionally, when receiving the first ultrasonic wave sent by the mobile device, the step of determining the direction of the mobile device includes:

[0019] When receiving a first ultrasonic wave sent by the mobile device, determining a time difference between each microphone receiving the first ultrasonic wave;

[0020] determining the angle of the sound wave source according to the time difference, the ultrasonic transmission speed, and the set distance between the microphones;

[0021] A direction of the mobile device is determined based on the angle.

[0022] Optionally, before the step of determining the position of the mobile device based on the direction and the distance, the step further includes:

[0023] Returning to the step of sending the second ultrasonic wave and determining the ultrasonic wave transmission duration according to the feedback information of the mobile device, so as to obtain the distances of the multiple groups of mobile devices;

[0024] The step of determining the position of the mobile device based on the direction and the distance comprises:

[0025] The position of the mobile device is determined according to the direction and an average of multiple groups of the distances.

[0026] Optionally, after the step of determining the position of the mobile device based on the direction and the distance, the method further includes:

[0027] The operating parameters of the air conditioner are adjusted according to the location of the mobile device and the environmental parameters sent by the mobile device.

[0028] The present invention also provides a method for positioning an air conditioner and a mobile device, the method for positioning an air conditioner and a mobile device comprising the following steps:

[0029] The mobile device sends a first ultrasonic wave;

[0030] When a second ultrasonic wave is received, feedback information is sent at a preset time interval, wherein the second ultrasonic wave is sent when the air conditioner receives the first ultrasonic wave.

[0031] Optionally, the step of sending the first ultrasonic wave by the mobile device includes:

[0032] When the mobile device detects a change in position, it sends the first ultrasonic wave.

[0033] The present invention also provides an air conditioner, comprising a memory, a processor, and a positioning program stored in the memory and executable on the processor, wherein the positioning program, when executed by the processor, implements the steps of the positioning method for the air conditioner and the mobile device as described above.

[0034] The present invention also provides a mobile device, which includes a memory, a processor, and a positioning program stored in the memory and executable on the processor. When the positioning program is executed by the processor, the steps of the positioning method for the air conditioner and the mobile device as described above are implemented.

[0035] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a positioning program, and when the positioning program is executed by a processor, the steps of the positioning method for an air conditioner and a mobile device as described above are implemented.

[0036] The present invention provides a positioning method, device, multi-link and readable storage medium for an air conditioner and a mobile device. In an embodiment of the present invention, the mobile device performs voice interaction with the air conditioner by sending a first ultrasonic wave. When the air conditioner receives the first ultrasonic wave, it can determine the direction of the mobile device; then the air conditioner sends a second ultrasonic wave to perform voice interaction with the mobile device. After the mobile device receives the second ultrasonic wave, it feeds back information to the air conditioner. In this way, the air conditioner can determine the ultrasonic wave transmission duration according to the feedback information of the mobile device; then determine the distance from the mobile device according to the ultrasonic wave transmission duration and the ultrasonic wave propagation speed; and then determine the position of the mobile device based on the direction and the distance. In this way, by sending ultrasonic waves to each other for positioning, the interference of ultrasonic waves reflected by other objects can be avoided, the accuracy of the air conditioner positioning can be improved, and the air conditioner can be conveniently compensated for the position based on the environmental parameters detected by the mobile device to achieve fixed-point comfort control. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0038] Figure 1 A schematic diagram of the hardware environment architecture involved in the positioning method for an air conditioner and a mobile device provided by the present invention;

[0039] Figure 2 A schematic flow chart of a first embodiment of a method for positioning an air conditioner and a mobile device provided by the present invention;

[0040] Figure 3 A schematic diagram of determining the direction of a mobile device in the present invention;

[0041] Figure 4 A schematic flow chart of a second embodiment of the method for positioning an air conditioner and a mobile device provided by the present invention.

[0042] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0044] In some smart home applications, mobile devices (such as air boxes) and air conditioners are set up separately, and some sensors are installed on the mobile devices to detect air quality, reducing the hardware settings on the air conditioner. The mobile devices are movable and can accurately detect environmental parameters near the user when moving with the user, thereby improving the accuracy of air conditioning. This mobile device is equipped with air quality sensors (temperature, humidity, PM2.5, CO2, TVOC, etc.), and also has a millimeter wave radar module that can detect human body movement, breathing and heart rate signals, thereby determining the activity status and sleep stages of the person. The mobile device and the air conditioner can communicate and be linked and controlled via WiFi or Bluetooth.

[0045] However, although mobile devices can detect environmental parameters near users, the mobile devices are not placed in fixed positions indoors. Based on the current positioning method using reflected waves, the reflected waves may be reflected by other objects, and the air conditioner cannot accurately locate the relative position of the mobile device, and thus cannot perform position compensation based on the environmental parameters detected by the mobile device, resulting in the inability to perform fixed-point comfort control.

[0046] Based on this, an embodiment of the present invention provides a positioning method for an air conditioner and a mobile device, in which ultrasonic waves are sent to each other by the air conditioner and the mobile device, and the distance is determined by the propagation time of the ultrasonic waves through the ultrasonic wave orientation, thereby determining the exact position of the mobile device relative to the air conditioner. The method of sending ultrasonic waves to each other does not use ultrasonic wave reflection for positioning, which can avoid detecting ultrasonic waves reflected by other objects in the room and avoid locating the positions of other objects. The positioning accuracy of the mobile device in the embodiment of the present invention is high.

[0047] In order to better understand the technical solutions provided by the embodiments of the present invention, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0048] As an implementation method, the hardware environment architecture involved in the positioning method of the air conditioner and the mobile device can be as follows: Figure 1 shown.

[0049] Optionally, the hardware architecture involved in the positioning method of the air conditioner and the mobile device includes the air conditioner and the mobile device, wherein the mobile device is such as a central control screen, a wire control box, an air box, a smart bracelet, etc.

[0050] As an implementation, the air conditioner or mobile device includes: a processor 101, such as a CPU, a memory 102, and a communication bus 103. The communication bus 103 is used to realize the connection and communication between these components. The processor 101 is used to call an application to perform a control operation.

[0051] The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory.

[0052] It can be understood that, in one embodiment, the positioning program for realizing the positioning of the air conditioner and the mobile device is stored in the memory 102, or stored in a computer-readable storage medium, and when the processor 101 calls the positioning program from the memory 102 or the computer-readable storage medium, the following operations are performed:

[0053] When receiving a first ultrasonic wave sent by a mobile device, determining the direction of the mobile device;

[0054] Sending a second ultrasonic wave, and determining the ultrasonic wave transmission duration according to feedback information from the mobile device;

[0055] Determining the distance from the mobile device according to the ultrasonic transmission duration and the ultrasonic propagation speed;

[0056] A location of the mobile device is determined based on the direction and the distance.

[0057] Based on the hardware architecture of the above-mentioned air conditioner or mobile device, the following embodiments of the present invention are proposed.

[0058] First embodiment

[0059] Please refer to Figure 2 The positioning method of the air conditioner and the mobile device provided in the embodiment of the present invention comprises the following steps:

[0060] Step S110, the mobile device sends a first ultrasonic wave;

[0061] This embodiment relates to a smart home system, which includes a mobile device and an air conditioner. The air conditioner and the mobile device establish a wireless connection, can communicate with each other and perform linkage control. In this embodiment, the air conditioner and the mobile device that can communicate with each other and perform linkage control are in the same space. That is, the mobile device and the air conditioner have a corresponding relationship.

[0062] The air conditioner and the mobile device are both equipped with a voice recognition module, which includes a microphone array and a speaker, wherein the microphone array includes at least two microphones. The microphone array can receive sound waves and identify the direction of the sound source, and the speaker can emit sound waves.

[0063] This embodiment realizes positioning by sending sound waves between the mobile device and the air conditioner. For example, the mobile device controls its speaker to generate ultrasonic waves of a preset frequency, and the microphone array of the air conditioner calculates the angle of the mobile device relative to the air conditioner based on the time difference of receiving the ultrasonic signal; further, the air conditioner sends ultrasonic waves of a preset frequency through the speaker, and after the mobile device receives the ultrasonic wave, it responds to the ultrasonic signal to the air conditioner after a preset time, and the air conditioner calculates the distance between the mobile device and the air conditioner based on the total time from sending to receiving the response of the mobile device. In this way, the air conditioner can detect the relative angle and distance of the mobile device. Furthermore, the mobile device is equipped with a temperature and humidity sensor and a millimeter wave radar sensor, and the radar sensor can detect the activity status of the human body. The PMV comfort value of users near the mobile device can be calculated based on parameters such as temperature, humidity, and human activity status, and the air conditioner performs intelligent comfort control based on the PMV value.

[0064] Based on the positioning by sound waves in this embodiment, in order to avoid interfering with the user during the positioning process, ultrasonic waves are set to be generated between the mobile device and the air conditioner for positioning. The frequency of the ultrasonic signal is greater than 20000 Hz, and the human ear cannot hear the ultrasonic signal, so noise can be avoided.

[0065] Optionally, in some embodiments, the mobile device timing controller speaker generates a first ultrasonic wave, and when the first ultrasonic wave is transmitted to the air conditioner, the microphone array of the air conditioner can pick up the first ultrasonic wave.

[0066] Optionally, in other embodiments, the mobile device will only be triggered to initiate a positioning request when its position is displaced, that is, when the mobile device detects a change in position, it triggers the speaker to emit a first ultrasonic wave. In this way, the microphone array of the air conditioner can obtain the first ultrasonic wave, and then perform the mobile device positioning process, such as the following steps.

[0067] Optionally, in order to ensure that the air conditioner is triggered to locate the mobile device, the mobile device can be set to send the first ultrasonic wave at a preset time interval until a second ultrasonic wave fed back by the air conditioner is received, indicating that the air conditioner has initiated the positioning process of the mobile device.

[0068] Step S120, the air conditioner determines the direction of the mobile device;

[0069] When the air conditioner receives the first ultrasonic wave sent by the mobile device, it analyzes the direction of the mobile device (relative to the direction of the air conditioner, such as on the left, right or front of the air conditioner, or at any angle on the left, etc.) based on the first ultrasonic wave.

[0070] Optionally, in this embodiment, a microphone array is provided on the air conditioner. If the sound source is not directly in front of the microphone array, different microphones receive the first ultrasonic wave at different times. In this way, the direction of the sound source can be determined based on the time difference between each microphone receiving the first ultrasonic wave. That is, when the mobile device sends the first ultrasonic wave, the time difference between each microphone receiving the first ultrasonic wave is determined; the angle of the sound wave source is determined based on the time difference, the ultrasonic wave transmission speed, and the set distance between the microphones; and the direction of the mobile device is determined based on the angle.

[0071] Combination Figure 3 As shown, taking the microphone array including two microphones as an example, the distance between the microphones is fixed, that is, the set distance d, for example, 1 to 2 cm. The source sound wave received by the microphone is generally the sound wave with the shortest path or the shortest time (the straight line between two points is the shortest, and the distance between the microphones is close, so it can be considered that the sound wave propagates in parallel to each microphone), while other sound waves are transmitted to the microphone after being reflected by other objects. This embodiment is calculated based on the source sound wave. That is, the first ultrasonic wave received by the microphone for the first time, or the first ultrasonic wave with a preset energy received by the microphone is calculated. The preset energy is the ultrasonic frequency agreed upon by the mobile device and the air conditioner. The energy of the ultrasonic frequency reflected by the object is weakened. Then, the direction of the sound source can be calculated based on the agreed preset energy, excluding the sound waves reflected by other objects, thereby improving the recognition accuracy of the direction of the sound source (mobile device).

[0072] If the sound source is not directly in front of the microphone, the time difference when the microphone receives the first ultrasonic wave is greater than 0. The angle of the sound wave source can be calculated based on the following formula:

[0073] d cosθ=Δt×v a ;

[0074]

[0075] Among them, υa is the ultrasonic transmission speed; Δt is the time difference between at least two microphones receiving the first ultrasonic wave; d is the distance between the at least two microphones; θ is the angle of the sound wave source (the angle of the connecting line between the sound wave source and the air conditioner relative to the arrangement direction of the microphones).

[0076] Step S130, the air conditioner sends a second ultrasonic wave;

[0077] After receiving the first ultrasonic wave, the air conditioner may determine the direction of the mobile device before sending out the second ultrasonic wave, or may send out the second ultrasonic wave while or before determining the direction of the mobile device.

[0078] When the air conditioner sends the second ultrasonic wave, the microphone of the mobile device can collect the second ultrasonic wave. In this step, the mobile device also feeds back the source sound wave of the collected second ultrasonic wave.

[0079] Step S140, the mobile device sends feedback information at a preset time interval;

[0080] When the mobile device collects the second ultrasonic wave sent by the air conditioner, it sends feedback information to the air conditioner.

[0081] Optionally, the preset time length is greater than or equal to 0. That is, the mobile device can send feedback information to the air conditioner immediately after receiving the second ultrasonic wave. Alternatively, the mobile device sends feedback information to the air conditioner after a certain time interval after receiving the second ultrasonic wave.

[0082] In an optional embodiment, the feedback information may be the time point when the mobile device receives the second ultrasonic wave. In this way, the air conditioner can determine the ultrasonic transmission duration of the second ultrasonic wave from the air conditioner to the mobile device based on the emission time point of the second ultrasonic wave and the reception time point of the second ultrasonic wave fed back by the mobile device.

[0083] In another optional embodiment, the feedback information may include a third ultrasonic wave. That is, the mobile device sends a third ultrasonic wave again, and when the air conditioner receives the third ultrasonic wave, it is determined that the mobile device is based on the sound wave fed back by the second ultrasonic wave, and the air conditioner can determine the ultrasonic transmission duration based on the sending time of the second ultrasonic wave and the receiving time of the third ultrasonic wave.

[0084] Step S150, the air conditioner determines the ultrasonic transmission duration according to the feedback information from the mobile device;

[0085] Optionally, if the feedback information is the time point when the mobile device receives the second ultrasonic wave, the ultrasonic wave transmission duration is calculated in the manner described above.

[0086] Optionally, if the feedback information includes the third ultrasonic wave sent by the mobile device. In this embodiment, the air conditioner sends the second ultrasonic wave, and then starts timing. When the third ultrasonic wave sent by the mobile device is received, the timing ends, and the total duration is obtained; the ultrasonic wave transmission duration is determined according to the total duration.

[0087] In an optional embodiment, the total duration includes the duration of the second ultrasonic wave being transmitted to the mobile device and the duration of the third ultrasonic wave being transmitted from the mobile device to the air conditioner. The two durations are normally the same. That is, whether it is transmitted from the air conditioner to the mobile device or from the mobile device to the air conditioner, the sound wave transmission duration is the same. Thus, based on half of the total duration, the ultrasonic wave transmission duration is obtained.

[0088] In another optional embodiment, the duration includes the sum of the duration of the second ultrasonic wave being transmitted to the mobile device, the duration of the third ultrasonic wave being transmitted from the mobile device to the air conditioner, and the time interval (such as a preset duration) when the mobile device sends the third ultrasonic wave after receiving the second ultrasonic wave.

[0089] Based on this, the first duration is first determined according to the total duration and the interval duration of the mobile device sending the third ultrasonic wave after receiving the second ultrasonic wave; if the difference between the total duration and the interval duration is the sum of the propagation duration of the second ultrasonic wave and the propagation duration of the third ultrasonic wave, then half of the first duration is taken, which is the ultrasonic wave transmission duration.

[0090] The following example illustrates: t = t b +2t a ;

[0091] Wherein, t is the total time recorded from the air conditioner sending the second ultrasonic wave to receiving the third ultrasonic wave sent by the mobile device; t b is the interval time for the mobile device to send the third ultrasonic wave after receiving the second ultrasonic wave; t a It is the ultrasonic transmission duration (the duration from the air conditioner sending the second ultrasonic wave to the mobile device receiving the second ultrasonic wave, or the duration from the mobile device sending the third ultrasonic wave to the air conditioner receiving the third ultrasonic wave).

[0092] Step S160, the air conditioner determines the distance from the mobile device according to the ultrasonic transmission duration and ultrasonic propagation speed;

[0093] The product of the ultrasonic transmission time and the ultrasonic propagation speed is the distance between the mobile device and the air conditioner.

[0094] Step S170: determining the location of the mobile device based on the direction and the distance.

[0095] After determining the direction and distance of the mobile device relative to the air conditioner, the position of the mobile device can be determined. Optionally, the position can be specific to a coordinate point, such as taking the air conditioner as the origin, and the direction and distance determine the horizontal and vertical coordinates of the mobile device in the coordinate system.

[0096] Step S180: adjusting operating parameters according to the location of the mobile device and the environmental parameters sent by the mobile device.

[0097] The mobile device is equipped with temperature, humidity and millimeter wave radar sensors. The temperature and humidity sensors detect the temperature and humidity nearby and synchronize them to the air conditioner; the radar sensor can detect whether there is a person near the radar, and the person's activity status, including exercise, walking, sitting, and sleeping. The air conditioner can perform fixed-point comfort control on the location of the mobile device based on the temperature, humidity and human activity status near the mobile device. For example, according to the PMV thermal comfort model, the PMV of the human body near the mobile device is related to factors such as temperature, humidity, and human metabolic rate (related to human activity status). When the PMV value indicates that it is too hot, the air conditioner is controlled to lower the temperature and blow the wind to the area where the mobile device is located; conversely, when the PMV value shows that it is too cool, the air conditioner is controlled to increase the temperature and the air conditioner avoids the area where the mobile device is located to supply air, thereby achieving fixed-point comfort control of the person's location.

[0098] Optionally, in an embodiment of the present invention, in order to further improve the positioning accuracy of a mobile device, the frequency range of the ultrasonic wave sent by the air conditioner in accordance with the protocol of the mobile device associated with its communication, such as the first ultrasonic wave, the second ultrasonic wave and the third ultrasonic wave, are ultrasonic waves in a preset frequency range, and the frequencies of the first ultrasonic wave, the second ultrasonic wave and the third ultrasonic wave may be the same or different. In this way, the air conditioner may determine whether a mobile device that communicates and is linked to it needs to be positioned based on the frequency range of the first ultrasonic wave, so as to avoid the situation where the air conditioner mistakenly assumes that the position of other mobile devices is the position of the associated mobile device when other mobile devices send out ultrasonic waves, resulting in inaccurate air conditioning. Alternatively, the mobile device may feed back the third ultrasonic wave based on the frequency range of the second ultrasonic wave, so as to avoid sending out the third ultrasonic wave and affecting the positioning of other air conditioners.

[0099] In this embodiment, the mobile device performs voice interaction with the air conditioner by sending a first ultrasonic wave. When the air conditioner receives the first ultrasonic wave, it can determine the direction of the mobile device. Then the air conditioner sends a second ultrasonic wave to perform voice interaction with the mobile device. After receiving the second ultrasonic wave, the mobile device feeds back information to the air conditioner. In this way, the air conditioner can determine the ultrasonic wave transmission duration according to the feedback information of the mobile device. Then, according to the ultrasonic wave transmission duration and ultrasonic wave propagation speed, it can determine the distance from the mobile device. Then, based on the direction and the distance, it can determine the position of the mobile device. In this way, by sending ultrasonic waves to each other for positioning, it is possible to avoid the interference of ultrasonic waves reflected by other objects, improve the accuracy of the air conditioner positioning, and facilitate the air conditioner to perform position compensation based on the environmental parameters detected by the mobile device, so as to achieve fixed-point comfort control.

[0100] Second embodiment

[0101] Please refer to Figure 4 This embodiment is based on the first embodiment. The positioning method of the air conditioner and the mobile device proposed in this embodiment of the present invention includes the following steps:

[0102] Step S210, the mobile device sends a first ultrasonic wave;

[0103] Step S220, the air conditioner determines the direction of the mobile device;

[0104] Step S230, the air conditioner sends a second ultrasonic wave;

[0105] Step S240, the mobile device sends feedback information at a preset time interval;

[0106] Step S250, the air conditioner determines the ultrasonic transmission duration according to the feedback information from the mobile device;

[0107] Step S260: The air conditioner determines the distance from the mobile device according to the ultrasonic transmission duration and ultrasonic propagation speed.

[0108] This embodiment is the same as the first embodiment, except that this embodiment repeatedly calculates the direction or distance of the mobile device and determines the distance of the mobile device based on the average. That is, after step S260, this embodiment returns to execute and re-execute steps S230 to S260, or returns to execute and re-execute steps S220 to S260 to obtain the distances of multiple groups of mobile devices.

[0109] Step S270: determining the position of the mobile device according to the direction and the average of the multiple groups of distances.

[0110] The average of the multiple groups of distances is used as the distance between the mobile device and the air conditioner, and then the position of the mobile device is determined according to the distance and direction.

[0111] Step S280: adjusting operating parameters according to the location of the mobile device and the environmental parameters sent by the mobile device.

[0112] Optionally, in this embodiment, the specific implementation process of steps S210 to S260 and step S280 is the same as steps S110 to S160 and step S180 in the first embodiment. The specific process can refer to the first embodiment, and this embodiment will not repeat the limitation.

[0113] This embodiment can make the positioning accuracy of the mobile device higher.

[0114] The present invention also provides an air conditioner, comprising a memory, a processor, and a positioning program stored in the memory and executable on the processor, wherein the positioning program, when executed by the processor, implements the steps of the positioning method for the air conditioner and the mobile device as described above.

[0115] The present invention also provides a mobile device, which includes a memory, a processor, and a positioning program stored in the memory and executable on the processor. When the positioning program is executed by the processor, the steps of the positioning method for the air conditioner and the mobile device as described above are implemented.

[0116] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a positioning program, and when the positioning program is executed by a processor, the steps of the positioning method for an air conditioner and a mobile device as described above are implemented.

[0117] It should be noted that the above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for positioning an air conditioner and a mobile device, characterized in that: The method for positioning the air conditioner and the mobile device comprises the following steps: When receiving a first ultrasonic wave sent by a mobile device, determining the direction of the mobile device; Sending a second ultrasonic wave, and determining the ultrasonic wave transmission duration according to feedback information from the mobile device; Determining the distance from the mobile device according to the ultrasonic transmission duration and the ultrasonic propagation speed; A location of the mobile device is determined based on the direction and the distance.

2. The method for positioning an air conditioner and a mobile device according to claim 1, wherein: The step of sending a second ultrasonic wave and determining the ultrasonic wave transmission duration according to the feedback information of the mobile device comprises: Send the second ultrasonic wave and start timing; When the third ultrasonic wave sent by the mobile device is received, the timing ends and the total duration is obtained; The ultrasonic transmission duration is determined according to the total duration, and the feedback information includes the third ultrasonic wave.

3. The method for positioning an air conditioner and a mobile device as claimed in claim 2, characterized in that: The step of determining the ultrasonic transmission duration according to the total duration comprises: Determine a first duration according to the total duration and an interval duration between the mobile device sending the third ultrasonic wave after receiving the second ultrasonic wave; The ultrasonic wave propagation duration is calculated according to the first duration, where the first duration is the sum of the propagation duration of the second ultrasonic wave and the propagation duration of the third ultrasonic wave.

4. The method for positioning an air conditioner and a mobile device according to claim 1, wherein: When the first ultrasonic wave sent by the mobile device is received, the step of determining the direction of the mobile device includes: When receiving a first ultrasonic wave sent by the mobile device, determining a time difference between each microphone receiving the first ultrasonic wave; determining the angle of the sound wave source according to the time difference, the ultrasonic transmission speed, and the set distance between the microphones; A direction of the mobile device is determined based on the angle.

5. The method for positioning an air conditioner and a mobile device according to claim 1, wherein: Before the step of determining the position of the mobile device based on the direction and the distance, the method further includes: Returning to the step of sending the second ultrasonic wave and determining the ultrasonic wave transmission duration according to the feedback information of the mobile device, so as to obtain the distances of the multiple groups of mobile devices; The step of determining the position of the mobile device based on the direction and the distance comprises: The position of the mobile device is determined according to the direction and an average of multiple groups of the distances.

6. The method for positioning an air conditioner and a mobile device according to any one of claims 1 to 5, characterized in that: After the step of determining the position of the mobile device based on the direction and the distance, the method further includes: The operating parameters are adjusted according to the location of the mobile device and the environmental parameters sent by the mobile device.

7. A method for positioning an air conditioner and a mobile device, characterized in that: The method for positioning the air conditioner and the mobile device comprises the following steps: The mobile device sends a first ultrasonic wave; When a second ultrasonic wave is received, feedback information is sent at a preset time interval, wherein the second ultrasonic wave is sent when the air conditioner receives the first ultrasonic wave.

8. The method for positioning an air conditioner and a mobile device according to claim 7, wherein: The step of the mobile device sending a first ultrasonic wave comprises: When the mobile device detects a change in position, it sends the first ultrasonic wave.

9. An air conditioner, characterized in that: The air conditioner includes a memory, a processor, and a positioning program stored in the memory and executable on the processor. When the positioning program is executed by the processor, the steps of the positioning method for an air conditioner and a mobile device as described in any one of claims 1 to 6 are implemented.

10. A mobile device, characterized in that: The mobile device includes a memory, a processor, and a positioning program stored in the memory and executable on the processor. When the positioning program is executed by the processor, the steps of the positioning method for an air conditioner and a mobile device as described in any one of claims 7 to 8 are implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a positioning program, and when the positioning program is executed by a processor, the steps of the positioning method for an air conditioner and a mobile device as described in any one of claims 1 to 6, or any one of claims 7 to 8 are implemented.

Citation Information

Patent Citations

  • Air conditioner control method and system

    CN104791952A

  • Air conditioning control device, environmental setting terminal, air conditioning control method, and program

    CN111051784A

  • Positioning method and device, storage medium and electronic equipment

    CN115932862A

  • Ultrasound ranging for mobile devices

    US20140160880A1