Arrival angle estimation method and device, electronic equipment, system and readable storage medium
By determining the target antenna combination in the electronic device and combining the same-frequency and different-frequency antennas for AoA estimation, the problem of high ambiguity and low accuracy in AoA estimation in the existing technology is solved, and high-precision and low-cost arrival is achieved. Angle estimation.
Patent Information
- Application Number
- CN202310189669.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-08-23
AI Technical Summary
Existing electronic equipment has high ambiguity and low accuracy in the angle of arrival estimation (AoA estimation) process, which is mainly affected by signal bandwidth, signal strength and antenna structure.
By determining the appropriate target antenna combination in the electronic device, and combining the same-frequency antenna and the different-frequency antenna for AoA estimation, the target antenna combination is used to improve the estimation accuracy without the need to add additional same-frequency antennas, thus saving costs.
It improves the precision and accuracy of AoA estimation, reduces power consumption overhead, simplifies system design, and achieves efficient AoA estimation without adding co-frequency antennas.
Smart Images

Figure CN118540734A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of angle of arrival estimation, and in particular to an angle of arrival estimation method, device, electronic device, system and readable storage medium. Background Art
[0002] With the rapid development of wireless communication technology, electronic devices can estimate the angle of arrival (AoA) of received wireless signals, thereby determining the direction angle of the transmitting source of the wireless signal relative to the electronic device, and then realizing functions such as object search, positioning, and reverse positioning. However, in the AoA estimation process, affected by factors such as signal bandwidth, signal strength, and the structure of the antenna used for estimation (such as the number of antennas and equivalent antenna spacing), current electronic devices have the problem of high AoA estimation ambiguity and low accuracy. Summary of the invention
[0003] The present application provides an angle of arrival estimation method, device, electronic device, system and readable storage medium, which are used to solve the problem of high ambiguity and low accuracy of AoA estimation in the prior art.
[0004] In a first aspect, an embodiment of the present application provides an arrival angle estimation method, which is applied to a first device, the first device includes at least one same-frequency antenna and at least one different-frequency antenna, the method including: determining an arrival angle estimation scenario; determining a target antenna combination from an antenna set according to the arrival angle estimation scenario and a first mapping relationship; wherein the first mapping relationship includes a mapping relationship between the arrival angle estimation scenario and the antenna combination, the antenna set includes multiple different antenna combinations, and the antenna combination includes a combination of same-frequency antennas and different-frequency antennas; and using the target antenna combination to estimate the arrival angle of the wireless signal.
[0005] Through the arrival angle estimation method provided in the embodiment of the present application, the first device can determine the adapted target antenna combination according to the AoA estimation scenario, and use the target antenna combination to perform AoA estimation. Since the target antenna combination is adapted to the AoA estimation scenario, and at the same time utilizes the original same-frequency antenna of the electronic device in combination with the different-frequency antenna to increase the number of antennas for AoA estimation, the method not only has a high AoA estimation accuracy, but also does not require additional same-frequency antennas, is simple to implement, and can save the cost of electronic equipment.
[0006] In one possible implementation, the arrival angle estimation scenario includes: the device posture of the first device; and / or the device distance between the first device and the second device, wherein the second device is a wireless signal transmitting device; and / or the accuracy requirement of the first device for the arrival angle estimation.
[0007] In this embodiment, the first device may determine a suitable target antenna combination according to the device posture, device distance, and accuracy requirement factors of the first device, thereby improving the accuracy of AoA estimation.
[0008] In a possible implementation, the antenna combination includes a combination of a same-frequency antenna and a different-frequency antenna, including: the antenna combination includes a combination of at least two same-frequency antennas and at least one different-frequency antenna. The method improves the accuracy of AoA estimation by arranging more same-frequency antennas in the same-frequency and different-frequency antenna combination.
[0009] In a possible implementation, the antenna combination in the antenna set also includes a combination of multiple same-frequency antennas and / or a combination of multiple different-frequency antennas. Through the method provided in this embodiment, for some AoA estimation scenarios with low estimation accuracy requirements, the first device can also use a same-frequency antenna combination or a different-frequency antenna combination to perform AoA estimation.
[0010] In one possible implementation, a target antenna combination is determined from an antenna set according to an arrival angle estimation scenario and a first mapping relationship, including: determining K alternative antenna combinations from an antenna set according to an arrival angle estimation scenario and a first mapping relationship; when K=1, determining the alternative antenna combination as the target antenna combination; when K≥2, determining the target antenna combination from the K alternative antenna combinations according to the number of antennas of the alternative antenna combination and / or the arrival angle estimation accuracy.
[0011] In a possible implementation, when K≥2, the target antenna combination is determined from the K candidate antenna combinations according to the number of antennas of the antenna combination and / or the arrival angle estimation accuracy, including any one of the following methods:
[0012] When K ≥ 2, any one of the antenna combinations with the least number of antennas among the K candidate antenna combinations is determined as the target antenna combination. This method can reduce the power consumption of AoA estimation and alleviate the system burden.
[0013] When K≥2, any one of the K candidate antenna combinations with the highest arrival angle estimation accuracy is determined as the target antenna combination. This method can further improve the AoA estimation accuracy.
[0014] When K ≥ 2, the target antenna combination is comprehensively determined from the K candidate antenna combinations according to the number of antennas in the candidate antenna combination and / or the arrival angle estimation accuracy. This method can comprehensively consider power consumption and estimation accuracy to screen out a suitable target antenna combination.
[0015] In a possible implementation, determining K candidate antenna combinations from an antenna set according to an arrival angle estimation scenario and a first mapping relationship includes: determining available antennas; and determining K candidate antenna combinations from an antenna set according to the available antennas, the arrival angle estimation scenario and the first mapping relationship.
[0016] In one possible implementation, determining the available antennas includes: determining all antennas of the first device as available antennas; or, determining antennas in the first device that are not occupied by other applications as available antennas; or, determining the available antennas based on the priority of the arrival angle estimation application and the priority of other applications occupying the antennas.
[0017] In one possible implementation, the angle of arrival of a wireless signal is estimated using a target antenna combination, including: switching the antenna used for angle of arrival estimation to the target antenna combination; using the target antenna combination to receive the wireless signal to be estimated; and determining the angle of arrival of the wireless signal based on the phase difference of the wireless signal received by different antennas in the target antenna combination.
[0018] In a second aspect, an embodiment of the present application provides an arrival angle estimation device, which is applied to a first device, including a first communication module, a switching switch, at least one same-frequency antenna and at least one different-frequency antenna, and the first communication module can connect to the target antenna through the switching switch. The first communication module is configured to perform the following operations: determine the arrival angle estimation scenario; determine the target antenna combination from the antenna set according to the arrival angle estimation scenario and the first mapping relationship; wherein the first mapping relationship includes a mapping relationship between the arrival angle estimation scenario and the antenna combination, the antenna set includes a plurality of different antenna combinations, and the antenna combination includes a combination of same-frequency antennas and different-frequency antennas; connect the first communication module to each antenna in the target antenna combination through the switching switch; and use the target antenna combination to estimate the arrival angle of the wireless signal.
[0019] In one possible implementation, the arrival angle estimation scenario includes: the device posture of the first device; and / or, the device distance between the first device and the second device, wherein the second device is a wireless signal transmitting device; and / or, the accuracy requirement of the first device for the arrival angle estimation.
[0020] In a possible implementation, the antenna combination includes a combination of a same-frequency antenna and a different-frequency antenna, including: the antenna combination includes a combination of at least two same-frequency antennas and at least one different-frequency antenna.
[0021] In a possible implementation, the antenna combination further includes a combination of multiple same-frequency antennas and / or a combination of multiple different-frequency antennas.
[0022] In a possible implementation, the first communication module is configured to determine a target antenna combination from an antenna set according to an arrival angle estimation scenario and a first mapping relationship, including:
[0023] K candidate antenna combinations are determined from the antenna set according to the arrival angle estimation scenario and the first mapping relationship; when K=1, the candidate antenna combination is determined as the target antenna combination; when K≥2, the target antenna combination is determined from the K candidate antenna combinations according to the number of antennas and / or the arrival angle estimation accuracy of the alternative antenna combination.
[0024] In one possible implementation, the first communication module is configured to execute, when K≥2, determining a target antenna combination from K candidate antenna combinations based on the number of antennas and / or the arrival angle estimation accuracy of the antenna combination, including: when K≥2, determining any one of the K candidate antenna combinations with the least number of antennas as the target antenna combination; or, when K≥2, determining any one of the K candidate antenna combinations with the highest arrival angle estimation accuracy as the target antenna combination; or, when K≥2, comprehensively determining the target antenna combination from the K candidate antenna combinations based on the number of antennas and / or the arrival angle estimation accuracy of the candidate antenna combinations.
[0025] In one possible implementation, the first communication module is configured to execute determining K candidate antenna combinations from an antenna set based on an arrival angle estimation scenario and a first mapping relationship, including: determining available antennas; and determining K candidate antenna combinations from an antenna set based on the available antennas, the arrival angle estimation scenario and the first mapping relationship.
[0026] In one possible implementation, the first communication module is configured to execute determination of available antennas, including: determining all antennas of the first device as available antennas; or, determining antennas in the first device that are not occupied by other applications as available antennas; or, determining available antennas based on the priority of an angle of arrival estimation application and the priority of other applications occupying the antennas.
[0027] In one possible implementation, the first communication module is configured to execute the estimation of the arrival angle of the wireless signal using the target antenna combination, including: using the target antenna combination to receive the wireless signal to be estimated; determining the arrival angle of the wireless signal based on the phase difference of the wireless signal received by different antennas in the target antenna combination.
[0028] In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method shown in the first aspect and the various implementation methods of the first aspect.
[0029] In a fourth aspect, an embodiment of the present application provides an arrival angle estimation system, which includes a first device and a second device, the first device being configured to execute the method shown in the above-mentioned first aspect and various implementation methods of the first aspect, and the second device being used to transmit a wireless signal during the arrival angle estimation process.
[0030] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method shown in the first aspect and the various implementation methods of the first aspect.
[0031] In a sixth aspect, an embodiment of the present application provides a chip, the chip including a processor and a memory, the memory storing a computer program, and when the computer program is executed by the processor, the method shown in the first aspect and the various implementation methods of the first aspect is implemented.
[0032] In a seventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by an electronic device, the electronic device implements the method shown in the first aspect and the various implementation methods of the first aspect.
[0033] It can be understood that the beneficial effects of the second to seventh aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a schematic diagram of an AoA estimation system provided by an embodiment of the present application;
[0035] Figure 2 is a graph showing a corresponding relationship between an antenna return loss and a wireless signal frequency provided by an embodiment of the present application;
[0036] Figure 3 is an AoA estimation flow chart provided by an embodiment of the present application;
[0037] Figure 4 is a schematic diagram of AoA provided by an embodiment of the present application;
[0038] Figure 5A to Figure 5B Schematic diagram of equivalent antenna spacing of antennas under different device postures;
[0039] Figure 6 is a signal phase difference autocorrelation diagram provided by an embodiment of the present application;
[0040] Figure 7 is a signal phase difference autocorrelation diagram provided by another embodiment of the present application;
[0041] Figure 8is a schematic diagram of an AoA estimation system provided by another embodiment of the present application;
[0042] Fig. 9A is a schematic diagram of antenna connection of a first device in a non-AoA estimation process provided by an embodiment of the present application;
[0043] Fig. 9B is a schematic diagram of antenna connection of a first device in an AoA estimation process provided by another embodiment of the present application;
[0044] Fig.10 is a schematic diagram of a method for determining a first mapping relationship provided by an embodiment of the present application;
[0045] Fig.11 is a schematic diagram of Euler angles provided in an embodiment of the present application;
[0046] Fig.12 is a flow chart of an AoA estimation method provided by another embodiment of the present application;
[0047] Fig.13 is a schematic diagram of an AoA estimation device provided in an embodiment of the present application;
[0048] Fig.14 It is a schematic diagram of the structure of the chip provided in the embodiment of the present application. DETAILED DESCRIPTION
[0049] The technical solution provided in the embodiments of the present application is described below with reference to the accompanying drawings.
[0050] It should be understood that in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0051] In this embodiment, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0052] In recent years, with the rapid development of wireless communication technology, electronic devices can not only transmit various resource information (such as audio, video, pictures, etc.) through wireless signals, but also perform AoA estimation on the received wireless signals, thereby determining the direction angle of the transmitting source of the wireless signal relative to the electronic device. In this embodiment, AoA refers to the angle between the incoming wave direction of the wireless signal and a preset straight line in the electronic device.
[0053] Based on AoA estimation technology, electronic devices can realize multiple functions such as object finding, positioning, and reverse positioning. Among them, the object finding function is used to determine the direction of the target device relative to the electronic device. For example, when a user cannot find a smart watch at home, the mobile phone can perform AoA estimation on the wireless signal emitted by the smart watch to determine the direction of the smart watch relative to the mobile phone, thereby helping the user find the smart watch. The positioning function is used to combine AoA estimation and ranging technology to determine the specific position of the target device relative to the electronic device. The reverse positioning function is used to reversely determine the location information of the electronic device through AoA estimation and ranging technology when the location information of multiple wireless signal transmission sources is known.
[0054] Figure 1 is a schematic diagram of an AoA estimation system provided by an embodiment of the present application. Figure 1 As shown, the AoA estimation system includes a first electronic device (referred to as the first device) and a second electronic device (referred to as the second device), and the first device and the second device are connected via wireless communication technology.
[0055] In this embodiment, the electronic device can be a mobile phone, a tablet computer (Pad), a smart home device with wireless transceiver function (such as a smart TV, a smart speaker, a sweeping robot, an air conditioner, etc.), a computer with wireless transceiver function, a smart TV, a projector, a wearable device (such as a smart watch), a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA, a router, etc. The embodiment of the present application does not limit the specific type of the electronic device.
[0056] In addition, the wireless communication technology may be wireless fidelity (WiFi), traditional Bluetooth (BT), low energy Bluetooth (low energy Bluetooth) and ultra wide band (UWB), etc., and the embodiments of the present application do not limit this.
[0057] The second device is a terminal to be measured, and is used to transmit a wireless signal required for AoA estimation during the AoA estimation process, referred to as an estimation signal, such as a measurement frame, a beacon frame, etc. Exemplarily, the second device can transmit the estimation signal autonomously, or transmit the estimation signal according to the instruction of the first device.
[0058] The first device is a measurement terminal, including an antenna, a first communication module and a second communication module.
[0059] The antenna is used to receive the estimated signal during the wireless communication process. It should be understood that the same antenna may have different performance when receiving signals in different frequency bands (i.e., frequency ranges), such as different return losses (RL), depending on the different performance optimization designs of the antenna itself. Therefore, the operating frequency bands (i.e., the main signal frequency bands collected) of different antennas are usually different.
[0060] For example, Figure 2 It is a graph showing the relationship between the return loss of an antenna and the frequency band of the received wireless signal. Return loss refers to the ratio of the power reflected from the RF input signal to the power of the input signal. It is measured in dB and is a negative number. The lower the return loss value, the better the antenna performance. See Figure 2 It can be seen that when the frequency band of the wireless signal received by the antenna is around 4230MHz (megahertz), around 4700MHz or around 5200MHz in the range of 4100MHz to 5500MHz (megahertz), the return loss of the antenna is around -22dB, around -13dB or around -15dB, respectively, which are small values, and the antenna performance is good. When the frequency band of the wireless signal received by the antenna is less than 4100MHz, or greater than 5500MHz, the return loss of the antenna is greater than -6dB, which is a large value, and the antenna performance is poor, and the energy of the received wireless signal is not fully utilized. Therefore, the antenna is mainly used to receive wireless signals in the frequency band of 4100MHz to 5500MHz, that is, the working frequency band of the antenna is 4100MHz to 5500MHz.
[0061] Based on the above content, this embodiment divides the antenna into the same frequency antenna and the different frequency antenna according to whether the working frequency band of the antenna is basically the same as the frequency band of the estimated signal. Among them, the antenna whose working frequency band is basically the same as the frequency band of the estimated signal is the same frequency antenna; the antenna whose working frequency band is greatly different from the frequency band of the estimated signal is the different frequency antenna.
[0062] In this embodiment, since the frequency band of wireless signals such as WiFi, Bluetooth, and UWB used for AoA estimation is usually around 2400MHz, the working frequency band of the same-frequency antenna covers 2400MHz, and the working frequency band of the different-frequency antenna does not cover 2400MHz. In addition, since the performance of the different-frequency antenna is poor when receiving the estimated signal, during the AoA estimation process, the first device usually only uses the same-frequency antenna to receive the estimated signal instead of using the different-frequency antenna.
[0063] The first communication module is a wireless communication module for performing AoA estimation, such as a WiFi communication module, a Bluetooth communication module, or a UWB communication module. The first communication module is connected to and uses a same-frequency antenna, but generally has no right to use a different-frequency antenna. For example, during the AoA estimation process, according to the request of the AoA estimation application, the first communication module can call at least two same-frequency antennas to receive the estimation signal transmitted by the second device, and determine the arrival angle of the estimation signal according to the phase difference of the estimation signal received by different same-frequency antennas.
[0064] The second communication module is other wireless communication modules that are not related to AoA estimation, such as newradio (NR) communication module, long term evolution (LTE) communication module, global positioning system (GPS) communication module, etc. The second communication module connects and uses heterofrequency antennas, but usually has no use rights to the same frequency antenna. For example, during GPS positioning, the first device receives satellite signals through heterofrequency antennas to determine the location of the electronic device. For another example, during a 5G cellular call, the first device sends and receives call data through heterofrequency antennas.
[0065] In summary, in the AoA estimation system, the first device and the second device can work together to implement the AoA estimation function. The specific process of AoA estimation is exemplarily described below.
[0066] Figure 3 FIG. 1 is a schematic diagram of an AoA estimation process provided by an embodiment of the present application. For example, see Figure 3As shown, when the AoA estimation system performs AoA estimation, the first device first sends an AoA estimation request to the second device (S301). In response to the AoA estimation request, the second device sends an estimation signal to the first device (S302). The first device receives the estimation signal through at least two co-frequency antennas, and determines the phase difference of the estimation signals received by different co-frequency antennas (S303). The first device determines the AoA of the estimation signal based on the phase difference and the third mapping relationship between the phase difference and AoA (S304). It should be noted that the third mapping relationship between the phase difference and AoA is preset before the electronic device leaves the factory. Different models of electronic devices and different AoA antenna combinations usually have different corresponding third mapping relationships due to different antenna structures.
[0067] In S304, taking the case where the same-frequency antennas receiving the estimated signal in the first device include antenna 1 and antenna 2, if the phase of the estimated signal received by antenna 1 is φ ant1 , the phase of the estimated signal received by antenna 2 is φ ant2 , then the phase difference between the estimated signals received by antenna 1 and antenna 2 is φ ant1 -φ ant2 The first device is based on φ ant1 -φ ant2 And the third mapping relationship between the preset phase difference and AoA can determine the arrival angle θ of the estimated signal AoA . Exemplarily, the θ detected by the first device AoA like Figure 4 shown.
[0068] Of course, the first device can also calculate the estimated signal arrival angle θ by other means (such as by using the AoA calculation formula) AoA , this embodiment does not limit this.
[0069] In the AoA estimation process, the main factors affecting the estimation accuracy include signal bandwidth, signal strength, and the structure of the antenna used for estimation (such as the number of antennas, equivalent antenna spacing), etc.
[0070] It should be noted that in the antenna structure, the equivalent antenna spacing is not the straight-line distance between the antennas, but the distance between the plumb lines where the antennas are located. The plumb line refers to a straight line perpendicular to the horizontal plane. It is understandable that when the posture of the terminal device changes, the equivalent antenna spacing may change accordingly. For example, see Figure 5A As shown in FIG, when the mobile phone is in a "vertical screen upright" posture, the equivalent antenna spacing between antenna A and antenna B is d1. Figure 5B As shown, when the mobile phone is in a "horizontal screen upright" posture, the equivalent antenna spacing between antenna A and antenna B is d2, d1>d2.
[0071] Among the above-mentioned influencing factors, signal bandwidth and signal strength are greatly affected by the actual network environment, and terminal devices are usually unable to optimize them. Therefore, the antenna structure becomes a key factor in improving the accuracy of AoA estimation.
[0072] The following uses different examples to illustrate the impact of antenna structure on AoA estimation accuracy.
[0073] Example 1: When the number of estimated antennas = 2, the impact of different equivalent antenna spacings on AoA estimation accuracy.
[0074] Figure 6 (a) in the figure is the signal phase difference autocorrelation diagram when the number of estimated antennas = 2 and the equivalent antenna spacing d>λ / 2. λ is the wavelength of the estimated signal. The horizontal coordinate θ1 and the vertical coordinate θ2 of the signal phase difference autocorrelation diagram are both the AoA of the wireless signal. The color depth in the figure is used to indicate the degree of correlation of the signal phase difference under different AoA, where the darker the color, the lower the correlation, and the lighter the color, the higher the correlation. It can be seen that under this antenna structure, the boundary between the dark and light areas in the signal phase difference autocorrelation diagram is relatively blurred, affecting the accuracy of the AoA estimation. For example, when an electronic device detects the AoA of an estimated signal with an actual arrival angle of 50°, the AoA estimation result may be between 40° and 60°, with a large error range, resulting in inaccurate AoA estimation results.
[0075] Figure 6 (b) in the figure is the signal phase difference autocorrelation diagram when the number of estimated antennas = 2 and the equivalent antenna spacing d = λ / 2. It can be seen that under this antenna structure, although the equivalent antenna spacing is half the wavelength of the estimated signal (i.e., the ideal half wavelength), and the boundary between the dark area and the light area in the signal phase difference autocorrelation diagram is clear relative to when d>λ / 2, it is still relatively fuzzy, affecting the accuracy of AoA estimation. For example, when an electronic device estimates the AoA of an estimated signal with an actual arrival angle of 50°, the AoA estimation result may be between 45° and 55°, with a large error range, resulting in inaccurate AoA estimation results. In addition, within the arrival angle range of about 0 to 50° and 130° to 180°, one θ1 may correspond to multiple θ2s, that is, there is a situation where one arrival angle and multiple arrival angles have a high correlation, and there is also a situation where multiple AoA estimation results appear.
[0076] Figure 6(c) in the figure is the signal phase difference autocorrelation diagram when the number of estimated antennas = 2 and the equivalent antenna spacing d < λ / 2. It can be seen that the signal phase difference autocorrelation diagram includes multiple dark areas and light areas that appear in sequence, that is, there is a situation where one arrival angle and multiple arrival angles have a high correlation. This will cause the electronic device to have multiple AoA estimation results when estimating AoA. For example, when the electronic device detects the AoA of the estimated signal with an actual arrival angle of 50°, the AoA estimation result may include two values of 50° and 100°, resulting in inaccurate AoA estimation results.
[0077] It can be seen that, under the condition of a certain number of antennas, the closer the equivalent antenna spacing is to the ideal half-wavelength λ / 2, the more accurate the AoA estimation result is. However, due to the small number of estimated antennas, the accuracy of the AoA estimation result is still low.
[0078] Example 2: When the equivalent antenna spacing d = λ / 2, the impact of the number of estimated antennas on the AoA estimation accuracy.
[0079] Figure 7 (a) is a signal phase difference autocorrelation diagram when the number of estimated antennas = 2 and the equivalent antenna spacing d = λ / 2. Figure 7 (b) is the signal phase difference autocorrelation diagram when the number of estimated antennas = 3 and the equivalent antenna spacing d = λ / 2. Comparing the two diagrams, it can be seen that when the equivalent antenna spacing is constant, when the number of estimated antennas increases, the boundary between the dark and light areas in the signal phase difference autocorrelation diagram is relatively clear, and the area where one θ1 is highly correlated with multiple θ2s gradually decreases, and the AoA estimation accuracy gradually improves.
[0080] In summary, in the antenna structure, the closer the equivalent antenna spacing d of the estimated antenna is to the ideal half-wavelength λ / 2 and the greater the number of estimated antennas, the more accurate the AoA estimation result is.
[0081] Therefore, in order to improve the accuracy of AoA estimation, the same-frequency antennas are usually specially designed for the AoA estimation situation. For example, the equivalent antenna spacing between the same-frequency antennas is set to λ / 2 to reduce the repetition of the phase difference between the two antennas; or more same-frequency antennas (such as 3 or more same-frequency antennas) are configured for the electronic device to use more antennas for AoA estimation. However, as the posture of the electronic device changes, it is usually difficult to stably maintain the equivalent antenna spacing at the ideal half-wavelength λ / 2. Configuring more same-frequency antennas for electronic devices will not only increase the manufacturing cost of the terminal equipment, but also, due to the size of the electronic device, may encounter the problem of insufficient antenna placement space. In summary, it can be seen that it is very difficult to improve the accuracy of AoA estimation by improving the antenna structure of electronic equipment. At present, electronic devices still have the problem of high AoA estimation ambiguity and low accuracy.
[0082] To this end, an embodiment of the present application provides an AoA estimation method, which can utilize the existing antenna design of the electronic device and combine the same-frequency antenna and the different-frequency antenna to perform AoA estimation, thereby improving the accuracy of AoA estimation while saving the manufacturing cost of the electronic device.
[0083] Figure 8 is a schematic diagram of an AoA estimation system provided by another embodiment of the present application. Figure 1 The same as the AoA estimation system shown is that the AoA estimation system also includes a first device and a second device capable of wireless communication, and the first device also includes an antenna, a first communication module and a second communication module. For details, please refer to the above description, which will not be repeated in this embodiment. Figure 1 The difference of the AoA estimation system shown is that, in this embodiment, the first communication module and the second communication module are connected to the corresponding antenna through a switching switch, and the switching switch can control the first communication module and the second communication module to connect to the target antenna according to the instruction of the first device. It should be noted that in the AoA estimation process, the first communication module has the right to use both the same-frequency antenna and the different-frequency antenna; while the second communication module only has the right to use the different-frequency antenna, or has the right to use both the same-frequency antenna and the different-frequency antenna.
[0084] For example, the antennas of the first device include antennas 1 to 6, where antennas 1 to 2 are same-frequency antennas and antennas 3 to 6 are different-frequency antennas. Fig. 9A As shown, in the non-AoA estimation process, the first device usually controls the first communication module to connect the same-frequency antenna 1 and the same-frequency antenna 2 through a switching switch to perform wireless communication, such as transmitting files through Bluetooth, downloading audio and video through WiFi, etc. When the first device enters the AoA estimation process, see Fig. 9B As shown, the first device can control the first communication module to simultaneously connect the same-frequency antenna 1, the same-frequency antenna 2, the different-frequency antenna 3 and the different-frequency antenna 4 through a switching switch to perform AoA estimation.
[0085] Based on the AoA estimation system provided in this embodiment, during the AoA estimation process, the first device can search for a preset first mapping relationship according to its own AoA estimation scenario (e.g., the device posture of the first device, the device distance between the first device and the second device, the accuracy requirement of the first device for AoA estimation, etc.) to determine a target antenna combination adapted to the AoA estimation scenario. Since the target antenna combination includes at least three antennas, and includes both same-frequency antennas and different-frequency antennas, the AoA estimation process not only has a high AoA estimation accuracy, but also does not require additional same-frequency antennas, is simple to implement, and can save the cost of electronic equipment.
[0086] The AoA estimation method provided in the embodiment of the present application is specifically described below in combination with two aspects: (i) determination of the first mapping relationship and (ii) AoA estimation process.
[0087] (I) Determination of the First Mapping Relationship
[0088] In this embodiment, the first mapping relationship includes a corresponding relationship between an AoA estimation scenario and an antenna combination. The AoA estimation scenario includes a device posture, and may also include a device distance and an AoA estimation accuracy.
[0089] Since the AoA estimation method provided in this embodiment combines the existing same-frequency antenna and different-frequency antenna to improve the AoA estimation accuracy without changing the original antenna structure design of the electronic device, before actual use, it is necessary to traverse and test all antenna combinations according to different AoA estimation scenarios (including different device postures, different device distances, etc.), and establish a first mapping relationship between device posture, device distance, antenna combination and AoA estimation accuracy, so that in actual use, a suitable target antenna combination can be determined according to the first mapping relationship, and the target antenna combination can be used for AoA estimation.
[0090] The first mapping relationship is usually determined in a laboratory environment, and the determination process involves a first test device and a second test device. The first test device is a device of the same model as the first device, which can be the first device itself or another device. The second test device can be any device that can transmit wireless signals. During the test, the second test device transmits an estimated signal, such as a beacon frame, a measurement frame, etc. The first test device uses different antenna combinations to receive the estimated signal transmitted by the second test device under different device postures and different device distances, and determines the AoA estimation accuracy based on the received estimated signal, thereby establishing the first mapping relationship.
[0091] In one possible implementation, in order to improve the accuracy of AoA estimation and reduce the difficulty of developing AoA estimation applications, developers can preset a posture set, a distance set, and an antenna set in the first test device. The posture set includes different device postures. The distance set includes different device distances. The antenna set includes different antenna combinations. Based on this, the first test device can select different combination modes of device postures, device distances, and antenna combinations from these three sets to perform AoA estimation in the process of determining the first mapping relationship, determine the AoA estimation accuracy in the combination mode, and thus establish the first mapping relationship.
[0092] Of course, the above-mentioned posture set, distance set and / or antenna set may not be preset in the first test device. Instead, during the test process, the first test device randomly or according to certain rules selects device postures, device distances and antenna combinations in different combination modes to perform AoA estimation. This embodiment does not limit this.
[0093] Fig.10 1 is a schematic diagram of a method for determining a first mapping relationship provided by an embodiment of the present application. The method involves a process in which a first test device, when a posture set, a distance set, and an antenna set are preset, cyclically performs AoA estimation in different scenarios to determine a first mapping relationship. The method specifically includes the following steps S1001 to S1006.
[0094] S1001: A first test device determines an untraversed device posture from a posture set and maintains the device posture.
[0095] Since a plurality of different device postures are stored in the posture set, the first device needs to traverse each device posture in the posture set one by one to ensure the comprehensiveness of the first mapping relationship. The first test device traverses the device posture, which means that different antenna combinations are used to perform AoA estimation under the device posture, and determine the AoA estimation accuracy.
[0096] In some embodiments, the device posture includes "vertical screen upright", "vertical screen horizontal", "landscape screen horizontal" and "landscape screen upright". Among them, "vertical screen upright" means that the electronic device displays the picture in a vertical screen mode, and the screen of the electronic device is basically perpendicular to the horizontal plane, such as the angle with the horizontal plane is about 90°. "Vertical screen horizontal" means that the electronic device displays the picture in a vertical screen mode, and the screen of the electronic device is basically parallel to the horizontal plane, such as the angle with the horizontal plane is about 0°. "Landscape screen upright" means that the electronic device displays the picture in a horizontal screen mode, and the screen of the electronic device is basically perpendicular to the horizontal plane, such as the angle with the horizontal plane is about 90°. "Landscape screen horizontal" means that the electronic device displays the picture in a horizontal screen mode, and the screen of the electronic device is basically parallel to the horizontal plane, such as the angle with the horizontal plane is about 0°. The first test device can determine its device posture according to the picture display mode (such as horizontal screen or vertical screen) and the angle between the screen of the first test device and the horizontal plane.
[0097] In some other embodiments, the device posture comprises Euler angles. Fig.11As shown, the Euler angle refers to the rotation angle of an object around the X-axis, Y-axis and Z-axis in the Euler coordinate system. Among them, the angle of rotation of the object around the X-axis is called the pitch angle, the angle of rotation of the object around the Y-axis is called the yaw angle, and the angle of rotation of the object around the Z-axis is called the roll angle. Therefore, the first device can use Euler angles to represent its own device posture. It should be noted that the Euler coordinate system is usually a preset coordinate system in electronic devices, and the Euler coordinate systems of electronic devices of the same model are the same.
[0098] Understandably, see Figure 5A and Figure 5B As shown, when the posture of the electronic device is different, the equivalent antenna spacing between the same antennas may change, thereby affecting the accuracy of AoA estimation.
[0099] For example, the device postures in the posture set include "vertical screen upright", "vertical screen horizontal", "landscape screen horizontal" and "landscape screen upright". If the first test device has completed the AoA estimation accuracy determination under different device distances and antenna combinations in the device postures of "vertical screen upright" and "vertical screen horizontal", then "vertical screen upright" and "vertical screen horizontal" are traversed device postures, and "landscape screen horizontal" and "landscape screen upright" are untraversed device postures. The first test device selects one device posture from "landscape screen horizontal" and "landscape screen upright" to perform subsequent steps.
[0100] S1002: The first test device determines an untraversed device distance in the distance set, and maintains the distance between the first test device and the second test device equal to the device distance.
[0101] Depending on the placement of the first test device and the second test device, there may be countless situations for the device distance. Therefore, in the test process of the first mapping relationship, in order to improve the test speed and accuracy, the AoA estimation accuracy corresponding to a specific distance can be used to characterize the AoA estimation accuracy within a distance range including the specific distance. For example, the device distances in the distance set can be set to 1m, 5m, and 10m, and the AoA estimation accuracy corresponding to 1m is used to represent the AoA estimation accuracy within the range of D≤4m; the AoA estimation accuracy corresponding to 5m is used to represent the AoA estimation accuracy within the range of 4m<D≤8m; and the AoA estimation accuracy corresponding to 10m is used to represent the AoA estimation accuracy within the range of D>8m.
[0102] Since multiple different device distances are stored in the distance set, the first device needs to traverse each device distance in the distance set one by one under the selected device posture to ensure the comprehensiveness of the first mapping relationship. Among them, the first test device traversing the device distance means using different antenna combinations to perform AoA estimation at the device distance and determine the AoA estimation accuracy. Take the example that the device distances in the distance set include 1m, 5m and 10m. If the first test device has completed the AoA estimation accuracy determination of different antenna combinations at device distances of 1m and 5m, then 1m and 5m are the traversed device distances, and 10m is the untraversed device distance. The first test device needs to select a device distance of 10m to perform subsequent steps.
[0103] S1003: The first test device determines the AoA estimation accuracy of each antenna combination in the antenna set under the selected device posture and device distance.
[0104] The antenna set provided in this embodiment includes a plurality of different antenna combinations, the total number of antennas in the antenna combination is at least two (for example, three, four or five, etc.), and the antenna combination includes at least a combination of same-frequency antennas and different-frequency antennas. In addition, it may also include a combination of multiple same-frequency antennas and / or a combination of multiple different-frequency antennas, which is not limited in this embodiment.
[0105] It should be noted that the differences in the antenna combinations may specifically include: a difference in the total number of antennas, a difference in the type of antennas, and a difference in the number of different types of antennas. The antenna types include same-frequency antennas and different-frequency antennas.
[0106] The following describes in detail various antenna combinations.
[0107] (1) Combination of same-frequency antenna + different-frequency antenna
[0108] In this embodiment, the antenna combination that satisfies the same-frequency antenna + different-frequency antenna combination form is called the same-frequency antenna combination. In other words, the same-frequency antenna combination includes both the same-frequency antenna and the different-frequency antenna, and the total number of antennas is at least two.
[0109] Taking the example that the antennas of the first test equipment include antenna 1 to antenna 6 (which can be represented by A1 to A6 respectively), and antenna 1 to antenna 2 are same-frequency antennas, antenna 3 to antenna 6 are different-frequency antennas, and each antenna combination includes at least two same-frequency antennas and one different-frequency antenna, the specific combination of the same-frequency and different-frequency antenna combinations can be shown in Table 1-1.
[0110] Table 1-1 Combinations of antennas with the same or different frequencies
[0111]
[0112]
[0113] Of course, although not shown in Table 1-1, the same-frequency and different-frequency antenna combinations can also be dual-antenna combinations such as A1+A3, A1+A4, A2+A6, etc., and this embodiment does not limit this.
[0114] (2) Same-frequency antenna combination
[0115] In this embodiment, an antenna combination that satisfies the combination form of multiple same-frequency antennas is called a same-frequency antenna combination. In other words, the same-frequency antenna combination does not include different-frequency antennas, and the number of same-frequency antennas is at least two. Taking the example that the antennas of the first test device include antennas 1 to 6, and antennas 1 to 2 are same-frequency antennas, and antennas 3 to 6 are different-frequency antennas, the specific combination of the same-frequency antenna combination in this embodiment can be shown in Table 1-2.
[0116] Table 1-2 Combinations of antennas with the same frequency
[0117] Antenna combination antenna Antenna combination 16 A1, A2
[0118] (3) Heterogeneous frequency antenna combination
[0119] In this embodiment, an antenna combination that satisfies the form of multiple hetero-frequency antenna combinations is called a hetero-frequency antenna combination. The hetero-frequency antenna combination does not include a same-frequency antenna, and the number of hetero-frequency antennas is at least two.
[0120] The hetero-frequency antenna combination only includes hetero-frequency antennas, and the number of hetero-frequency antennas is at least two. The antennas of the first test device include antennas 1 to 6, and antennas 1 to 2 are same-frequency antennas, and antennas 3 to 6 are hetero-frequency antennas. The specific combination form of the hetero-frequency antenna combination in this embodiment can be shown in Table 1-3.
[0121] Table 1-3 Combinations of different frequency antennas
[0122]
[0123]
[0124] Based on the above description, it can be seen that since the total number of antennas (including same-frequency antennas and different-frequency antennas) of electronic devices is usually large, there are many possible antenna combinations. In order to reduce the test complexity of the first mapping relationship and improve the AoA estimation accuracy when the first mapping relationship is actually used after the test is completed, the tester can preset some suitable antenna combinations in the antenna set, that is, the antenna set includes a part of all antenna combinations of the first test device. Of course, the antenna combination can also include all antenna combinations of the first test device, and this embodiment does not limit this.
[0125] In some embodiments, based on the consideration of improving the AoA estimation accuracy by increasing the number of antennas, the tester may select an antenna combination with a large number of same-frequency antennas and a large total number of antennas, such as an antenna combination including at least two same-frequency antennas and a total number of antennas of at least three. Exemplarily, the antenna set may include the above-mentioned antenna combination 1 to antenna combination 15.
[0126] In other embodiments, the antenna assembly may include at least one same-frequency antenna assembly, such as the antenna assembly 16, in addition to including multiple same-frequency and different-frequency antenna assemblies. In addition, the antenna assembly may include at least one different-frequency antenna assembly, such as the antenna assembly 23 to the antenna assembly 27.
[0127] Since the antenna set includes multiple different antenna combinations, in order to determine the AoA estimation accuracy of all antenna combinations under the selected device posture and device distance, the first test device needs to traverse the antenna combinations one by one. That is, under the selected device posture and device distance, use each antenna combination to perform AoA estimation and determine the AoA estimation accuracy.
[0128] In some embodiments, since the relative position information between the first test device and the second test device is known, the actual AoA value of the wireless signal of the second test device is known. The first test device can determine the AoA estimation accuracy of the antenna combination based on the difference between the AoA estimation value and the AoA actual value. Exemplarily, if the difference between the AoA estimation value and the AoA actual value is less than 5°, the estimation accuracy of the antenna combination is considered to be "high accuracy"; if the difference between the AoA estimation value and the AoA actual value is between [5°, 10°], the estimation accuracy of the antenna combination is considered to be "medium accuracy"; if the difference between the AoA estimation value and the AoA actual value is greater than 10°, the accuracy of the antenna combination is considered to be "ordinary accuracy".
[0129] S1004: The first test device determines whether all device distances in the distance set have been traversed. If yes, execute S1005. If no, return to S1002.
[0130] It can be understood that, through this cyclic process, in each selected device posture, the first test device can detect the AoA estimation accuracy of each antenna combination at different device distances.
[0131] S1005, the first test device determines whether all device postures in the posture set have been traversed. If yes, execute S1006, if no, return to S1001.
[0132] It can be understood that, through this loop process, the first test device can traverse all device postures, thereby determining the AoA estimation accuracy of each antenna combination at different device distances under all device postures.
[0133] S1006: The first test device generates a first mapping relationship between device posture, device distance, antenna combination, and AoA estimation accuracy.
[0134] In this embodiment, illustratively, the first mapping relationship determined by the first testing device may be as shown in Table 2.
[0135] Table 2 The first mapping relationship
[0136]
[0137]
[0138] It should be understood that, since the antenna structures (eg, antenna data, equivalent antenna spacing, etc.) of different types of first test devices are usually different, the first mapping relationships determined by different types of first test devices are usually different.
[0139] The first device may preset the first mapping relationship corresponding to its model before leaving the factory, or may download the first mapping relationship corresponding to its model from the cloud server according to user operation. After the first device has the first mapping relationship, the AoA estimation method provided in the embodiment of the present application may be used to perform AoA estimation. The details are as follows.
[0140] (II) AoA estimation process
[0141] Fig.12 is a flow chart of an AoA estimation method provided by another embodiment of the present application. Fig.12 As shown, the method includes the following steps S1201 to S1204.
[0142] S1201: The first device determines an available antenna.
[0143] Various communication applications in the first device (such as AoA estimation applications, audio and video playback applications, instant messaging applications, GPS positioning applications, cellular call applications, etc.) all need to occupy antennas to receive / send wireless signals. When the first device performs AoA estimation, part of the antenna may have been occupied by other applications. Therefore, the first device needs to first determine the antennas that can be called by the AoA estimation application, that is, the available antennas.
[0144] In some embodiments, the first device may determine all antennas as available antennas.
[0145] In other embodiments, if a portion of antennas are occupied when the first device is performing AoA estimation, all unoccupied antennas are determined as available antennas. Taking the first device including antennas 1 to 6 as an example, when the first device is performing AoA estimation, if antennas 3 and 6 are occupied by other applications, the first device determines antennas 1, 2, 4, and 6 as available antennas.
[0146] In some other embodiments, the first device may configure priorities for the AoA estimation application and other applications, and determine the available antennas for AoA estimation according to the priorities of each application. Taking the first device including antennas 1 to 6 as an example, when the first device performs AoA estimation, if only the first application occupies antenna 3, other antennas are not occupied, and the priority of the first application is higher than or equal to the AoA estimation application, then the available antennas for AoA estimation include antennas 1 to 2, and antennas 4 to 6. If only the first application occupies antenna 3, but the priority of the first application is lower than that of the AoA estimation application, it is determined that the available antennas for AoA estimation include antennas 1 to 6.
[0147] S1202: The first device determines an AoA estimation scenario.
[0148] In this embodiment, the AoA estimation scenario includes the device posture of the first device. Optionally, the AoA estimation scenario also includes the accuracy requirement of the first device for AoA estimation, and / or the device distance between the first device and the second device.
[0149] Regarding the device posture of the first device, the first device can determine its device posture according to the screen display mode (such as horizontal screen or vertical screen) and the angle between the screen of the first device and the horizontal plane. Alternatively, the first device can determine its device posture according to the Euler angle. In some implementations, the first device needs to perform AoA estimation in a preset device posture, such as "vertical screen upright", "horizontal screen upright", "vertical screen horizontal" or "horizontal screen horizontal" in the first mapping relationship. In some other implementations, the first device can perform AoA estimation in any posture.
[0150] Regarding the accuracy requirements of AoA estimation, different AoA estimation applications have different accuracy requirements for AoA estimation. For example, some positioning applications need to use arrows to accurately indicate the position of the second device relative to the first device, so the requirements for the accuracy of AoA estimation are relatively high, such as "high accuracy". For another example, some applications (such as left and right channel recognition applications) only need to determine the approximate position of the second device, such as determining whether the second device is located on the left or right side of the first device, then the application has a lower accuracy requirement for AoA estimation, such as "normal accuracy". The first device can obtain the accuracy requirements for AoA estimation from the preset configuration of the AoA estimation application. In addition, the first device can also determine the accuracy requirements for AoA estimation based on user settings, which is not limited in this embodiment.
[0151] Regarding the device distance between the first device and the second device, illustratively, the first device can measure the distance between the first device and the second device by wireless ranging methods such as WiFi ranging, Bluetooth ranging, ultrasonic ranging, UWB ranging, etc. Alternatively, the first device can roughly estimate the distance between the first device and the second device based on the signal strength of the second device.
[0152] It should be noted that when estimating the distance between the first device and the second device by signal strength, the first device needs to pre-store a second mapping relationship between signal strength and distance. The signal strength refers to the strength of the wireless signal when the first device receives the wireless signal sent by the second device. It should be understood that as the energy of the wireless signal decays during the transmission process, the greater the distance between the first device and the second device, the lower the strength of the wireless signal received by the first device. Therefore, the distance between the first device and the second device can be roughly judged based on the signal strength of the second device.
[0153] In an example, the second mapping relationship between the signal strength of the wireless signal and the distance can be as shown in Table 3, that is, when the signal strength is less than -80dBm (decibel meter), the distance between the first device and the second device is a long distance (such as D>8m); when the signal strength is (-80dBm, -60dBm], the distance between the first device and the second device is a medium distance (such as 4m<D≤8m); when the signal strength is (-60dBm, -40dBm], the distance between the first device and the second device is a short distance (such as D≤4m).
[0154] Table 3 Second mapping relationship
[0155]
[0156] S1203: The first device determines a target antenna combination for AoA estimation from an antenna set according to an AoA estimation scenario and a preset first mapping relationship, where the antenna set includes a same-frequency and different-frequency antenna combination.
[0157] For the specific content of the antenna set, please refer to the previous description, which will not be repeated here in this embodiment.
[0158] Since the AoA estimation scenario includes the device posture of the first device; and / or the device distance between the first device and the second device, where the second device is a wireless signal transmitting device; and / or the accuracy requirement of the first device for the arrival angle estimation. Therefore, in S1203, the first device specifically searches and determines a suitable target antenna combination in the first mapping relationship according to one or more of the above-mentioned device posture, device distance and accuracy requirement.
[0159] It should be noted that when the first device determines the target antenna combination according to the AoA estimation accuracy, if the AoA estimation accuracy of the antenna combination is higher than or equal to the accuracy requirement of the AoA estimation application, it is considered that the AoA estimation accuracy meets the condition. For example, when the accuracy requirement of the AoA estimation application is "normal accuracy", "normal accuracy", "medium accuracy" and "high accuracy" all meet the accuracy requirement of the AoA estimation application.
[0160] In some embodiments of S1203, the first device may first determine K candidate antenna combinations from the antenna set according to the arrival angle estimation scenario (such as one or more of the device attitude, device distance, and accuracy requirements) and the first mapping relationship. In the same arrival angle estimation scenario, there may be one or more antenna combinations that meet the requirements, so the first device also needs to determine a target antenna combination from the K candidate antenna combinations.
[0161] When K=1, the first device determines the candidate antenna combination as the target antenna combination.
[0162] When K≥2, the first device determines the target antenna combination from the K candidate antenna combinations according to the number of antennas and / or the arrival angle estimation accuracy of the candidate antenna combination. For example, any one of the antenna combinations with the least number of antennas in the K candidate antenna combinations is determined as the target antenna combination to reduce the power consumption overhead of AoA estimation and reduce the system burden. Alternatively, any one of the antenna combinations with the highest arrival angle estimation accuracy in the K candidate antenna combinations is determined as the target antenna combination, thereby further improving the AoA estimation accuracy. Alternatively, according to the number of antennas and / or the arrival angle estimation accuracy of the candidate antenna combination, the target antenna combination is determined from the K candidate antenna combinations, thereby comprehensively considering the power consumption overhead and estimation accuracy to screen out a suitable target antenna combination.
[0163] Of course, the first device can also select any one of the K candidate antenna combinations as the target antenna combination, and this embodiment does not limit this. For example, in combination with the first mapping relationship shown in Table 2, when the device posture of the first device is "vertical screen upright", the distance from the second device is a long distance (such as 12m), and the accuracy requirement of the AoA estimation is "medium accuracy", according to the first mapping relationship shown in Table 2, it can be determined that the antenna combinations that meet the conditions include antenna combination 15 and antenna combination 16. Therefore, any one of antenna combination 15 and antenna combination 16 can be determined as the target antenna combination.
[0164] It should be noted that the target antenna combination may be in different forms depending on the antenna set. For example, when the antenna set only includes the same-frequency and different-frequency antenna combinations, the target antenna combination is the same-frequency and different-frequency antenna combination. When the antenna set includes not only the same-frequency and different-frequency antenna combinations, but also the same-frequency antenna combination and different-frequency antenna combination, the target antenna combination may be the same-frequency and different-frequency antenna combination, the same-frequency antenna combination, or the different-frequency antenna combination.
[0165] S1204: The first device estimates the AoA of the wireless signal transmitted by the second device using the target antenna combination.
[0166] In this embodiment, the first device implements the function of estimating the AoA of the wireless signal transmitted by the second device using the target antenna combination through the first communication module. In one example, the first communication module first controls the connection of each antenna in the target antenna combination through a switching switch. Taking the target antenna combination including the same-frequency antenna 1, the same-frequency antenna 2 and the different-frequency antenna 4 as an example, the first communication module needs to control the simultaneous connection of the same-frequency antenna 1, the same-frequency antenna 2 and the different-frequency antenna 4 through the switching switch. Secondly, the first communication module uses the target antenna combination to receive the estimated signal transmitted by the second device, and determines the phase difference of the estimated signal received by different antennas. Subsequently, since the first communication module is preset with a third mapping relationship between the phase difference and the angle of arrival of different antenna combinations, the first communication module also needs to determine the third mapping relationship corresponding to the target antenna combination. Finally, the first communication module searches for the corresponding AoA from the third mapping relationship according to the phase difference.
[0167] Through the arrival angle estimation method provided in the embodiment of the present application, the first device can determine the adapted target antenna combination according to the AoA estimation scenario (such as the device posture, device distance, accuracy requirements, etc. during the AoA estimation process), and use the target antenna combination to perform AoA estimation. Since the target antenna combination is adapted to the AoA estimation scenario, and at the same time utilizes the original same-frequency antenna of the electronic device in combination with the different-frequency antenna to increase the number of antennas for AoA estimation, the method not only has a high AoA estimation accuracy, but also does not require additional same-frequency antennas, is simple to implement, and can save the cost of electronic equipment.
[0168] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0169] Based on the same concept, as an implementation of the above method, an embodiment of the present application provides a resource information sharing device, and the device embodiment corresponds to the above method embodiment. For ease of reading, the present device embodiment will no longer repeat the details of the above method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the above method embodiment.
[0170] Fig.13 It is a schematic diagram of an AoA estimation device provided by an embodiment of the present application, the device includes a first communication module, a switching switch, at least one same-frequency antenna and at least one different-frequency antenna, and the first communication module can be connected to the target antenna through the switching switch.
[0171] Specifically, the first communication module is configured to perform the following operations: determine an arrival angle estimation scenario; determine a target antenna combination from an antenna set according to the arrival angle estimation scenario and a first mapping relationship; wherein the first mapping relationship includes a mapping relationship between the arrival angle estimation scenario and the antenna combination, the antenna set includes a plurality of different antenna combinations, and the antenna combination includes a combination of same-frequency antennas and different-frequency antennas; connect the first communication module to each antenna in the target antenna combination by switching a switch; and use the target antenna combination to estimate the arrival angle of the wireless signal.
[0172] An embodiment of the present application also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the AoA estimation method shown in the above embodiments is implemented.
[0173] The present application also provides a chip, see Fig.14 As shown, the chip includes a processor and a memory, in which a computer program is stored. When the computer program is executed by the processor, the AoA estimation method in the above embodiments is implemented.
[0174] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the AoA estimation method provided in the above embodiments is implemented.
[0175] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by an electronic device, the electronic device implements the AoA estimation method provided in the above embodiments.
[0176] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0177] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0178] In the embodiments provided in the present application, the division of each framework or module is only a logical function division. There may be other division methods in actual implementation. For example, multiple frameworks or modules can be combined or integrated into another system, or some features can be ignored or not executed.
[0179] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0180] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0181] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0182] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for estimating an angle of arrival, characterized in that: Applied to a first device, the first device includes at least one same-frequency antenna and at least one different-frequency antenna, and the method includes: Determine the arrival angle estimation scenario; Determine a target antenna combination from an antenna set according to the angle of arrival estimation scenario and a first mapping relationship; wherein the first mapping relationship includes a mapping relationship between the angle of arrival estimation scenario and an antenna combination, the antenna set includes a plurality of different antenna combinations, and the antenna combination includes a combination of same-frequency antennas and different-frequency antennas; The arrival angle of the wireless signal is estimated using the target antenna combination.
2. The method according to claim 1, characterized in that The arrival angle estimation scenario includes: The device posture of the first device; and / or, a device distance between the first device and a second device, wherein the second device is a transmitting device of the wireless signal; and / or, The first device has accuracy requirements for angle of arrival estimation.
3. The method according to claim 1 or 2, characterized in that: The antenna combination includes a combination of a same-frequency antenna and a different-frequency antenna, including: The antenna combination includes a combination of at least two of the same-frequency antennas and at least one of the different-frequency antennas.
4. The method according to any one of claims 1 to 3, characterized in that: The antenna combination also includes a combination of multiple same-frequency antennas and / or a combination of multiple different-frequency antennas.
5. The method according to any one of claims 1 to 4, characterized in that: The determining a target antenna combination from an antenna set according to the arrival angle estimation scenario and a first mapping relationship includes: Determine K candidate antenna combinations from the antenna set according to the arrival angle estimation scenario and the first mapping relationship; When K=1, determining the candidate antenna combination as the target antenna combination; When K≥2, a target antenna combination is determined from the K candidate antenna combinations according to the number of antennas and / or the arrival angle estimation accuracy of the candidate antenna combinations.
6. The method according to claim 5, characterized in that When K≥2, determining a target antenna combination from the K candidate antenna combinations according to the number of antennas and / or the arrival angle estimation accuracy of the antenna combination includes: When K≥2, any one of the antenna combinations with the least number of antennas among the K candidate antenna combinations is determined as the target antenna combination; or, When K≥2, any one of the antenna combinations with the highest arrival angle estimation accuracy among the K candidate antenna combinations is determined as the target antenna combination; or, When K≥2, the target antenna combination is comprehensively determined from the K candidate antenna combinations according to the number of antennas and / or the arrival angle estimation accuracy of the candidate antenna combinations.
7. The method according to claim 5 or 6, characterized in that: The determining K candidate antenna combinations from the antenna set according to the arrival angle estimation scenario and the first mapping relationship includes: Determine available antennas; According to the available antennas, the arrival angle estimation scenario and the first mapping relationship, K candidate antenna combinations are determined from the antenna set.
8. The method according to claim 7, characterized in that The determining of available antennas comprises: determining all antennas of the first device as the available antennas; or, Determine an antenna in the first device that is not occupied by other applications as the available antenna; or, The available antenna is determined according to the priority of the arrival angle estimation application and the priority of other applications occupying the antenna.
9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: estimating an angle of arrival of a wireless signal using the target antenna combination, comprising: Switching the antenna used for arrival angle estimation to the target antenna combination; Using the target antenna combination to receive the wireless signal to be estimated; The arrival angle of the wireless signal is determined according to the phase difference of the wireless signal received by different antennas in the target antenna combination.
10. An arrival angle estimation device, applied to a first device, characterized in that: The device comprises a first communication module, a switching switch, at least one same-frequency antenna and at least one different-frequency antenna, wherein the first communication module can be connected to a target antenna through the switching switch; and the first communication module is configured to perform the following operations: Determine the arrival angle estimation scenario; Determine a target antenna combination from an antenna set according to the angle of arrival estimation scenario and a first mapping relationship; wherein the first mapping relationship includes a mapping relationship between the angle of arrival estimation scenario and an antenna combination, the antenna set includes a plurality of different antenna combinations, and the antenna combination includes a combination of same-frequency antennas and different-frequency antennas; Connecting the first communication module to each antenna in the target antenna combination through the switching switch; The arrival angle of the wireless signal is estimated using the target antenna combination.
11. The device according to claim 10, characterized in that The arrival angle estimation scenario includes: The device posture of the first device; and / or, a device distance between the first device and a second device, wherein the second device is a transmitting device of the wireless signal; and / or, The first device has accuracy requirements for angle of arrival estimation.
12. The device according to claim 10 or 11, characterized in that The antenna combination includes a combination of a same-frequency antenna and a different-frequency antenna, including: The antenna combination includes a combination of at least two of the same-frequency antennas and at least one of the different-frequency antennas.
13. The device according to any one of claims 10 to 12, characterized in that: The antenna combination also includes a combination of multiple same-frequency antennas and / or a combination of multiple different-frequency antennas.
14. The device according to any one of claims 10 to 13, characterized in that: The first communication module is configured to determine a target antenna combination from an antenna set according to the arrival angle estimation scenario and a first mapping relationship, including: Determine K candidate antenna combinations from the antenna set according to the arrival angle estimation scenario and the first mapping relationship; When K=1, determining the candidate antenna combination as the target antenna combination; When K≥2, a target antenna combination is determined from the K candidate antenna combinations according to the number of antennas and / or the arrival angle estimation accuracy of the candidate antenna combinations.
15. The device according to claim 14, characterized in that The first communication module is configured to perform, when K≥2, determining a target antenna combination from the K candidate antenna combinations according to the number of antennas and / or the arrival angle estimation accuracy of the antenna combination, including: When K≥2, any one of the antenna combinations with the least number of antennas among the K candidate antenna combinations is determined as the target antenna combination; or, When K≥2, any one of the antenna combinations with the highest arrival angle estimation accuracy among the K candidate antenna combinations is determined as the target antenna combination; or, When K≥2, the target antenna combination is comprehensively determined from the K candidate antenna combinations according to the number of antennas and / or the arrival angle estimation accuracy of the candidate antenna combinations.
16. The device according to claim 14 or 15, characterized in that The first communication module is configured to determine K candidate antenna combinations from the antenna set according to the arrival angle estimation scenario and the first mapping relationship, including: Determine available antennas; According to the available antennas, the arrival angle estimation scenario and the first mapping relationship, K candidate antenna combinations are determined from the antenna set.
17. The device according to claim 16, characterized in that The first communication module is configured to perform the step of determining an available antenna, comprising: determining all antennas of the first device as the available antennas; or, Determine an antenna in the first device that is not occupied by other applications as the available antenna; or, The available antenna is determined according to the priority of the arrival angle estimation application and the priority of other applications occupying the antenna.
18. The device according to any one of claims 10 to 17, characterized in that: The first communication module is configured to perform the estimation of the arrival angle of the wireless signal using the target antenna combination, including: Using the target antenna combination to receive the wireless signal to be estimated; The arrival angle of the wireless signal is determined according to the phase difference of the wireless signal received by different antennas in the target antenna combination.
19. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 9 when executing the computer program.
20. An arrival angle estimation system, characterized in that: The method comprises a first device and a second device, wherein the first device is configured to execute the method according to any one of claims 1 to 9, and the second device is used to transmit the wireless signal during the arrival angle estimation process.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
22. A chip, characterized in that: The chip includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 9 is implemented.
