Bluetooth distance measurement method and device and computer readable storage medium
By processing and converting the ranging results from various frequency hopping intervals of Bluetooth devices, a comprehensive output ranging result is generated, which solves the problem of low accuracy in Bluetooth ranging and improves the precision and accuracy of ranging.
Patent Information
- Application Number
- CN202410954715.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-15
AI Technical Summary
Existing Bluetooth ranging methods have low accuracy in measuring distances between Bluetooth Low Energy devices.
By utilizing the ranging results from multiple frequency hopping intervals and combining the processing results of the first and second frequency hopping interval distances, a comprehensive output ranging result is generated. This includes converting the ranging result to a specific range for processing and calculation, avoiding phase winding and improving ranging accuracy.
It improves the accuracy of Bluetooth ranging, especially at relatively large distances, avoids ranging errors caused by phase wrapping, and enhances the accuracy of ranging results.
Smart Images

Figure CN118962582A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of Bluetooth technology, and specifically relates to a Bluetooth ranging method, device and computer-readable storage medium. Background Art
[0002] Bluetooth Low Energy (BLE) is a Bluetooth technology with low power consumption and cost. In BLE's channel souding mode 2, two Bluetooth Low Energy devices can measure the distance between each other by exchanging Tones (single carrier).
[0003] The current distance measurement method of Bluetooth devices usually uses the distance measurement results of the same frequency modulation interval distance to measure the distance between two low-power Bluetooth devices, resulting in low accuracy of distance measurement. Therefore, how to improve the accuracy of Bluetooth distance measurement is an urgent problem to be solved. Summary of the invention
[0004] In view of the problems existing in the above-mentioned prior art, a Bluetooth ranging method, device and computer-readable storage medium are proposed. By using the Bluetooth ranging method, device and computer-readable storage medium, the accuracy of Bluetooth ranging can be improved.
[0005] This application provides the following solution.
[0006] In a first aspect, a Bluetooth ranging method includes:
[0007] Obtaining a first ranging result of a first frequency hopping interval and a second ranging result of a second frequency hopping interval, wherein the first frequency hopping interval is greater than the second frequency hopping interval;
[0008] Converting the first ranging result to a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a first processing result;
[0009] Converting the second ranging result to a distance domain where the frequency hopping interval is the first frequency hopping interval distance to obtain a second processing result;
[0010] The difference between the first processing result and the second processing result is transferred to a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a distance difference result;
[0011] The sum of the second ranging result and the distance difference result is transferred to a distance domain with a frequency hopping interval equal to the second frequency hopping interval distance to obtain an output ranging result.
[0012] As a possible implementation manner, the first frequency hopping interval is m, and the first ranging result is transferred to a distance domain in which the frequency hopping interval is the first frequency hopping interval, to obtain a first processing result, including:
[0013] The first distance measurement result is wrapped into the interval range of [-75 / m to 75 / m] to obtain a first processing result.
[0014] As a possible implementation manner, after wrapping the first ranging result to a range of [-75 / m to 75 / m], the method further includes:
[0015] If the first processing result is greater than 75 / m, subtract 150 / m from the first processing result.
[0016] As a possible implementation manner, the first frequency hopping interval distance is n, and the second ranging result is transferred to a distance domain in which the frequency hopping interval is the first frequency hopping interval distance, to obtain a second processing result, including:
[0017] The second distance measurement result is wrapped into the interval range of [-75 / m to 75 / m] to obtain a second processing result.
[0018] As a possible implementation manner, after wrapping the second ranging result to a range of [-75 / m to 75 / m], the method further includes:
[0019] If the second processing result is greater than 75 / m, subtract 150 / m from the second processing result.
[0020] As a possible implementation manner, the first frequency hopping interval is m, and the difference between the first processing result and the second processing result is transferred to a distance domain where the frequency hopping interval is the first frequency hopping interval, to obtain a distance difference result, including:
[0021] The difference between the first processing result and the second processing result is wrapped into the interval range of [-75 / m to 75 / m] to obtain the distance difference result.
[0022] As a possible implementation manner, the second frequency hopping interval distance is n, and the sum of the second ranging result and the distance difference result is transferred to a distance domain where the frequency hopping interval is the second frequency hopping interval distance, and an output ranging result is obtained, including:
[0023] The sum of the second distance measurement result and the distance difference result is wrapped into the interval range of [-75 / n to 75 / n] to obtain the output distance measurement result.
[0024] As a possible implementation, the method further includes:
[0025] If the output distance measurement result is a negative value, add 75 / n to the output distance measurement result.
[0026] As a possible implementation manner, the phase change corresponding to the Bluetooth ranging method is within the interval of [-pi, pi], and the phase change corresponding to the first frequency hopping interval is less than pi.
[0027] As a possible implementation, the method is applied to Bluetooth low energy consumption.
[0028] In a second aspect, the present application also provides a Bluetooth distance measuring device, comprising:
[0029] An obtaining module, used to obtain a first ranging result of a first frequency hopping interval and a second ranging result of a second frequency hopping interval, wherein the first frequency hopping interval is greater than the second frequency hopping interval;
[0030] A first conversion module, used for converting the first ranging result into a distance domain with a frequency hopping interval being a first frequency hopping interval distance, to obtain a first processing result;
[0031] A second conversion module is used to convert the second ranging result into a distance domain with a frequency hopping interval equal to the first frequency hopping interval distance to obtain a second processing result;
[0032] A third conversion module is used to convert the difference between the first processing result and the second processing result into a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a distance difference result;
[0033] The output module is used to transfer the sum of the second ranging result and the distance difference result to a distance domain with a frequency hopping interval equal to the second frequency hopping interval distance to obtain an output ranging result.
[0034] As a possible implementation manner, the first frequency hopping interval is m, and the first conversion module is used to wrap the first ranging result into an interval range of [-75 / m to 75 / m] to obtain a first processing result.
[0035] As a possible implementation manner, the first conversion module is further configured to, if the first processing result is greater than 75 / m, subtract 150 / m from the first processing result.
[0036] As a possible implementation manner, the first frequency hopping interval is n, and the second conversion module is used to wrap the second ranging result into an interval range of [-75 / m to 75 / m] to obtain a second processing result.
[0037] As a possible implementation manner, the second conversion module is further configured to, if the second processing result is greater than 75 / m, subtract 150 / m from the second processing result.
[0038] As a possible implementation manner, the first frequency hopping interval is m, and the third conversion module is used to wrap the difference between the first processing result and the second processing result into an interval range of [-75 / m to 75 / m] to obtain a distance difference result.
[0039] As a possible implementation manner, the second frequency hopping interval is n, and the output module is used to wrap the sum of the second ranging result and the distance difference result to the interval range of [-75 / n to 75 / n] to obtain the output ranging result.
[0040] As a possible implementation, the output module is further configured to add 75 / n to the output ranging result if the output ranging result is a negative value.
[0041] As a possible implementation manner, the phase change corresponding to the Bluetooth ranging method is within the interval of [-pi, pi], and the phase change corresponding to the first frequency hopping interval is less than pi.
[0042] As a possible implementation, the device is applied to low-power Bluetooth.
[0043] In a third aspect, the present application provides a Bluetooth distance measuring device, comprising:
[0044] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute: such as the Bluetooth ranging method mentioned above.
[0045] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a program. When the program is executed by a multi-core processor, the multi-core processor executes the above-mentioned Bluetooth ranging method.
[0046] In the present application, the frequency modulation of Bluetooth is usually random, that is, the frequency interval between two frequency hopping of Bluetooth is uncertain, so Bluetooth can usually obtain ranging results of multiple frequency hopping intervals. The Bluetooth ranging method provided by the present application can use data of multiple frequency modulation intervals for ranging. Specifically, the technical solution of the present application can generate an output ranging result by combining the first ranging result and the second ranging result of two different frequency hopping intervals. The output ranging result combines the data of the ranging results of two different frequency modulation intervals, which can improve the accuracy of Bluetooth ranging.
[0047] Other advantages of the present application will be explained in more detail with reference to the following description and drawings.
[0048] It should be understood that the above description is only an overview of the technical solution of the present application, so that the technical means of the present application can be more clearly understood and implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically described below by way of example. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The advantages and benefits described herein and other advantages and benefits will be apparent to those skilled in the art by reading the detailed description of the exemplary embodiments below. The accompanying drawings are only used for the purpose of illustrating the exemplary embodiments and are not to be considered as limiting the present application. In the accompanying drawings:
[0050] Figure 1 A schematic diagram of a flow chart of a Bluetooth ranging method provided in an embodiment of the present application;
[0051] Figure 2 A schematic diagram of a Bluetooth distance measuring device provided in an embodiment of the present application;
[0052] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION
[0053] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0054] In the description of the embodiments of the present application, it should be understood that terms such as "including" or "having" are intended to indicate the presence of disclosed features, numbers, steps, behaviors, components, parts, or a combination thereof in the present specification, and do not exclude the possibility of the presence of one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof.
[0055] Unless otherwise specified, “ / ” means or. For example, A / B can mean A or B. The “and / or” in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0056] The terms "first", "second", etc. are used only to distinguish the same or similar technical features for the convenience of description, and should not be understood as indicating or implying the relative importance or quantity of these technical features. Thus, the features defined by "first", "second", etc. may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the term "plurality" means two or more than two.
[0057] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0058] like Figure 1 As shown, the Bluetooth ranging method provided in the embodiment of the present application includes:
[0059] S101: Obtain a first ranging result of a first frequency hopping interval and a second ranging result of a second frequency hopping interval, wherein the first frequency hopping interval is greater than the second frequency hopping interval.
[0060] It should be noted that the Bluetooth ranging method provided in the embodiment of the present application can measure the distance between Bluetooth headsets or other Bluetooth devices, such as the distance between two low-power Bluetooth devices, which is not limited in the embodiment of the present application. The frequency modulation of Bluetooth devices is usually random, that is, the frequency interval between two Bluetooth frequency hops is uncertain, so Bluetooth devices can usually obtain ranging data of multiple frequency hopping intervals. In the technical solution of the present application, a first ranging result dm of a first frequency hopping interval distance m and a second ranging result dn of a second frequency hopping interval distance n can be selected from the ranging data of multiple frequency hopping intervals. Moreover, the first frequency hopping interval distance m is greater than the second frequency hopping interval distance n.
[0061] S102: Convert the first ranging result to a distance domain where the frequency hopping interval is the first frequency hopping interval distance to obtain a first processing result.
[0062] In the embodiment of the present application, the first ranging result dm can be transferred to a distance domain with a frequency hopping interval of the first frequency hopping interval distance m to obtain a first processing result dm'. The first processing result dm' can be specifically calculated by the following formula:
[0063] dm'=distancePrime(dm,m)
[0064] Wherein, distancePrime(dm,m) indicates that the first distance measurement result dm is wrapped into the interval range of [-75 / m to 75 / m]. If the first processing result is greater than 75 / m, 150 / m is subtracted from the first processing result so that the first processing result is within the interval of [-75 / m to 75 / m].
[0065] S103: Convert the second ranging result to a distance domain where the frequency hopping interval is the first frequency hopping interval distance to obtain a second processing result.
[0066] In the embodiment of the present application, the second ranging result dn is transferred to a distance domain with a frequency hopping interval equal to the first frequency hopping interval distance m to obtain a second processing result dn'. The second processing result dn' can be specifically calculated by the following formula:
[0067] dn'=distancePrime(dn,m)
[0068] Wherein, distancePrime(dn,m) indicates that the second distance measurement result dn is wrapped into the interval range of [-75 / m to 75 / m] to obtain the second processing result dn'. If the second processing result is greater than 75 / m, 150 / m is subtracted from the second processing result to make the second processing result within the interval of [-75 / m to 75 / m].
[0069] It should be noted that, in the embodiment of the present application, step S102 and step S103 transfer both the first ranging result dm and the second ranging result dn to the distance domain of the first frequency hopping interval distance m, so that the first ranging result dm and the second ranging result dn can be easily compared on the same scale. That is, the first processing result dm' and the second processing result dn' in the present application can be compared on the same scale.
[0070] The embodiment of the present application does not limit the execution order of step S102 and step S103. In actual applications, step S102 may be executed first and then step S103, or step S103 may be executed first and then step S102, or step S102 and step S103 may be executed simultaneously, which is not limited in the embodiment of the present application.
[0071] S104: Convert the difference between the first processing result and the second processing result into a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a distance difference result.
[0072] In the embodiment of the present application, the difference between the first processing result dm' and the second processing result dn' can be wrapped into the interval range of [-75 / m to 75 / m] to obtain the distance difference result dΔ. The distance difference result dΔ can be specifically calculated by the following formula:
[0073] dΔ=distancePrime(dm'-dn',m)
[0074] Wherein, distancePrime(dm'-dn',m) indicates that the difference dm'-dn' between the first processing result dm' and the second processing result dn' is wrapped into the interval range of [-75 / m to 75 / m].
[0075] S105: converting the sum of the second ranging result and the distance difference result into a distance domain with a frequency hopping interval equal to the second frequency hopping interval distance to obtain an output ranging result.
[0076] In the embodiment of the present application, the sum of the second distance measurement result dn and the distance difference result dΔ may be wrapped into the interval range of [-75 / n to 75 / n] to obtain the output distance measurement result dn_inal. The output distance measurement result dn_inal may be specifically calculated by the following formula:
[0077] dn_inal=distancePrime(dn+dΔ,n)
[0078] Wherein, distancePrime(dn+dΔ,n) indicates that the sum dn+dΔ of the second distance measurement result dn and the distance difference result dΔ is wrapped into the interval range of [-75 / n to 75 / n].
[0079] In addition, since the distance between the two Bluetooth devices indicated by the output distance measurement result should actually be a positive value, the present application can add 75 / n to the output distance measurement result when the output distance measurement result is a negative value, so that the output distance measurement result can be more easily understood by the tester.
[0080] if dn_inal<0,dn_=dn_final+75 /
[0081] In actual applications, the relative distance between the two Bluetooth devices indicated by the second ranging result corresponding to the second frequency hopping interval with a larger frequency hopping interval is larger, and the accuracy of the relative distance is higher. However, it should be noted that the relative distance indicated by the first ranging result and the second ranging result measured by the Bluetooth device is usually obtained by converting the phase data, and the phase data is in the interval [-pi, pi]. Then when the relative distance is large, when the phase change φ is substantially greater than pi, the obtained phase is equal to φ-2*pi. This wrapping phenomenon causes errors in the measured relative distance. Pi can be the phase amplitude, such as π. Therefore, the second ranging result corresponding to the second frequency hopping interval with a larger frequency hopping interval is prone to the above-mentioned wrapping phenomenon. Although the accuracy of the measured relative distance is high, there is a wrapping error.
[0082] In order to utilize the accuracy of the second ranging result dm corresponding to the second frequency hopping interval distance m and avoid the wrapping phenomenon, the phase change corresponding to the first frequency hopping interval n in the present application can be less than pi. The present application calculates the second ranging result dm in combination with the first ranging result dn corresponding to the first frequency hopping interval distance n. The first frequency hopping interval n corresponding to the first ranging result dn is less than pi, and its corresponding phase change can always be in the interval [-pi, pi], and the above-mentioned wrapping phenomenon will not occur. The technical solution of the present application can assume that when the frequency hopping interval is m, the distance value corresponding to the phase corresponding to the second ranging result dn will become dn' after wrapping, and then compare dn' and dm' to obtain the difference between dn' and dm', and then convert it back to the distance domain of the second frequency hopping interval distance where dn is located, so as to avoid the above-mentioned wrapping phenomenon and obtain the actual distance value corresponding to dm.
[0083] In summary, the Bluetooth ranging method provided by the present application can use data of multiple frequency modulation intervals for ranging. Specifically, the technical solution of the present application can generate an output ranging result by combining the first ranging result and the second ranging result of two different frequency hopping intervals. The output ranging result combines the data of the ranging results of two different frequency modulation intervals, which can improve the accuracy of Bluetooth ranging.
[0084] In the description of this specification, the description with reference to the terms "some possible embodiments", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application, and the above terms do not necessarily represent the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0085] About the method flow chart of the present application embodiment, some operations are described as different steps performed in a certain order. Such flow chart belongs to illustrative and non-restrictive. Some steps described in this article can be grouped together and performed in a single operation, or some steps can be divided into multiple sub-steps and can be performed in an order different from that shown in this article. Each step shown in the flow chart can be realized in any way by any circuit structure and / or tangible mechanism (for example, by software, hardware (for example, the logical function realized by processor or chip) etc. running on computer equipment and / or any combination thereof).
[0086] Those skilled in the art will appreciate that, in the method described in the above specific implementation, the writing order of each step does not mean a strict execution order, and the specific execution order of each step should be determined by its function and possible internal logic.
[0087] According to the Bluetooth distance measurement method provided in the above embodiment, the present application also provides a Bluetooth distance measurement device.
[0088] like Figure 2 As shown, the Bluetooth distance measuring device provided in the embodiment of the present application includes:
[0089] An obtaining module 100 is used to obtain a first ranging result of a first frequency hopping interval and a second ranging result of a second frequency hopping interval, wherein the first frequency hopping interval is greater than the second frequency hopping interval;
[0090] A first conversion module 200 is used to convert the first ranging result into a distance domain with a frequency hopping interval being a first frequency hopping interval distance to obtain a first processing result;
[0091] The second conversion module 300 is used to convert the second ranging result into a distance domain with a frequency hopping interval equal to the first frequency hopping interval distance to obtain a second processing result;
[0092] The third conversion module 400 is used to convert the difference between the first processing result and the second processing result into a distance domain with a frequency hopping interval equal to the first frequency hopping interval distance to obtain a distance difference result;
[0093] The output module 500 is used to transfer the sum of the second ranging result and the distance difference result to a distance domain with a frequency hopping interval equal to the second frequency hopping interval distance, so as to obtain an output ranging result.
[0094] In some possible embodiments, the first frequency hopping interval is m, and the first conversion module is used to wrap the first ranging result into the interval range of [-75 / m to 75 / m] to obtain a first processing result. In some possible embodiments, the first conversion module is further used to subtract 150 / m from the first processing result if the first processing result is greater than 75 / m.
[0095] In some possible embodiments, the first frequency hopping interval is n, and the second conversion module is used to wrap the second ranging result into the interval range of [-75 / m to 75 / m] to obtain a second processing result. In some possible embodiments, the second conversion module is further used to subtract 150 / m from the second processing result if the second processing result is greater than 75 / m.
[0096] In some possible embodiments, the first frequency hopping interval is m, and the third conversion module is used to wrap the difference between the first processing result and the second processing result to the interval range of [-75 / m to 75 / m] to obtain a distance difference result.
[0097] In some possible embodiments, the second frequency hopping interval is n, and the output module is used to wrap the sum of the second ranging result and the distance difference result to the interval range of [-75 / n to 75 / n] to obtain the output ranging result. In some possible embodiments, the output module is also used to add 75 / n to the output ranging result if the output ranging result is a negative value.
[0098] In some possible embodiments, the phase change corresponding to the Bluetooth ranging method is within the interval [-pi, pi], and the phase change corresponding to the first frequency hopping interval is less than pi. As a possible implementation, the device is applied to low-power Bluetooth.
[0099] It should be noted that the device in the embodiment of the present application can implement the various processes of the embodiment of the aforementioned method and achieve the same effects and functions, which will not be repeated here.
[0100] According to some embodiments of the present application, a Bluetooth distance measuring device according to an embodiment of the present application is provided, for performing Figure 1 The Bluetooth ranging method shown, the device includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the above embodiment.
[0101] According to some embodiments of the present application, a non-volatile computer storage medium of a Bluetooth ranging method is provided, on which computer executable instructions are stored. The computer executable instructions are configured to execute the method described in the above embodiments when executed by a processor.
[0102] Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory, read-only memory, electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. In addition, although the operations of the method of the present application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. In addition, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple sub-steps.
[0103] Although the spirit and principle of the present application have been described above with reference to several specific embodiments, it should be understood that the present application is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined. The present application is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.
Claims
1. A Bluetooth distance measurement method, characterized in that: include: Obtaining a first ranging result of a first frequency hopping interval and a second ranging result of a second frequency hopping interval, wherein the first frequency hopping interval is greater than the second frequency hopping interval; Converting the first ranging result to a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a first processing result; Converting the second ranging result to a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a second processing result; Converting the difference between the first processing result and the second processing result into a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a distance difference result; The sum of the second ranging result and the distance difference result is transferred to a distance domain whose frequency hopping interval is the second frequency hopping interval distance to obtain an output ranging result.
2. The Bluetooth distance measurement method according to claim 1, characterized in that: The first frequency hopping interval distance is m, and the first ranging result is transferred to a distance domain where the frequency hopping interval is the first frequency hopping interval distance to obtain a first processing result, including: The first distance measurement result is wrapped into the interval range of [-75 / m to 75 / m] to obtain a first processing result.
3. The Bluetooth distance measurement method according to claim 2, characterized in that: After wrapping the first distance measurement result to the interval range of [-75 / m to 75 / m], the method further includes: If the first processing result is greater than 75 / m, 150 / m is subtracted from the first processing result.
4. The Bluetooth distance measurement method according to claim 1, characterized in that: The first frequency hopping interval distance is n, and the transferring the second ranging result to a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a second processing result includes: The second distance measurement result is wrapped into the interval range of [-75 / m to 75 / m] to obtain a second processing result.
5. The Bluetooth distance measurement method according to claim 4, characterized in that: After wrapping the second distance measurement result to the interval range of [-75 / m to 75 / m], the method further includes: If the second processing result is greater than 75 / m, subtract 150 / m from the second processing result.
6. The Bluetooth distance measurement method according to claim 1, characterized in that: The first frequency hopping interval distance is m, and the step of transferring the difference between the first processing result and the second processing result to a distance domain in which the frequency hopping interval is the first frequency hopping interval distance to obtain a distance difference result includes: The difference between the first processing result and the second processing result is wrapped into the interval range of [-75 / m to 75 / m] to obtain a distance difference result.
7. The Bluetooth distance measurement method according to claim 1, characterized in that: The second frequency hopping interval distance is n, and the sum of the second ranging result and the distance difference result is transferred to a distance domain with a frequency hopping interval of the second frequency hopping interval distance to obtain an output ranging result, including: The sum of the second distance measurement result and the distance difference result is wrapped into an interval range of [-75 / n to 75 / n] to obtain an output distance measurement result.
8. The Bluetooth distance measurement method according to claim 7, characterized in that: The method further comprises: If the output distance measurement result is a negative value, 75 / n is added to the output distance measurement result.
9. The Bluetooth distance measurement method according to claim 1, characterized in that: The phase change corresponding to the method is within the interval of [-pi, pi], and the phase change corresponding to the first frequency hopping interval is less than pi.
10. The Bluetooth distance measurement method according to claims 1-9, characterized in that: The method is applied to Bluetooth low energy consumption.
11. A Bluetooth distance measuring device, characterized in that: include: An obtaining module, configured to obtain a first ranging result of a first frequency hopping interval and a second ranging result of a second frequency hopping interval, wherein the first frequency hopping interval is greater than the second frequency hopping interval; A first conversion module, configured to convert the first ranging result into a distance domain whose frequency hopping interval is the first frequency hopping interval distance, to obtain a first processing result; A second conversion module, used for converting the second ranging result into a distance domain whose frequency hopping interval is the first frequency hopping interval distance, to obtain a second processing result; A third conversion module is used to convert the difference between the first processing result and the second processing result into a distance domain whose frequency hopping interval is the first frequency hopping interval distance to obtain a distance difference result; The output module is used to transfer the sum of the second ranging result and the distance difference result to a distance domain with a frequency hopping interval equal to the second frequency hopping interval distance, so as to obtain an output ranging result.
12. A Bluetooth distance measuring device, characterized in that: include: at least one processor; And, a memory communicatively connected to at least one processor; wherein the memory stores instructions executable by at least one processor, and the instructions are executed by at least one processor to enable at least one processor to execute: a method as described in any one of claims 1-10.
13. A computer-readable storage medium storing a program, wherein when the program is executed by a multi-core processor, the multi-core processor executes the method according to any one of claims 1 to 10.
Citation Information
Cited By
Adaptive frequency hopping method for efficient distance measurement based on BLE channel sounding
WO2026173361A1
