Electronic device and positioning method
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-11
- Publication Date
- 2026-08-11
AI Technical Summary
然而,相位差定位方式对接收端天线的位置设计有较高的要求,降低了天线布局的灵活性,因此这种方式亟待改进
[0015] The electronic device provided in this application embodiment obtains a first received signal through a first antenna and a second received signal through a second antenna. A hybrid network outputs the difference beam and sum beam of the first and second received signals. The processor determines the orientation of the signal source relative to the electronic device based on the amplitude difference between the difference beam and the sum beam. Therefore, when the electronic device locates the signal source, it is not affected by the phase of the first and second received signals. Thus, there is no limitation on the distance between the phase centers of the first and second antennas. The first and second antennas can be set according to the actual layout space in the electronic device. Compared with the traditional phase difference method for angle measurement, there is no need to limit the distance between the phase centers of the first and second antennas to within 1/2 wavelength. Therefore, it can reduce the antenna design difficulty in the electronic device and improve the flexibility of antenna layout.
Smart Images

Figure CN117423975B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an electronic device and a positioning method. Background Technology
[0002] Ultra-wideband (UWB) is a short-range wireless communication method, typically with a transmission distance of less than 10 meters. UWB does not use a carrier wave; instead, it transmits data using narrow, non-sinusoidal pulses ranging from nanoseconds to microseconds. Therefore, it occupies a wide spectrum, making it suitable for high-speed, short-range personal wireless communication. UWB operates in frequency bands from 3.1 GHz to 10.6 GHz, with a minimum operating bandwidth of 500 MHz. Currently, the mainstream UWB frequency bands have center frequencies of 6.5 GHz and 8 GHz, requiring bandwidths of over 500 MHz.
[0003] UWB can be used for source localization. Currently, UWB localization typically uses phase difference to measure angles, thereby locating the source. However, phase difference localization places high demands on the design of the receiver antenna, reducing the flexibility of antenna layout; therefore, this method urgently needs improvement. Summary of the Invention
[0004] This application provides an electronic device and a positioning method that can reduce the difficulty of antenna design in electronic devices and improve the flexibility of antenna layout.
[0005] This application provides an electronic device, including:
[0006] The first antenna is used to receive the wireless signal transmitted by the signal source in order to obtain the first received signal;
[0007] A second antenna is provided at a distance from the first antenna. The second antenna is used to receive the wireless signal transmitted by the signal source to obtain a second received signal.
[0008] A hybrid network, electrically connected to the first antenna and the second antenna, is used to receive the first received signal and the second received signal, and to output the sum beam of the first received signal and the second received signal, and to output the difference beam of the first received signal and the second received signal;
[0009] The processor, electrically connected to the hybrid network, is used to calculate the amplitude difference between the difference beam and the sum beam, and to determine the orientation of the signal source relative to the electronic device based on the amplitude difference.
[0010] This application embodiment also provides a positioning method applied to the above-mentioned electronic device, the positioning method including:
[0011] Obtain the difference beam between the first received signal and the second received signal;
[0012] Obtain the sum beam of the first received signal and the second received signal;
[0013] Calculate the amplitude difference between the difference beam and the sum beam;
[0014] The orientation of the signal source relative to the electronic device is determined based on the amplitude difference.
[0015] The electronic device provided in this application embodiment obtains a first received signal through a first antenna and a second received signal through a second antenna. A hybrid network outputs the difference beam and sum beam of the first and second received signals. The processor determines the orientation of the signal source relative to the electronic device based on the amplitude difference between the difference beam and the sum beam. Therefore, when the electronic device locates the signal source, it is not affected by the phase of the first and second received signals. Thus, there is no limitation on the distance between the phase centers of the first and second antennas. The first and second antennas can be set according to the actual layout space in the electronic device. Compared with the traditional phase difference method for angle measurement, there is no need to limit the distance between the phase centers of the first and second antennas to within 1 / 2 wavelength. Therefore, it can reduce the antenna design difficulty in the electronic device and improve the flexibility of antenna layout. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of a first structure of an electronic device provided in an embodiment of this application.
[0018] Figure 2 This is a schematic diagram illustrating the configuration of the first and second antennas in an electronic device provided in an embodiment of this application.
[0019] Figure 3 The three-dimensional radiation pattern of the difference beam between the first received signal and the second received signal in the electronic device provided in the embodiments of this application.
[0020] Figure 4 This is a three-dimensional radiation pattern of the sum beam of the first received signal and the second received signal in the electronic device provided in the embodiments of this application.
[0021] Figure 5The difference beam and sum beam of the first received signal and the second received signal in the electronic device provided in the embodiments of this application are two-dimensional radiation patterns.
[0022] Figure 6 This is a schematic diagram of a second structure of an electronic device provided in an embodiment of this application.
[0023] Figure 7 This is a schematic diagram illustrating the mapping relationship between the normalized amplitude difference and the orientation of the signal source relative to the electronic device in an electronic device provided in an embodiment of this application.
[0024] Figure 8 This is a schematic diagram of a third structure of an electronic device provided in an embodiment of this application.
[0025] Figure 9 This is a schematic diagram of a fourth structure of an electronic device provided in an embodiment of this application.
[0026] Figure 10 This is a flowchart illustrating the positioning method provided in an embodiment of this application. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0028] This application provides an electronic device. The electronic device can be a smartphone, tablet computer, or other similar device, as well as a gaming device, AR (Augmented Reality) device, automobile, data storage device, audio playback device, video playback device, laptop computer, desktop computing device, etc.
[0029] refer to Figure 1 , Figure 1 This is a schematic diagram of a first structure of an electronic device 100 provided in an embodiment of this application. The electronic device 100 includes a first antenna 10, a second antenna 20, a hybrid network 30, and a processor 40.
[0030] Both the first antenna 10 and the second antenna 20 can be used to transmit wireless signals, such as receiving and / or transmitting wireless signals, to achieve wireless communication of the electronic device 100. In this embodiment, the first antenna 10 is used to receive wireless signals transmitted by a signal source to obtain a first received signal. The second antenna 20 is used to receive wireless signals transmitted by a signal source to obtain a second received signal.
[0031] The signal source is a device capable of transmitting wireless signals to the outside world. In practical applications, the signal source can be a device such as a smartphone. The wireless signal can be a UWB (Ultra Wideband) signal, or other wireless signals, such as 4G or 5G signals. Typically, UWB operates in the frequency range of 3.1 GHz to 10.6 GHz, with a minimum operating bandwidth of 500 MHz.
[0032] Also refer to Figure 2 , Figure 2 This is a schematic diagram showing the configuration of the first antenna 10 and the second antenna 20 in the electronic device provided in the embodiments of this application.
[0033] The first antenna 10 and the second antenna 20 are spaced apart, for example, they can be spaced apart on the motherboard of the electronic device 100. The first antenna 10 can be one of a patch antenna, a planar inverted-F antenna (PIFA), or a stacked antenna. The second antenna 20 can also be one of a patch antenna, a planar inverted-F antenna, or a stacked antenna. In one application example, both the first antenna 10 and the second antenna 20 can be patch antennas. In another application example, the first antenna 10 can be a patch antenna, and the second antenna 20 can be a planar inverted-F antenna. In yet another application example, both the first antenna 10 and the second antenna 20 can be planar inverted-F antennas, and the openings of the two planar inverted-F antennas can be arranged arbitrarily.
[0034] In some embodiments, the operating frequency of the first antenna 10 is the same as that of the second antenna 20. The radiation pattern of the first antenna 10 within the main field of view (FOV) is similar to that of the second antenna 20 within the main FOV; for example, the radiation direction of the first antenna 10 is the same as that of the second antenna 20. In practical applications, both the first antenna 10 and the second antenna 20 can be configured as UWB antennas, operating at the same frequency and radiating signals in the same direction.
[0035] Continue to refer to Figure 1 The hybrid network 30 can be disposed on the motherboard of the electronic device 100. The hybrid network 30 is electrically connected to the first antenna 10 and the second antenna 20. The hybrid network 30 is a multi-port device. The hybrid network 30 is used to receive the first received signal and the second received signal, and is used to output the sum beam of the first received signal and the second received signal, and to output the difference beam of the first received signal and the second received signal.
[0036] Also refer to Figure 3 , Figure 4 as well as Figure 5 .in, Figure 3 This is a three-dimensional beam pattern of the difference beam between the first received signal and the second received signal in the electronic device provided in this application embodiment. Figure 4 This is a three-dimensional radiation pattern of the sum beam of the first received signal and the second received signal in the electronic device provided in the embodiments of this application. Figure 5 The difference beam and sum beam of the first received signal and the second received signal in the electronic device provided in the embodiments of this application are two-dimensional radiation patterns.
[0037] Continue to refer to Figure 1 The processor 40 can be mounted on the motherboard of the electronic device 100. The processor 40 is electrically connected to the hybrid network 30. The processor 40 is used to calculate the amplitude difference between the difference beam and the sum beam output by the hybrid network 30, and to determine the orientation of the signal source relative to the electronic device 100 based on the amplitude difference, thereby achieving the localization of the signal source.
[0038] In some embodiments, the processor 40 is configured to calculate the amplitude difference between the difference beam and the sum beam according to the following formula:
[0039]
[0040] Where f(θ) is the amplitude difference, F Δ (θ) represents the difference beam, F ∑ (θ) represents the sum beam.
[0041] In some embodiments, reference Figure 6 , Figure 6 This is a schematic diagram of a second structure of the electronic device 100 provided in an embodiment of this application.
[0042] The electronic device 100 also includes a memory 50, which may be located on the motherboard of the electronic device 100. The memory 50 stores the mapping relationship between the amplitude difference and the orientation of the signal source relative to the electronic device 100. Understandably, this mapping relationship can be stored in the memory 50 in different forms such as tables, functions, or curves. This mapping relationship can be established in advance by measuring multiple sets of data experimentally. For example, during an experiment, the orientation of the signal source relative to the electronic device can be set, and then the corresponding amplitude difference can be detected and recorded to obtain multiple sets of data.
[0043] For example, one representation of this mapping relationship can be shown in Table 1 below:
[0044] Table 1. Mapping relationship between amplitude difference and the orientation of the signal source relative to the electronic device.
[0045]
[0046] After calculating the amplitude difference between the difference beam and the sum beam, the processor 40 can match this amplitude difference with the aforementioned mapping relationship, for example, by looking up a table, to obtain the target azimuth corresponding to the amplitude difference. For example, if the H angle (elevation angle) corresponding to the amplitude difference is -60 and the V angle (azimuth angle) is 60, then the target azimuth H / V corresponding to the amplitude difference can be matched to (-60, 60). Subsequently, this target azimuth can be determined as the azimuth of the signal source relative to the electronic device 100.
[0047] In some embodiments, the above mapping relationship is a mapping relationship between the normalized amplitude difference and the orientation of the signal source relative to the electronic device. For example, after measuring multiple sets of data experimentally, these sets of data can be normalized, and a mapping relationship between the amplitude difference and the orientation of the signal source relative to the electronic device can be established based on the normalized data. The normalization process can be one that minimizes the amplitude difference to 0 dB. (See also...) Figure 7 , Figure 7 This is a schematic diagram illustrating the mapping relationship between the normalized amplitude difference and the orientation of the signal source relative to the electronic device in an electronic device provided in an embodiment of this application. This mapping relationship is represented by a curve, and therefore can also be called an angle discrimination curve. In this angle discrimination curve, the horizontal axis represents the beam direction (in degrees), i.e., the orientation of the signal source relative to the electronic device; the vertical axis represents the amplitude (in dB), i.e., the normalized amplitude difference.
[0048] After calculating the amplitude difference between the difference beam and the sum beam, the processor 40 normalizes this amplitude difference to obtain a normalized amplitude difference. Then, the normalized amplitude difference is matched with the mapping relationship, for example, by looking up a table, to obtain the target azimuth corresponding to the normalized amplitude difference. Subsequently, the matched target azimuth can be determined as the azimuth of the signal source relative to the electronic device 100.
[0049] In some embodiments, before determining the orientation of the signal source relative to the electronic device based on the amplitude difference, the processor 40 may further compare the amplitude difference between the difference beam and the sum beam with a preset threshold to determine whether the amplitude difference is less than the preset threshold. If the amplitude difference is less than the preset threshold, the orientation of the signal source relative to the electronic device is determined based on the amplitude difference; if the amplitude difference is not less than the preset threshold, the processing can be terminated.
[0050] The preset threshold can be determined experimentally in advance and stored in the electronic device 100.
[0051] In some embodiments, reference Figure 8 , Figure 8This is a third structural schematic diagram of the electronic device 100 provided in this application embodiment. The electronic device 100 also includes an inertial measurement unit (IMU) 60. The inertial measurement unit 60 is electrically connected to the processor 40. The inertial measurement unit 60 can be disposed, for example, on the motherboard of the electronic device 100. The inertial measurement unit 60 can be used to measure the attitude of the electronic device 100, which may include the orientation, pitch angle, etc. of the electronic device 100.
[0052] After determining the orientation of the signal source relative to the electronic device 100, the processor 40 can acquire the attitude of the electronic device 100 measured by the inertial measurement unit 60. Subsequently, the spatial orientation of the signal source is determined based on the orientation of the signal source relative to the electronic device 100 and the attitude of the electronic device.
[0053] For example, after the inertial measurement unit 60 measures the attitude of the electronic device 100, it can determine the orientation of the electronic device 100, its pitch angle relative to the horizontal plane, etc. The orientation of the signal source relative to the electronic device 100 includes the H-angle (pitch angle) and V-angle (azimuth angle) relative to the electronic device 100. Therefore, the processor 40 can determine the spatial orientation of the signal source based on the attitude of the electronic device 100 and the orientation of the signal source relative to the electronic device 100. This spatial orientation can also be understood as the actual orientation of the signal source in space.
[0054] The electronic device 100 provided in this application embodiment obtains a first received signal through a first antenna 10 and a second received signal through a second antenna 20. A hybrid network 30 outputs the difference beam and the sum beam of the first and second received signals. A processor 40 determines the orientation of the signal source relative to the electronic device 100 based on the amplitude difference between the difference beam and the sum beam. Therefore, when locating the signal source, the electronic device 100 is not affected by the phase of the first and second received signals. Thus, the distance between the phase center of the first antenna 10 and the phase center of the second antenna 20 is not limited. The first antenna 10 and the second antenna 20 can be set according to the actual layout space in the electronic device 100. Compared with the traditional phase difference method for angle measurement, it is not necessary to limit the distance between the phase center of the first antenna 10 and the phase center of the second antenna 20 to within 1 / 2 wavelength. Therefore, it can reduce the antenna design difficulty in the electronic device 100 and improve the flexibility of antenna layout.
[0055] Therefore, in practical applications, the distance between the phase center of the first antenna 10 and the phase center of the second antenna 20 can be set to be less than half the wavelength of the received wireless signal. In other embodiments, based on the actual layout space of the electronic device 100, the distance between the phase center of the first antenna 10 and the phase center of the second antenna 20 can also be set to be greater than or equal to half the wavelength of the received wireless signal.
[0056] In some embodiments, reference Figure 9 , Figure 9 This is a schematic diagram of a fourth structure of the electronic device 100 provided in the embodiments of this application.
[0057] The hybrid network 30 includes a first port P1, a second port P2, a third port P3, and a fourth port P4. The first port P1 is electrically connected to the first antenna 10 and is used to receive the first received signal from the first antenna 10. The second port P2 is electrically connected to the second antenna 20 and is used to receive the second received signal from the second antenna 20. The third port P3 is electrically connected to the processor 40 and is used to output the sum beam of the first and second received signals. The fourth port P4 is electrically connected to the processor 40 and is used to output the difference beam of the first and second received signals. It can be understood that, in this case, the first port P1 and the second port P2 serve as input ports, and the third port P3 and the fourth port P4 serve as output ports.
[0058] In some embodiments, the hybrid network 30 is a 180° hybrid network, also referred to as a 180° hybrid junction. The phase difference of the differential beam is 180°. In practical applications, the hybrid network 30 can be one of a ring hybrid network, a tapered matching line and coupling line, a hybrid waveguide junction, or a magic T.
[0059] In some embodiments, the electronic device 100 further includes an RF transceiver 70 and a switching switch 80. The RF transceiver 70 is electrically connected to the processor 40 and is electrically connected to the hybrid network 30 via the switching switch 80, for example, to the third port P3 and the fourth port P4 of the hybrid network 30.
[0060] The radio frequency transceiver 70 includes a transmit port TX and a receive port RX. Both the transmit port TX and the receive port RX are electrically connected to the processor 40. The transmit port TX is used to provide an excitation signal. The receive port RX is used to transmit the difference beam and the beam output from the hybrid network 30 to the processor 40.
[0061] The switch 80 is electrically connected to the transmit port TX, the receive port RX, the third port P3, and the fourth port P4. The switch 80 is used to connect the transmit port TX to one of the third port P3 or the fourth port P4, and to connect the receive port RX to the other of the third port P3 or the fourth port P4. For example, the switch 80 can connect the transmit port TX to the third port P3 and the receive port RX to the fourth port P4; or it can connect the transmit port TX to the fourth port P4 and the receive port RX to the third port P3.
[0062] The changeover switch 80 can be a DPDT (double-pole double-throw switch) or a switching circuit that performs the above functions. The changeover switch 80 can be controlled by the processor 40 or by other means such as a drive circuit.
[0063] In practical applications, when the electronic device 100 locates the signal source, it can control the switch 80 to connect the receiving port RX and the third port P3 (at this time, the transmitting port TX is connected to the fourth port P4) to transmit the sum beam output from the third port P3 to the processor 40; then, it controls the switch 80 to connect the receiving port RX and the fourth port P4 (at this time, the transmitting port TX is connected to the third port P3) to transmit the difference beam output from the fourth port P4 to the processor 40. Therefore, the processor 40 can acquire the difference beam and the sum beam, and process the difference beam and the sum beam to locate the signal source.
[0064] Understandably, in practical applications, electronic device 100 can also transmit wireless signals to the outside world, such as transmitting UWB signals. In this case, electronic device 100 is a signal source relative to other devices, and other devices can locate electronic device 100 through the wireless signals transmitted by electronic device 100.
[0065] For example, the transmit port TX of the RF transceiver 70 can provide an excitation signal. When the control switch 80 connects the transmit port TX to the third port P3 (at which time the receive port RX is connected to the fourth port P4), the excitation signal is applied to the third port P3. At this time, the hybrid network 30 can output a first excitation signal at the first port P1 and a second excitation signal at the second port P2. The first and second excitation signals have equal amplitudes and the same phase. The first and second excitation signals together form a beam excitation signal, which is radiated to the outside through the first antenna 10 and the second antenna 20 to produce a corresponding wireless signal. The beam excitation signal can improve the antenna gain, thus increasing the strength of the wireless signal radiated to the outside by the first antenna 10 and the second antenna 20.
[0066] When the control switch 80 connects the transmit port TX and the fourth port P4 (at which time the receive port RX is connected to the third port P3), the excitation signal is applied to the fourth port P4. At this time, the hybrid network 30 can output the third excitation signal at the first port P1 and the fourth excitation signal at the second port P2. The third and fourth excitation signals have the same amplitude but opposite phase. The third and fourth excitation signals together form a differential beam excitation signal, which is radiated to the outside world through the first antenna 10 and the second antenna 20, producing the corresponding wireless signal.
[0067] This application also provides a positioning method applied to the aforementioned electronic device 100. (See reference...) Figure 10 , Figure 10 This is a flowchart illustrating the positioning method provided in an embodiment of this application. The positioning method includes the following steps:
[0068] 210, Obtain the difference beam between the first received signal and the second received signal;
[0069] 220, obtain the sum beam of the first received signal and the second received signal;
[0070] 230, calculate the amplitude difference between the difference beam and the sum beam;
[0071] 240. The orientation of the signal source relative to the electronic equipment is determined based on this amplitude difference.
[0072] In some embodiments, the amplitude difference between the difference beam and the sum beam is calculated using the following formula:
[0073] Where f(θ) is the amplitude difference, F Δ (θ) represents the difference beam, F ∑ (θ) represents the sum beam.
[0074] In some embodiments, the electronic device pre-stores a mapping relationship between the amplitude difference and the orientation of the signal source relative to the electronic device. Determining the orientation of the signal source relative to the electronic device based on this amplitude difference includes the following steps:
[0075] The amplitude difference between the difference beam and the sum beam is matched with this mapping relationship to obtain the target azimuth corresponding to the amplitude difference;
[0076] The target's location is determined as the location of the signal source relative to the electronic equipment.
[0077] In some embodiments, the mapping relationship is a normalized amplitude difference mapping relationship between the source and the azimuth of the electronic device. Matching the amplitude difference between the difference beam and the sum beam with this mapping relationship to obtain the target azimuth corresponding to the amplitude difference includes the following steps:
[0078] The amplitude difference between the difference beam and the sum beam is normalized to obtain a normalized amplitude difference.
[0079] The normalized amplitude difference is matched with this mapping relationship to obtain the target azimuth corresponding to the normalized amplitude difference.
[0080] In some embodiments, determining the orientation of the signal source relative to the electronic device based on the amplitude difference includes the following steps:
[0081] Determine whether the amplitude difference between the difference beam and the sum beam is less than a preset threshold;
[0082] If the amplitude difference between the differential beam and the sum beam is less than the preset threshold, the orientation of the signal source relative to the electronic device is determined based on the amplitude difference.
[0083] In some embodiments, after determining the orientation of the signal source relative to the electronic device based on the amplitude difference, the method further includes the following steps:
[0084] Determine the orientation of the electronic device;
[0085] The spatial orientation of the signal source is determined based on the orientation of the signal source relative to the electronic device and the attitude of the electronic device.
[0086] For details on the specific implementation of each step in the above positioning method, please refer to the descriptions in the various embodiments of the above electronic device, which will not be repeated here.
[0087] In the positioning method provided in this application embodiment, the phase of the first received signal and the second received signal do not affect the positioning of the signal source. Therefore, there is no limitation on the distance between the phase center of the first antenna and the phase center of the second antenna in the electronic device. The first antenna and the second antenna can be set according to the actual layout space in the electronic device. Compared with the traditional phase difference method for angle measurement, there is no need to limit the distance between the phase center of the first antenna and the phase center of the second antenna to within 1 / 2 wavelength. Therefore, it can reduce the antenna design difficulty in the electronic device and improve the flexibility of antenna layout.
[0088] In the description of this application, it should be understood that terms such as “first” and “second” are used only to distinguish similar objects and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0089] The electronic device and positioning method provided in the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application, and the descriptions of the embodiments above are only for the purpose of helping to understand this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. An electronic device, characterized in that, Including a processor, the electronic device also includes: The first antenna is used to receive the wireless signal transmitted by the signal source in order to obtain the first received signal; A second antenna is provided at a distance from the first antenna. The second antenna is used to receive the wireless signal transmitted by the signal source to obtain a second received signal. A hybrid network includes a first port, a second port, a third port, and a fourth port. The first port is electrically connected to the first antenna and is used to receive the first received signal. The second port is electrically connected to the second antenna and is used to receive the second received signal. The third port is electrically connected to the processor and is used to output the sum beam of the first and second received signals. The fourth port is electrically connected to the processor and is used to output the difference beam of the first and second received signals. The processor is electrically connected to the hybrid network and is used to calculate the amplitude difference between the difference beam and the sum beam, and to determine the orientation of the signal source relative to the electronic device based on the amplitude difference. A radio frequency transceiver includes a transmit port and a receive port, both of which are electrically connected to the processor; and A switch is electrically connected to the transmitting port, the receiving port, the third port, and the fourth port; wherein, The switching switch is used to connect the receiving port and the third port to transmit the sum beam output from the third port to the processor. The switching switch is also used to connect the receiving port and the fourth port to transmit the difference beam output from the fourth port to the processor. The transmitting port is used to provide an excitation signal; when the switching switch connects the transmitting port and the third port, the first port outputs a first excitation signal and the second port outputs a second excitation signal, the amplitudes of the first excitation signal and the second excitation signal are equal and the phases are the same; when the switching switch connects the transmitting port and the fourth port, the first port outputs a third excitation signal and the second port outputs a fourth excitation signal, the amplitudes of the third excitation signal and the fourth excitation signal are the same and the phases are opposite.
2. The electronic device according to claim 1, characterized in that, The processor is used to calculate the amplitude difference between the difference beam and the sum beam according to the following formula: in, The amplitude difference, For the difference beam, For the beam.
3. The electronic device according to claim 1, characterized in that, It also includes a memory electrically connected to the processor, wherein the memory stores the mapping relationship between the amplitude difference and the orientation of the signal source relative to the electronic device; The processor is configured to: match the amplitude difference between the difference beam and the sum beam with the mapping relationship to obtain the target azimuth corresponding to the amplitude difference, and determine the target azimuth as the azimuth of the signal source relative to the electronic device.
4. The electronic device according to claim 3, characterized in that, The mapping relationship is a mapping relationship between the normalized amplitude difference and the orientation of the signal source relative to the electronic device; The processor is configured to: normalize the amplitude difference between the difference beam and the sum beam to obtain a normalized amplitude difference; The normalized amplitude difference is matched with the mapping relationship to obtain the target orientation corresponding to the normalized amplitude difference; The target orientation is determined as the orientation of the signal source relative to the electronic device.
5. The electronic device according to any one of claims 1 to 4, characterized in that, The processor is configured to: determine whether the amplitude difference between the difference beam and the sum beam is less than a preset threshold; if the amplitude difference between the difference beam and the sum beam is less than the preset threshold, determine the orientation of the signal source relative to the electronic device based on the amplitude difference.
6. The electronic device according to any one of claims 1 to 4, characterized in that, It also includes an inertial measurement unit, which is electrically connected to the processor, and the inertial measurement unit is used to measure the attitude of the electronic device; The processor is further configured to: determine the spatial orientation of the information source based on the orientation of the information source relative to the electronic device and the attitude of the electronic device.
7. The electronic device according to any one of claims 1 to 4, characterized in that, The hybrid network is a 180° hybrid network, and the phase difference of the difference beam is 180°.
8. The electronic device according to claim 7, characterized in that, The hybrid network is one of the following: ring hybrid network, gradient matching line and coupling line, hybrid waveguide junction, and magic T.
9. The electronic device according to any one of claims 1 to 4, characterized in that: The first antenna is one of a patch antenna, a planar inverted-F antenna, or a stacked antenna; The second antenna is one of the following: patch antenna, planar inverted-F antenna, and stacked antenna; The first antenna operates at the same frequency as the second antenna, and the radiation direction of the first antenna is the same as that of the second antenna.
10. The electronic device according to any one of claims 1 to 4, characterized in that, The distance between the phase center of the first antenna and the phase center of the second antenna is greater than or equal to half the wavelength of the wireless signal.
11. A positioning method, applied to the electronic device according to any one of claims 1 to 10, characterized in that, The positioning method includes: Obtain the difference beam between the first received signal and the second received signal; Obtain the sum beam of the first received signal and the second received signal; Calculate the amplitude difference between the difference beam and the sum beam; The orientation of the signal source relative to the electronic device is determined based on the amplitude difference.
12. The positioning method according to claim 11, characterized in that, The amplitude difference between the difference beam and the sum beam is calculated using the following formula: in, The amplitude difference, For the difference beam, For the beam.
13. The positioning method according to claim 11, characterized in that, The electronic device pre-stores a mapping relationship between amplitude difference and the orientation of the signal source relative to the electronic device. Determining the orientation of the signal source relative to the electronic device based on the amplitude difference includes: The amplitude difference between the difference beam and the sum beam is matched with the mapping relationship to obtain the target azimuth corresponding to the amplitude difference; The target orientation is determined as the orientation of the signal source relative to the electronic device.
14. The positioning method according to claim 13, characterized in that, The mapping relationship is a mapping relationship between the normalized amplitude difference and the orientation of the signal source relative to the electronic device; The step of matching the amplitude difference between the difference beam and the sum beam with the mapping relationship to obtain the target azimuth corresponding to the amplitude difference includes: The amplitude difference between the difference beam and the sum beam is normalized to obtain a normalized amplitude difference. The normalized amplitude difference is matched with the mapping relationship to obtain the target orientation corresponding to the normalized amplitude difference.
15. The positioning method according to any one of claims 11 to 14, characterized in that, Determining the orientation of the signal source relative to the electronic device based on the amplitude difference includes: Determine whether the amplitude difference between the difference beam and the sum beam is less than a preset threshold; If the amplitude difference between the difference beam and the sum beam is less than the preset threshold, the orientation of the signal source relative to the electronic device is determined based on the amplitude difference.
16. The positioning method according to any one of claims 11 to 14, characterized in that, After determining the orientation of the signal source relative to the electronic device based on the amplitude difference, the method further includes: Determine the orientation of the electronic device; The spatial orientation of the signal source is determined based on the orientation of the signal source relative to the electronic device and the attitude of the electronic device.
Citation Information
Patent Citations
Target device orientation determining method and device
CN106932750A
Angle measuring method, angle measuring device and angle measuring system
CN109557536A