An indoor positioning system and method based on ultrasonic waves and a bluetooth fingerprint library
By combining ultrasonic waves with a Bluetooth fingerprint database, and employing Bluetooth Mesh networking and multi-sensor synchronization, the indoor positioning system solves the problem of high-precision, low-cost, and easy-to-maintain indoor positioning in existing technologies, achieving centimeter-level positioning accuracy and environmental adaptability.
Patent Information
- Application Number
- CN202311449216.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-02
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-11-02
AI Technical Summary
Existing indoor positioning technologies struggle to achieve a balance between high accuracy, low cost, and ease of maintenance. In particular, ultrasonic positioning is susceptible to obstruction, leading to positioning failure. Other technologies, such as Wi-Fi, Bluetooth positioning, and RFID, suffer from insufficient accuracy or maintenance difficulties.
Combining ultrasonic and Bluetooth fingerprint databases, and employing Bluetooth Mesh networking, the system synchronizes ultrasonic arrays and Bluetooth signals, uses temperature and humidity sensors for real-time correction, collects motion data using an inertial measurement unit (IMU), and combines different algorithms such as TODA, interpolation, and fingerprint matching algorithms for high-precision positioning.
It achieves high-precision, low-cost, and easy-to-maintain indoor positioning with a positioning error within centimeters, adapting to different environmental changes.
Smart Images

Figure CN117579987B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of indoor positioning, specifically relating to an indoor positioning system and method based on ultrasonic waves and a Bluetooth fingerprint database. Background Technology
[0002] In today's society, there is a strong demand for location-based services (LBS). Outdoor positioning has already achieved sub-meter accuracy using the Global Navigation Satellite System (GNSS); however, indoor positioning cannot be achieved using GNSS because satellite signals cannot penetrate buildings. Therefore, in the absence of indoor positioning services provided by GNSS, accurate indoor location information has become a key research direction for indoor LBS.
[0003] Currently, high-accuracy and reliable indoor LBS (Location-Based Services) applications include ultra-wideband (UWB) positioning, Wi-Fi positioning, radio frequency identification (RFID) positioning, Bluetooth positioning, visual positioning, and ultrasonic positioning. Among these, Wi-Fi and Bluetooth positioning offer meter-level accuracy but are easy to deploy yet difficult to maintain; UWB positioning achieves sub-meter accuracy but is extremely expensive; RFID positioning offers decimeter-level accuracy but is easy to deploy, difficult to maintain, and has a small positioning range; visual positioning accuracy is significantly limited by the sensor, making widespread low-cost application difficult; ultrasonic positioning achieves decimeter or even centimeter-level accuracy, offering advantages such as easy deployment, easy maintenance, and low cost, but because it uses mechanical waves, the ultrasonic signal is easily blocked, leading to positioning failures.
[0004] In summary, the current bottleneck in indoor LBS research lies in finding a widely applicable solution that combines high precision, low cost, and ease of maintenance. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of the prior art and provide an indoor positioning system based on ultrasonic waves and a Bluetooth fingerprint database. The indoor positioning system has the advantages of high accuracy, low cost and easy maintenance.
[0006] The second objective of this invention is to provide an indoor positioning method based on ultrasonic waves and a Bluetooth fingerprint database.
[0007] The technical solution of the present invention to solve the above-mentioned technical problems is:
[0008] An indoor positioning system based on ultrasonic waves and a Bluetooth fingerprint database includes a target positioning device, a signal receiving device, and a control system.
[0009] The target positioning device includes an ultrasonic transmitter and a Bluetooth device 1 installed on the target to be positioned at the required coordinates; the signal receiving device includes multiple sets of signal receiving sensors; each set of signal receiving sensors includes an ultrasonic transducer and a Bluetooth device 2; the Bluetooth device 2 in the multiple sets of signal receiving sensors and the control system together form a Bluetooth Mesh network;
[0010] When the target arrives within the detection area, the ultrasonic waves emitted by the ultrasonic transmitter on the target are received by the ultrasonic transducers in multiple signal receiving sensors. Simultaneously, the Bluetooth device in the target connects to the Bluetooth Mesh network to synchronize the timing of the target device and the signal receiving device. The control system calculates the coordinates of the target based on the distance between the target and each signal receiving sensor.
[0011] Preferably, the signal receiving sensor further includes a temperature sensor and a humidity sensor, which monitor the temperature and humidity within the detection area to achieve real-time correction of the ultrasonic speed; the target positioning device further includes an inertial measurement unit (IMU) for acquiring the linear velocity and angular velocity of the target.
[0012] Preferably, the ultrasonic transmitter and the ultrasonic transducer are arranged in a matrix, or their rotation is controlled by a motor to enable them to emit ultrasonic signals in multiple directions.
[0013] Preferably, there are at least three sets of signal receiving sensors.
[0014] An indoor positioning method based on ultrasonic waves and a Bluetooth fingerprint database includes the following steps:
[0015] S1. The target enters the detection area, and the Bluetooth module in the target is connected to the Bluetooth Mesh network.
[0016] S2. The positioning target emits ultrasonic signals in real time through an array of ultrasonic transmitters. After the ultrasonic transducers in multiple signal receiving sensors receive the ultrasonic signals, the control system calculates the distance between each group of signal receiving sensors and the positioning target.
[0017] S3. The control system calculates the actual coordinates of the positioning target by combining the distance between the positioning target and each group of signal receiving sensors; at the same time, it updates the data in the Bluetooth fingerprint database by combining the motion state of the positioning target and the actual coordinates of the positioning target.
[0018] S4. The control system processes the position of the positioning target multiple times in succession to estimate the motion state of the positioning target.
[0019] Preferably, in step S2, the control system obtains the transmission time of the ultrasonic signal in the ultrasonic array and the reception time of the ultrasonic signal received by each group of signal receiving sensors based on the Bluetooth Mesh networking, and calculates the distance between the positioning target and each group of signal receiving sensors based on the propagation speed of the ultrasonic wave, and calculates the actual coordinates of the positioning target accordingly.
[0020] Preferably, in step S3, by comparing the original Bluetooth fingerprint database, based on the actual coordinates that the target has passed, the RSSI fingerprint vector at the actual coordinates is read and the actual coordinates and the surrounding Bluetooth fingerprint database are updated by interpolation.
[0021] Preferably, in step S3, when only two sets of signal receiving sensors receive the ultrasonic signals sent by the ultrasonic array group, the next coordinate range of the positioning target is estimated by building a motion state prediction model, and a hyperbola equation is established with the two sets of signal receiving sensors as the focus and the distance difference between the two sets of signal receiving sensors as the major axis, so as to calculate the next specific coordinate range of the positioning target and deduce the position coordinates of the positioning target.
[0022] Preferably, in step S3, when only one set of signal receiving sensors receives the ultrasonic signal sent by the ultrasonic array group, the location coordinates of the positioning target device are calculated by using the fingerprint feature positioning matching algorithm based on the Bluetooth signal strength detected by the Bluetooth device in the positioning target device and combining it with the motion state prediction model.
[0023] Preferably, in step S3, when three or more groups of signal receiving sensors receive ultrasonic signals sent by the ultrasonic array group, the position coordinates of the positioning target are calculated by using the TODA algorithm based on the distance between the positioning target and each group of signal receiving sensors.
[0024] Compared with the prior art, the present invention has the following advantages:
[0025] 1. The indoor positioning system based on ultrasonic waves and Bluetooth fingerprint database of the present invention combines ultrasonic waves and Bluetooth fingerprint database positioning methods, adopts Bluetooth Mesh networking, fingerprint database self-updating, ultrasonic array and other methods, improves the algorithm for different situations, overcomes the problem that ultrasonic waves cannot identify positioning targets in indoor positioning, and achieves high-precision indoor positioning by improving positioning methods and information processing methods.
[0026] 2. The indoor positioning system based on ultrasonic and Bluetooth fingerprint database of the present invention has the advantages of high accuracy, low cost and easy maintenance. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the system framework of the indoor positioning system based on ultrasonic waves and Bluetooth fingerprint database of the present invention.
[0028] Figure 2 This is a functional block diagram of the signal receiving sensor.
[0029] Figure 3 This is a functional module block diagram of the target positioning device.
[0030] Figure 4 This is an actual schematic diagram of an indoor scene.
[0031] Figure 5 This is a detailed step diagram of the indoor positioning method based on ultrasonic waves and Bluetooth fingerprint database of the present invention.
[0032] Figure 6 This is a flowchart of the indoor positioning method based on ultrasonic waves and Bluetooth fingerprint database according to the present invention. Detailed Implementation
[0033] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the embodiments of the present invention are not limited thereto.
[0034] See Figures 1-3 The indoor positioning system based on ultrasound and Bluetooth fingerprint database of the present invention includes a positioning target device, a signal receiving device, and a control system. The positioning target device includes an ultrasonic transmitter and a Bluetooth device 1 mounted on the positioning target for which coordinates are required. The signal receiving device includes multiple sets of signal receiving sensors; each set of signal receiving sensors includes an ultrasonic transducer and a Bluetooth device 2. The control system and the Bluetooth devices 2 in the multiple sets of signal receiving sensors together form a Bluetooth Mesh network. The Bluetooth device 1 and the multiple sets of Bluetooth devices 2 need to be connected to the Bluetooth Mesh network as nodes in the network to ensure that the timing of each part of the system can be synchronized. In this embodiment, the control system uses a single-chip microcomputer (MCU) or other control processor with computing capabilities to realize data processing.
[0035] When the target arrives within the detection area, the ultrasonic waves emitted by the ultrasonic transmitter on the target are received by the ultrasonic transducers in multiple signal receiving sensors. Simultaneously, the Bluetooth device in the target connects to the Bluetooth Mesh network to synchronize the timing of the target device and the signal receiving device. The control system calculates the coordinates of the target based on the distance between the target and each signal receiving sensor.
[0036] See Figures 1-3The signal receiving sensor also includes other types of detection sensors, such as temperature sensors and humidity sensors, which monitor the temperature and humidity in the detection area to achieve real-time correction of ultrasonic speed.
[0037] See Figures 1-3 The target positioning device also includes an inertial measurement unit (IMU), which is used to collect the linear velocity and angular velocity of the target. When the accuracy requirement of the ranging error is small, the linear velocity of the target can be obtained by simply calculating the difference between the coordinate distances of two consecutive positioning operations and removing the positioning time interval. This value can also be used in subsequent specific steps.
[0038] See Figures 1-3 Since ultrasound is a mechanical wave, the radiation range of mechanical waves must be considered. Therefore, both the ultrasonic transducer and the ultrasonic transmitter need to be arranged in an array or rotated by a motor to receive ultrasonic signals from multiple directions in order to maximize efficiency.
[0039] See Figures 4-6 The indoor positioning method based on ultrasonic waves and a Bluetooth fingerprint database of the present invention includes the following steps:
[0040] Step S1: When the target enters the detection area, the Bluetooth device in the target will connect to the Bluetooth Mesh network through the established protocol to ensure that the entire indoor positioning system maintains clock signal synchronization.
[0041] Step S2: The target is located by emitting low-frequency, high-power ultrasonic signals to the surrounding area at certain time intervals t using an ultrasonic transmitter.
[0042] Step S3: The signal receiving sensor reads the ultrasonic signal and Bluetooth signal through the ultrasonic transducer and Bluetooth device 2, and calculates the relative distance between the positioning target and each group of signal receiving sensors using basic physics formulas such as velocity-displacement.
[0043] Step S4: The control system confirms the signal processing method and determines the specific coordinates of the positioning target. Specifically, the control system judges the number of signal receiving sensors that can receive ultrasonic signals and performs different processing under different conditions to ensure high positioning accuracy and smooth positioning.
[0044] Step S5: Update the Bluetooth fingerprint database in the system. Specifically, when achieving high-precision positioning of the target, the control system collects the Bluetooth signal strength of the target's current coordinates and updates the Bluetooth fingerprint database. In real time, it fills candidate fingerprints in areas without high-precision positioning data within a certain time period using interpolation. Then, it filters the candidate fingerprints stored at each reference point using algorithms such as clustering, removes noise, and weights and retains candidate fingerprints from other reference points, completing the automatic update of the fingerprint database. The steps for updating the Bluetooth fingerprint database are as follows: by comparing with the original Bluetooth fingerprint database, based on the actual coordinates already passed by the target, it reads the RSSI fingerprint vector at those actual coordinates and updates the Bluetooth fingerprint database for those actual coordinates and their surrounding areas using interpolation.
[0045] Please see Figure 4 , Figure 4 This is a schematic diagram of an actual indoor scene of the indoor positioning system of the present invention; where 101, 102, and 103 are the receiving points of three sets of signal receiving sensors, and 104, 105, and 106 are the positioning targets in different environments.
[0046] Specific example 1:
[0047] Receiver points 101, 102, and 103 can receive the ultrasonic signal emitted by the target 104 within a time interval. Since ultrasonic signals cannot carry specific information, Bluetooth transposition is used to synchronize the timing, obtaining the ultrasonic generation time t of the ultrasonic generator 301 in the target. The difference between this time and the time when the ultrasonic wave is read by receiver points 101, 102, and 103 is calculated to obtain Δt. The detection distance ΔS from receiver points 101, 102, and 103 to the target 104 is obtained by multiplying Δt by the speed of sound V in the air. i The detection distance is assumed to be a known value in subsequent explanations.
[0048] Given the coordinates of the receiving points of three or more signal receiving sensors, the distance difference ΔS between the receiving points of the signal receiving sensors and the positioning target is... i for:
[0049]
[0050] Where (x) i ,y i ,z i -) represents the coordinates of the i-th sensor receiving point, ΔS i Ki is the distance between the i-th sensor receiving point and the positioning target; Ki is the distance between the i-th sensor receiving point and the origin.
[0051] After using the Chan algorithm as the initial value for iteration, Taylor series expansion is performed, and the norm of the least squares solution is calculated. The actual coordinates (x, y, z) of the target are then calculated. Since the system noise of ultrasound follows a Gaussian distribution, this method achieves high positioning accuracy with low computational cost.
[0052] In this embodiment, the ultrasonic signal emitted by the positioning target 104 can be received through receiving points 101, 102, and 103, and the detection distances ΔS1, ΔS2, and ΔS3 can be obtained. Substituting these into formula (1) allows for a very accurate determination of the actual coordinates of the positioning target 104. In a preferred embodiment, considering that the positioning target 104 has a certain contour radius under actual conditions, centimeter-level error positioning can be achieved, for example, the average positioning error (excluding the Z-axis) does not exceed 6 cm.
[0053] Specific example 2:
[0054] If only receiver points 101 and 103 can receive the ultrasonic signal emitted by the positioning target 105 within a single time interval Δt, a hyperbola equation can be constructed with receiver points 101 and 103 as foci and the distance difference as the major axis:
[0055]
[0056] Where (x,y,z) are the position coordinates of the positioning target device, (x1,y1,z1) and (x2,y2,z2) are the coordinates of the signal receiving sensor that received the ultrasonic information, (S1,S2) are the calculated distance between the positioning target and the signal receiving sensor, and L is the distance between the two sets of signal receiving sensors.
[0057] Furthermore, for continuously moving objects, motion prediction models can be built for inference; the following will demonstrate the construction of a motion model with an example: Specifically, the sampling period is Δt = 0.05s, and the observed value of the target at sampling time t0 is shown in formula (3).
[0058] D(t)=C(t)+V(t) (3)
[0059] Where D(t) represents the observed position of the target at time t0, C(t) represents the actual position of the target at time t0, and V(t) represents the error, i.e., the observation noise; within a short sampling period of Δt, the target can be considered as stationary or moving at a constant speed, thus formulas (4) and (5) can be obtained:
[0060]
[0061]
[0062] in, To determine the velocity of the target; writing the above equation in matrix form yields the state equation (6):
[0063]
[0064] Furthermore, the state equation containing position and velocity can be expanded into a four-dimensional form, as shown in equation (7):
[0065]
[0066] Since the sampling period is short, the dynamic signal of the positioning target itself can be ignored, and the state equation can be further expressed as shown in formula (8):
[0067]
[0068] in, Therefore, the observation equation can be summarized as shown in formula (9):
[0069]
[0070] After inferring the observed coordinates using the motion model built by formula (9), the coordinates of the target 105 can be accurately determined by fusing formula (2) with multiple sets of specific solutions. Considering that the target has a certain contour radius in actual conditions, centimeter-level error positioning can be achieved, for example, the average positioning error does not exceed 8CM.
[0071] Specific example 3:
[0072] If only the receiving point 103 can receive the ultrasonic signal emitted by the positioning target 106 within a time interval Δt, the coordinate position of the positioning target 106 is obtained by fusion of the position fingerprint method and the least squares method, and by assigning weight values.
[0073] Specifically, the Bluetooth fingerprint database built and updated in real time in the control system can be used to derive the coordinate expression of the target 106 at time t as shown in formula (10):
[0074]
[0075] Where C(x,y,z) is the Bluetooth signal strength of the positioning target 106, and is related to the multipath phase angle component C of the signal strength at that point. v (i, j, k) correspond.
[0076] Because Bluetooth RSSI positioning has a large error, in order to compensate for the error obtained by Bluetooth fingerprint algorithm positioning, this example uses the detection distance ΔS determined by receiver point 103. i The results obtained from formula (10) are weighted and processed to optimize for possible errors; specifically, the fusion positioning formula (11) can be listed:
[0077]
[0078] Among them, the weighting value λ is positively correlated with the coordinates D(t) of the positioning target 106 at time t obtained by the Bluetooth device, and the weighting value μ is always greater than λ. The coordinates of the target 106 can be estimated by combining formula (11) with the motion prediction model. In a preferred example, considering that the target has a certain contour radius in actual conditions, it can achieve decimeter-level positioning error, for example, the average positioning error does not exceed 15 cm.
[0079] The above are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above content. Any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present invention shall be considered equivalent substitutions and shall be included within the protection scope of the present invention.
Claims
1. An indoor positioning system based on ultrasonic waves and a Bluetooth fingerprint database, characterized in that, It includes a target positioning device, a signal receiving device, and a control system, among which, The target positioning device includes an ultrasonic transmitter and a Bluetooth device 1 installed on the target to be positioned at the required coordinates; the signal receiving device includes multiple sets of signal receiving sensors; each set of signal receiving sensors includes an ultrasonic transducer and a Bluetooth device 2; the Bluetooth device 2 in the multiple sets of signal receiving sensors and the control system together form a Bluetooth Mesh network; The control system is equipped with a Bluetooth fingerprint database. The control system updates the Bluetooth fingerprint database according to the coordinates of the positioning target. When the ultrasonic signal is lower than a preset threshold, the Bluetooth fingerprint database is called to complete the auxiliary positioning. When the target arrives within the detection area, the ultrasonic waves emitted by the ultrasonic transmitter on the target are received by the ultrasonic transducers in multiple sets of signal receiving sensors. Simultaneously, the Bluetooth device in the target connects to the Bluetooth Mesh network to synchronize the timing of the target device and the signal receiving device. The control system obtains the emission time of the ultrasonic signals in the ultrasonic array and the reception time of the ultrasonic signals received by each set of signal receiving sensors based on the Bluetooth Mesh network, and calculates the distance between the target and each set of signal receiving sensors based on the propagation speed of ultrasonic waves, and calculates the actual coordinates of the target based on this distance.
2. The indoor positioning system based on ultrasonic waves and a Bluetooth fingerprint database according to claim 1, characterized in that, The signal receiving sensor also includes a temperature sensor and a humidity sensor, which monitor the temperature and humidity within the detection area to achieve real-time correction of the ultrasonic speed; the target positioning device also includes an inertial measurement unit (IMU), which is used to acquire the linear velocity and angular velocity of the target.
3. The indoor positioning system based on ultrasonic waves and a Bluetooth fingerprint database according to claim 1, characterized in that, The ultrasonic transmitter and the ultrasonic transducer are arranged in a matrix, or their rotation is controlled by a motor to enable them to emit ultrasonic signals in multiple directions.
4. The indoor positioning system based on ultrasonic waves and a Bluetooth fingerprint database according to claim 1, characterized in that, The signal receiving sensors consist of at least three sets.
5. An indoor positioning method for an indoor positioning system based on ultrasonic waves and a Bluetooth fingerprint database according to any one of claims 1-4, characterized in that, Includes the following steps: S1. The target enters the detection area, and the Bluetooth device in the target is connected to the Bluetooth Mesh network. S2. The positioning target emits ultrasonic signals in real time through an array of ultrasonic transmitters. After the ultrasonic transducers in multiple signal receiving sensors receive the ultrasonic signals, the control system calculates the distance between each group of signal receiving sensors and the positioning target. S3. The control system combines the distance between the positioning target and each group of signal receiving sensors to calculate the actual coordinates of the positioning target; and updates the data in the Bluetooth fingerprint database based on the actual coordinates of the positioning target. S4. The control system processes the position of the positioning target multiple times in succession to estimate the motion state of the positioning target.
6. The indoor positioning method based on ultrasonic waves and a Bluetooth fingerprint database according to claim 5, characterized in that, In step S2, the control system obtains the transmission time of the ultrasonic signal in the ultrasonic array and the reception time of the ultrasonic signal received by each group of signal receiving sensors based on the Bluetooth Mesh networking, and calculates the distance between the positioning target and each group of signal receiving sensors based on the propagation speed of the ultrasonic wave, and calculates the actual coordinates of the positioning target accordingly.
7. The indoor positioning method based on ultrasonic waves and a Bluetooth fingerprint database according to claim 5, characterized in that, In step S3, by comparing with the original Bluetooth fingerprint database, based on the actual coordinates that the target has passed, the RSSI fingerprint vector at the actual coordinates is read and the actual coordinates and the surrounding Bluetooth fingerprint database are updated by interpolation.
8. The indoor positioning method based on ultrasonic waves and a Bluetooth fingerprint database according to claim 5, characterized in that, In step S3, when only two sets of signal receiving sensors receive the ultrasonic signals sent by the ultrasonic array, the next coordinate range of the positioning target is estimated by building a motion state prediction model. A hyperbola equation is established with the two sets of signal receiving sensors as the focus and the distance difference between the two sets of signal receiving sensors as the major axis. The specific coordinate range of the next step of the positioning target is calculated in this way, and the position coordinates of the positioning target are deduced.
9. The indoor positioning method based on ultrasonic waves and a Bluetooth fingerprint database according to claim 5, characterized in that, In step S3, when only one set of signal receiving sensors receives the ultrasonic signal sent by the ultrasonic array group, the location coordinates of the positioning target device are calculated by using the fingerprint feature positioning matching algorithm based on the Bluetooth signal strength detected by the Bluetooth device in the positioning target device and combining it with the motion state prediction model.
10. The indoor positioning method based on ultrasonic waves and a Bluetooth fingerprint database according to claim 5, characterized in that, In step S3, when three or more groups of signal receiving sensors receive ultrasonic signals sent by the ultrasonic array group, the position coordinates of the positioning target are calculated by using the TODA algorithm based on the distance between the positioning target and each group of signal receiving sensors.
Citation Information
Patent Citations
Indoor combined positioning system and positioning method thereof
CN104020447A
RFID (radio frequency identification) indoor positioning system and method of narrow-band Mesh network
CN104363562A
