Ranging method and apparatus, and storage medium
By combining UWB ranging and phase ranging, and using the correction of the target phase difference value and the reference distance value, the accuracy of UWB ranging is improved, and UWB ranging can achieve the longest distance while achieving high-precision ranging.
Patent Information
- Application Number
- PCT/CN2023/080358
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-09-12
AI Technical Summary
Although the existing UWB ranging technology can achieve longer distance ranging, its ranging accuracy is low, usually at the centimeter level, and cannot meet high accuracy requirements.
Combining the UWB ranging method and the phase ranging method, by receiving ranging signals in at least two ultra-bandwidth UWB channels and measuring the target phase difference value, using the reference distance value to correct the alternative distance value, determine the target distance value, and achieve Improvement of ranging accuracy.
While maintaining the longest range of UWB ranging, it improves the ranging accuracy to millimeter level, solving the problem of low UWB ranging accuracy.
Smart Images

Figure CN2023080358_12092024_PF_FP_ABST
Abstract
Description
Distance measurement method, device, and storage medium Technical Field
[0001] The present disclosure relates to the field of communications, and in particular to a ranging method and device, and a storage medium. Background Art
[0002] Ultra Wide Band (UWB) ranging is a high-precision ranging technology. Currently, UWB ranging can be applied to car keys, smart homes, contactless peering, contactless payment and other fields. The maximum distance of UWB ranging can be 100 meters, and the ranging accuracy is +-10 cm.
[0003] Summary of the Invention
[0004] To overcome the problems existing in the related art, the embodiments of the present disclosure provide a ranging method and device, and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a ranging method is provided. The method is performed by a first device and includes:
[0006] In response to receiving ranging signals sent by a second device in at least two ultra-wideband (UWB) channels, respectively, measuring target phases of the ranging signals reaching the first device; wherein the ranging signals are signals sent by the second device in the at least two channels using the same initial phase;
[0007] determining, based on the pairwise differences between the target phases, a candidate distance value between the first device and the second device;
[0008] Based on a reference distance value, the candidate distance value is corrected to obtain a target distance value; wherein the reference distance value is a distance value between the first device and the second device determined by a UWB ranging method.
[0009] Optionally, determining a candidate distance value between the first device and the second device based on the difference between the target phases includes:
[0010] Based on a one-to-one correspondence between phase difference values and alternative distance values, the alternative distance values corresponding to the difference between the target phases are determined; wherein the alternative distance values are less than or equal to a preset distance value, and the preset distance value is the least common multiple between the channel wavelengths.
[0011] Optionally, the correcting the candidate distance value based on the reference distance value to obtain the target distance value includes:
[0012] Determining a quotient of the reference distance value and a preset distance value; wherein the preset distance value is the least common multiple between any two channel wavelengths;
[0013] When the quotient is 0, determining the reference distance value as the target distance value;
[0014] When the quotient is greater than 0, determining the product of the quotient minus 1 and the preset distance value;
[0015] The sum of the product and the candidate distance value is determined as the target distance value.
[0016] Optionally, the method further includes:
[0017] The initial phase is determined by negotiation with the second device.
[0018] According to a second aspect of an embodiment of the present disclosure, a ranging method is provided. The method is performed by a second device and includes:
[0019] At at least one target time point, in at least two ultra-wideband (UWB) channels, ranging signals are respectively sent to the first device using the same initial phase; wherein the target time point is any time point during the UWB ranging process between the second device and the first device, or the target time point is any time point after the UWB ranging process ends.
[0020] Optionally, the method further includes:
[0021] The initial phase is determined by negotiation with the first device.
[0022] According to a third aspect of an embodiment of the present disclosure, a distance measuring apparatus is provided. The apparatus is applied to a first device and includes:
[0023] a measurement module configured to, in response to receiving ranging signals sent by a second device in at least two ultra-wideband (UWB) channels, respectively measure target phases of the ranging signals reaching the first device; wherein the ranging signals are signals sent by the second device in the at least two channels using the same initial phase;
[0024] a first determining module configured to determine a candidate distance value between the first device and the second device based on a difference between the target phases;
[0025] The second determination module is configured to correct the candidate distance value based on a reference distance value to obtain a target distance value; wherein the reference distance value is a distance value between the first device and the second device determined by a UWB ranging method.
[0026] According to a fourth aspect of an embodiment of the present disclosure, a distance measuring apparatus is provided, where the apparatus is applied to a second device and includes:
[0027] The sending module is configured to send ranging signals to the first device respectively using the same initial phase in at least two ultra-wideband (UWB) channels at at least one target time point; wherein the target time point is any time point in the UWB ranging process between the second device and the first device, or the target time point is any time point after the UWB ranging process ends.
[0028] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute any one of the above-mentioned ranging methods.
[0029] According to a sixth aspect of an embodiment of the present disclosure, there is provided a distance measuring device, including:
[0030] processor;
[0031] a memory for storing processor-executable instructions;
[0032] The processor is configured to execute any one of the above-mentioned ranging methods.
[0033] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0034] In the embodiment of the present disclosure, the UWB ranging method and the phase ranging method can be combined to achieve the maximum ranging distance of the UWB ranging method while improving the ranging accuracy.
[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0037] Fig. 1 is a schematic flow chart showing a ranging method according to an exemplary embodiment.
[0038] Fig. 2 is a schematic diagram showing a UWB ranging scenario according to an exemplary embodiment.
[0039] Fig. 3 is a schematic flow chart of another ranging method according to an exemplary embodiment.
[0040] Fig. 4 is a schematic flow chart showing another ranging method according to an exemplary embodiment.
[0041] Fig. 5 is a block diagram of a distance measurement device according to an exemplary embodiment.
[0042] Fig. 6 is a block diagram of another distance measurement device according to an exemplary embodiment.
[0043] FIG7 is a schematic structural diagram of a distance measuring device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0044] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0045] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of at least one of the associated listed items.
[0046] It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining."
[0047] At present, although UWB ranging can achieve ranging at longer distances, its ranging accuracy is low, generally at the centimeter level.
[0048] To improve ranging accuracy, phase ranging can be used. Table 1 shows information about the central spectrum of UWB.
[0049] Table 1
[0050] The phase ranging method can achieve a ranging accuracy of millimeters, generally within +-2 mm. Although the ranging accuracy is improved, the phase ranging method has periodic errors. The distance value d between devices obtained is shown in Formula 1:
[0051] The value range of N can be [0, M], the product of M and the channel wavelength is the maximum ranging value of UWB, and a is the phase difference between the sending and receiving of the ranging signal.
[0052] That is to say, although the phase ranging method has a higher ranging accuracy, it cannot uniquely obtain the distance value between devices.
[0053] In order to achieve the maximum distance of UWB ranging while improving ranging accuracy, the present disclosure provides the following ranging method, device and storage medium.
[0054] The distance measurement method provided by the present disclosure is first introduced from the perspective of the first device.
[0055] The present disclosure provides a ranging method, as shown in FIG1 , which is a flow chart of a ranging method according to an embodiment. The ranging method may be performed by a first device, wherein the first device includes but is not limited to a mobile phone, a laptop computer, a desktop computer, a tablet computer, etc. As shown in FIG1 , the method may include the following steps:
[0056] In step 101, in response to receiving ranging signals sent by a second device in at least two ultra-wideband (UWB) channels respectively, target phases of the ranging signals reaching the first device are measured respectively.
[0057] In an embodiment of the present disclosure, the first device may pre-negotiate with the second device to determine an initial phase of the ranging signal. For example, the initial phase may be any phase within the range of [0, 360].
[0058] The second device may send the ranging signal to the first device at a target time point in at least two UWB channels using the same initial phase. The target time point is any time point during the UWB ranging process between the second device and the first device, or the target time point is any time point after the UWB ranging process ends.
[0059] That is, the second device may send the ranging signal to the first device in at least two UWB channels during the UWB ranging process or after the UWB ranging is completed.
[0060] When receiving the ranging signal, the first device measures the target phase of the ranging signal reaching the first device respectively, and obtains a target phase corresponding to each channel.
[0061] In step 102, candidate distance values between the first device and the second device are determined based on the difference between the target phases.
[0062] In the embodiment of the present disclosure, although there is a periodic error in phase ranging, as shown in Formula 1, if the alternative distance values obtained by phase ranging between devices are limited to a specified range, the difference between the target phases and the alternative distance values are one-to-one corresponding.
[0063] In one example, the candidate distance value is less than or equal to a preset distance value, where the preset distance value is the least common multiple of the channel wavelengths. The channel wavelengths are the wavelengths of at least two UWB channels that respectively receive the ranging signals sent by the second device in step 101. Assuming that the first device receives ranging signals sent by the second device in two UWB channels, respectively, such as channels 5 and 9 in Table 1, the two UWB channels are exemplified. Using only the difference between the target phase ω1 and the initial phase ω measured in channel 5, it is not possible to uniquely determine the candidate distance value between the first and second devices.
[0064] Alternatively, even if the difference between the target phase ω2 and the initial phase ω measured on channel 9 is used alone, it is still impossible to uniquely obtain the candidate distance value between the first device and the second device.
[0065] The least common multiple of the channel wavelengths of channel 5 and channel 9 is 1702 mm. Therefore, the first device can determine that when the candidate distance values are in the range [0, 1702], there is a one-to-one correspondence between the difference between the target phases ω1 and ω2 and the candidate distance values. Based on this correspondence, the first device can determine a unique candidate distance value corresponding to the difference between ω1 and ω2.
[0066] In step 103, the candidate distance value is corrected based on the reference distance value to obtain a target distance value.
[0067] In the embodiment of the present disclosure, although step 102 can uniquely determine the alternative distance value within a certain distance range, there may still be a periodic error between the alternative distance value and the actual distance value. For example, if the alternative distance value is 1000 mm, the first device cannot determine whether the target distance value between the first device and the second device is 1000 mm, 2702 mm, or another distance value. Therefore, in the embodiment of the present disclosure, it is also necessary to correct the alternative distance value based on the reference distance value to obtain the target distance value. The reference distance value can be the distance value between the first device and the second device determined by the UWB ranging method.
[0068] In a possible implementation, the first device and the second device may determine the reference distance value using, but not limited to, a bilateral bidirectional ranging method.
[0069] As shown in Figure 2, the second device sends a ranging signal to the first device. After receiving the ranging signal, the first device sends the ranging signal to the second device again. After receiving the ranging signal, the second device sends the ranging signal to the first device again. The ranging signal is timestamped when it is sent and received.
[0070] The first device can calculate the flight time of the ranging signal using the following formula 2:
[0071] The first device calculates the reference distance value d' using the following formula 3:
[0072] Where c is the speed of light, which is generally 3×10 8 Meters / second.
[0073] In an embodiment of the present disclosure, the first device may obtain a target distance value D by calibrating the candidate distance value d based on the reference distance value d' calculated based on the above formulas 2 and 3.
[0074] Specifically, the first device may first calculate a quotient of the reference distance value d' and a preset distance value, wherein the preset distance value is the least common multiple between any two channel wavelengths.
[0075] Still taking two channels including channel 5 and channel 9 as an example, the preset distance value is 1702 mm, and the first device calculates the quotient m of d' and 1702. Here, m is a non-negative integer, such as 0, 1, 2, etc.
[0076] Furthermore, when the quotient value is 0, it indicates that the reference distance value obtained by UWB ranging is less than the preset distance value. Since the first device has uniquely determined the alternative distance value within the range of [0, 1702], the first device can directly determine the alternative distance value as the target distance value.
[0077] When the quotient is greater than 0, the first device may calculate a product s of the quotient and the preset distance value, that is, the first device may calculate a periodic distance value that is a difference between the candidate distance value and the reference distance value.
[0078] Further, the first device determines the sum of the product s and the candidate distance value d as the target distance value D.
[0079] For example, the reference distance value is 1600 mm, the alternative distance value is 1602 mm, the preset distance value is 1702 mm, and the quotient m is 0, then the first device determines that the target distance value D is 1602 mm.
[0080] For another example, the reference distance value is 3312 mm, the alternative distance value is 1602 mm, the preset distance value is 1702 mm, the quotient m is 1, the product s of the quotient m and the preset distance value is 1702 mm, and the first device determines that the target distance value D is (1702+1602)=3304 mm.
[0081] The above is only an exemplary description. In actual applications, the reference distance value between the first device and the second device determined by UWB ranging and the solution for correcting the alternative distance value obtained by phase ranging should all fall within the scope of protection of this disclosure.
[0082] In the above embodiment, the target phase difference received by the first device can be used to uniquely determine the candidate distance value between the first and second devices within a certain range, improving ranging accuracy to the millimeter level. The candidate distance value is then corrected in combination with the reference distance value obtained by the UWB ranging method to obtain the target distance value, ensuring that the maximum distance measured can reach the maximum distance of UWB ranging. The present disclosure combines UWB ranging with phase ranging, achieving a maximum distance measurement that reaches the maximum distance of UWB ranging while improving ranging accuracy.
[0083] In some optional embodiments, the first device may pre-negotiate with the second device at any time point before the ranging channel reaches the target phase of the first device to determine the initial phase for sending the ranging signal in at least two channels. The initial phase may be any phase in the range of [0, 360].
[0084] In one possible implementation, the second device may directly determine an initial phase and inform the first device. For example, if the second device determines that the initial phase is 0, the second device may directly send information indicating that the initial phase is 0 to the first device.
[0085] In another possible implementation, the second device may determine an initial phase range and notify the first device. The first device then determines an initial phase within the initial phase range and notifies the second device. For example, the second device determines the initial phase range to be [0, 40]. The first device determines the initial phase to be 0 within the initial phase range and sends information indicating that the initial phase is 0 to the second device.
[0086] In another possible implementation, the negotiated second device and the first device can be interchangeable. For example, the first device can directly determine an initial phase and notify the second device. Alternatively, the first device can determine an initial phase range and notify the second device. The second device then determines an initial phase within the range and notifies the first device.
[0087] The above description is merely an exemplary description. In practical applications, any solution in which the first device and the second device negotiate to determine the initial phase should fall within the scope of protection of the present disclosure.
[0088] In the above embodiment, the first device may negotiate with the second device to determine the initial phase, so as to subsequently determine the corresponding candidate distance value directly based on the received target phase difference, which is simple to implement and has high availability.
[0089] Next, the distance measurement method provided by the present disclosure will be introduced from the perspective of the second device.
[0090] The present disclosure provides a ranging method, as shown in FIG3 , which is a flow chart of a ranging method according to an embodiment. The ranging method may be performed by a second device, wherein the second device includes but is not limited to a mobile phone, a laptop computer, a desktop computer, a tablet computer, etc. As shown in FIG3 , the method may include the following steps:
[0091] In step 301, at at least one target time point, ranging signals are respectively sent to a first device in at least two ultra-wideband (UWB) channels using the same initial phase.
[0092] In the embodiment of the present disclosure, the number of target time points may be one or more.
[0093] In an example, the target time point may be any time point in a UWB ranging process between the second device and the first device.
[0094] In another example, the target time point is any time point after the UWB ranging process between the second device and the first device is completed.
[0095] Exemplarily, the second device may send a ranging signal to the first device using the same initial phase in at least two channels at time point T1, T2, or T3 in FIG. 2 .
[0096] The first device may determine the target distance value between the two devices using the above steps 101 to 103. The specific implementation has been introduced in the embodiment of FIG1 and will not be repeated here.
[0097] In the above embodiment, the UWB ranging method and the phase ranging method can be combined to achieve the maximum ranging distance of the UWB ranging method while improving the ranging accuracy.
[0098] In some optional embodiments, the second device may negotiate with the first device to determine an initial phase in advance before executing step 201. The initial phase may be any phase in the range of [0, 360].
[0099] The negotiation method has been introduced on the first device side and will not be repeated here.
[0100] In the above embodiment, the first device may negotiate with the second device to determine the initial phase, so as to subsequently determine the corresponding candidate distance value directly based on the received target phase difference, which is simple to implement and has high availability.
[0101] The present disclosure provides another ranging method. As shown in FIG4 , the method may include the following steps:
[0102] In step 401, a first device negotiates with a second device to determine an initial phase.
[0103] In one possible implementation, the second device may directly determine an initial phase and inform the first device. For example, if the second device determines that the initial phase is 0, the second device may directly send information indicating that the initial phase is 0 to the first device.
[0104] In another possible implementation, the second device may determine an initial phase range and notify the first device. The first device then determines an initial phase within the initial phase range and notifies the second device. For example, the second device determines the initial phase range to be [0, 40]. The first device determines the initial phase to be 0 within the initial phase range and transmits information indicating that the initial phase is 0 to the second device.
[0105] In another possible implementation, the negotiated second device and the first device can be interchangeable. For example, the first device can directly determine an initial phase and notify the second device. Alternatively, the first device can determine an initial phase range and notify the second device. The second device then determines an initial phase within the range and notifies the first device.
[0106] The above description is merely an exemplary description. In practical applications, any solution in which the first device and the second device negotiate to determine the initial phase should fall within the scope of protection of the present disclosure.
[0107] In step 402, the first device performs UWB ranging with the second device to determine a reference distance value.
[0108] The first device may calculate the reference distance value using the above formula 2 and formula 3. The specific implementation has been introduced in step 103 and will not be repeated here.
[0109] In step 403, the second device sends ranging signals to the first device respectively at at least two ultra-wideband (UWB) channels at at least one target time point using the same initial phase.
[0110] The target time point is any time point during the UWB ranging process between the second device and the first device, or the target time point is any time point after the UWB ranging process ends.
[0111] In step 404, in response to receiving ranging signals sent by the second device in at least two ultra-wideband (UWB) channels, the first device measures target phases of the ranging signals reaching the first device.
[0112] The implementation of step 404 is similar to that of step 101 above, and will not be repeated here.
[0113] In step 405 , the first device determines candidate distance values between the first device and the second device based on the differences between the target phases.
[0114] The implementation of step 405 is similar to that of the above step 102 and will not be repeated here.
[0115] In step 406, the first device corrects the candidate distance value based on the reference distance value to obtain a target distance value.
[0116] The implementation of step 406 is similar to that of step 103 above, and will not be repeated here.
[0117] In the above embodiment, the UWB ranging method and the phase ranging method can be combined to achieve the maximum ranging distance of the UWB ranging method while improving the ranging accuracy.
[0118] Corresponding to the aforementioned embodiment of the method for realizing application functions, the present disclosure also provides an embodiment of an apparatus for realizing application functions.
[0119] 5 , which is a block diagram of a distance measurement apparatus according to an exemplary embodiment, the apparatus is applied to a first device and includes:
[0120] The measurement module 501 is configured to, in response to receiving ranging signals sent by a second device in at least two ultra-wideband (UWB) channels, respectively measure a target phase of the ranging signals reaching the first device; wherein the ranging signals are signals sent by the second device in the at least two channels using the same initial phase;
[0121] A first determining module 502 is configured to determine a candidate distance value between the first device and the second device based on the difference between the target phases;
[0122] The second determination module 503 is configured to correct the candidate distance value based on a reference distance value to obtain a target distance value; wherein the reference distance value is a distance value between the first device and the second device determined by a UWB ranging method.
[0123] Optionally, the first determining module is further configured to:
[0124] Based on a one-to-one correspondence between phase difference values and alternative distance values, the alternative distance values corresponding to the difference between the target phases are determined; wherein the alternative distance values are less than or equal to a preset distance value, and the preset distance value is the least common multiple between the channel wavelengths.
[0125] Optionally, the second determining module is further configured to:
[0126] Determining a quotient of the reference distance value and a preset distance value; wherein the preset distance value is the least common multiple between any two channel wavelengths;
[0127] When the quotient is 0, determining the reference distance value as the target distance value;
[0128] When the quotient is greater than 0, determining the product of the quotient and the preset distance value;
[0129] The sum of the product and the candidate distance value is determined as the target distance value.
[0130] The specific implementation is similar to that of the embodiment shown in FIG1 above, and will not be described in detail here.
[0131] Optionally, the device further comprises:
[0132] The third determining module (not shown in FIG5 ) is configured to determine the initial phase through negotiation with the second device.
[0133] 6 , which is a block diagram of a distance measurement apparatus according to an exemplary embodiment, wherein the apparatus is applied to a second device and includes:
[0134] The sending module 601 is configured to send ranging signals to the first device in at least two ultra-wideband (UWB) channels at at least one target time point using the same initial phase; wherein the target time point is any time point during the UWB ranging process between the second device and the first device, or the target time point is any time point after the UWB ranging process ends.
[0135] The specific implementation is similar to that of the embodiment shown in FIG3 , and will not be described in detail here.
[0136] Optionally, the device further comprises:
[0137] The fourth determining module (not shown in FIG6 ) is configured to negotiate with the first device to determine the initial phase.
[0138] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0139] Accordingly, the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute any of the above-mentioned ranging methods.
[0140] Accordingly, the present disclosure further provides a distance measuring device, comprising:
[0141] processor;
[0142] a memory for storing processor-executable instructions;
[0143] The processor is configured to execute any of the above-mentioned ranging methods.
[0144] Figure 7 is a block diagram of a distance measurement device 700 according to an exemplary embodiment. For example, device 700 may be a mobile phone, tablet computer, e-book reader, multimedia player, wearable device, in-vehicle user equipment, iPad, smart TV, or other terminal. This terminal may serve as a sharing terminal device and / or a vehicle owner terminal device.
[0145] 7 , apparatus 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 716 , and a communication component 718 .
[0146] Processing component 702 generally controls the overall operation of device 700, such as operations associated with display, phone calls, data ranging, camera operation, and recording. Processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the distance measurement method described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702. For another example, processing component 702 may read executable instructions from memory to implement the steps of a distance measurement method provided in each of the above embodiments.
[0147] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0148] The power supply component 706 provides power to the various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 700.
[0149] The multimedia component 708 includes a display screen that provides an output interface between the device 700 and the user. In some embodiments, the multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the device 700 is in an operating mode, such as a capture mode or a video mode, the front-facing camera and / or the rear-facing camera can receive external multimedia data. Each of the front-facing camera and the rear-facing camera can have a fixed optical lens system or have a variable focal length and optical zoom capability.
[0150] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 704 or transmitted via the communication component 718. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0151] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0152] The sensor assembly 716 includes one or more sensors for providing various aspects of the status assessment of the device 700. For example, the sensor assembly 716 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700. The sensor assembly 716 can also detect changes in the position of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and temperature changes of the device 700. The sensor assembly 716 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 716 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 716 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0153] The communication component 718 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G or 6G, or a combination thereof. In an exemplary embodiment, the communication component 718 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 718 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0154] In an exemplary embodiment, the device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the ranging method described above on either the sharing-end device or the owner-end device side.
[0155] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0156] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A distance measurement method, It is characterized in that The method is performed by a first device and includes: In response to receiving ranging signals sent by a second device in at least two ultra-wideband (UWB) channels respectively, measuring target phases of the ranging signals reaching the first device respectively; wherein the ranging signals are signals sent by the second device in the at least two channels using the same initial phase; Determining a candidate distance value between the first device and the second device based on the difference between the target phases; Based on a reference distance value, the candidate distance value is corrected to obtain a target distance value; wherein the reference distance value is a distance value between the first device and the second device determined by a UWB ranging method.
2. The method according to claim 1, It is characterized in that The determining, based on the difference between the target phases, a candidate distance value between the first device and the second device, comprises: Based on the one-to-one correspondence between the phase difference value and the alternative distance value, the alternative distance value corresponding to the difference between the target phases is determined; wherein the alternative distance value is less than or equal to the preset distance value, and the preset distance value is the least common multiple between the channel wavelengths.
3. The method according to claim 1, It is characterized in that The step of correcting the candidate distance value based on the reference distance value to obtain the target distance value includes: Determine a quotient of the reference distance value and a preset distance value; wherein the preset distance value is the least common multiple between two channel wavelengths; When the quotient value is 0, determining the reference distance value as the target distance value; When the quotient is greater than 0, determining the product of the quotient and the preset distance value; The sum of the product and the candidate distance value is determined as the target distance value.
4. The method according to any one of claims 1 to 3, It is characterized in that The method further comprises: The initial phase is determined by negotiation with the second device.
5. A distance measurement method, It is characterized in that The method is performed by a second device, including: At least one target time point, in at least two ultra-wideband UWB channels, a ranging signal is sent to the first device respectively using the same initial phase; wherein the target time point is any time point in the UWB ranging process between the second device and the first device, or the target time point is any time point after the UWB ranging process ends.
6. The method according to claim 5, It is characterized in that The method further comprises: The initial phase is determined by negotiation with the first device.
7. A distance measuring device, It is characterized in that The device is applied to a first device and includes: A measurement module, configured to measure, in response to receiving respectively a ranging signal sent by a second device in at least two ultra-wideband (UWB) channels, a target phase of the ranging signal reaching the first device; wherein the ranging signal is a signal sent by the second device in the at least two channels using the same initial phase; A first determination module is configured to determine a candidate distance value between the first device and the second device based on the difference between the target phases; The second determination module is configured to correct the candidate distance value based on a reference distance value to obtain a target distance value; wherein the reference distance value is a distance value between the first device and the second device determined by a UWB ranging method.
8. A distance measuring device, It is characterized in that The apparatus is applied to a second device, comprising: The sending module is configured to send ranging signals to the first device respectively in at least two ultra-wideband UWB channels at at least one target time point using the same initial phase; wherein the target time point is any time point in the UWB ranging process between the second device and the first device, or the target time point is any time point after the UWB ranging process ends.
9. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and the computer program is used to execute the ranging method according to any one of claims 1 to 6.
10. A distance measuring device, It is characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the ranging method described in any one of claims 1 to 6.
Citation Information
Patent Citations
Distance measuring method and system thereof
CN108333591A
Indoor positioning and navigation method and device
CN111983559A
Two innovative architectures of multi-mode reconfigurable ultra-wideband integrated transceiver and transmitter
CN113890559A
Electronic device for performing ranging by using ultra wide band in wireless communication system and method for operating same
CN114128315A
Angle of arrival determination method and related device
CN114390669A
