Electronic equipment, distance measuring method and computer readable medium
By using the combination of left-handed circular polarization and right-handed circular polarization antennas in electronic devices and combining signal processing strategies with different circular polarization attributes, the problem of distance measurement inaccurate caused by interference from the target object cavity is solved, and a higher precision distance measurement is achieved.
Patent Information
- Application Number
- CN202510529421.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-24
- Publication Date
- 2025-08-01
AI Technical Summary
The distance measurement performance of existing electronic equipment is not good enough, especially when facing interference caused by the target object surface cavity, the distance measurement accuracy is insufficient.
The combination of left-handed circularly polarized antenna and right-handed circularly polarized antenna is adopted to eliminate interference caused by the target object cavity through signal processing strategies with different circularly polarized attributes, and accurately calculate the distance between the electronic device and the target object.
The accuracy of distance measurement of electronic equipment is improved, especially in the presence of a cavity on the surface of the target object, the distance can be calculated more accurately.
Smart Images

Figure CN120405565A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an electronic device, a ranging method, and a computer-readable medium. Background Art
[0002] With technological advancements, electronic devices with ranging capabilities, such as mobile phones, are becoming increasingly popular and powerful. Electronic devices often include antenna components to enable ranging capabilities. However, the ranging performance of electronic devices in related technologies is insufficient, leaving room for improvement. Summary of the Invention
[0003] In a first aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:
[0004] An antenna assembly, the antenna assembly comprising:
[0005] a first antenna, wherein the first antenna is one of a left-hand circularly polarized antenna or a right-hand circularly polarized antenna, and the first antenna is used to send a detection signal;
[0006] a second antenna, the second antenna being the other of a left-hand circularly polarized antenna or a right-hand circularly polarized antenna;
[0007] a transceiver module electrically connected to the first antenna and the second antenna to receive a target reflection signal which is reflected by a target object from the detection signal and received by one of the first antenna and the second antenna; and
[0008] A processing module, if the circular polarization property of the target reflection signal is different from the circular polarization property of the detection signal, the processing module adopts a first processing strategy to obtain the distance between the electronic device and the target object; if the circular polarization property of the target reflection signal is the same as the circular polarization property of the detection signal, the processing module adopts a second processing strategy to obtain the distance between the electronic device and the target object, wherein the second processing strategy includes eliminating interference caused by the cavity of the target object.
[0009] In a second aspect, the present application provides a ranging method, the ranging method comprising:
[0010] The first antenna transmits a detection signal, wherein the first antenna is one of a left-hand circularly polarized antenna or a right-hand circularly polarized antenna;
[0011] receiving a target reflected signal which is reflected by a target object from a detection signal and is received by one of the first antenna and the second antenna;
[0012] If the circular polarization attribute of the target reflected signal is different from that of the detection signal, a first processing strategy is adopted to obtain the distance between the electronic device and the target object. If the circular polarization attribute of the target reflected signal is the same as that of the detection signal, a second processing strategy is adopted to obtain the distance between the electronic device and the target object, where the second processing strategy includes eliminating the interference caused by the cavity of the target object.
[0013] In a third aspect, the present application provides a computer-readable medium for storing a computer program, which, when executed by the computer-readable program, runs the ranging method as described in the second aspect.
[0014] For the electronic device provided in the embodiment of the present application, if the circular polarization attribute of the target reflected signal is different from that of the detection signal, the processing module adopts a first processing strategy to obtain the distance between the electronic device and the target object; if the circular polarization attribute of the target reflected signal is the same as that of the detection signal, the processing module adopts a second processing strategy to obtain the distance between the electronic device and the target object, where the second processing strategy includes eliminating the interference caused by the cavity of the target object, thereby improving the accuracy of measuring the distance between the electronic device and the target object. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0016] Figure 1 Schematic diagram when the electronic device provided in an embodiment of the application measures the distance to a target object;
[0017] Figure 2 For Figure 1 Circuit block diagram of the electronic device shown;
[0018] Figure 3 Schematic diagram of distance measurement when there is one reflection between the electronic device and the target object in an embodiment;
[0019] Figure 4 Schematic diagram of distance measurement when there are two reflections between the electronic device and the target object in an embodiment;
[0020] Figure 5 Detail circuit block diagram of the electronic device provided in an embodiment of the present application;
[0021] Figure 6 Schematic diagram of phase change when an electronic device shown in Figure 4 measures the distance to a target object;
[0022] Figure 7 Schematic diagram when an electronic device provided in another embodiment measures the distance to a target object;
[0023] Figure 8 Flowchart of a ranging method provided in one embodiment of the present application;
[0024] Figure 9 Flowchart of a ranging method provided in another embodiment of the present application. Specific embodiments
[0025] Next, the technical solutions of the present application will be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments of the present application are only a part of the embodiments, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments provided in the present application without creative efforts fall within the protection scope of the present application.
[0026] The mention of "embodiment" in the present application means that the specific features, structures or characteristics described in connection with the embodiment may be included in at least one embodiment of the present application. The phrase does not necessarily refer to the same embodiment at every position in the specification, nor is it an exclusive, independent or alternative embodiment to other embodiments. Those skilled in the art can explicitly and implicitly understand that the embodiments described in the present application can be combined with other embodiments.
[0027] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a component or device including one or more components is not limited to the one or more components listed, but optionally further includes one or more components not listed but inherent in the product shown, or one or more components that should be possessed based on the described function.
[0028] Please refer to Figure 1 and Figure 2 , Figure 1 Schematic diagram when an electronic device provided in one embodiment of the application measures the distance to a target object; Figure 2 is Figure 1Circuit block diagram of the electronic device shown. The electronic device 1 can be, but is not limited to, a mobile phone with a ranging function, or a tablet computer, or a personal computer, or a laptop computer (Personal Computer, PC), or headphones, or a watch, or a wearable device, etc. with a ranging function. Since the electronic device 1 has a ranging function, the electronic device 1 is also referred to as a ranging device. In the embodiments of the present application, the electronic device 1 is taken as an example of a mobile phone for illustration. It can be understood that it should not be construed as a limitation on the electronic device 1 provided in the embodiments of the present application. The electronic device 1 is used to measure the distance to the target object 3. The electronic device 1 includes an antenna assembly 110, a transceiver module 120, and a processing module 130. The antenna assembly 110 includes a first antenna 111 and a second antenna 112. The first antenna 111 is one of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna, and the first antenna 111 is used to emit a detection signal. The second antenna 112 is the other of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna. The transceiver module 120 is electrically connected to the first antenna 111 and the second antenna 112 to receive the target reflection signal reflected by the target object 3 on the detection signal and received through one of the first antenna 111 and the second antenna 112. If the circular polarization attribute of the target reflection signal is different from the circular polarization attribute of the detection signal, the processing module 130 adopts a first processing strategy to obtain the distance between the electronic device 1 and the target object 3; if the circular polarization attribute of the target reflection signal is the same as the circular polarization attribute of the detection signal, the processing module 130 adopts a second processing strategy to obtain the distance between the electronic device 1 and the target object 3, where the second processing strategy includes eliminating the interference caused by the cavity 310 of the target object 3.
[0029] In one embodiment, both the first antenna 111 and the second antenna 112 are antennas that support Ultra Wide Band (UWB) technology. It should be noted that the embodiments of the present application do not limit the specific form of the first antenna 111 and the second antenna 112, nor the positions of the first antenna 111 and the second antenna 112 in the electronic device 1, nor the operating frequency bands of the first antenna 111 and the second antenna 112. In addition, the embodiments of the present application do not limit the number of the first antenna 111 and the number of the second antenna 112 either.
[0030] The first antenna 111 is one of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna, and the second antenna 112 is the other of the left-handed circularly polarized antenna or the right-handed circularly polarized antenna. In other words, the circular polarization attributes of the first antenna 111 and the second antenna 112 are different. Specifically, when the first antenna 111 is a left-handed circularly polarized antenna, the second antenna 112 is a right-handed circularly polarized antenna; when the first antenna 111 is a right-handed circularly polarized antenna, the second antenna 112 is a left-handed circularly polarized antenna. In this embodiment, the first antenna 111 emits a detection signal. Therefore, the first antenna 111 is a transmitting antenna. In this embodiment, the case where the first antenna 111 is a left-handed circularly polarized antenna is taken as an example for description.
[0031] When an electromagnetic wave signal with left-handed circular polarization encounters an object and is reflected an odd number of times (such as once, three times, etc.), it becomes an electromagnetic wave signal with right-handed circular polarization. When an electromagnetic wave signal with left-handed circular polarization encounters an object and is reflected an even number of times (such as twice, four times, etc.), it remains an electromagnetic wave signal with left-handed circular polarization. Correspondingly, when an electromagnetic wave signal with right-handed circular polarization encounters an object and is reflected an odd number of times (such as once, three times, etc.), it becomes an electromagnetic wave signal with left-handed circular polarization. When an electromagnetic wave signal with right-handed circular polarization encounters an object and is reflected an even number of times (such as twice, four times, etc.), it remains an electromagnetic wave signal with right-handed circular polarization.
[0032] A left-handed circularly polarized antenna can receive an electromagnetic wave signal with left-handed circular polarization, but cannot receive an electromagnetic wave signal with right-handed circular polarization. Correspondingly, a right-handed circularly polarized antenna can receive an electromagnetic wave signal with right-handed circular polarization, but cannot receive an electromagnetic wave signal with left-handed circular polarization.
[0033] Therefore, when the first antenna 111 is a left-handed circularly polarized antenna and the second antenna 112 is a right-handed circularly polarized antenna, the first antenna 111 can receive an electromagnetic wave with left-handed circular polarization, and the second antenna 112 can receive an electromagnetic wave with right-handed circular polarization. Correspondingly, when the first antenna 111 is a right-handed circularly polarized antenna and the second antenna 112 is a left-handed circularly polarized antenna, the first antenna 111 can receive an electromagnetic wave with right-handed circular polarization, and the second antenna 112 can receive an electromagnetic wave with left-handed circular polarization.
[0034] For example, when the first antenna 111 is a left-handed circularly polarized antenna and the second antenna 112 is a right-handed circularly polarized antenna, the detection signal transmitted by the first antenna 111 is a left-handed circularly polarized signal (also known as a left-handed circularly polarized wave), or a detection signal with left-handed circular polarization, or an electromagnetic wave with left-handed circular polarization. When the electromagnetic wave signal with left-handed circular polarization encounters an object and undergoes an odd number of reflections (such as once, three times, etc.), it becomes a right-handed circularly polarized electromagnetic wave signal; and since the first antenna 111 is a left-handed circularly polarized antenna and the second antenna 112 is a right-handed circularly polarized antenna, the electromagnetic wave signal that has become right-handed circularly polarized cannot be received by the first antenna 111 but can be received by the second antenna 112.
[0035] The detection signal is transmitted to the target object 3 and is reflected by the target object 3 to obtain a target reflection signal. If the circular polarization attribute of the target reflection signal is the same as that of the detection signal, then the target reflection signal can be received by the first antenna 111 and transmitted to the transceiver module 120. If the circular polarization attribute of the target reflection signal is different from that of the detection signal, then the target reflection signal can be received by the second antenna 112 and transmitted to the transceiver module 120.
[0036] The so-called circular polarization attribute of the target reflection signal being the same as that of the detection signal means that: when the detection signal is left-handed circularly polarized, the target reflection signal is also left-handed circularly polarized; when the detection signal is right-handed circularly polarized, the target reflection signal is also right-handed circularly polarized. In this embodiment, when the first antenna 111 is a left-handed circularly polarized antenna, the detection signal is left-handed circularly polarized. If the target reflection signal is left-handed circularly polarized, it means that the circular polarization attribute of the target reflection signal is the same as that of the detection signal. If the target emission signal is right-handed circularly polarized, it means that the circular polarization attribute of the target reflection signal is different from that of the detection signal.
[0037] Generally speaking, the odd number of reflections of the detection signal by the target object 3 is usually one reflection; and the even number of reflections of the detection signal by the target object 3 is usually two reflections. Next, the cases of one reflection and two reflections of the detection by the target object 3 will be described in detail.
[0038] Please refer to Figure 3 , Figure 3Schematic diagram of ranging between an electronic device and a target object in one implementation when there is one reflection. If the circular polarization attribute of the target reflection signal is different from that of the detection signal, it indicates that the detection signal has undergone an odd number of reflections to obtain the target reflection signal. If the circular polarization attribute of the target reflection signal is different from that of the detection signal, the processing module 130 uses the first processing strategy to obtain the distance between the electronic device 1 and the target object 3. The first processing strategy will be described in detail later.
[0039] Please refer to Figure 4 , Figure 4 Schematic diagram of ranging between an electronic device and a target object in one implementation when there are two reflections. In Figure 4 , the surface of the target object 3 facing the electronic device 1 has a cavity 310. Among them, the cavity 310 includes one or more of a receiving cavity, a hole, an angle, a pit, etc.
[0040] If the circular polarization attribute of the target reflection signal is the same as that of the detection signal, it indicates that the detection signal has undergone an even number of reflections to obtain the target reflection signal. Generally, when the detection signal irradiates the cavity 310 on the surface of the target object 3, the presence of the cavity 310 will cause the detection signal to undergo an even number of reflections to obtain the reflection signal. Thus, when there is a cavity 310 on the surface of the target object 3, if the processing module 130 ignores the influence brought by the cavity 310 on the surface of the target object 3 when calculating the distance between the electronic device 1 and the target object 3, it will lead to inaccurate calculation results of the distance between the electronic device 1 and the target object 3.
[0041] For the electronic device 1 provided in the embodiment of the present application, if the circular polarization attribute of the target reflection signal is different from that of the detection signal, the processing module 130 uses the first processing strategy to obtain the distance between the electronic device 1 and the target object 3; if the circular polarization attribute of the target reflection signal is the same as that of the detection signal, the processing module 130 uses the second processing strategy to obtain the distance between the electronic device 1 and the target object 3, where the second processing strategy includes eliminating the interference brought by the cavity 310 of the target object 3, thereby improving the accuracy of measuring the distance between the electronic device 1 and the target object 3.
[0042] Please refer to Figure 3 and Figure 5 , Figure 5This is a detailed circuit block diagram of an electronic device provided in one embodiment of the present application. In this embodiment, the processing module 130 includes a first sub-processing module 131. The first sub-processing module 131 uses the first processing strategy to determine the distance D between the electronic device 1 and the target object 3. D satisfies the following equation: D = c * T / 2. Where c is the flight speed of the detection signal, and T is the time interval between the transceiver module 120 receiving the target reflection signal and the first antenna 111 transmitting the detection signal.
[0043] In this embodiment, c is the speed of the detection signal, a known number equal to or approximately equal to the speed of light. In this embodiment, the time when the first antenna 111 transmits the detection signal is T0, and the time when it reaches the target object 3 is T1. Therefore, the time it takes for the detection signal to travel from the first antenna 111 to the target object 3 is T1-T0. The time when the transceiver module 120 receives the target reflected signal is T2. Therefore, the time it takes for the reflected signal to travel from the target object 3 to the transceiver module 120 is T2-T1. T0 and T2 are known, and T2-T1 = T1-T0. Therefore, the time interval T between the detection signal from the first antenna 111 to the target object 3 is (T2-T0). Therefore, when the first sub-processing module 131 calculates the distance D between the electronic device 1 and the target object 3 using the first processing strategy, D = c*T / 2 = c*(T2-T0) / 2 = c*TOF. Wherein, TOF=(T2-T0) / 2, TOF is also called time of flight.
[0044] In the electronic device 1 provided in the embodiment of the present application, when the circular polarization property of the target reflection signal is different from the circular polarization property of the detection signal, the processing module 130 adopts a first processing strategy to obtain the distance D between the electronic device 1 and the target object 3, where D satisfies: D = c*T / 2. Wherein, c is the flight speed of the detection signal, and T is the time interval between the transceiver module 120 receiving the target reflection signal and the first antenna 111 sending the detection signal. It can be seen that the electronic device 1 provided in the embodiment of the present application can also relatively accurately calculate the distance between the electronic device 1 and the target object 3 when the circular polarization property of the target reflection signal is different from the circular polarization property of the detection signal.
[0045] Please also refer to Figure 4 、 Figure 5 and Figure 6 , Figure 6 for Figure 4Schematic diagram of phase change when the electronic device shown measures the distance to the target object. In this embodiment, the processing module 130 further includes a second sub-processing module 132. The second sub-processing module 132 uses the second processing strategy to obtain the distance between the electronic device 1 and the target object 3 based on the flight speed, the time interval, the phase of the detection signal, and the phase of the target reflection signal.
[0046] When the detection signal emitted by the first antenna 111 reaches the target object 3 from the first antenna 111, the phase of the detection signal will change. The target object 3 reflects the detection signal, and the phase will also change during the transmission of the reflected signal.
[0047] Therefore, the second processing strategy obtains the distance between the electronic device 1 and the target object 3 based on the flight speed, the time interval, the phase of the detection signal, and the phase of the target reflection signal, thereby eliminating the interference caused by the cavity 310 of the target object 3 and improving the accuracy of the distance between the electronic device 1 and the target object 3 calculated using the second processing strategy.
[0048] Further, please refer to Figure 4 、 Figure 6 , the phase change of the detection signal to the first reflection point of the target object 3 is φ1, the phase change of the detection signal from the first reflection point to the last reflection point is φ2, and the phase change of the detection signal from the last reflection point to the transceiver module 120 is φ3. Among them, the distance D between the electronic device 1 and the target object 3 satisfies: D = c * TOF - Δd / 2. Where TOF = T / 2, Δd = Δφ * λ / 2π, Δφ = (φ2 + φ3) - φ1. c is the flight speed of the detection signal, TOF is the flight time of the detection signal from the first antenna 111 to the target object 3, T is the time interval between the transceiver module ********** receives the target reflection signal and the first antenna 111 emits the detection signal, and λ is the wavelength of the detection signal.
[0049] In this embodiment, c is the flight speed of the detection signal, which is a known number and is equal to or approximately equal to the speed of light. In this embodiment, taking the time point when the first antenna 111 emits the detection signal as T0 and the time point when it reaches the first emission point of the target object 3 as T1, then the time experienced by the detection signal from the first antenna 111 to the target object 3 is T1 - T0. Taking the time when the detection signal is reflected from the first emission point to the last reflection point (the last reflection point in this schematic diagram is the second reflection point) as T2 and the time point when the transceiver module 120 receives the reflected target reflection signal as T3, then the time interval T for the detection signal from the first antenna 111 to the target object 3 and being received by the transceiver module 120 is T = (T3 - T0).
[0050] Further, in this embodiment, when the electronic device 1 calculates the distance between the electronic device 1 and the target object 3, it also uses the phase change of the detection signal during transmission as a basis, thereby improving the accuracy of calculating the distance between the electronic device 1 and the target object 3.
[0051] Further, please refer to Figure 7 , Figure 7 It is a schematic diagram of the electronic device provided in another embodiment for ranging the target object. In one embodiment, the transceiver module 120 receives multiple reflection signals reflected by the target object 3 from the detection signal. The processing module 130 retains the reflection signal with the strongest signal intensity as the target reflection signal according to the signal intensities of the multiple reflection signals, and eliminates the remaining reflection signals among the multiple reflection signals.
[0052] When the detection signal emitted by the first antenna 111 of the electronic device 1 reaches the target object 3, in some cases, it will reach multiple parts of the target object 3. Multiple parts all reflect the detection signal, thereby obtaining multiple reflection signals. The distance between the part closest to the first antenna 111 among the multiple parts and the first antenna 111 is the distance between the electronic device 1 and the target object 3, and the data obtained from the other parts except the part closest to the first antenna 111 among the multiple parts are pseudo-range points.
[0053] For example, in the schematic diagram of the implementation manner, the distance between the electronic device 1 and point A of the target object 3 is the shortest, and the distance between the electronic device 1 and point B of the target object 3 is greater than the distance between the electronic device 1 and point A of the target object 3. After the detection signal emitted by the electronic device 1 reaches point A of the target object 3, it is reflected by point A to the electronic device 1. After the detection signal emitted by the electronic device 1 reaches point B of the target object 3, it is reflected by point B to point C of the target object 3 and then received by the electronic device 1. Suppose the distance between the electronic device 1 and point B of the target object 3 is d1, the distance between point B and point C of the target object 3 is d2, and the distance between point C of the target object 3 and the electronic device 1 is d3. Then, the distance between the electronic device 1 and the target object 3 obtained according to the detection signal emitted by the electronic device 1 to point B of the target object 3 and the reflected signal reflected by point C to the electronic device 1 is (d1 + d2 + d3) / 2. Then, the point B' at a distance of (d1 + d2 + d3) / 2 from the electronic device 1 is actually not a point of the target object 3. Therefore, point B' is also called a pseudorange point.
[0054] The distance between other parts of the target object 3 and the first antenna 111 is greater than the distance between the part closest to the first antenna 111 among the multiple parts and the first antenna 111. Generally speaking, the signal strength of a signal will decrease as the distance increases. Therefore, the processing module 130 can retain the reflection signal with the strongest signal strength as the target reflection signal according to the signal strengths of the multiple reflection signals, and eliminate the remaining reflection signals among the multiple reflection signals, thereby improving the accuracy of measuring the distance between the electronic device 1 and the target object 3 based on the target signal obtained from the multiple reflection signals.
[0055] It can be understood that the multiple reflection signals include the reflection signals obtained by the target object 3 reflecting the detection signal an odd number of times, and also include the reflection signals obtained by the target object 3 reflecting the detection signal an even number of times. Among the multiple reflection signals, except for retaining the reflection signal with the strongest signal strength as the target reflection signal, the remaining reflection signals are all eliminated. In this way, the accuracy of measuring the distance between the electronic device 1 and the target object 3 based on the target signal obtained from the multiple reflection signals can be improved.
[0056] Combined with the electronic device 1 provided in any of the previous embodiments, in one embodiment, when the electronic device 1 measures the distance between the electronic device 1 and the target object 3, the first antenna 111 emits multiple detection signals. Correspondingly, the transceiver module 120 receives multiple target reflection signals. If the circular polarization attributes of the multiple target reflection signals are different from those of the detection signals, the processing module 130 uses a first strategy to obtain the distance between the electronic device 1 and the target object 3 based on the multiple target reflection signals. If the circular polarization attribute of the target reflection signal is the same as that of the detection signal, the processing module 130 uses a second processing strategy to obtain the distance between the electronic device 1 and the target object 3 based on the multiple target reflection signals.
[0057] For example, in one embodiment, the processing module 130 (for example, the first sub-processing module 131 of the processing module 130) obtains a distance value according to each target reflection signal. The processing module 130 obtains multiple distance values according to the multiple target reflection signals, and obtains the distance between the electronic device 1 and the target object 3 according to the multiple distance values. For example, in one embodiment, the average value of the multiple distance values is the distance between the electronic device 1 and the target object 3. In this way, the accuracy of measuring the distance between the electronic device 1 and the target object 3 can be improved.
[0058] In another embodiment, the processing module 130 (for example, the second sub-processing module 132 of the processing module 130) obtains a distance value according to each target reflection signal. The processing module 130 obtains multiple distance values according to the multiple target reflection signals, and obtains the distance between the electronic device 1 and the target object 3 according to the multiple distance values. For example, in one embodiment, the average value of the multiple distance values is the distance between the electronic device 1 and the target object 3. In this way, the accuracy of measuring the distance between the electronic device 1 and the target object 3 can be improved.
[0059] Combined with the electronic device 1 provided in any of the previous embodiments, the distance between the first antenna 111 and the second antenna 112 may be less than or equal to a preset distance. For example, in one embodiment, the preset distance may be, but is not limited to, 10 cm. In another embodiment, the preset distance may be, but is not limited to, 2 cm. Or, in other embodiments, the preset distance may be, but is not limited to, a few millimeters, such as 5 mm.
[0060] When the distance between the first antenna 111 and the second antenna 112 is less than or equal to the preset distance, the accuracy and precision of measuring the distance between the electronic device 1 and the target object 3 can be improved.
[0061] An embodiment of the present application also provides a ranging method, which can be applied to the electronic device 1 provided in any of the foregoing embodiments. Correspondingly, the electronic device 1 introduced above can execute the ranging method provided in any embodiment of the present application.
[0062] Please refer to Figure 8 , Figure 8 , which is a flowchart of a ranging method provided in an embodiment of the present application. The ranging method includes S110, S120, and S130, which are introduced in detail as follows.
[0063] S110, the first antenna 111 emits a detection signal, where the first antenna 111 is one of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna.
[0064] S120, receives the target reflection signal reflected by the target object 3 on the detection signal and received through one of the first antenna 111 and the second antenna 112. In one embodiment, S120 can be executed by the transceiver module 120 in the electronic device 1.
[0065] S130, if the circular polarization attribute of the target reflection signal is different from that of the detection signal, a first processing strategy is used to obtain the distance between the electronic device 1 and the target object 3; if the circular polarization attribute of the target reflection signal is the same as that of the detection signal, a second processing strategy is used to obtain the distance between the electronic device 1 and the target object 3, where the second processing strategy includes eliminating the interference caused by the cavity 310 of the target object 3. In one embodiment, S130 can be executed by the processing module 130 in the electronic device 1.
[0066] In one embodiment, both the first antenna 111 and the second antenna 112 are antennas supporting the Ultra Wide Band (UWB) technology. The first antenna 111 is one of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna, and the second antenna 112 is the other of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna; specifically, when the first antenna 111 is a left-handed circularly polarized antenna, the second antenna 112 is a right-handed circularly polarized antenna; when the first antenna 111 is a right-handed circularly polarized antenna, the second antenna 112 is a left-handed circularly polarized antenna. In this embodiment, the first antenna 111 emits a detection signal, so the first antenna 111 is the transmitting antenna. In this embodiment, the first antenna 111 is taken as an example of a left-handed circularly polarized antenna for illustration.
[0067] When a left - hand circularly polarized electromagnetic wave signal encounters an object and undergoes an odd number of reflections (such as one, three, etc.), it becomes a right - hand circularly polarized electromagnetic wave signal. When a left - hand circularly polarized electromagnetic wave signal encounters an object and undergoes an even number of reflections (such as two, four, etc.), it remains a left - hand circularly polarized electromagnetic wave signal. Correspondingly, when a right - hand circularly polarized electromagnetic wave signal encounters an object and undergoes an odd number of reflections (such as one, three, etc.), it becomes a left - hand circularly polarized electromagnetic wave signal. When a right - hand circularly polarized electromagnetic wave signal encounters an object and undergoes an even number of reflections (such as two, four, etc.), it remains a right - hand circularly polarized electromagnetic wave signal.
[0068] A left - hand circularly polarized antenna can receive left - hand circularly polarized electromagnetic wave signals, but cannot receive right - hand circularly polarized electromagnetic wave signals. Correspondingly, a right - hand circularly polarized antenna can receive right - hand circularly polarized electromagnetic wave signals, but cannot receive left - hand circularly polarized electromagnetic wave signals.
[0069] Therefore, when the first antenna 111 is a left - hand circularly polarized antenna and the second antenna 112 is a right - hand circularly polarized antenna, the first antenna 111 can receive left - hand circularly polarized electromagnetic waves, and the second antenna 112 can receive right - hand circularly polarized electromagnetic waves. Correspondingly, when the first antenna 111 is a right - hand circularly polarized antenna and the second antenna 112 is a left - hand circularly polarized antenna, the first antenna 111 can receive right - hand circularly polarized electromagnetic waves, and the second antenna 112 can receive left - hand circularly polarized electromagnetic waves.
[0070] For example, when the first antenna 111 is a left - hand circularly polarized antenna and the second antenna 112 is a right - hand circularly polarized antenna, the detection signal emitted by the first antenna 111 is a left - hand circularly polarized signal (also known as a left - hand circularly polarized wave), or a left - hand circularly polarized detection signal, or a left - hand circularly polarized electromagnetic wave. When a left - hand circularly polarized electromagnetic wave signal encounters an object and undergoes an odd number of reflections (such as one, three, etc.), it becomes a right - hand circularly polarized electromagnetic wave signal; and since the first antenna 111 is a left - hand circularly polarized antenna and the second antenna 112 is a right - hand circularly polarized antenna, the right - hand circularly polarized electromagnetic wave signal cannot be received by the first antenna 111, but is received by the second antenna 112.
[0071] The detection signal is transmitted to the target object 3 and is reflected by the target object 3 to obtain a target reflection signal. If the circular polarization attribute of the target reflection signal is the same as that of the detection signal, then the target reflection signal can be received by the first antenna 111 and transmitted to the transceiver module 120. If the circular polarization attribute of the target reflection signal is different from that of the detection signal, then the target reflection signal can be received by the second antenna 112 and transmitted to the transceiver module 120.
[0072] The so-called circular polarization attribute of the target reflection signal being the same as that of the detection signal means that: when the detection signal is left-handed circular polarization, the target reflection signal is also left-handed circular polarization; when the detection signal is right-handed circular polarization, the target reflection signal is also right-handed circular polarization. In this embodiment, when the first antenna 111 is a left-handed circular polarization antenna, the detection signal is left-handed circular polarization. If the target reflection signal is left-handed circular polarization, it indicates that the circular polarization attributes of the target reflection signal and the detection signal are the same. If the target transmission signal is right-handed circular polarization, it indicates that the circular polarization attributes of the target reflection signal and the detection signal are different.
[0073] Generally speaking, the odd-numbered reflection of the detection signal by the target object 3 is usually a single reflection; while the even-numbered reflection of the detection signal by the target object 3 is usually a double reflection. Next, the cases of the target object 3 making a single reflection and a double reflection on the detection will be described in detail.
[0074] Please refer to Figure 3 and Figure 4 , if the circular polarization attribute of the target reflection signal is different from that of the detection signal, it indicates that the detection signal has undergone an odd number of reflections to obtain the target reflection signal. If the circular polarization attribute of the target reflection signal is different from that of the detection signal, the processing module 130 uses the first processing strategy to obtain the distance between the electronic device 1 and the target object 3. The first processing strategy will be described in detail later.
[0075] In Figure 4 , the surface of the target object 3 facing the electronic device 1 has a cavity 310. Among them, the cavity 310 includes one or more of a receiving cavity, a hole, an included angle, a pit, etc.
[0076] If the circular polarization attribute of the target reflection signal is the same as that of the detection signal, it indicates that the detection signal has undergone an even number of reflections to obtain the target reflection signal. Usually, when the detection signal irradiates the cavity 310 on the surface of the target object 3, the existence of the cavity 310 will cause the detection signal to undergo an even number of reflections to obtain the reflection signal. Thus, when there is a cavity 310 on the surface of the target object 3, if the processing module 130 ignores the influence brought by the cavity 310 on the surface of the target object 3 when calculating the distance between the electronic device 1 and the target object 3, it will lead to inaccurate calculation results of the distance between the electronic device 1 and the target object 3.
[0077] In the ranging method provided by the embodiment of the present application, if the circular polarization attribute of the target reflection signal is different from that of the detection signal, a first processing strategy is adopted to obtain the distance between the electronic device 1 and the target object 3; if the circular polarization attribute of the target reflection signal is the same as that of the detection signal, a second processing strategy is adopted to obtain the distance between the electronic device 1 and the target object 3, wherein the second processing strategy includes eliminating the interference caused by the cavity 310 of the target object 3, thereby improving the accuracy of measuring the distance between the electronic device 1 and the target object 3.
[0078] Further, in an embodiment, the first processing strategy includes: obtaining that the distance D between the electronic device 1 and the target object 3 satisfies: D = c * T / 2 according to the flight speed of the detection signal and the flight time; where c is the flight speed of the detection signal, and T is the time interval between the electronic device 1 receiving the target reflection signal and the first antenna 111 emitting the detection signal.
[0079] In an embodiment, the first processing strategy is executed by the first sub-processing module 131 of the electronic device 1. In this embodiment, c is the flight speed of the detection signal, which is a known number, equal to or approximately equal to the speed of light. In this embodiment, taking the time point when the first antenna 111 emits the detection signal as T0 and the time point when it reaches the target object 3 as T1, then the time experienced by the detection signal from the first antenna 111 to the target object 3 is T1 - T0. Taking the time point when the transceiver module 120 receives the target reflection signal as T2, then the time experienced by the reflection signal from the target object 3 to the transceiver module 120 is T2 - T1. Among them, T0 and T2 are known, and T2 - T1 = T1 - T0. Therefore, the time interval T of the detection signal from the first antenna 111 to the target object 3 is (T2 - T0). Then, when the first sub-processing module 131 calculates the distance D between the electronic device 1 and the target object 3 using the first processing strategy, D = c * T / 2 = c * (T2 - T0) / 2 = c * TOF. TOF = (T2 - T0) / 2.
[0080] The ranging method provided by the embodiment of the present application uses a first processing strategy to obtain the distance D between the electronic device 1 and the target object 3 when the circular polarization attribute of the target reflection signal is different from the circular polarization attribute of the detection signal. D satisfies: D = c * T / 2. Wherein, c is the flight speed of the detection signal, and T is the time interval between the transceiver module 120 receiving the target reflection signal and the first antenna 111 emitting the detection signal. It can be seen that the electronic device 1 provided by the embodiment of the present application can also relatively accurately calculate the distance between the electronic device 1 and the target object 3 when the circular polarization attribute of the target reflection signal is different from the circular polarization attribute of the detection signal.
[0081] Further, in one embodiment, the second processing strategy includes: obtaining the distance between the electronic device 1 and the target object 3 according to the flight speed, the flight time, the phase of the detection signal, and the phase of the target reflection signal.
[0082] In one embodiment, the second processing strategy is executed by the second sub-processing module 132 of the electronic device 1.
[0083] When the detection signal emitted by the first antenna 111 reaches the target object 3, the phase of the detection signal will change. The target object 3 reflects the detection signal, and the phase will also change during the transmission of the reflected signal.
[0084] Therefore, the second processing strategy obtains the distance between the electronic device 1 and the target object 3 according to the flight speed, the time interval, the phase of the detection signal, and the phase of the target reflection signal, so as to eliminate the interference caused by the cavity 310 of the target object 3 and improve the accuracy of calculating the distance between the electronic device 1 and the target object 3 using the second processing strategy.
[0085] Further, the phase change of the detection signal to the first reflection point of the target object 3 is φ1, the phase change of the detection signal from the first reflection point to the last reflection point is φ2, and the phase change of the detection signal from the last reflection point to the transceiver module 120 is φ3. Wherein, the distance D between the electronic device 1 and the target object 3 satisfies: D = c * TOF - Δd / 2; where Δd = Δφ * λ / 2π, Δφ = (φ2 + φ3) - φ1; c is the flight speed of the detection signal, T is the time interval between the transceiver module 120 receiving the target reflection signal and the first antenna 111 emitting the detection signal, and λ is the wavelength of the detection signal.
[0086] In this embodiment, c is the flight speed of the detection signal, which is a known number and is equal to or approximately equal to the speed of light. In this embodiment, taking the time point when the first antenna 111 emits the detection signal as T0 and the time point when it reaches the first point of the target object 3 as T1, then the time experienced by the detection signal from the first antenna 111 to the target object 3 is T1 - T0. Taking the time when the detection signal is reflected from the first point to the second point and reaches the second point as T2, and the time point when the transceiver module 120 receives the target reflection signal reflected from the second point as T3, then the time interval T of the detection signal from the first antenna 111 to the target object 3 is T = (T3 - T0).
[0087] In this embodiment, when the ranging method calculates the distance between the electronic device 1 and the target object 3, it also uses the phase change of the detection signal during transmission as a basis, thereby improving the accuracy of calculating the distance between the electronic device 1 and the target object 3.
[0088] Please refer to Figure 7 and Figure 9 , Figure 9 which is a flowchart of the ranging method provided by another embodiment of the present application. The ranging method includes S110, S120 and S130, and S110, S120 and S130 are introduced in detail as follows.
[0089] S110, the first antenna 111 emits a detection signal, where the first antenna 111 is one of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna.
[0090] S120, receive the target reflection signal reflected by the target object 3 from the detection signal and received by one of the first antenna 111 and the second antenna 112. In one embodiment, S120 can be executed by the transceiver module 120 in the electronic device 1.
[0091] S130, if the circular polarization attribute of the target reflection signal is different from that of the detection signal, adopt the first processing strategy to obtain the distance between the electronic device 1 and the target object 3. If the circular polarization attribute of the target reflection signal is the same as that of the detection signal, adopt the second processing strategy to obtain the distance between the electronic device 1 and the target object 3, where the second processing strategy includes eliminating the interference caused by the cavity 310 of the target object 3. In one embodiment, S130 can be executed by the processing module 130 in the electronic device 1.
[0092] Please refer to the previous description for S110 and S130, and details will not be repeated here.
[0093] The S120 includes S121 and S122, and the following is a detailed description of S121 and S122.
[0094] S121 receives a plurality of reflected signals reflected by the target object 3 from the detection signal.
[0095] In S121, the first antenna 111 receives the reflected signals with the same circular polarization attribute as that of the detection signal, and the second antenna 112 receives the reflected signals with different circular polarization attributes from that of the detection signal.
[0096] S122 retains the reflected signal with the strongest signal intensity as the target reflected signal according to the signal intensities of the plurality of reflected signals, and eliminates the remaining reflected signals among the plurality of reflected signals.
[0097] When the detection signal emitted by the first antenna 111 of the electronic device 1 reaches the target object 3, in some cases, it will reach multiple parts of the target object 3. The multiple parts all reflect the detection signal, thereby obtaining a plurality of reflected signals. The distance between the part closest to the first antenna 111 among the multiple parts and the first antenna 111 is the distance between the electronic device 1 and the target object 3, and the data obtained from the other parts except the part closest to the first antenna 111 among the multiple parts are pseudo-range points.
[0098] For example, in the schematic diagram of the embodiment Figure 7 The distance between the electronic device 1 and point A of the target object 3 is the closest, and the distance between the electronic device 1 and point B of the target object 3 is greater than the distance between the electronic device 1 and point A of the target object 3. After the detection signal emitted by the electronic device 1 reaches point A of the target object 3, it is reflected by point A to the electronic device 1. After the detection signal emitted by the electronic device 1 reaches point B of the target object 3, it is reflected by point B to point C of the target object 3 and then received by the electronic device 1. Suppose the distance between the electronic device 1 and point B of the target object 3 is d1, the distance between point B and point C of the target object 3 is d2, and the distance between point C of the target object 3 and the electronic device 1 is d3. Then, the distance between the electronic device 1 and the target object 3 obtained from the reflected signal of the detection signal emitted by the electronic device 1 to point B of the target object 3 and reflected by point C to the electronic device 1 is (d1 + d2 + d3) / 2. Then, the point B' at a distance of (d1 + d2 + d3) / 2 from the electronic device 1 is actually not the point of the target object 3. Therefore, point B' is also called a pseudo-range point.
[0099] The distance between other parts of the target object 3 and the first antenna 111 is greater than the distance between the part closest to the first antenna 111 among the multiple parts and the first antenna 111. Generally speaking, the signal strength of a signal decreases as the distance increases. Therefore, according to the signal strengths of the multiple reflected signals, the processing module 130 can retain the reflected signal with the strongest signal strength as the target reflected signal and eliminate the remaining reflected signals among the multiple reflected signals, thereby improving the accuracy of measuring the distance between the electronic device 1 and the target object 3 based on the multiple reflected signals.
[0100] It can be understood that the multiple reflected signals include the reflected signals obtained by the target object 3 reflecting the detection signal an odd number of times, and also include the reflected signals obtained by the target object 3 reflecting the detection signal an even number of times. Among the multiple reflected signals, except for retaining the reflected signal with the strongest signal strength as the target reflected signal, the remaining reflected signals are all eliminated. In this way, the accuracy of measuring the distance between the electronic device 1 and the target object 3 based on the multiple reflected signals can be improved.
[0101] Combined with the ranging method provided in any of the previous embodiments, in one embodiment, when measuring the distance between the electronic device 1 and the target object 3, in S110, the first antenna 111 emits multiple detection signals. Correspondingly, in S120, multiple target reflected signals are received. In S130, if the circular polarization attributes of the multiple target reflected signals are different from those of the detection signals, the processing module 130 uses a first strategy to obtain the distance between the electronic device 1 and the target object 3 based on the multiple target reflected signals. If the circular polarization attribute of the target reflected signal is the same as that of the detection signal, the processing module 130 uses a second processing strategy to obtain the distance between the electronic device 1 and the target object 3 based on the multiple target reflected signals.
[0102] For example, in one embodiment, in S130, a distance value is obtained based on each target reflected signal, multiple distance values are obtained based on the multiple target reflected signals, and the distance between the electronic device 1 and the target object 3 is obtained based on the multiple distance values. For example, in one embodiment, the average value of the multiple distance values is the distance between the electronic device 1 and the target object 3. In this way, the accuracy of measuring the distance between the electronic device 1 and the target object 3 can be improved.
[0103] In another embodiment, in S130, a distance value is obtained according to each target reflection signal, multiple distance values are obtained according to the multiple target reflection signals, and the distance between the electronic device 1 and the target object 3 is obtained according to the multiple distance values. For example, in one embodiment, the average value of the multiple distance values is the distance between the electronic device 1 and the target object 3. In this way, the accuracy of measuring the distance between the electronic device 1 and the target object 3 can be improved.
[0104] Furthermore, the present application also provides a computer-readable medium. The computer-readable medium is used to store a computer program, and when the computer-readable program is executed, the ranging method described in any of the foregoing embodiments is run.
[0105] The computer-readable medium may be, but is not limited to, various media such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disc that can store program codes.
[0106] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0107] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0108] In several embodiments provided by the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical or other form.
[0109] The unit described as a separation component may or may not be physically separated. The component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0110] In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned memory includes: USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs and other media that can store program codes.
[0112] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable memory, and the memory can include: flash drives, read-only memories (abbreviation: ROM), random access memories (abbreviation: RAM), magnetic disks, or optical discs, etc.
[0113] The above is part of the implementation manners of this application. It should be noted that for those of ordinary skill in the technical field, without departing from the principle of this application, several improvements and refinements can be made, and these improvements and refinements are also regarded as the protection scope of this application.
Claims
1. An electronic device, characterized in that, The electronic device includes: An antenna assembly, the antenna assembly includes: A first antenna, the first antenna is one of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna, and the first antenna is used to emit a detection signal; A second antenna, the second antenna is the other of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna; A transceiver module, the transceiver module is electrically connected to the first antenna and the second antenna to receive a target reflection signal that is reflected by a target object to the detection signal and received through one of the first antenna and the second antenna; and A processing module, if the circular polarization attribute of the target reflection signal is different from the circular polarization attribute of the detection signal, the processing module uses a first processing strategy to obtain the distance between the electronic device and the target object; if the circular polarization attribute of the target reflection signal is the same as the circular polarization attribute of the detection signal, the processing module uses a second processing strategy to obtain the distance between the electronic device and the target object, wherein, the second processing strategy includes eliminating the interference brought by the cavity of the target object.
2. The electronic device according to claim 1, wherein The processing module includes: A first sub-processing module, the first sub-processing module uses the first processing strategy to obtain the distance D between the electronic device and the target object, and D satisfies: D = c*T / 2; Wherein, c is the flight speed of the detection signal, and T is the time interval between the transceiver module receiving the target reflection signal and the first antenna emitting the detection signal.
3. The electronic device according to claim 2, wherein The processing module includes: A second sub-processing module, the second sub-processing module uses the second processing strategy to obtain the distance between the electronic device and the target object according to the flight speed, the time interval, the phase of the detection signal, and the phase of the target reflection signal.
4. The electronic device according to claim 3, wherein The phase change of the detection signal at the first reflection point of the target object is φ1, the phase change of the detection signal from the first reflection point to the last reflection point is φ2, and the phase change of the detection signal from the last reflection point to the transceiver module is φ3, wherein, the distance D between the electronic device and the target object satisfies: D = c*TOF - Δd / 2; Wherein, TOF = T / 2, Δd = Δφ*λ / 2π, Δφ = (φ2 + φ3) - φ1; c is the flight speed of the detection signal, T is the time interval between the transceiver module receiving the target reflection signal and the first antenna emitting the detection signal, and λ is the wavelength of the detection signal.
5. The electronic device according to claim 1, wherein The transceiver module receives multiple reflection signals reflected by the target object to the detection signal; The processing module, according to the signal intensities of the multiple reflection signals, retains the reflection signal with the strongest signal intensity as the target reflection signal, and eliminates the remaining reflection signals among the multiple reflection signals.
6. A ranging method, characterized in that, The ranging method includes: The first antenna emits a detection signal, wherein, the first antenna is one of a left-handed circularly polarized antenna or a right-handed circularly polarized antenna; Receiving a target reflection signal that is reflected by a target object to the detection signal and received through one of the first antenna and the second antenna; If the circular polarization attribute of the target reflection signal is different from that of the detection signal, a first processing strategy is adopted to obtain the distance between the electronic device and the target object. If the circular polarization attribute of the target reflection signal is the same as that of the detection signal, a second processing strategy is adopted to obtain the distance between the electronic device and the target object, where the second processing strategy includes eliminating the interference caused by the cavity of the target object.
7. The ranging method according to claim 6, wherein The first processing strategy includes: The distance D between the electronic device and the target object is obtained according to the flight speed of the detection signal and the time interval, and satisfies: D = c * T / 2; where c is the flight speed of the detection signal, and T is the time interval between the electronic device receiving the target reflection signal and the first antenna emitting the detection signal.
8. The ranging method according to claim 7, wherein The second processing strategy includes: The distance between the electronic device and the target object is obtained according to the flight speed, the flight time, the phase of the detection signal, and the phase of the target reflection signal.
9. The ranging method according to claim 8, wherein The phase change of the detection signal at the first reflection point of the target object is φ1, the phase change of the detection signal from the first reflection point to the last reflection point is φ2, and the phase change of the detection signal from the last reflection point to the transceiver module is φ3. Among them, the distance D between the electronic device and the target object satisfies: D = c * TOF - Δd / 2; where TOF = T / 2, Δd = Δφ * λ / 2π, and Δφ = (φ2 + φ3) - φ1; c is the flight speed of the detection signal, T is the time interval between the transceiver module receiving the target reflection signal and the first antenna emitting the detection signal, and λ is the wavelength of the detection signal.
10. The ranging method according to claim 6, characterized in that, Receiving the target reflection signal that the target object reflects the detection signal and is received by one of the first antenna and the second antenna includes: Receiving multiple reflection signals of the target object reflecting the detection signal; and According to the signal intensities of the multiple reflection signals, retaining the reflection signal with the strongest signal intensity as the target reflection signal and eliminating the remaining reflection signals among the multiple reflection signals.
11. A computer-readable medium, characterized in that, The computer-readable medium is used to store a computer program, and when the computer-readable program is executed, it runs the ranging method according to any one of claims 6-10.
Citation Information
Patent Citations
Positioning method and device, electronic equipment and computer readable storage medium
CN112637951A
Method and apparatus for characterizing multipath interference in circularly polarized signals
CN1299468A
Onboard radar apparatus
JP2002296348A
Onboard navigation device, navigation system, and computer program
JP2008249614A