Positioning method and device based on Bluetooth beacons and readable storage medium

By generating and optimizing the Bluetooth indoor ranging model in real time, and combining it with the multi-parameter fusion weighted centroid positioning algorithm, the problem of insufficient accuracy and real-time performance of Bluetooth beacon positioning technology in indoor environments is solved, and a more efficient indoor positioning effect is achieved.

CN118764952AActive Publication Date: 2024-10-11CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411037408.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-11
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

Existing Bluetooth beacon positioning technology has problems with low positioning accuracy and insufficient real-time performance in indoor environments. This is mainly because the generation of indoor ranging models is cumbersome and cannot be updated in real time. It cannot adapt to environmental changes, resulting in large positioning errors.

Method used

The method of combining LoRa and Bluetooth beacons is used to generate and optimize the Bluetooth indoor ranging model in real time. The model parameters are optimized through the Gaussian mean method and the one-dimensional Kalman method. Combined with the multi-parameter fusion RSSI weighted center of mass positioning algorithm, the model is dynamically adjusted to improve positioning. Accuracy.

Benefits of technology

It achieves higher indoor positioning accuracy and practicality, reduces ranging errors, can adapt to changes in complex indoor environments, and improves the accuracy and real-time performance of positioning results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764952A_ABST
    Figure CN118764952A_ABST
Patent Text Reader

Abstract

The invention provides a positioning method and device based on a Bluetooth beacon and a readable storage medium, and the method comprises the steps: generating a Bluetooth indoor distance measurement model in real time based on LORA and the Bluetooth beacon; performing parameter optimization on the Bluetooth indoor distance measurement model through a filtering algorithm to obtain an optimized distance measurement model; obtaining a distance measurement result through the optimized distance measurement model; and based on the distance measurement result, obtaining a positioning result through a multi-parameter fused received signal strength (RSSI) weighted centroid positioning algorithm. The LoRa and Bluetooth multimode beacon system provided by the invention can realize a better indoor positioning effect, focuses on research on online generation and improvement of a Bluetooth indoor distance measurement model, proposal of a mass center weighting improvement algorithm fused with a multi-element thought and a perfect indoor positioning result test, improves the accuracy of the generated indoor distance measurement model, and reduces indoor distance measurement errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a positioning method, device and readable storage medium based on Bluetooth beacons. Background Art

[0002] In recent years, the demand for new IoT indoor positioning services in the location service system has been growing, and new mobile positioning devices used in the field of indoor positioning have emerged in an endless stream. Mobile phones, tablets and other portable mobile positioning devices are becoming more and more common in people's daily lives. Among them, Bluetooth beacons have technical advantages such as low power consumption and low cost, and can provide managers with relevant location information and other services through the IoT location service system.

[0003] However, many positioning services provided by Bluetooth beacons on the market are not perfect. Due to the limitations of the positioning environment area and terrain, the deployment density of base stations is not high, and the complex distribution of multiple anchor circles during positioning makes it difficult to accurately locate. Summary of the invention

[0004] The technical problem to be solved by the present application is to provide a positioning method, device and readable storage medium based on Bluetooth beacons to solve the problems existing in the prior art in view of the above-mentioned deficiencies in the prior art.

[0005] In a first aspect, the present application provides a positioning method based on Bluetooth beacons,

[0006] Methods include:

[0007] S1. Generate Bluetooth indoor ranging model in real time based on LORA and Bluetooth beacons;

[0008] S2. Optimizing the parameters of the Bluetooth indoor ranging model by using a filtering algorithm to obtain an optimized ranging model;

[0009] S3, obtaining a distance measurement result through the optimized distance measurement model;

[0010] S4. Based on the ranging result, a positioning result is obtained by a multi-parameter fusion received signal strength RSSI weighted centroid positioning algorithm.

[0011] In some embodiments, S1 includes:

[0012] S11. Based on LORA communication technology, obtain the RSSI of multiple multi-mode beacon base stations;

[0013] S12. Obtaining model parameter values ​​corresponding to the multiple multi-mode beacon base stations according to the RSSIs of the multiple multi-mode beacon base stations;

[0014] S13. Obtain model parameters of the Bluetooth indoor ranging model according to the model parameter values ​​corresponding to each of the multiple multi-mode beacon base stations.

[0015] In some embodiments, in S2, the filtering algorithm includes: a Gaussian mean optimization algorithm and / or a one-dimensional Kalman optimization algorithm.

[0016] In some embodiments, the blue

[0017] Parameter optimization of the dental room distance measurement model, including:

[0018] S31a, repeatedly generate multiple Bluetooth indoor ranging models to obtain multiple model parameters;

[0019] S31b, performing weighted averaging on the multiple model parameters using a Gaussian template and a standard deviation to obtain optimized model parameters.

[0020] In some embodiments, the Bluetooth indoor

[0021] The ranging model performs parameter optimization, including:

[0022] S32a, repeatedly generate multiple Bluetooth indoor ranging models to obtain multiple model parameters;

[0023] S32b. Based on the multiple model parameters, perform parameter optimization using a one-dimensional Kalman optimization algorithm to obtain optimized model parameters.

[0024] In some embodiments, S4 includes:

[0025] S41, obtaining the distance between the anchor node and the point to be measured according to the distance measurement result;

[0026] S42, selecting the three smallest values ​​from the distances between the anchor nodes and the points to be measured as the radii of the three anchor circles, and taking the anchor nodes as the centers of the circles;

[0027] S43, determining a weighted point according to the positional relationship of the three anchor circles;

[0028] S44: Obtain a positioning result of the point to be measured according to the distance measurement result and the weighted point.

[0029] In some embodiments, in S44, the positioning result of the point to be measured is obtained by the following formula:

[0030]

[0031] Among them, d O1 d O2d O3 is the distance measurement result from the measured point to the three anchor nodes, A(X A ,Y A )、B(X B ,Y B )、C(X C ,Y C ) is the weighted point determined according to the positional relationship of the three anchor circles, d A1 d A2 d A3 are the distances from weighted point A to the three anchor nodes; d B1 d B2 d B3 are the distances from weighted point B to the three anchor nodes; d C1 d C2 d C3 are the distances from the weighted point C to the three anchor nodes; w A 、w B 、w C are the weights corresponding to A, B, and C respectively; (X O ,Y O ) is the positioning result of the point to be measured; z is the weight correction coefficient.

[0032] In a second aspect, the present application provides a positioning device based on a Bluetooth beacon, the device comprising:

[0033] A generation module, which is configured to generate a Bluetooth indoor ranging model in real time based on LORA and Bluetooth beacons;

[0034] An optimization module, which is configured to optimize the parameters of the Bluetooth indoor ranging model through a filtering algorithm to obtain an optimized ranging model;

[0035] A distance measurement module, which is configured to obtain a distance measurement result through the optimized distance measurement model;

[0036] The positioning module is configured to obtain the positioning result based on the ranging result through a multi-parameter fusion received signal strength RSSI weighted centroid positioning algorithm.

[0037] In a third aspect, the present application provides a positioning device based on Bluetooth beacons, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the positioning method based on Bluetooth beacons described in the first aspect above.

[0038] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the Bluetooth beacon-based positioning method described in the first aspect above is implemented.

[0039] The present application provides a positioning method, device and readable storage medium based on Bluetooth beacons, and the method includes: based on LORA and Bluetooth beacons, generating a Bluetooth indoor ranging model in real time; optimizing the parameters of the Bluetooth indoor ranging model through a filtering algorithm to obtain an optimized ranging model; obtaining ranging results through the optimized ranging model; based on the ranging results, obtaining positioning results through a multi-parameter fused received signal strength RSSI weighted centroid positioning algorithm. The LoRa and Bluetooth multimode beacon system provided by the present application can achieve a good indoor positioning effect, focusing on the online generation and improvement of the Bluetooth indoor ranging model, proposing a centroid weighted improvement algorithm that integrates multiple elements, and perfecting the indoor positioning result test. First of all, the present application proposes a method for optimizing the Bluetooth indoor ranging model. At present, the Bluetooth indoor ranging model is generated before the positioning starts, and it cannot perfectly match the attenuation law of the actual signal during positioning. With the help of the Bluetooth system, the indoor ranging model can be generated online and updated in time when positioning. For the main parameters of the indoor ranging model, the Gaussian mean method and the one-dimensional Kalman method are introduced to improve the accuracy of the generated indoor ranging model and reduce the indoor ranging error. In addition, this application analyzes and studies a variety of positioning algorithms, adopts the multi-parameter fusion idea to improve the weighted centroid algorithm, considers the influence of multiple parameters on the positioning results in the actual environment to obtain a suitable weighted point, which satisfies the minimum value of the sum of the three-circle errors and reduces the area where the measured point may be located, and verifies the algorithm effect through the network-side positioning system of LoRa and Bluetooth. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] Figure 1 This is a schematic diagram of the RSSI test results under different transmission powers of this application;

[0042] Figure 2 This is a schematic diagram of the effect of pedestrian movement on RSSI in this application;

[0043] Figure 3 A schematic diagram of a positioning method based on Bluetooth beacons provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of generating an indoor ranging model in real time according to an embodiment of the present application;

[0045] Figure 5 This is a schematic diagram of the distance error after filtering optimization obtained by using the indoor ranging model and RSSI respectively in the embodiment of the present application;

[0046] Figure 6Schematic diagram of various situations of three anchor circles in the embodiment of the present application;

[0047] Figure 7 This is a schematic diagram of two circles intersecting in an embodiment of the present application;

[0048] Figure 8 This is a schematic diagram of two circles moving apart in an embodiment of the present application;

[0049] Fig. 9 This is a schematic diagram of two circles contained within each other in the embodiment of the present application;

[0050] Fig.10 This is an example diagram of three anchor circles in the embodiment of the present application;

[0051] Fig.11 Schematic diagram of the RSSI weighted centroid positioning algorithm experiment with multi-parameter fusion in the embodiment of the present application;

[0052] Fig.12 This is a schematic diagram of positioning errors of three positioning algorithms obtained according to Table 2-2 in an embodiment of the present application;

[0053] Fig.13 This is a schematic diagram of positioning errors of three positioning algorithms obtained according to Table 2-3 in the embodiment of the present application;

[0054] Fig.14 This is a schematic diagram of adjusting the coefficient to obtain the average positioning error in the embodiment of the present application;

[0055] Fig.15 A schematic diagram of a positioning device based on Bluetooth beacons provided in an embodiment of the present application;

[0056] Fig.16 Another schematic diagram of a positioning device based on Bluetooth beacons provided in an embodiment of the present application.

[0057] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0058] In order to enable those skilled in the art to better understand the technical solution of the present application, the implementation mode of the present application will be further described in detail below with reference to the accompanying drawings.

[0059] It should be understood that the specific embodiments and drawings described herein are only used to explain the present application, rather than to limit the present application.

[0060] It can be understood that, in the absence of conflict, the various embodiments in the present application and the various features in the embodiments can be combined with each other.

[0061] It can be understood that, for the convenience of description, the drawings of the present application only show the parts related to the present application, while the parts unrelated to the present application are not shown in the drawings.

[0062] It can be understood that each unit and module involved in the embodiments of the present application may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0063] It can be understood that the terms "first", "second", etc. in the embodiments of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0064] It is understandable that, in the absence of conflict, the functions and steps marked in the flowcharts and block diagrams of the present application may occur in an order different from that marked in the drawings.

[0065] It is understood that the flowcharts and block diagrams of the present application illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present application. Among them, each box in the flowchart or block diagram may represent a unit, module, program segment, code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or by a combination of hardware and computer instructions.

[0066] It can be understood that the units and modules involved in the embodiments of the present application can be implemented by software or hardware, for example, the units and modules can be located in a processor.

[0067] Nowadays, there are a large number of calculation methods based on Bluetooth beacon positioning, but they all have certain limitations and can be roughly summarized as non-range positioning and range positioning. The calculation of geometric centroid positioning does not rely on ranging data, but other data must be introduced to assist in the calculation, using the coordinate data of the neighboring beacon base stations collected by the point to be measured. However, the number of base stations largely determines the final positioning effect. When the number of deployed base stations is insufficient, the positioning area will become larger, resulting in a larger positioning error; the main parameter of the ranging positioning algorithm is the distance from the point to be located to the monitoring Bluetooth device. The current ranging positioning is mainly RSSI (Received Signal Strength Indicator) ranging positioning.

[0068] At present, the ranging model generated in literature research has cumbersome steps and complex calculations. After the offline measurement is completed, no subsequent adjustment and update are performed. It lacks real-time and environmental adaptability. It does not take into account that when the real environment changes over time, the indoor ranging model generated in the previous time period will no longer have use value, and accurate and effective ranging values ​​cannot be obtained.

[0069] In addition, RSSI ranging positioning generally first obtains the ranging value between the point to be measured and the Bluetooth base station, and then substitutes it into the positioning algorithm such as triangulation positioning, maximum likelihood estimation method for target positioning, weighted centroid positioning method, etc. to calculate the positioning coordinates of the person to be located. Among them, the application of RSSI weighted centroid positioning algorithm is very extensive, but the existing weighted centroid algorithm has very strict requirements on RSSI ranging effect. Its positioning effect is not only affected by the accuracy of the generated indoor ranging model, but also due to the instability of RSSI data collected by the point to be measured. Errors will occur, and because of the existence of various changing factors in the indoor environment, these two effects are difficult to completely eliminate.

[0070] Based on the above existing problems, in order to improve the accuracy and practicality of Bluetooth beacon positioning, the improvements of this application mainly include:

[0071] (1) Optimization of Bluetooth indoor ranging model. This application studies the real-time dynamic generation of indoor ranging models based on Bluetooth beacons. In the design of the positioning system of this application, the wireless networking method of LoRa communication is additionally introduced to the Bluetooth beacon. The factors that disrupt the Bluetooth beacon signal, such as transmission power, temperature and humidity, air pressure, obstacles, etc., are analyzed and summarized, and the Bluetooth beacon signal is filtered and optimized. The advantages and disadvantages of the current indoor ranging model improvement scheme are analyzed, and the methods of real-time and regular acquisition of indoor ranging models and dynamic parameter tuning are studied. Then, the Gaussian mean method and / or one-dimensional Kalman method are used to optimize the main parameters A and n of the model to ensure the accuracy of the indoor ranging model function. The ranging effect of the improved model is tested through specific experiments.

[0072] (2) Optimization of weighted centroid positioning algorithm based on multi-parameter fusion. In view of the shortcomings of traditional RSSI positioning algorithm in positioning accuracy and practicality, this paper introduces improved weighted centroid positioning based on multi-parameter fusion, and compares and analyzes the improved algorithm with the positioning algorithms proposed in the literature in recent years to verify the advantages of the algorithm in accuracy, adaptability and implementation efficiency.

[0073] This application uses LoRa and Bluetooth positioning systems as platforms to compare the algorithm of this application with the positioning algorithms used in other literature. After comparison and verification, the position calculated by the weighted centroid positioning algorithm with multi-parameter fusion idea proposed in this application is closer to the actual position of the positioned person, and the algorithm can adaptively process when there are multiple position distributions of the three anchor circles.

[0074] Before describing the embodiments of the present application, the terms and definitions used in the embodiments of the present application are explained:

[0075] 1. Bluetooth indoor ranging model

[0076] Signals in indoor environments are blocked, reflected, and absorbed by furniture, pedestrians, and other factors during transmission. Therefore, it is impossible for the signal transmitter to perfectly transmit signals evenly without dead angles in an ideal space. The free space model is too idealistic and does not deeply analyze the impact of indoor obstacles and multipath effects. Therefore, the model has a large ranging error.

[0077] In view of the various changing factors in the real physical environment, the path loss model takes into account the various interference factors that may exist in the real environment. It is more suitable for indoor ranging. The attenuation law of the Bluetooth beacon signal is in line with the law of the logarithmic distance path loss model. When the distance is 1m, A represents the signal strength received at a distance of one meter. Therefore, the derivation is transformed into formula (1-1) as follows:

[0078] RSSI(d)=A-10nlgd (1-1)

[0079] Among them, RSSI is the received signal strength, d is the distance, A is the signal strength when the transmitter and the receiver are 1m apart, and n is the environmental attenuation factor.

[0080] 2. Research on Bluetooth beacon signals

[0081] There are three levels of Bluetooth output levels currently used: Class 1 is 100m, Class 2 is about 10m, and Class 3 is about 2-3m. The site used for the experiment in this application is the office area of ​​an office building. The area is small, so the signal does not need to be transmitted over a large range. The Bluetooth beacon level integrated in the Bluetooth beacon base station and the positioning terminal is Class 2. In order to maintain the working state of Bluetooth low power consumption, the appropriate transmission power should be set in advance according to the actual environment before the experiment.

[0082] This experiment uses Bluetooth WH-BLE103 as the transmitter, and the signal strength range is [-20dBm, -8dBm]. The BLE monitoring module integrated in the beacon base station is used as the receiver, and its receiving sensitivity is -96dBm.

[0083] Test the received signal strength of the receiving end at different distances from the transmitting end and at different power levels. Figure 1 This is a schematic diagram of the RSSI test results under different transmission powers of this application, such as Figure 1 As shown, it can be concluded that the beacon has stable performance at level 7. And because Bluetooth is mainly used in physical environments formed by small areas, in order to better play its regional role and provide better subsequent positioning services, the Bluetooth beacon should choose a transmission power that is neither too large nor too small.

[0084] 3. Influence of signal transmission environment

[0085] When the indoor environment changes significantly, the Bluetooth signal will fluctuate significantly. Use the Bluetooth WH-BLE103 as the transmitter, with a transmission power of 1dBm, and the BLE monitoring module integrated in the Bluetooth beacon base station as the receiver, with a receiving sensitivity of -96dBm. The transmitter and receiver are placed 3m apart. During the experiment, first test the signal strength when no students are walking, then measure the signal strength when there are people walking back and forth between the devices, and compare the two situations.

[0086] Figure 2 This is a schematic diagram of the effect of pedestrian movement on RSSI in this application. Figure 2 As shown, when there are people walking in the environment, the signal strength is unstable and jumps significantly.

[0087] 4. Online parameter generation of Bluetooth indoor ranging model

[0088] The function of the indoor ranging model is to convert the received RSSI value into distance. If the generated indoor ranging model conforms more to the ranging law that occurs during the actual signal propagation process, the more accurate the ranging will be, and the accuracy of the positioning result will also increase linearly. However, several current research methods do not debug the indoor ranging model after it is generated in advance. Ignoring the key issue that the indoor ranging model will change with the change of the real environment, the indoor ranging model generated in advance lacks timeliness. Although the indoor environment is more stable than the outdoor environment, it is not constant. The position and number of indoor objects, temperature changes caused by weather, movement of objects and people, and other interferences will cause signal fluctuations. Then the previously generated model will be difficult to achieve accurate ranging, which will deteriorate the positioning service effect. Therefore, it is possible to study the method of generating an ideal indoor ranging model online to improve the reliability of RSSI ranging.

[0089] 5. Weighted Centroid Algorithm

[0090] The main principle of the weighted centroid algorithm is to obtain relevant information of multiple known anchor nodes near the test point, and approximate the centroid of the polygon formed by these anchor nodes as the coordinates of the test point. Although the calculation steps of this algorithm are simple and easy to understand, it does not take into account that the influence of anchor nodes at different positions on the test point is also different. When the number of anchor nodes deployed near the test point is small, the area they form will be too large. Then, when the test point is at any position in the area, it will be regarded as at the centroid, so the positioning accuracy is not high.

[0091] In order to solve the problem of poor positioning accuracy of the centroid algorithm, this application assigns weights to nearby anchor nodes that participate in positioning. The smaller the distance between the anchor node and the point to be measured, the greater its role in positioning should be, and the greater the weight assigned to the anchor node coordinates should be. Conversely, the greater the distance, the smaller its role, and the smaller the weight assigned should be. The calculation expression of the coordinates of the point to be measured (xo, yo) is as follows:

[0092]

[0093] In the above formula, λ i =1 / d i represents the weight of the i-th anchor node, (x i ,y i ) represents the coordinates of the i-th anchor node, d i Represents the distance between the i-th anchor node and the point to be tested.

[0094] By analyzing the above algorithm, we can know that only when a certain number of anchor nodes are deployed, the anchor node coordinates are used as weighted objects, and the positioning effect is ideal. However, in actual application, due to the complexity of the environment, the number of anchor nodes deployed may be small. When only three anchor nodes participate in positioning, the weighted area formed becomes larger, and the positioning accuracy improvement effect is not obvious.

[0095] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0096] The present application provides a positioning method based on Bluetooth beacons. The working process of the method can be implemented by electronic devices, such as computers, handheld smart terminals, etc. For the convenience of explanation, the embodiments of the present application are described with the method execution subject being a computer.

[0097] Figure 3 A schematic diagram of a positioning method based on Bluetooth beacons provided in an embodiment of the present application, such as Figure 3As shown, the present application provides a positioning method based on Bluetooth beacons, the method includes S1-S4, which are as follows:

[0098] S1. Generate Bluetooth indoor ranging model in real time based on LORA and Bluetooth beacons;

[0099] In this step, considering that the current indoor ranging model generation scheme cannot meet the requirements of timely obtaining the ideal indoor ranging model when positioning personnel, this application realizes the online real-time generation of the Bluetooth indoor ranging model through the LoRa and Bluetooth positioning system. Since the indoor environment is relatively stable in a short period of time, the indoor ranging model is set to be fitted at regular intervals, and the update time of the model can be reasonably adjusted according to the actual positioning situation.

[0100] In some embodiments, S1 includes:

[0101] S11. Based on LORA communication technology, obtain the RSSI of multiple multi-mode beacon base stations;

[0102] S12. Obtaining model parameter values ​​corresponding to the multiple multi-mode beacon base stations according to the RSSIs of the multiple multi-mode beacon base stations;

[0103] S13. Obtain model parameters of the Bluetooth indoor ranging model according to the model parameter values ​​corresponding to each of the multiple multi-mode beacon base stations.

[0104] Specifically, Figure 4 This is a schematic diagram of generating an indoor ranging model in real time according to an embodiment of the present application, such as Figure 4 As shown, several multi-mode beacon base stations are placed in the positioning environment according to the size of the indoor area. These base stations do not participate in the positioning service of the positioning terminal. According to the rule that the farther the distance, the smaller the signal strength and the worse the ranging model effect, taking multi-mode beacon base stations A, B, C, and D as an example, the monitoring base station A is set to monitor only the signal strength and ID value broadcast by the three multi-mode beacon base stations B, C, and D closest to it. The server performs Gaussian mean filtering on the RSSI monitored by the received base station according to the base station ID to obtain three groups of relatively ideal RSSI, and then obtains dAB, dAC, and dAD according to the base station deployment location information. The distance and RSSI are combined in pairs according to expression (1-1), and the inverse operation is performed to obtain three groups of A and n. Their average values ​​are the initial parameters of the indoor ranging model. At the same time, according to the above, it can be seen that the RSSI value is prone to fluctuations during the acquisition process due to factors such as transmission power, temperature and humidity, and indoor obstacles. There is a deviation compared with its real data, thereby reducing the reliability of the indoor ranging model. In order to improve the accuracy and reliability of the indoor ranging model, after the indoor ranging model is updated, other algorithms are used to optimize the main parameters A and n, and the optimized A and n are stored in the database as the final parameters of the model.

[0105] S2. Optimizing the parameters of the Bluetooth indoor ranging model by using a filtering algorithm to obtain an optimized ranging model;

[0106] In this step, the latest RSSI value can generate an indoor ranging model with good performance that conforms to the laws of the environment, and the main parameters A and n can also be calculated. However, due to the randomness of collecting RSSI values, even if multiple algorithms are used to optimize it, there will inevitably be errors, which leaves room for further research. In order to reduce the error based on RSSI ranging, on the basis of online generation of the Bluetooth indoor ranging model, consider adding a related filtering algorithm to optimize the main parameters of the model.

[0107] Since the indoor ranging model can be repeatedly generated over a period of time, the main parameters of the model can be obtained. The real-life environment is ever-changing, and many disturbing factors will be generated in the environment and these disturbing factors are also changing in real time over time, such as temperature and humidity, surrounding pedestrians and objects, etc. Because the generation process of the indoor ranging model can be carried out continuously for a period of time, and the indoor environment is relatively stable in a short period of time, there will not be a big difference between the indoor ranging model at the previous moment and this moment of the positioning process, and the algorithm can be used to process the parameters to reduce these differences.

[0108] In some embodiments, in S2, the filtering algorithm includes: Algorithm I: Gaussian mean optimization algorithm, and / or, Algorithm II: one-dimensional Kalman optimization algorithm.

[0109] Among them, for algorithm I Gaussian mean optimization, when obtaining the data required for statistics, due to the limitations of equipment accuracy, changes in ambient temperature and humidity, ground vibration and other emergencies, the acquired data will be biased. Although this part of the deviation value is negligible and has little impact on the actual statistical data, there are many reasons for this part of the error, and it is difficult to quickly and accurately find the specific interference that causes the error and eliminate it. While keeping other physical quantities unchanged, repeatedly test the required physical quantities and obtain a set of data, and use the average value of this set of data as the final test result of the physical quantity, which can effectively eliminate some accidental errors.

[0110] In some embodiments, the parameters of the Bluetooth indoor ranging model are optimized by using a Gaussian mean optimization algorithm, including:

[0111] S31a, repeatedly generate multiple Bluetooth indoor ranging models to obtain multiple model parameters;

[0112] S31b, performing weighted averaging on the multiple model parameters using a Gaussian template and a standard deviation to obtain optimized model parameters.

[0113] Specifically, the Gaussian mean calculation is performed on the parameters A and n of the indoor ranging model. The calculation methods of the two are the same. Taking parameter A as an example, the calculation method is as follows:

[0114] (1) First, repeatedly generate the indoor ranging model and collect a set of A i and n i ;

[0115] (2) Select the weight value as w i The Gaussian template and standard deviation U, the template size m are selected according to the actual situation, and the weight expression is shown in formula (1-2):

[0116]

[0118] (3) Collect m A i Weighted average, calculated That is, after optimization, xA is expressed as (1-3):

[0119]

[0120] In addition, for Algorithm II one-dimensional Kalman optimization, when acquiring experimental data, there is often interference from correlated noise, so there must be errors in the acquired data. Because the cause of the error is uncertain, this error cannot be completely removed, but by using the prediction method to select appropriate performance indicators and then find the correlation factors between them from the observed data, it is possible to estimate approximate real data.

[0121] In some embodiments, the parameters of the Bluetooth indoor ranging model are optimized by a one-dimensional Kalman optimization algorithm, including:

[0122] S32a, repeatedly generate multiple Bluetooth indoor ranging models to obtain multiple model parameters;

[0123] S32b. Based on the multiple model parameters, perform parameter optimization using a one-dimensional Kalman optimization algorithm to obtain optimized model parameters.

[0124] Specifically, the one-dimensional Kalman method is used to optimize the parameters A and n of the indoor ranging model. The calculation methods of the two are the same. Taking parameter A as an example, the calculation method is as follows:

[0125] (1) First, repeatedly generate the indoor ranging model and collect a set of A i and n i ;

[0126] (2) Define the appropriate measurement noise error and process noise error of the Kalman model as R i and Q i , and based on the A0 obtained at the initial time point and the uncertainty value P estimated at the initial time point 0,0 , making them equal to the estimated values ​​at the next time point and P 1,0 , the expression is shown in (1-4);

[0127]

[0128] (3) The estimated uncertainty value P of the current time point from the previous time point i,i-1 and R i , and the Kalman gain K is obtained i , the expression is shown in (1-5);

[0129]

[0130] (4) Estimation of the current time point from the previous time point Determine the input A of the prediction model i , get the estimated value at the current time point That is, the output optimized xA, the expression is shown in (1-6);

[0131]

[0132] (5) Estimated uncertainty P at the current time point i,i The expression of is shown in (1-7);

[0133] P i,i =P i,i-1 *(1-K i ) (1-7)

[0134] (6) The estimated value of the current time point to the next time point The expression of is shown in (1-8);

[0135]

[0136] (7) Calculate the estimated uncertainty P of the current time point for the next time point i+1,i , the expression is shown in (1-9).

[0137] P i+1,i =P i,i +Q i (1-9)

[0138] The following is the test performance analysis of the above two algorithms in this application.

[0139] First, select the Bluetooth beacon base station of this application to continuously monitor the broadcasts of other nearby base stations, and its BLE monitoring module sensitivity is -96dBm. Then generate an indoor ranging model for the multiple sets of RSSI values ​​obtained, extract the 10 groups A and n identified in the continuous time S1-S10, and process them by algorithm I and algorithm II respectively. All data obtained from the indoor ranging model parameter algorithm tuning experiment are shown in Table 1-1:

[0140]

[0141] Table 1-1

[0142] At the same time, a Bluetooth beacon base station is deployed in the experimental environment, and another group of Bluetooth base stations A1, A1, ..., A10 are fixed at 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, and 5.0 m from the base station. These base stations are only used to monitor RSSI values ​​and do not participate in the generation of indoor ranging models. The RSSI values ​​obtained at time S4 ​​are shown in Table 1-2:

[0143] d(m) 0.5 1 1.5 2 2.5 RSSI(dBm) -49 -60 -66 -70 -73 d(m) 3 3.5 4 4.5 5 RSSI(dBm) -76 -78 -80 -82 -84

[0144] Table 1-2

[0145] Figure 5 This is a schematic diagram of the distance error after filtering optimization obtained by using the indoor ranging model and RSSI in the embodiment of the present application, as shown in FIG. Figure 5 As shown, the average distance error obtained by the original method is 1.32m, the average distance error obtained by optimizing using Algorithm I is 0.76m, and the average distance error obtained by optimizing using Algorithm II is 0.93m. This application generates an indoor distance measurement model in a relatively short time and obtains the main parameters A and n, and then optimizes them. It can be seen that both algorithms can greatly reduce the distance measurement error, and the algorithms are easy to program. Among them, the distance measurement accuracy optimized by Algorithm I (Gaussian mean) is better.

[0146] S3, obtaining a distance measurement result through the optimized distance measurement model;

[0147] In this step, based on the online generation of the Bluetooth indoor ranging model, the main parameters of the model are optimized by adding a relevant filtering algorithm to obtain an optimized ranging model, and then the distance to the measured point is measured by the optimized ranging model to obtain a ranging result.

[0148] S4. Based on the ranging result, a positioning result is obtained by a multi-parameter fusion received signal strength RSSI weighted centroid positioning algorithm.

[0149] In this step, for the multi-parameter fused RSSI weighted centroid positioning algorithm, since the weighted centroid positioning algorithm is easily limited by the weighted area and the number of anchor nodes, the intersection formed by the intersection of the anchor circles can be regarded as the weighted point, which reduces the possible area where the measured point may be located. However, even if the RSSI is filtered and optimized, there is a deviation between the distance measured based on the RSSI and the actual distance. Therefore, there are many situations in which the three anchor circles are composed in actual application.

[0150] For example, Figure 6 Schematic diagram of various situations of the three anchor circles in the embodiment of the present application

[0151] Figure, such as Figure 6 As shown, the three anchor circle positions include:

[0152] (a) The three anchor circles intersect at one point;

[0153] (b) The three anchor circles intersect to form a region;

[0154] (c) intersects in three regions;

[0155] (d) Any two circles intersect;

[0156] (e) Any two circles are separated;

[0157] (f) Any two circles are contained within each other.

[0158] In view of the above-mentioned various situations, in some embodiments, S4 includes:

[0159] S41, obtaining the distance between the anchor node and the point to be measured according to the distance measurement result;

[0160] S42, selecting the three smallest values ​​from the distances between the anchor nodes and the points to be measured as the radii of the three anchor circles, and taking the anchor nodes as the centers of the circles;

[0161] S43, determining a weighted point according to the positional relationship of the three anchor circles;

[0162] S44: Obtain a positioning result of the point to be measured according to the distance measurement result and the weighted point.

[0163] Specifically, the specific idea of ​​the multi-parameter fusion centroid positioning algorithm proposed in this application is: the obtained initial RSSI value is combined with the filtering and ranging model to obtain the distance between the anchor node and the point to be measured, and the three smallest ones are selected by sorting. Their values ​​are the radii of the three anchor circles, and the anchor node acts as the center of the circle. Arbitrarily select two of the circles to illustrate the processing methods when multiple situations occur:

[0164] Figure 7 Schematic diagram of two circles intersecting in the embodiment of the present application, Figure 7As shown in the figure, when the two circles intersect, because the intersection points P1 and P2 of circle A and circle B are on the two circles, it can be clearly deduced that the distance from P1 to circle A and circle B and the distance from P2 to circle A and circle B are both the smallest, because the required distances are all zero. r1 and r2 are the radii of circle A and circle B. The multi-parameter fusion idea should take into account both the minimum sum of the distances from the weighted point to the above two circles and the relatively minimum distance from the weighted point to the other circle. It can be clearly concluded that no matter how the position of circle C changes, one of P1 or P2 must have a shorter distance to circle C. The coordinate value of this point is regarded as a new parameter participating in the positioning algorithm, that is, a new weighted object.

[0165] Figure 8 Schematic diagram of two circles separated from each other in the embodiment of the present application. Figure 8 As shown in the figure, when the two circles are separated, the line connecting the centers of circle A and circle B intersects at P1 and P2. Then, any point P3 on the line segment from P1 to P2 can be deduced to have the minimum distance to the two circles A and B. The idea of ​​multi-parameter fusion should take into account both the minimum sum of the distances from the weighted point to the above two circles and the relatively minimum distance from the weighted point to the other circle. It can be clearly concluded that no matter how the position of circle C changes, there must be a point on the line segment P1 P2 with the shortest distance to circle C. The coordinate value of this point is regarded as a new parameter participating in the positioning algorithm, that is, a new weighted object.

[0166] Fig. 9 Schematic diagram of two circles contained in the embodiment of the present application, as shown in Fig. 9 As shown in the figure, when the two circles are contained, the extension line of the line connecting the center of circle A and the center of circle B intersects at P1 and P2. Then any point P3 in the line segment from P1 to P2 can be deduced to have the minimum distance to the two circles A and B. The idea of ​​multi-parameter fusion should take into account both the minimum sum of the distances from the weighted point to the above two circles and the relatively minimum distance from the weighted point to the other circle. There must be a point on the line segment P1 P2 with the shortest distance to circle C. The coordinate value of this point is regarded as a new parameter participating in the positioning algorithm, that is, a new weighted object.

[0167] It can be concluded that any two circles can be selected to calculate appropriate weighted points under the multi-parameter fusion concept. After two-by-two combination operations, three new appropriate weighted points can be obtained respectively. Since the distance between the weighted point and the point to be measured is inversely proportional to the weight, that is, the closer a weighted point is to the point to be measured, the greater the weight of its coordinates in the calculation. When the weighted point is far away from the point to be measured, its proportion in the weight should be reduced. In addition, because the weighted point is determined by the three anchor circles, the selection of weights should not only consider the distance from a single anchor circle to the weighted point, but also take the sum of the reciprocals of the distances from the weighted point to the three circles as the new weight parameter to obtain the coordinate value of the point to be measured, and add the weight correction coefficient z to adjust the weight. This is in line with the actual situation and can effectively make the secondary parameters that are far away play a leading role in the calculation, thereby enhancing the correlation between the weighted point and the point to be measured.

[0168] Specifically, Fig.10 This is an example diagram of three anchor circles in the embodiment of the present application, such as Fig.10 As shown, in some embodiments, in S44, the positioning result of the point to be measured is obtained by the following formula:

[0169]

[0170] Among them, d O1 d O2 d O3 is the distance measurement result from the point to be measured to the three anchor nodes (O1, O2, O3), A(X A ,Y A )、B(X B ,Y B )、C(X C ,Y C ) is a weighted point determined according to the positional relationship of the three anchor circles, where A(X A ,Y A ) is the weighted point obtained by combining circle O1 and circle O2, B(X B ,Y B ) is the weighted point obtained by combining circle O1 and circle O3, C(X c ,Y c ) is the weighted point obtained by combining circle O2 and circle O3.

[0171] In addition, there is a distance error between the weighted object and each circle, so consider the distance parameter from the weighted point to each circle, d A1 d A2 d A3 are the distances from weighted point A to the three anchor nodes; d B1 d B2 d B3 are the distances from weighted point B to the three anchor nodes; d C1 d C2 d C3 are the distances from the weighted point C to the three anchor nodes; w A 、w B 、w C are the weights corresponding to A, B, and C respectively; (X O ,Y O ) is the positioning result of the point to be measured; z is the weight correction coefficient, which is used to increase the power value of the weight and adjust the degree of weight correction.

[0172] The following is an experiment of RSSI weighted centroid positioning algorithm with multi-parameter fusion:

[0173] Fig.11 Schematic diagram of the RSSI weighted centroid positioning algorithm experiment with multi-parameter fusion in the embodiment of the present application, as shown in Fig.11 As shown in the figure, an office with a length of 9m and a width of 6m is used as the experimental area Q, and four multi-mode beacon base stations P_1, P_2, P_3, and P_4 are deployed as anchor nodes. At the same time, it is measured that the height of the house at the experimental site is about 3m. Due to the high height and experimental safety restrictions, deployment on the ceiling is not considered. In addition, in order to prevent obstacles such as the ground, walls, and ceilings from blocking and ensure the signal strength and uniformity of the Bluetooth beacon integrated on the base station, the multi-mode beacon base station is placed on a tripod 1.2m above the ground, and ensure that the base station and the positioning terminal are on the same horizontal line during the experiment. The lower left corner of the experimental area Q is used as the origin to establish a coordinate system, and P1, ..., P10 are reasonably selected in the laboratory as the test points.

[0174] Taking the multi-mode base station P_1 as a reference, place the P_1 base station in the experimental area Q at a distance of 0.5m from it. Use the positioning terminal of this subject to continuously obtain 50 sets of RSSI values, and optimize them with the Gaussian filter algorithm to obtain the ideal signal strength at this distance. Then use the same processing method to receive the corresponding signal strength values ​​at a distance of 1m, 1.5m...5m from the base station to generate a reliable indoor ranging model. The distance from each test point (P1, P2,..., P10) to each anchor node (P_1, P_2, P_3, P_4) in the experimental area Q is calculated by the obtained indoor ranging model and the real-time received signal strength, as shown in Table 2-1:

[0175]

[0176] Table 2-1

[0177] The first positioning algorithm, the second positioning algorithm and the positioning algorithm optimized by the present application in the prior art are used to solve the coordinate values ​​of the points to be measured. During the test comparison, it was found that the positioning accuracy was different when different weight correction coefficients z were used to calculate the coordinate values ​​of the points to be measured. The appropriate weight correction coefficient z has a certain optimization effect on the positioning results. When the weight correction coefficient z of the algorithm of the present application is 1, the positioning coordinates obtained using the three positioning algorithms are shown in Table 2-2:

[0178]

[0179] Table 2-2

[0180] Fig.12 This is a schematic diagram of positioning errors of three positioning algorithms obtained according to Table 2-2 in the embodiment of the present application, such as Fig.12As shown, the maximum positioning error of the positioning algorithm of prior art 1 is 1.17m, and the average positioning error is 0.72m; the maximum positioning error of the multilateral positioning algorithm of prior art 2 is 1.04m, and the average positioning error is 0.61m; the maximum positioning error of the multi-parameter fusion positioning algorithm improved in the present application is 1.02m, and the average positioning error is 0.56m. Comprehensive comparison shows that the algorithm positioning effect of the multi-parameter fusion idea improved in the present application is the best.

[0181] In addition, when the weight correction coefficient z is dynamically adjusted, the error will also be improved. For example, Table 2-3 shows the positioning coordinates obtained using three positioning algorithms when the weight correction coefficient z of the algorithm of the present application is 2. Fig.13 This is a schematic diagram of positioning errors of three positioning algorithms obtained according to Table 2-3 in the embodiment of the present application, such as Fig.13 As shown, when the weight correction coefficient z of the algorithm of the present application is 2, the maximum positioning error of the optimized multi-parameter fusion positioning algorithm is 0.96m, and the average positioning error is 0.39m. The positioning accuracy of the algorithm of the present application is further improved.

[0182]

[0183] Table 2-3

[0184] Based on the above experimental method, by adjusting the value of the weight correction coefficient z, the average value of the coordinate error of the test point is taken in each test and the positioning error change curve is obtained.

[0185] Fig.14 FIG. 1 is a schematic diagram of adjusting the coefficient to obtain the average positioning error in the embodiment of the present application. Fig.14 As shown, when the weight correction coefficient z=2 is adjusted dynamically, the positioning accuracy of the optimization algorithm of the present application is the highest. In the actual positioning in the indoor environment, the weight correction coefficient z∈(2,8) can be adjusted dynamically to achieve a better positioning effect.

[0186] Based on the above embodiments, the LoRa and Bluetooth multi-mode beacon system provided in this application can achieve better indoor positioning effect, focusing on the online generation and improvement of Bluetooth indoor ranging model, proposing a centroid weighted improvement algorithm integrating multiple elements, and perfecting indoor positioning result testing.

[0187] First, this application proposes a method for optimizing the Bluetooth indoor ranging model. At present, the Bluetooth indoor ranging model is generated before positioning begins, which cannot perfectly match the attenuation law of the actual signal during positioning. With the help of the Bluetooth system, the indoor ranging model can be generated online and updated in time during positioning. For the main parameters of the indoor ranging model, the Gaussian mean method and the one-dimensional Kalman method are introduced to improve the accuracy of the generated indoor ranging model and reduce the indoor ranging error.

[0188] In addition, this application analyzes and studies a variety of positioning algorithms, adopts the idea of ​​multi-parameter fusion to improve the weighted centroid algorithm, considers the influence of multiple parameters on the positioning results in the actual environment to obtain a suitable weighted point, which satisfies the minimum value of the sum of the three-circle errors and reduces the area where the measured point may be located, and verifies the algorithm effect through the network-side positioning system of LoRa and Bluetooth.

[0189] The positioning algorithm provided by this application has application scenarios including but not limited to: cloud positioning and real-time trajectory query for employees of units / enterprises, which is convenient for risk prevention and management of employees going out during work. This application is based on Bluetooth signal positioning, which has the advantages of being easy to carry, no need to install APP, low power consumption, zero operation, and real-time positioning trajectory.

[0190] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0191] Fig.15 A schematic diagram of a positioning device based on a Bluetooth beacon provided in an embodiment of the present application, such as Fig.15 As shown, the present application provides a positioning device based on Bluetooth beacons, the device comprising:

[0192] A generating module 11 is configured to generate a Bluetooth indoor ranging model in real time based on LORA and Bluetooth beacons;

[0193] An optimization module 12 is configured to optimize the parameters of the Bluetooth indoor ranging model through a filtering algorithm to obtain an optimized ranging model;

[0194] A distance measurement module 13, which is configured to obtain a distance measurement result through the optimized distance measurement model;

[0195] The positioning module 14 is configured to obtain a positioning result based on the ranging result by a multi-parameter fusion received signal strength RSSI weighted centroid positioning algorithm.

[0196] Regarding the limitation of the positioning device based on Bluetooth beacons, reference may be made to the limitation of the positioning method based on Bluetooth beacons in the above-mentioned embodiments of the present application, which will not be repeated in this embodiment.

[0197] Fig.16 Another schematic diagram of a positioning device based on a Bluetooth beacon provided in an embodiment of the present application, such as Fig.16 As shown, in some embodiments, the present application provides a positioning device based on Bluetooth beacons, including a memory 22 and a processor 21, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the positioning method based on Bluetooth beacons in the above-mentioned embodiments of the present application.

[0198] The memory is connected to the processor, the memory may be a flash memory or a read-only memory or other memory, and the processor may be a central processing unit or a single-chip microcomputer.

[0199] In some embodiments, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the positioning method based on Bluetooth beacons in the above-mentioned embodiments of the present application is implemented.

[0200] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0201] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present application, but the present application is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and substance of the present application, and these modifications and improvements are also considered to be within the scope of protection of the present application.

Claims

1. A positioning method based on Bluetooth beacons, It is characterized in that The method comprises: S1. Generate Bluetooth indoor ranging model in real time based on LORA and Bluetooth beacons; S2. Optimizing the parameters of the Bluetooth indoor ranging model by using a filtering algorithm to obtain an optimized ranging model; S3, obtaining a distance measurement result through the optimized distance measurement model; S4. Based on the ranging result, a positioning result is obtained by a multi-parameter fusion received signal strength RSSI weighted centroid positioning algorithm.

2. The positioning method based on Bluetooth beacon according to claim 1, It is characterized in that S1, including: S11. Based on LORA communication technology, obtain the RSSI of multiple multi-mode beacon base stations; S12. Obtaining model parameter values ​​corresponding to the multiple multi-mode beacon base stations according to the RSSIs of the multiple multi-mode beacon base stations; S13. Obtain model parameters of the Bluetooth indoor ranging model according to the model parameter values ​​corresponding to each of the multiple multi-mode beacon base stations.

3. The positioning method based on Bluetooth beacon according to claim 1, It is characterized in that In S2, the filtering algorithm includes: a Gaussian mean optimization algorithm and / or a one-dimensional Kalman optimization algorithm.

4. The positioning method based on Bluetooth beacon according to claim 3, It is characterized in that The parameters of the Bluetooth indoor ranging model are optimized by using a Gaussian mean optimization algorithm, including: S31a, repeatedly generate multiple Bluetooth indoor ranging models to obtain multiple model parameters; S31b, performing weighted averaging on the multiple model parameters using a Gaussian template and a standard deviation to obtain optimized model parameters.

5. The positioning method based on Bluetooth beacon according to claim 3, It is characterized in that The parameters of the Bluetooth indoor ranging model are optimized by a one-dimensional Kalman optimization algorithm, including: S32a, repeatedly generate multiple Bluetooth indoor ranging models to obtain multiple model parameters; S32b. Based on the multiple model parameters, perform parameter optimization using a one-dimensional Kalman optimization algorithm to obtain optimized model parameters.

6. The positioning method based on Bluetooth beacon according to any one of claims 1 to 5, It is characterized in that S4, including: S41, obtaining the distance between the anchor node and the point to be measured according to the distance measurement result; S42, selecting the three smallest values ​​from the distances between the anchor nodes and the points to be measured as the radii of the three anchor circles, and taking the anchor nodes as the centers of the circles; S43, determining a weighted point according to the positional relationship of the three anchor circles; S44: Obtain a positioning result of the point to be measured according to the distance measurement result and the weighted point.

7. The positioning method based on Bluetooth beacon according to claim 6, It is characterized in that In S44, the positioning result of the point to be measured is obtained by the following formula: Among them, d O1 ,d O2 ,d O3 is the distance measurement result from the measured point to the three anchor nodes, A(X A ,Y A )、B(X B ,Y B )、C(X C ,Y C ) is the weighted point determined according to the positional relationship of the three anchor circles, d A1 ,d A2 ,d A3 are the distances from weighted point A to the three anchor nodes; d B1 ,d B2 ,d B3 are the distances from weighted point B to the three anchor nodes; d C1 ,d C2 ,d C3 are the distances from the weighted point C to the three anchor nodes; w A 、w B 、w C are the weights corresponding to A, B, and C respectively; (X O ,Y O ) is the positioning result of the point to be measured; z is the weight correction coefficient.

8. A positioning device based on Bluetooth beacons, It is characterized in that The device comprises: A generation module, which is configured to generate a Bluetooth indoor ranging model in real time based on LORA and Bluetooth beacons; An optimization module is configured to optimize the parameters of the Bluetooth indoor ranging model through a filtering algorithm to obtain an optimized ranging model; A distance measurement module, which is configured to obtain a distance measurement result through the optimized distance measurement model; The positioning module is configured to obtain the positioning result based on the ranging result through a multi-parameter fusion received signal strength RSSI weighted centroid positioning algorithm.

9. A positioning device based on Bluetooth beacons, It is characterized in that The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the positioning method based on Bluetooth beacons as described in any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the positioning method based on Bluetooth beacons as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Bluetooth and RFID fusion positioning based indoor positioning method

    CN109444814A

  • Indoor Bluetooth positioning method and system based on base station

    CN110430531A

  • Wireless communication networking and positioning method special for constructional engineering construction site

    CN110677828A

  • Distance measurement method and system based on Bluetooth fusion hybrid filtering and neural network

    CN111194000A

  • Multi-floor indoor positioning method and system based on LoRa technology

    CN117793888A