Antenna switching method, UWB receiving device, system and storage medium

By selecting the main antenna and the main channel in the UWB receiving device, locking and maintaining their connection, the data processing burden and accuracy problems when the number of reception channels is less than the number of antennas is solved, and a more efficient antenna switching and ranging process is achieved.

CN114915902BActive Publication Date: 2024-12-06OSEMITECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210341654.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-29
Publication Date
2024-12-06
Estimated Expiration
2042-03-29

AI Technical Summary

Technical Problem

In UWB receiving equipment, when the number of receiving channels is less than the actual number of received antennas, the PLL needs to be frequently relocked during the antenna switching process, which increases the data processing burden of the baseband signal processor and affects the distance measurement accuracy.

Method used

By selecting a main antenna and main channel, and locking the main channel with a phase-locking loop, maintaining the connection between the main antenna and the main channel, and performing antenna switching for other receiving channels until all receiving antennas obtain channel estimates, using the channel estimate of the main antenna The value is used as a reference value to convert the channel estimate value of other receiving antennas into relative values ​​to obtain ranging information.

Benefits of technology

The antenna switching process is simplified, the data processing burden of the baseband processor is reduced, the distance measurement accuracy is improved, the phase is relocked during each switching, and the positioning accuracy is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114915902B_ABST
    Figure CN114915902B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses an antenna switching method, a UWB receiving device, a system and a storage medium. The UWB receiving device includes m receiving channels, m channel estimation modules, a PLL and n receiving antennas. The method includes: using the m receiving channels to receive UWB signals of k currently connected receiving antennas to obtain k channel estimation values; selecting a main antenna from the currently connected receiving antennas according to a preset selection criterion, and setting the receiving channel currently connected to the main antenna as the main channel; locking the main channel through the PLL; maintaining the connection between the main channel and the main antenna, and performing antenna switching connection for other receiving channels until the n receiving antennas all obtain channel estimation values; using the channel estimation value of the main antenna as a reference value, converting the channel estimation values ​​of other receiving antennas into relative values; obtaining ranging information based on the reference value and all relative values; simplifying the antenna switching process, reducing the burden of baseband data processing, and improving ranging accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to an antenna switching method, a UWB receiving device, a system and a storage medium. Background Art

[0002] Ultra Wide Band (UWB) wireless communication technology is a carrier-free communication technology, that is, it does not use a sinusoidal carrier, but uses nanosecond non-sinusoidal narrow pulses (short energy pulse sequences) to transmit data, and extends the pulses to a frequency range through orthogonal frequency division modulation or direct sequencing, and the occupied spectrum range is very wide. Based on its advantages, the use of UWB technology in positioning systems can improve positioning accuracy. In the UWB positioning system, when the UWB receiving device uses multiple antennas to receive UWB signals, the corresponding channel estimation can be obtained based on the UWB signals of different receiving antennas, thereby obtaining the time difference of arrival (TDOA) and / or angle of arrival (AOA) information between different receiving antennas, and further positioning is achieved based on the TDOA and / or AOA information.

[0003] When the number of receiving channels of the UWB receiving device is less than the actual number of receiving antennas, different channel estimates of receiving antennas can be obtained by using different receiving antennas to receive UWB signals in different scrambled timestamp sequence (STS) time periods. Since the carrier phase, signal delay, signal amplitude, etc. of the UWB signals of different receiving antennas are different, different channel estimates will be obtained, resulting in the need for the PLL to be re-locked, and the frequency and phase of the PLL output will be adjusted, requiring the baseband signal processor to perform additional processing on the output frequency and phase of the PLL, that is, the baseband signal processor needs to perform additional data processing on the antenna switching, increasing the data processing burden. Summary of the invention

[0004] The embodiment of the invention discloses an antenna switching method, a UWB receiving device, a system and a storage medium, which are used to simplify the switching process when the antenna is switched, reduce the data processing burden of the baseband processor, and at the same time improve the ranging accuracy.

[0005] A first aspect of an embodiment of the present invention discloses an antenna switching method, which is applied to a UWB receiving device, wherein the UWB receiving device comprises at least m receiving channels, m channel estimation modules, a phase-locked loop and n receiving antennas, wherein the receiving channels correspond to the channel estimation modules one by one, and the m receiving channels share the phase-locked loop, and each of the receiving antennas is connected to one of the receiving channels through a switching switch, m is a positive integer greater than or equal to 2, and n is a positive integer greater than m, and the method comprises:

[0006] Using the m receiving channels to receive UWB signals of k currently connected receiving antennas to obtain k channel estimation values, one of the currently connected receiving antennas correspondingly connected to one of the receiving channels, and k is a positive integer greater than or equal to 2 and less than or equal to m;

[0007] According to a preset selection criterion, a main antenna is selected from the k currently connected receiving antennas, and the receiving channel currently connected to the main antenna is set as the main channel;

[0008] Locking the main channel by the phase-locked loop;

[0009] Maintaining the connection between the main channel and the main antenna, performing antenna switching connection for other receiving channels and obtaining corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values, the other receiving channels being receiving channels other than the main channel among the m receiving channels;

[0010] Taking the channel estimation value of the main antenna as a reference value, converting the channel estimation values ​​corresponding to the receiving antennas other than the main antenna into relative values ​​relative to the reference value;

[0011] The distance measurement information is obtained based on the reference value and all the relative values.

[0012] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the UWB receiving device further includes m channel estimation modules, m multipliers and an estimation module;

[0013] The m multipliers are connected to the m receiving channels in a one-to-one correspondence, and the m multipliers are also connected to the m channel estimation modules in a one-to-one correspondence. The phase-locked loop PLL is connected to the m multipliers respectively, and the phase-locked loop PLL is also connected to the m channel estimation modules respectively.

[0014] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the using the m receiving channels to receive the UWB signal of at least one currently connected receiving antenna to obtain at least one channel estimation value includes:

[0015] The m receiving channels are used to receive at least one UWB signal of a currently connected receiving antenna, and at least one channel estimation value is obtained through the corresponding channel estimation module.

[0016] As an optional implementation, in the first aspect of the embodiment of the present invention, when m=2 and n=3, the m receiving channels include a first receiving channel and a second receiving channel, and the n receiving antennas include a first receiving antenna, a second receiving antenna, and a third receiving antenna;

[0017] The receiving UWB signals of k currently connected receiving antennas by using the m receiving channels to obtain k channel estimation values ​​includes:

[0018] Using the first receiving channel to receive the UWB signal of the first receiving antenna to obtain a channel estimation value of the first receiving antenna, and using the second receiving channel to receive the UWB signal of the second receiving antenna to obtain a channel estimation value of the second receiving antenna;

[0019] The step of selecting a main antenna from the k currently connected receiving antennas according to a preset selection criterion includes:

[0020] Selecting a main antenna from the first receiving antenna and the second receiving antenna according to a preset selection criterion;

[0021] The maintaining the connection between the main channel and the main antenna, performing antenna switching connection for other receiving channels and obtaining corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values, includes:

[0022] Maintain the connection between the main channel and the main antenna, switch the third receiving antenna to another receiving channel through the corresponding switching switch, receive the UWB signal and obtain the channel estimation value of the third receiving antenna, when the main channel is the first receiving channel, the other receiving channel is the second receiving channel, and when the main channel is the second receiving channel, the other receiving channel is the first receiving channel.

[0023] As an optional implementation manner, in the first aspect of the embodiment of the present invention, selecting a main antenna from the at least one currently connected receiving antenna according to a preset selection criterion includes:

[0024] According to the UWB signal received by the at least one currently connected receiving antenna, obtaining a corresponding signal quality indicator, wherein the signal quality indicator includes at least a signal-to-noise ratio (SNR) and an energy estimation value;

[0025] A receiving antenna with the best signal quality indicator is selected from the at least one currently connected receiving antenna as the main antenna.

[0026] As an optional implementation manner, in the first aspect of the embodiment of the present invention, obtaining ranging information based on the reference value and all the relative values ​​includes:

[0027] Based on the reference value and all the relative values, ranging information including at least the time difference of arrival TDOA and the angle of arrival AOA between the receiving antennas is calculated.

[0028] Embodiment 2 of the present invention discloses a UWB receiving device, the UWB receiving device comprising at least m receiving channels, m channel estimation modules, a phase-locked loop and n receiving antennas, the receiving channels correspond to the channel estimation modules one by one, and the m receiving channels share the phase-locked loop, each of the receiving antennas is connected to one of the receiving channels through a switching switch, m is a positive integer greater than or equal to 2, and n is a positive integer greater than m, the UWB receiving device comprises:

[0029] A signal receiving module, used to receive UWB signals of k currently connected receiving antennas using the m receiving channels to obtain k channel estimation values, wherein one of the currently connected receiving antennas is connected to one receiving channel, and k is a positive integer greater than or equal to 2 and less than or equal to m;

[0030] A selection module, configured to select a main antenna from the k currently connected receiving antennas according to a preset selection criterion, and set the receiving channel currently connected to the main antenna as a main channel;

[0031] A phase locking module, used for locking the main channel through the phase locked loop;

[0032] The signal receiving module is further used to maintain the connection between the main channel and the main antenna, perform antenna switching connection for other receiving channels and obtain corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values, and the other receiving channels are receiving channels other than the main channel among the m receiving channels;

[0033] an estimation module, configured to convert the channel estimation value of the main antenna into a relative value relative to the reference value by taking the channel estimation value of the main antenna as a reference value;

[0034] The estimation module is used to obtain ranging information based on the reference value and all the relative values.

[0035] As an optional implementation, in the second aspect of the embodiment of the present invention, when m=2 and n=3, the m receiving channels include a first receiving channel and a second receiving channel, and the n receiving antennas include a first receiving antenna, a second receiving antenna, and a third receiving antenna;

[0036] The signal receiving module is used to use the m receiving channels to receive k UWB signals of currently connected receiving antennas to obtain k channel estimation values ​​in the following manner:

[0037] Using the first receiving channel to receive the UWB signal of the first receiving antenna to obtain a channel estimation value of the first receiving antenna, and using the second receiving channel to receive the UWB signal of the second receiving antenna to obtain a channel estimation value of the second receiving antenna;

[0038] The selection module is used to select a main antenna from the k currently connected receiving antennas according to a preset selection criterion in the following manner:

[0039] Selecting a main antenna from the first receiving antenna and the second receiving antenna according to a preset selection criterion;

[0040] The signal receiving module is used to maintain the connection between the main channel and the main antenna, perform antenna switching connection for other receiving channels and obtain corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values. Specifically, the method is as follows:

[0041] Maintain the connection between the main channel and the main antenna, switch the third receiving antenna to another receiving channel through the corresponding switching switch, receive the UWB signal and obtain the channel estimation value of the third receiving antenna, when the main channel is the first receiving channel, the other receiving channel is the second receiving channel, and when the main channel is the second receiving channel, the other receiving channel is the first receiving channel.

[0042] As an optional implementation, in the second aspect of the embodiment of the present invention, the UWB receiving device further includes m channel estimation modules, m multipliers and an estimation module;

[0043] The m multipliers are connected to the m receiving channels in a one-to-one correspondence, and the m multipliers are also connected to the m channel estimation modules in a one-to-one correspondence. The phase-locked loop PLL is connected to the m multipliers respectively, and the phase-locked loop PLL is also connected to the m channel estimation modules respectively.

[0044] As an optional implementation, in the second aspect of the embodiment of the present invention, the signal receiving module is used to use the m receiving channels to receive the UWB signal of at least one currently connected receiving antenna to obtain at least one channel estimation value in the following manner:

[0045] The m receiving channels are used to receive at least one UWB signal of a currently connected receiving antenna, and at least one channel estimation value is obtained through the corresponding channel estimation module.

[0046] As an optional implementation, in the second aspect of the embodiment of the present invention, the selection module is used to select a main antenna from the at least one currently connected receiving antenna according to a preset selection criterion, and set the receiving channel currently connected to the main antenna as the main channel in a specific manner:

[0047] According to the UWB signal received by the at least one currently connected receiving antenna, obtaining a corresponding signal quality indicator, wherein the signal quality indicator includes at least a signal-to-noise ratio (SNR) and an energy estimation value;

[0048] And, selecting a receiving antenna with the best signal quality indicator from the at least one currently connected receiving antenna as a main antenna.

[0049] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the estimation module is used to obtain the ranging information based on the reference value and all the relative values, including:

[0050] Based on the reference value and all the relative values, ranging information including at least the time difference of arrival TDOA and the angle of arrival AOA between the receiving antennas is calculated.

[0051] A third aspect of an embodiment of the present invention discloses an antenna switching system, which may include:

[0052] UWB receiving device and UWB transmitting device;

[0053] The UWB receiving device is the UWB receiving device disclosed in the second aspect of the embodiment of the present invention, and the UWB transmitting device is used to transmit a UWB signal to the UWB receiving device.

[0054] A fourth aspect of an embodiment of the present invention discloses a UWB receiving device, which may include:

[0055] A memory storing executable program code;

[0056] a processor coupled to the memory;

[0057] The processor calls the executable program code stored in the memory to execute an antenna switching method disclosed in the first aspect of an embodiment of the present invention.

[0058] A fifth aspect of an embodiment of the present invention discloses a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one method of the first aspect of the embodiment of the present invention.

[0059] A sixth aspect of an embodiment of the present invention discloses a computer program product. When the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of any one of the methods of the first aspect.

[0060] A seventh aspect of an embodiment of the present invention discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of any one method of the first aspect.

[0061] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0062] In an embodiment of the present invention, a UWB receiving device includes at least m receiving channels, a phase-locked loop and n receiving antennas, m channel estimation modules, and the receiving channels correspond to the channel estimation modules one by one, and the m receiving channels share a phase-locked loop, each receiving antenna is connected to a receiving channel through a switching switch, m is a positive integer greater than or equal to 2, and n is a positive integer greater than m, and the m receiving channels are used to receive UWB signals of k currently connected receiving antennas, so as to obtain channel estimation values ​​corresponding to the k currently connected receiving antennas, respectively, and according to a preset selection criterion, a main antenna is selected from the k currently connected receiving antennas, and the receiving channel currently connected to the main antenna is set as the main channel, and then the main channel is locked by the phase-locked loop, and the connection between the main antenna and the main channel is maintained, and antenna switching connection is performed for other receiving channels to obtain corresponding channel estimation values. value, until all n receiving antennas obtain corresponding channel estimation values, wherein the other receiving channels are receiving channels other than the main channel among the m receiving channels, and finally, the channel estimation value of the main antenna is used as a reference value, and the channel estimation values ​​corresponding to the receiving antennas other than the main antenna are converted into relative values ​​relative to the reference value, and the ranging information is accurately obtained based on the reference value and all the relative values; it can be seen that, by implementing the embodiment of the present invention, by selecting the main antenna and the main channel, locking the main channel by using a phase-locked loop, and maintaining the connection between the main antenna and the main channel, the signals received by the other receiving antennas can have a certain angle offset relative to the main antenna, and the channel estimation value can be directly used for ranging, thereby improving the ranging accuracy. At the same time, there is no need to re-lock the phase each time the antenna is switched, and the additional data processing performed by the baseband signal processor on the antenna switching can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments 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 these drawings without paying creative work.

[0064] Figure 1 It is a schematic diagram of the application of the antenna switching system disclosed in the embodiment of the present invention;

[0065] Figure 2 A schematic diagram of the structure of a UWB receiving device disclosed in an embodiment of the present invention;

[0066] Figure 3 This is a schematic diagram of the structure of a UWB receiving device disclosed in Embodiment 2 of the present invention;

[0067] Figure 4 A schematic diagram of a flow chart of an antenna switching method disclosed in Embodiment 1 of the present invention;

[0068] Figure 5 A schematic diagram of a UWB frame structure disclosed in an embodiment of the present invention;

[0069] Figure 6 A schematic diagram of a flow chart of an antenna switching method disclosed in Embodiment 2 of the present invention;

[0070] Figure 7 This is a schematic diagram of the structure of a UWB receiving device disclosed in Embodiment 1 of the present invention;

[0071] Figure 8 This is a schematic diagram of the structure of a UWB receiving device disclosed in Embodiment 2 of the present invention;

[0072] Fig. 9 It is a schematic diagram of the structure of the antenna switching system disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0073] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0074] It should be noted that the terms "first", "second", "third" and "fourth" in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0075] The embodiment of the invention discloses an antenna switching method, a UWB receiving device, a system and a storage medium, which are used to simplify the switching process when the antenna is switched, reduce the data processing burden of the baseband processor, and improve the ranging accuracy.

[0076] See also Figure 1 and Figure 2 , Figure 1 is an application schematic diagram of the antenna switching system disclosed in an embodiment of the present invention, Figure 2 FIG. 1 is a schematic diagram of the structure of a UWB receiving device disclosed in Embodiment 1 of the present invention; Figure 1 and Figure 2 In the invention, the antenna switching system includes a UWB transmitting device (UWB transmitter) and a UWB receiving device (UWB receiver), and the UWB transmitting device has at least one transmitting antenna. In the process of implementing ranging, the UWB transmitting device transmits UWB signals, and the UWB receiving device is provided with three receiving antennas and two receiving channels, the three receiving antennas are antenna 1, antenna 2 and antenna 3, the two receiving channels are channels Rx1 and Rx2, and two switching switches are provided between the receiving antennas and the receiving channels, namely switch 1 and switch 2, and the UWB receiving device can select any receiving antenna for the receiving channel through the two switching switches. Since the number of receiving antennas is greater than the number of receiving channels, the antennas can be switched during the reception of a ranging frame to simultaneously complete the ranging measurement of multiple receiving antennas.

[0077] It should be noted that channel Rx1 can select any receiving antenna through switch 1, which means that it has the function of selecting any receiving antenna. However, in the process of receiving ranging frames, it is not necessary for each receiving channel to be connected to all receiving antennas.

[0078] For further information, see Figure 3 , Figure 3 is a schematic diagram of the structure of a UWB receiving device disclosed in Embodiment 2 of the present invention, Figure 3 The UWB receiving device shown is Figure 2 The UWB receiving device further optimized based on the UWB receiving device shown in Figure 3In the UWB receiving device, the UWB receiving device further includes two channel estimation modules, two multipliers, a phase-locked loop PLL and an estimation module, wherein the channel Rx1 is connected to the channel estimation module 1 through the multiplier 1, the channel Rx2 is connected to the channel estimation module 2 through the multiplier 2, and the phase-locked loop PLL is connected to the multiplier 1 and the multiplier 2 respectively, and is used to provide a clock signal to the multiplier. The UWB signal of the corresponding receiving antenna is collected through the channel Rx1 and the multiplier 1, the channel estimation module 1 completes the channel estimation of the corresponding receiving antenna according to the UWB, obtains the corresponding channel estimation value, provides the channel estimation value to the phase-locked loop PLL, and also sends the UWB signal and the channel estimation value to the estimation module; the UWB signal of the corresponding receiving antenna is collected through the channel Rx2 and the multiplier 2, the channel estimation module 2 completes the channel estimation of the corresponding receiving antenna according to the UWB, obtains the corresponding channel estimation value, provides the channel estimation value to the phase-locked loop PLL, and also sends the UWB signal and the channel estimation value to the estimation module.

[0079] exist Figure 3 In the embodiment, the channel estimation module 1 and the channel estimation module 2 are connected to the phase-locked loop PLL. The channel estimation module 1 and the channel estimation module 2 send the calculated channel estimation values ​​to the phase-locked loop PLL, which is locked by the phase-locked loop PLL to achieve signal alignment.

[0080] The technical solution of the present invention will be described in detail below in conjunction with specific embodiments.

[0081] See also Figure 4 , Figure 4 Schematic diagram of the flow of the antenna switching method disclosed in the first embodiment of the present invention; Figure 4 As shown, the UWB receiving device includes at least m receiving channels, m channel estimation modules, a phase-locked loop and n receiving antennas, the receiving channels correspond to the channel estimation modules one by one, the m receiving channels share the phase-locked loop, each receiving antenna is connected to a receiving channel through a switching switch, m is a positive integer greater than or equal to 2, n is a positive integer greater than m, and the antenna switching method may include:

[0082] 401. Receive UWB signals of k currently connected receiving antennas using m receiving channels to obtain k channel estimation values, where one currently connected receiving antenna is connected to one receiving channel.

[0083] The embodiment of the present invention is applied to Figure 1 In the UWB receiving device of the antenna switching system shown, during the ranging process, the UWB transmitting device transmits a UWB signal, and the UWB receiving device receives the UWB signal through multiple receiving antennas, performs channel estimation for each receiving antenna, and completes the ranging based on the channel estimation.

[0084] In the embodiment of the present invention, the number of receiving channels is less than the number of receiving antennas, and the number of receiving channels is greater than or equal to 2, that is, m is a positive integer greater than or equal to 2, and n is a positive integer greater than m. Through multiple antenna switching, each receiving antenna can receive a UWB signal once using the receiving channel. Therefore, in the current connection between the receiving channel and the receiving antenna of the UWB receiving device, there can be k receiving antennas connected to k receiving channels of the m receiving channels in a one-to-one correspondence, and receive UWB signals using the receiving channels. That is to say, the number of the k currently connected receiving antennas in step 401 can be greater than or equal to 2 and less than or equal to m.

[0085] Optional, combined Figure 2 and Figure 3 In the embodiment of the present invention, a phase-locked loop (PLL) is used to provide a clock signal, and a receiving channel completes the reception of a UWB signal based on the provided clock signal.

[0086] Optionally, the received UWB signal is sent to a channel estimation module, and the channel estimation module performs channel estimation according to the UWB signal to obtain a channel estimation value.

[0087] 402. According to a preset selection criterion, a main antenna is selected from the k currently connected receiving antennas, and a receiving channel currently connected to the main antenna is set as the main channel.

[0088] Optionally, according to a preset selection criterion, selecting a main antenna from k currently connected receiving antennas may include:

[0089] According to the UWB signals received by the k currently connected receiving antennas, a signal quality indicator corresponding to each of the k signals is obtained, where the signal quality indicator at least includes a signal-to-noise ratio (SNR) and an energy estimation value;

[0090] A receiving antenna with the best signal quality index is selected from the k currently connected receiving antennas as the main antenna.

[0091] For example, a receiving antenna with a higher energy estimation value is selected as the main antenna, thereby improving the accuracy of channel estimation of each receiving antenna, thereby improving the final ranging accuracy.

[0092] Optional, combined Figure 3The UWB signal will be sent to the channel estimation module, and the channel estimation module will calculate the channel estimation value according to the UWB signal, and then send the channel estimation value and the UWB signal to the estimation module. The estimation module can obtain the signal quality index according to the UWB signal, and then select the corresponding main antenna according to the signal quality index. When the channel estimation module feeds back the channel estimation value to the phase-locked loop PLL, it also instructs the phase-locked loop PLL to lock the main channel corresponding to the main antenna, thereby locking the main antenna, enabling the signals of other receiving antennas to be aligned with the main antenna, and other receiving antennas can obtain relative angle offsets and sampling point offsets, so that ranging calculations can be performed based on the channel estimation values ​​of all receiving antennas, with high accuracy.

[0093] See also Figure 5 , Figure 5 Schematic diagram of the UWB frame structure disclosed in the embodiment of the present invention; Figure 5 As shown, the UWB frame structure includes a preamble, SFD, an idle period GAP, a known ranging sequence STS segment, a PHR (PHY header) and a payload. Optionally, steps 401-402 may be implemented when receiving the preamble of the ranging frame.

[0094] 403. Lock the main channel through a phase-locked loop.

[0095] After the main antenna is selected in step 402, the main channel corresponding to the main antenna is locked by the phase-locked loop PLL, so that the signal of the current loop is aligned with the signal of the main antenna. Then, when the antenna is subsequently switched, the channel estimation of the main antenna is consistent before and after. Other receiving antennas use the main antenna as a reference to obtain a reference angle offset and sampling point offset, thereby simplifying the ranging complexity and improving the ranging efficiency and accuracy.

[0096] 404. Maintain the connection between the main channel and the main antenna, perform antenna switching connection for other receiving channels and obtain corresponding channel estimation values ​​until all n receiving antennas obtain corresponding channel estimation values, and the other receiving channels are receiving channels other than the main channel among the m receiving channels.

[0097] Since the phase-locked loop PLL keeps the main channel of the main antenna locked, the connection between the main antenna and the main channel remains unchanged, then the antenna will be switched to connect to other receiving channels until at least one antenna switch is performed so that the n receiving antennas can receive the UWB signal and obtain their respective channel estimation values.

[0098] It should be noted that in the current connection of step 401, k currently connected receiving antennas may be connected to the receiving channel. At this time, the UWB signal reception of the k currently connected receiving antennas is completed, and the number of remaining receiving antennas (antennas that have not received UWB signals) is the total number of n antennas minus the above k antennas. For the remaining receiving antennas, on the basis of maintaining the connection between the main antenna and the main channel, they can be connected to other receiving channels by switching antennas. Each time the antenna is switched, at least one of the remaining receiving antennas can be switched to connect to other receiving channels, and at most (m-1) remaining receiving antennas can be switched to other receiving channels. At this time, the remaining receiving antennas are connected to other receiving channels one by one.

[0099] After the main antenna is locked by the phase-locked loop PLL in step 403, the main antenna remains connected to the main channel. Through step 404, when the main antenna is locked, after at least one antenna switch, the n receiving antennas can all receive the UWB signal and obtain the corresponding channel estimation value without multiple re-locking, which can reduce the data processing burden of the antenna baseband processor in the antenna switching.

[0100] Optional, combined Figure 5 The UWB structure shown can switch the antenna connection at any time point in the ranging data block, such as switching the antenna in the idle time period GAP, or switching the antenna in the known ranging sequence STS segment, etc. The number of antenna switches can be determined according to the number of receiving antennas and receiving channels of the UWB receiving device. For example, when there are 3 receiving antennas and 2 receiving channels, channel estimation can be completed by performing only one antenna switch.

[0101] 405. Using the channel estimation value of the main antenna as a reference value, convert the channel estimation values ​​corresponding to the receiving antennas other than the main antenna into relative values ​​relative to the reference value.

[0102] In step 405, since the main antenna remains locked during the antenna switching process and the phase remains unchanged, the channel estimation values ​​of other receiving antennas can be converted using it as a reference value to obtain corresponding relative values ​​to improve ranging efficiency and accuracy.

[0103] 406. Obtain distance measurement information based on the reference value and all relative values.

[0104] Optionally, based on the reference value and all relative values, ranging information including at least the arrival time difference TDOA and the arrival angle AOA between the receiving antennas is calculated, that is, the ranging information includes at least one of TDOA and AOA.

[0105] Optional, by Figure 3The illustrated estimation module performs the calculations in steps 405 and 406 .

[0106] It can be seen that by implementing the above embodiment, the UWB receiving device includes at least m receiving channels, a phase-locked loop PLL and n receiving antennas, the m receiving channels share a phase-locked loop PLL, m is a positive integer greater than or equal to 2, and n is a positive integer greater than m. The m receiving channels are used to receive UWB signals of k currently connected receiving antennas, so as to obtain channel estimation values ​​corresponding to the k currently connected receiving antennas, respectively. According to a preset selection criterion, a main antenna is selected from the k currently connected receiving antennas, and the receiving channel currently connected to the main antenna is set as the main channel. Then, the main channel is locked by the phase-locked loop PLL, and the connection between the main antenna and the main channel is maintained. Antenna switching connection is performed for other receiving channels and corresponding channel estimation values ​​are obtained until the n receiving antennas all obtain corresponding channel estimation values. The other receiving channels are receiving channels other than the main channel among the m receiving channels. Finally, the channel estimation value of the main antenna is used as a reference value, and the channel estimation values ​​corresponding to the receiving antennas other than the main antenna are converted into relative values ​​relative to the reference value. The ranging information is accurately obtained based on the reference value and all the relative values. It can be seen that, by implementing the embodiment of the present invention, by selecting the main antenna and the main channel, and locking the main channel by using the phase-locked loop PLL, the main antenna and the main channel are maintained connected, so that the signals received by the other receiving antennas can have a certain angle offset relative to the main antenna, and the channel estimation value can be directly used for ranging, thereby improving the ranging accuracy. At the same time, there is no need to re-lock the phase each time the antenna is switched, and the additional data processing performed by the baseband signal processor on the antenna switching can be reduced.

[0107] See also Figure 6 , Figure 6 Schematic diagram of the flow of the antenna switching method disclosed in the second embodiment of the present invention; Figure 6 As shown, the UWB receiving device includes at least m receiving channels and n receiving antennas, m is a positive integer greater than or equal to 2, and n is a positive integer greater than m. When m=2 and n=3, the m receiving channels include a first receiving channel and a second receiving channel, and the n receiving antennas include a first receiving antenna, a second receiving antenna, and a third receiving antenna. The antenna switching method may include:

[0108] 601. When receiving a preamble of a UWB ranging frame, use a first receiving channel to receive a UWB signal from a first receiving antenna to obtain a channel estimation value of the first receiving antenna, and use a second receiving channel to receive a UWB signal from a second receiving antenna to obtain a channel estimation value of the second receiving antenna.

[0109] The UWB receiving device includes two receiving channels and three receiving antennas. The initial connection between the receiving antennas and the receiving channels is: the first receiving channel is connected to the first receiving antenna, and the second receiving channel is connected to the second receiving antenna. Figure 2 As shown, in the initial connection, channel Rx1 is connected to antenna 1 through switch 1, and channel Rx2 is connected to antenna 2 through switch 2.

[0110] Step 601 may be implemented when receiving a preamble code of a UWB ranging frame.

[0111] 602. Select a main antenna from the first receiving antenna and the second receiving antenna according to a preset selection criterion, and the receiving channel currently connected to the main antenna is the main channel.

[0112] Optionally, selecting a main antenna from the first receiving antenna and the second receiving antenna according to a preset selection criterion includes:

[0113] According to the UWB signal received by the first receiving antenna and the UWB signal received by the second receiving antenna, the corresponding signal quality indicators are obtained, and the signal quality indicators at least include the signal-to-noise ratio SNR, the energy estimation value, etc., and then the receiving antenna with the best signal quality indicator is selected from the first receiving antenna and the second receiving antenna as the main antenna. When the main antenna is the first receiving antenna, the first receiving channel is the main channel, and when the main antenna is the second receiving antenna, the second receiving channel is the main channel.

[0114] 603. Lock a main channel corresponding to the main antenna through a phase-locked loop PLL.

[0115] 604. At the antenna switching point of the ranging frame, the main antenna is kept connected to the main channel, the third receiving antenna is switched to another receiving channel through the corresponding switching switch, the UWB signal is received and the channel estimation value of the third receiving antenna is obtained, when the main channel is the first receiving channel, the other receiving channel is the second receiving channel, and when the main channel is the second receiving channel, the other receiving channel is the first receiving channel.

[0116] The antenna switching point is a time point for performing antenna switching connection.

[0117] Among them, after selecting the first receiving antenna as the main antenna, the first receiving channel corresponding to the first receiving antenna is the main channel. In the switching, the second receiving channel is used to receive the signals of other receiving antennas, that is, the UWB signal of the third receiving antenna is received through the second receiving channel to obtain the channel estimation value of the third receiving antenna; after selecting the second receiving antenna as the main antenna, in the switching, the first receiving channel is switched to connect the third receiving antenna to obtain the UWB signal of the third receiving antenna, thereby obtaining the channel estimation value of the third receiving antenna.

[0118] 605. Taking the channel estimation value of the main antenna as a reference value, convert the channel estimation values ​​corresponding to the receiving antennas other than the main antenna into relative values ​​relative to the reference value.

[0119] 606. Obtain distance measurement information based on the reference value and all relative values.

[0120] The ranging information includes at least one of TDOA and AOA.

[0121] In the above embodiment, by locking a main antenna and then taking the main antenna as a reference, channel estimation values ​​of other receiving antennas relative to the main antenna can be obtained, so that ranging calculations can be performed based on the same standard to obtain TDOA and / or AOA between each receiving antenna, simplify the antenna switching process, reduce the data processing burden of the baseband processor, and effectively improve positioning accuracy.

[0122] See also Figure 7 , Figure 7 FIG. 1 is a schematic diagram of the structure of a UWB receiving device disclosed in Embodiment 1 of the present invention; Figure 7 As shown, the UWB receiving device includes at least m receiving channels, m channel estimation modules, a phase-locked loop and n receiving antennas, the receiving channels correspond to the channel estimation modules one by one, the m receiving channels share the phase-locked loop, each receiving antenna is connected to a receiving channel through a switch, m is a positive integer greater than or equal to 2, n is a positive integer greater than m, and the UWB receiving device may include:

[0123] The signal receiving module 710 is used to receive UWB signals of k currently connected receiving antennas using m receiving channels to obtain k channel estimation values, where one currently connected receiving antenna is connected to one receiving channel, and k is a positive integer greater than or equal to 2 and less than or equal to m;

[0124] A selection module 720, configured to select a main antenna from the k currently connected receiving antennas according to a preset selection criterion, and set the receiving channel currently connected to the main antenna as the main channel;

[0125] A phase locking module 730, used to lock the main channel through a phase locked loop;

[0126] The signal receiving module 710 is further used to maintain the connection between the main channel and the main antenna, perform antenna switching connection for other receiving channels and obtain corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values, and the other receiving channels are receiving channels other than the main channel among the m receiving channels;

[0127] An estimation module 740 is used to convert the channel estimation values ​​corresponding to the receiving antennas other than the main antenna into relative values ​​relative to the reference value, taking the channel estimation value of the main antenna as a reference value;

[0128] The estimation module 740 is also used to obtain distance measurement information based on the reference value and all relative values.

[0129] By implementing the above-mentioned UWB receiving device, the switching process when switching antennas is simplified, the data processing burden of the baseband processor is reduced, and the ranging accuracy is improved.

[0130] Optionally, the number of at least one currently connected receiving antenna is a positive integer greater than or equal to 1 and less than or equal to m.

[0131] Optionally, the UWB receiving device further includes m channel estimation modules, m multipliers and an estimation module;

[0132] The m multipliers are connected to the m receiving channels in one-to-one correspondence, and the m multipliers are also connected to the m channel estimation modules in one-to-one correspondence. The phase-locked loops PLL are respectively connected to the m multipliers, and the phase-locked loops PLL are also respectively connected to the m channel estimation modules.

[0133] Optionally, the signal receiving module 710 is configured to use m receiving channels to receive k UWB signals of currently connected receiving antennas to obtain k channel estimation values ​​in the following manner:

[0134] The m receiving channels are used to receive the UWB signals of the k currently connected receiving antennas, and k channel estimation values ​​are obtained through the corresponding channel estimation modules.

[0135] Optionally, the selection module 720 is configured to select a main antenna from the k currently connected receiving antennas according to a preset selection criterion, and set the receiving channel currently connected to the main antenna as the main channel in the following manner:

[0136] According to UWB signals received by k currently connected receiving antennas, respective corresponding signal quality indicators are obtained, where the signal quality indicators at least include a signal-to-noise ratio (SNR) and an energy estimation value; and a receiving antenna with the best signal quality indicator is selected from the k currently connected receiving antennas as a main antenna.

[0137] Optionally, when m=2 and n=3, the m receiving channels include a first receiving channel and a second receiving channel, the n receiving antennas include a first receiving antenna, a second receiving antenna, and a third receiving antenna, and the signal receiving module 710 is used to use the m receiving channels to receive a UWB signal of at least one currently connected receiving antenna to obtain at least one channel estimation value in the following manner:

[0138] When receiving a UWB ranging frame, using a first receiving channel to receive a UWB signal from a first receiving antenna to obtain a channel estimation value of the first receiving antenna, and using a second receiving channel to receive a UWB signal from a second receiving antenna to obtain a channel estimation value of the second receiving antenna;

[0139] The selection module 720 is used to select a main antenna from the k currently connected receiving antennas according to a preset selection criterion, and set the receiving channel currently connected to the main antenna as the main channel in the following manner:

[0140] Selecting a main antenna from the first receiving antenna and the second receiving antenna according to a preset selection criterion;

[0141] The signal receiving module 610 is also used to maintain the connection between the main channel and the main antenna, perform antenna switching connection for other receiving channels and obtain corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values, and the other receiving channels are receiving channels other than the main channel among the m receiving channels in a specific manner:

[0142] Maintain the connection between the main channel and the main antenna, switch the third receiving antenna to another receiving channel through the corresponding switching switch, receive the UWB signal and obtain the channel estimation value of the third receiving antenna. When the main channel is the first receiving channel, the other receiving channel is the second receiving channel. When the main channel is the second receiving channel, the other receiving channel is the first receiving channel.

[0143] See also Figure 8 , Figure 8 This is a schematic diagram of the structure of a UWB receiving device disclosed in Embodiment 2 of the present invention; Figure 8 The UWB receiving device shown may include:

[0144] A memory 801 storing executable program codes;

[0145] a processor 802 coupled to the memory 801;

[0146] The processor 802 calls the executable program code stored in the memory 801 to execute Figure 4 and Figure 6 Partial steps or all steps of any antenna switching method.

[0147] See also Fig. 9 , Fig. 9 Schematic diagram of the structure of the antenna switching system disclosed in the embodiment of the present invention; Fig. 9 As shown, the antenna switching system may include:

[0148] UWB receiving device 910 and UWB transmitting device 920;

[0149] The UWB receiving device 910 may be Figure 7 In the UWB receiving device shown, the UWB transmitting device 920 is used to transmit a UWB signal to the UWB receiving device 910 .

[0150] The embodiment of the present invention further discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute Figure 4 and Figure 6 An antenna switching method is disclosed.

[0151] The embodiment of the present invention also discloses a computer program product, which, when executed on a computer, enables the computer to execute Figure 4 and Figure 6 Part or all of the steps of any disclosed method.

[0152] The embodiment of the present invention further discloses an application publishing platform, which is used to publish a computer program product, wherein when the computer program product is run on a computer, the computer executes Figure 4 and Figure 6 Part or all of the steps of any disclosed method.

[0153] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0154] The above is a detailed introduction to an antenna switching method, a UWB receiving device, a system and a storage medium disclosed in an embodiment of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a person skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An antenna switching method, characterized in that: Applied to a UWB receiving device, the UWB receiving device comprises at least m receiving channels, m channel estimation modules, a phase-locked loop and n receiving antennas, the receiving channels correspond to the channel estimation modules one by one, and the m channel estimation modules share the phase-locked loop, each of the receiving antennas is connected to one of the receiving channels through a switch, m is a positive integer greater than or equal to 2, and n is a positive integer greater than m, and the method comprises: Using the m receiving channels to receive UWB signals of k currently connected receiving antennas to obtain k channel estimation values, one of the currently connected receiving antennas correspondingly connected to one of the receiving channels, and k is a positive integer greater than or equal to 2 and less than or equal to m; According to a preset selection criterion, a main antenna is selected from the k currently connected receiving antennas, and the receiving channel currently connected to the main antenna is set as the main channel; Locking the main channel by the phase-locked loop; Maintaining the connection between the main channel and the main antenna, performing antenna switching connection for other receiving channels and obtaining corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values, the other receiving channels being receiving channels other than the main channel among the m receiving channels; Taking the channel estimation value of the main antenna as a reference value, converting the channel estimation values ​​corresponding to the receiving antennas other than the main antenna into relative values ​​relative to the reference value; The distance measurement information is obtained based on the reference value and all the relative values.

2. The method according to claim 1, characterized in that When m=2 and n=3, the m receiving channels include a first receiving channel and a second receiving channel, and the n receiving antennas include a first receiving antenna, a second receiving antenna and a third receiving antenna; The receiving UWB signals of k currently connected receiving antennas by using the m receiving channels to obtain k channel estimation values ​​includes: Using the first receiving channel to receive the UWB signal of the first receiving antenna, obtaining a channel estimation value of the first receiving antenna, and using the second receiving channel to receive the UWB signal of the second receiving antenna, obtaining a channel estimation value of the second receiving antenna; The step of selecting a main antenna from the k currently connected receiving antennas according to a preset selection criterion includes: Selecting a main antenna from the first receiving antenna and the second receiving antenna according to a preset selection criterion; The maintaining the connection between the main channel and the main antenna, performing antenna switching connection for other receiving channels and obtaining corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values, includes: Maintain the connection between the main channel and the main antenna, switch the third receiving antenna to another receiving channel through the corresponding switching switch, receive the UWB signal and obtain the channel estimation value of the third receiving antenna, when the main channel is the first receiving channel, the other receiving channel is the second receiving channel, and when the main channel is the second receiving channel, the other receiving channel is the first receiving channel.

3. The method according to any one of claims 1 or 2, characterized in that: The step of selecting a main antenna from the k currently connected receiving antennas according to a preset selection criterion includes: According to the UWB signals received by the k currently connected receiving antennas, obtaining respective corresponding signal quality indicators, wherein the signal quality indicators at least include a signal-to-noise ratio (SNR) and an energy estimation value; A receiving antenna with the best signal quality indicator is selected from the k currently connected receiving antennas as the main antenna.

4. The method according to claim 1, characterized in that: The obtaining of ranging information based on the reference value and all the relative values ​​includes: Based on the reference value and all the relative values, ranging information including at least the time difference of arrival TDOA and the angle of arrival AOA between the receiving antennas is calculated.

5. A UWB receiving device, characterized in that: The UWB receiving device at least includes m receiving channels, m channel estimation modules, a phase-locked loop and n receiving antennas, the receiving channels correspond to the channel estimation modules one by one, and the m receiving channels share the phase-locked loop, each of the receiving antennas is connected to one of the receiving channels through a switching switch, m is a positive integer greater than or equal to 2, and n is a positive integer greater than m, and the UWB receiving device includes: A signal receiving module, used to receive UWB signals of k currently connected receiving antennas using the m receiving channels to obtain k channel estimation values, wherein one of the currently connected receiving antennas is connected to one receiving channel, and k is a positive integer greater than or equal to 2 and less than or equal to m; A selection module, configured to select a main antenna from the k currently connected receiving antennas according to a preset selection criterion, and set the receiving channel currently connected to the main antenna as a main channel; A phase locking module, used for locking the main channel through the phase locked loop; The signal receiving module is further used to maintain the connection between the main channel and the main antenna, perform antenna switching connection for other receiving channels and obtain corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values, and the other receiving channels are receiving channels other than the main channel among the m receiving channels; an estimation module, configured to convert the channel estimation value of the main antenna into a relative value relative to the reference value by taking the channel estimation value of the main antenna as a reference value; The estimation module is used to obtain ranging information based on the reference value and all the relative values.

6. The UWB receiving device according to claim 5, characterized in that: When m=2 and n=3, the m receiving channels include a first receiving channel and a second receiving channel, and the n receiving antennas include a first receiving antenna, a second receiving antenna and a third receiving antenna; The signal receiving module is used to use the m receiving channels to receive k UWB signals of currently connected receiving antennas to obtain k channel estimation values ​​in the following manner: Using the first receiving channel to receive the UWB signal of the first receiving antenna, obtaining a channel estimation value of the first receiving antenna, and using the second receiving channel to receive the UWB signal of the second receiving antenna, obtaining a channel estimation value of the second receiving antenna; The selection module is used to select a main antenna from the k currently connected receiving antennas according to a preset selection criterion in the following manner: Selecting a main antenna from the first receiving antenna and the second receiving antenna according to a preset selection criterion; The signal receiving module is used to maintain the connection between the main channel and the main antenna, perform antenna switching connection for other receiving channels and obtain corresponding channel estimation values ​​until the n receiving antennas all obtain corresponding channel estimation values. Specifically, the method is as follows: Maintain the connection between the main channel and the main antenna, switch the third receiving antenna to another receiving channel through the corresponding switching switch, receive the UWB signal and obtain the channel estimation value of the third receiving antenna, when the main channel is the first receiving channel, the other receiving channel is the second receiving channel, and when the main channel is the second receiving channel, the other receiving channel is the first receiving channel.

7. The UWB receiving device according to claim 5 or 6, characterized in that: The selection module is used to select a main antenna from the k currently connected receiving antennas according to a preset selection criterion, and set the receiving channel currently connected to the main antenna as the main channel in the following manner: According to the UWB signals received by the k currently connected receiving antennas, obtaining respective corresponding signal quality indicators, wherein the signal quality indicators at least include a signal-to-noise ratio (SNR) and an energy estimation value; And, selecting a receiving antenna with the best signal quality indicator from the k currently connected receiving antennas as the main antenna.

8. The UWB receiving device according to claim 5, characterized in that: The estimation module is used to obtain ranging information based on the reference value and all the relative values, including: Based on the reference value and all the relative values, ranging information including at least the time difference of arrival TDOA and the angle of arrival AOA between the receiving antennas is calculated.

9. An antenna switching system, characterized in that: include: UWB receiving device and UWB transmitting device; The UWB receiving device is the UWB receiving device according to any one of claims 5 to 8, and the UWB transmitting device is used to transmit a UWB signal to the UWB receiving device.

10. A UWB receiving device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the antenna switching method according to any one of claims 1 to 4.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.