CN106793078A - Bluetooth indoor orientation method based on RSSI correction value Dual positionings - Google Patents

Bluetooth indoor orientation method based on RSSI correction value Dual positionings Download PDF

Info

Publication number
CN106793078A
CN106793078A CN201710006007.8A CN201710006007A CN106793078A CN 106793078 A CN106793078 A CN 106793078A CN 201710006007 A CN201710006007 A CN 201710006007A CN 106793078 A CN106793078 A CN 106793078A
Authority
CN
China
Prior art keywords
node
ibeacon
value
signal strength
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710006007.8A
Other languages
Chinese (zh)
Other versions
CN106793078B (en
Inventor
杨刚
黄叶超
陈蒙
黄子明
陈建安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xidian University
Original Assignee
Xidian University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xidian University filed Critical Xidian University
Priority to CN201710006007.8A priority Critical patent/CN106793078B/en
Publication of CN106793078A publication Critical patent/CN106793078A/en
Application granted granted Critical
Publication of CN106793078B publication Critical patent/CN106793078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves
    • G01S11/06Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0252Radio frequency fingerprinting
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0273Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves using multipath or indirect path propagation signals in position determination
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/10Position of receiver fixed by co-ordinating a plurality of position lines defined by path-difference measurements, e.g. omega or decca systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses a kind of bluetooth indoor orientation method based on RSSI correction value Dual positionings, its scheme is:1. gather each iBeacon node to receive the received signal strength value of other iBeacon nodes and correct it, obtain iBeacon node received signal strength value correction matrixs;2. each node to the distance matrix of other nodes is calculated according to the correction matrix;3. the coordinate for estimating each node by distance matrix is worth to error of coordinate;4. gather node to be positioned to receive iBeacon node received signal strength values and correct it, obtain node signal strength correction matrix to be positioned;5. node to be positioned to the distance matrix of other iBeacon nodes is obtained according to the correction matrix, and then obtain the coordinate estimate of node to be positioned;6. the final coordinate of node to be positioned is obtained by the result of step 3 and step 5.Positioning precision of the present invention is high, can be used for home for destitute and intelligence community.

Description

Bluetooth indoor orientation method based on RSSI correction value Dual positionings
Technical field
The invention belongs to communication technical field, more particularly to a kind of bluetooth indoor orientation method can be used for market, endowment Institute, intelligence community and fire-fighting place.
Background technology
With Internet of Things society develop rapidly, sensing intelligent equipment with its low-power consumption, self-organizing, layout facilitate the advantages of Increasingly it is widely used in wisdom society, and indoor positioning has turned into the social important support field of Internet of Things, and base One of focus of indoor positioning will be turned into its unique superiority in the indoor positioning technologies of bluetooth iBeacon.
Being currently based on the indoor positioning algorithms of bluetooth is mainly had the algorithm TOA based on signal transmission time, is passed based on signal The algorithm TDOA of defeated time difference, the algorithm AOA based on direction of arrival degree, algorithm and list based on received signal strength value RSSI Centroid algorithm, wherein:
TOA algorithms, because Indoor is relatively narrow and small, the propagation of signal can be brought propagation by the interference of barrier The time delay of time, and the superposition of time delay can be produced, while the clock essence between this algorithm requirement positioning node and reference mode Plesiochronous, the requirement to hardware is very high, and the complexity of system and the input of cost are larger, cause practicality relatively low.
TDOA algorithms, are the improvement of TOA algorithms, and this algorithm is not the absolute time that reference mode is directly reached using signal Between, but using signal reach two time differences of reference mode and determine the position of positioning node, therefore without necessarily referring to section Clock between point and positioning node is precisely synchronous, it is only necessary to which the clock between reference mode is synchronous, although the algorithm drops The synchronous requirement of low clock, but precision is relatively low.
AOA algorithms, this algorithm needs to obtain angle information in node mounted antennas matrix, but because major part is saved The antenna of point is all omnidirectional, it is impossible to which signal is distinguished in which direction comes from, and needs spy in bluetooth nodes mounted antennas Different hardware device, such as aerial array, cause bluetooth nodes to exceed common sensing section in power consumption, size and price Point, the characteristic with wireless smart devices low cost and low-power consumption is disagreed, so practicality is poor.
RSSI algorithms, the algorithm is by obtaining the relation between received signal strength value RSSI and distance, obtaining distance Model and RSSI between, so as to carry out indoor positioning.But due to radio signal free damping effect, letter under indoor environment Number sink effect, non-line-of-sight propagation effect, multipath effect, shadow effect cause the RSSI value of Bluetooth signal with the change of distance Change doing acutely variation, cause the error range that traditional location algorithm based on received signal strength value RSSI is present compared with Greatly.But because its requirement to clock treatment is low, low cost, complexity is low, so general indoor positioning algorithms are all based on RSSI launches.
Simple substance center algorithm, is the information that all reference modes in its communication range are received by positioning node, and will The geometry barycenter of reference mode is positioned as the estimated location of oneself, but barycenter number is single, from node to be positioned farther out The disturbance degree of the reference mode at place is smaller, it is impossible to which the contribution degree of the reference mode given prominence to the key points from node to be positioned remotely is big Small, the error brought is larger, and positioning precision is not lifted further.
The content of the invention
It is an object of the invention to be directed to above the deficiencies in the prior art, propose a kind of based on RSSI correction value Dual positionings Bluetooth indoor orientation method, to improve the indoor position accuracy of bluetooth iBeacon.
To achieve the above objectives, technical scheme includes as follows:
(1) received signal strength of other iBeacon nodes that each iBeacon node of collection indoor deployment is received Value, constitutes iBeacon node signal strength matrix R, and it is modified using Rod Dixon detection method and Gaussian filter algorithm, The signal intensity correction value of each iBeacon node is obtained, iBeacon node signal strength correction matrixs R' is constituted:
Wherein:
I, j are iBeacon node serial numbers, and n is iBeacon node numbers, i ∈ [1, n], j ∈ [1, n], n>3;
Rij=[Rij1 Rij2 Rij3 ... Rij30] it is 1 × 30 dimension matrix, represent that i-th iBeacon node is received j-th 30 groups of signal values that iBeacon nodes send;
Rij' represent that i-th iBeacon node receives j-th signal intensity correction value of iBeacon nodes.
(2) according to iBeacon node signal strength correction matrix R', using log-distance path loss model model, obtain IBeacon nodes constitute iBeacon nodal distance matrix Ds to the distance value of other iBeacon nodes:
Wherein:DijRepresent i-th iBeacon node to j-th distance value of iBeacon nodes, as i=j, Dij= 0。
(3) according to iBeacon nodal distance matrix Ds, using multiple centroid algorithm, each iBeacon node coordinates are obtained and is estimated Value Q (xi,yi), by Q (xi,yi) actual coordinate e (v with each iBeacon nodesi,zi) compare, obtain error dot P (α, β);
(4) gather node to be positioned and receive the received signal strength value that iBeacon nodes send, constitute positioning node signal Intensity matrix r, and it is modified using Rod Dixon detection method and Gaussian filter algorithm, the intensity for obtaining node to be positioned is repaiied On the occasion of composition node signal strength correction matrix r' to be positioned:
R=[r1 r2 r3 ... ri ... rn], r'=[r1' r2' r3' ... ri' ... rn']
Wherein:
riIt is 1 × 30 dimension matrix, represents that node to be positioned receives 30 groups of signal values that i-th iBeacon node sends;
ri' represent that node to be positioned receives i-th signal intensity correction value of iBeacon nodes.
(5) according to node signal strength correction matrix r' to be positioned, using log-distance path loss model model, obtain undetermined Position node constitutes nodal distance matrix d to be positioned to the distance value of other iBeacon nodes:
D=[d1 d2 d3 ... di ... dn]
Wherein:diIt is node to be positioned to i-th distance value of iBeacon nodes.
(6) according to nodal distance matrix d to be positioned, using multiple centroid algorithm, the coordinate estimate W of node to be positioned is obtained (x,y);
(7) according to coordinate estimate W (x, y) and error dot P (α, β), the final coordinate for obtaining node to be positioned is:W(x+ α,y+β)。
Major advantage is the present invention compared with the prior art:
First, compared with existing early stage is pre-processed, the present invention is due to the larger received signal strength of the fluctuation to early stage Value carries out the treatment of Rod Dixon detection algorithm, rejects the violent received signal strength value of shake, and then the data for retaining are used Gaussian filtering process, remains the less received signal strength value of shake to greatest extent.
Second, compared with existing route loss model, the present invention is due to according to lot of experimental data, providing suitable environment system Number term of reference, not only realizes simply, and the coefficient of selection is more applicable for indoor environment.
3rd, compared with existing location algorithm, the present invention calculates the seat of system respectively due to using Dual positioning algorithm The estimated coordinates of mark error and node to be positioned, therefore can calculate and treat according to error of coordinate and the estimated coordinates of node to be positioned The final coordinate of positioning node.
4th, compared with existing location algorithm, the present invention is due to the iBeacon nodes apart from node to be positioned farther out being divided Group, after obtaining its barycenter, barycenter is applied in the iBeacon node groups nearer apart from node to be positioned, then asks for barycenter, is made Obtain positioning precision further to improve, while fitness can be avoided to change with the state change of iBeacon nodes in environment.
Brief description of the drawings
Fig. 1 is of the invention to realize flow chart;
Fig. 2 is the locating effect comparison diagram with existing simple substance center algorithm of the invention.
Specific embodiment
Reference picture 1, the bluetooth indoor orientation method based on RSSI correction value Dual positionings of the invention, it implements step It is rapid as follows:
Step 1, builds iBeacon node signal strength matrixes R.
Indoor environment is divided into some regions with regular hexagon, each apex in region places an iBeacon Node, places n iBeacon node altogether, and each iBeacon node periodically broadcasts itself numbering, own coordinate and reception Signal strength values, gather the received signal strength value of other iBeacon nodes that each iBeacon node is received, and constitute IBeacon node signal strength matrixes R:
Wherein:I, j are iBeacon node serial numbers, and n is iBeacon node numbers, i ∈ [1, n], j ∈ [1, n], n>3;
Rij=[Rij1 Rij2 Rij3 ... Rij30] it is 1 × 30 dimension matrix, represent that i-th iBeacon node is received j-th 30 groups of signal values that iBeacon nodes send.
Step 2, is modified to iBeacon node signal strength matrixes R, obtains iBeacon node Rod Dixon matrixes R*
2a) sent from other iBeacon nodes using what Rod Dixon detection method rejected that each iBeacon node receives 30 groups of signal values in change violent received signal strength value, i-th iBeacon node is received from j-th 30 groups of received signal strength values of iBeacon nodes are followed successively by R by order arrangement from small to largeij1,Rij2,...,Rij30
The detection level of rejecting outliers 2b) is determined for a=0.02, determines that Rod Dixon checks critical value M (a, n);
2c) according to Dixion test statistical formula, exceptional value G and the iBeacon section of iBeacon node most significant ends are calculated Point least significant end exceptional value G':
2d) by iBeacon nodes most significant end exceptional value G and iBeacon node least significant end exceptional value G' and critical value M (a, N) it is compared:
If G>M (a, n) or G'>M (a, n), then reject the corresponding received signal strength value R of the exceptional valueijN
If G≤M (a, n) or G'≤M (a, n), then retain the corresponding received signal strength value R of the exceptional valueijN, Perform 2e), N is 30 groups of numberings of signal value;
2e) the received signal strength value rearrangement to retaining, repeat step 2a) -2d), until all changes are violent Received signal strength value is removed, and using the final value for retaining as the output of Rod Dixon detection algorithm, constitutes iBeacon nodes Rod Dixon matrix R*
Wherein:
R* ij=[R* ij1 R* ij2 R* ij3 ... R* ijM] it is 1 × M dimension matrixes, M is examined by Rod Dixon in 30 groups of signal values The signal value number retained after method of determining and calculating, R* ijRepresent that i-th iBeacon node receives j-th iBeacon node sends 30 Signal value matrix in group signal value by retaining after Rod Dixon detection algorithm;
Step 3, to iBeacon node Rod Dixon matrixes R*It is modified, obtains iBeacon node signal strength amendment squares Battle array R'.
3a) to iBeacon node Rod Dixon matrixes R*Gaussian filtering is carried out, iBeacon node Gaussian matrixes R is obtained ";
3b) to iBeacon node Gaussian matrixes R " each element matrix take arithmetic mean of instantaneous value, obtain each iBeacon section The received signal strength correction value of point, constitutes iBeacon node signal strength correction matrixs R':
Wherein:Rij' represent that i-th iBeacon node receives j-th signal intensity correction value of iBeacon nodes.
Step 4, builds iBeacon nodal distance matrix Ds.
4a) set up received signal strength correction value to the path loss relational expression of distance between iBeacon nodes:
Wherein:
Rij' represent that i-th iBeacon node receives j-th signal intensity correction value of iBeacon nodes;
q0Represent two iBeacon euclidean distance between node pair L0Reference signal strength correction value at=1 meter;
DijRepresent i-th iBeacon node to j-th distance value of iBeacon nodes, as i=j, Dij=0;
xεIt is ambient parameter, the influence degree of representation space environment, x with uεIt is to be received at 1 meter of iBeacon nodes Mean power absolute value, u is path-loss factor, xεOptimal reference scope is 41-47, and u optimal references scope is 2.15- 4.3;
4b) by step 4a) path loss relational expression be converted into following form:
4c) according to step 4b) draw each iBeacon node to other all iBeacon nodal distances matrix Ds:
Step 5, calculates the coordinate estimate Q (x of each iBeacon nodesi,yi)。
5a) by i-th iBeacon node to j-th distance value D of iBeacon nodesijArranged by order from small to large Sequence, obtains distance set:Di1,Di2,Di3,...Dij,...,Din, wherein Di1<Di2<Di3<...<Dij<...<Din
5b) minimum value D is subtracted with each element in distance seti1, draw difference set:
0,ΔDi1,ΔDi2,ΔDi3,...,ΔDij,...,ΔDin
5c) in calculating difference set each element average value
Wherein:ΔDij=Dij-Di1, represent i-th iBeacon node to the distance between j-th iBeacon node value DijWith minimum value Di1Difference;
5d) iBeacon nodes are respectively classified intoSet A andSet B, be located in set B There is m node, and be divided into one group immediate 3 iBeacon nodes are differed in set B, be divided into m-2 groups, calculate every group Barycenter, its coordinate (xk,yk):
Wherein:K ∈ [1, m-2], (xk1,yk1)、(xk2,yk2)、(xk3,yk3) it is that 3 iBeacon nodes in every group are sat Mark;
5e) by step 5d) barycenter that obtains is considered as the iBeacon nodes of new addition again, then by m-2 center of mass point and collection The n-m iBeacon node closed in A constitutes polygon, and this polygonal barycenter is calculated using centroid algorithm, obtains i-th IBeacon node estimated coordinates Q (xi,yi)。
Step 6, calculation error point P (α, β).
According to i-th actual coordinate e (v of iBeacon nodesi,zi) and estimated coordinates Q (xi,yi), calculation error point P's Abscissa and ordinate:
Obtain error dot
Step 7, builds node signal strength matrix r to be positioned.
Indoor environment is divided into some regions with regular hexagon, each apex in region places an iBeacon Node, places n iBeacon node altogether, and each iBeacon node periodically broadcasts itself numbering, own coordinate and reception Signal strength values, gather node to be positioned and receive the received signal strength value that iBeacon nodes send, and constitute node letter to be positioned Number intensity matrix r:
R=[r1 r2 r3 ... ri ... rn]
Wherein:riIt is 1 × 30 dimension matrix, represents that node to be positioned receives 30 groups of signals that i-th iBeacon node sends Value;
Step 8, treats positioning node signal intensity matrix r and is modified, and obtains node Rod Dixon matrix r to be positioned*
8a) node to be positioned is received sent from other iBeacon nodes 30 are rejected using Rod Dixon detection method Change violent received signal strength value in group signal value, node to be positioned is received from i-th the 30 of iBeacon nodes Group received signal strength value is followed successively by r by order arrangement from small to largei1,ri2,...,ri30
8b) according to Dixion test statistical formula, node most significant end exceptional value g to be positioned and node to be positioned are calculated most Low side exceptional value g':
8c) by node most significant end exceptional value g to be positioned and node least significant end exceptional value g' to be positioned and critical value M (a, n) It is compared:
If g>M (a, n) or g'>M (a, n), then reject the corresponding received signal strength value r of the exceptional valueiN
If g≤M (a, n) or g'≤M (a, n), then retain the corresponding received signal strength value r of the exceptional valueiN, hold Row 8d), N is 30 groups of numberings of signal value;
8d) the received signal strength value rearrangement to retaining, repeat step 8a) -8c), until all changes are violent Received signal strength value is removed, and using the final value for retaining as the output of Rod Dixon detection algorithm, constitutes node to be positioned Rod Dixon matrix r*
r*=[r1 * r2 * r3 * ... ri * ... rn *]
Wherein:ri *=[r* i1 r* i2 r* i3 ... r* iM] it is 1 × M dimension matrixes, M is by Rod Dixon in 30 groups of signal values The signal value number retained after detection algorithm, ri *Represent that node to be positioned receives 30 groups of signals that i-th iBeacon node sends Signal value matrix in value by retaining after Rod Dixon detection algorithm.
Step 9, treats positioning node Rod Dixon matrix r*It is modified, obtains node signal strength correction matrix to be positioned r′。
Positioning node Rod Dixon matrix r 9a) is treated using gaussian filtering*Processed, obtained node Gaussian Moment to be positioned Battle array r ";
9b) treat positioning node Gaussian matrix r " each element matrix take arithmetic mean of instantaneous value, obtain connecing for node to be positioned Signal intensity correction value is received, node signal strength correction matrix r' to be positioned is constituted:
R'=[r1' r2' r3' ... ri' ... rn']
Wherein:ri' represent that node to be positioned receives i-th signal intensity correction value of iBeacon nodes.
Step 10, builds nodal distance matrix d to be positioned.
Received signal strength correction value 10a) is set up to be damaged to node to be positioned and i-th path of iBeacon nodal distances Consumption relational expression:
Wherein:
ri' represent that node to be positioned receives i-th signal intensity correction value of iBeacon nodes;
q1Represent node to be positioned and iBeacon euclidean distance between node pair L0Reference signal strength correction value at=1 meter;
diIt is node to be positioned to i-th distance value of iBeacon nodes.
10b) by step 10a) path loss relational expression be converted into following form:
10c) according to step 10b) draw node to be positioned to other all iBeacon nodal distances matrix d:
D=[d1 d2 d3 ... di ... dn]
Step 11, calculates coordinate estimate W (x, y) of node to be positioned.
11a) by node to be positioned to i-th distance value d of iBeacon nodesiSorted by order from small to large, obtained Distance set to be positioned:dε={ d1,d2,d3,...,di,...,dn, wherein d1<d2<d3<...<di<...<dn
11b) with distance set d to be positionedεEach interior element subtracts minimum value d1, draw difference set d to be positionedε':
dε'={ 0, Δ d1,Δd2,Δd3,...,Δdi,...,Δdn,
Wherein:Δdi=di-d1, it represents node to be positioned to i-th distance value d of iBeacon nodesiWith minimum value d1 Difference;
11c) calculate difference set d to be positionedε' in each element average value
IBeacon nodes 11d) are respectively classified into two set, i.e.,Set C1WithSet C2, it is located at set C2Inside there is z node, set C2The middle immediate 3 iBeacon nodes of difference are divided into one group, are divided into z- 2 groups, calculate every group of barycenter, its coordinate (xL,yL) be:
Wherein:L ∈ [1, z-2], (xL1,yL1)、(xL2,yL2)、(xL3,yL3) it is that 3 iBeacon nodes in every group are sat Mark.
11e) by step 11d) barycenter that obtains is considered as the iBeacon nodes of new addition again, then by z-2 center of mass point with Set C1N-z interior iBeacon node constitutes polygon, and this polygonal barycenter is calculated using centroid algorithm, is treated Estimated coordinates W (x, y) of positioning node.
Step 12, calculates the final coordinate W (x+ α, y+ β) of node to be positioned.
The horizontal seat of the error dot P that estimated coordinates W (x, y) and step 6 of the node to be positioned obtained according to step 11 are obtained α and ordinate β is marked, the final coordinate for being calculated node to be positioned is:
With reference to emulation experiment, locating effect of the invention is further analyzed.
1. experiment condition
16 iBeacon nodes, 10 nodes to be positioned are arranged in this experiment under 50*50 meters of indoor environment.
2. experiment content
Above-mentioned 10 nodes to be positioned are tested respectively with the inventive method and existing simple substance center algorithm, obtains undetermined The coordinate value of position node, as a result such as Fig. 2.
As it is clear from fig. 2 that the present invention measures the actual coordinate value contrast of the coordinate value and node to be positioned of node to be positioned, its Positioning precision max value of error is 2.413 meters, and minimum value is 0.75 meter, and average value is 1.59 meters.Existing centroid algorithm is measured to be treated The coordinate value of positioning node is contrasted with the actual coordinate value of node to be positioned, and its positioning precision max value of error is 4.089 meters, most Small value is 1.56 meters, and average value is 2.75 meters.
Experiment shows:Positioning precision is improve 25%-35% by the present invention, has larger advantage in positioning indoors.

Claims (7)

1. a kind of bluetooth indoor orientation method based on RSSI correction value Dual positionings, including:
(1) the received signal strength value of other iBeacon nodes that each iBeacon node of collection indoor deployment is received, IBeacon node signal strength matrix R are constituted, and it is modified using Rod Dixon detection method and Gaussian filter algorithm, obtained To the signal intensity correction value of each iBeacon node, iBeacon node signal strength correction matrixs R' is constituted:
R = 0 R 12 ... R 1 n R 21 0 ... R 2 n ... ... R i j ... R n 1 R n 2 ... 0 , R &prime; = 0 R &prime; 12 ... R &prime; 1 n R &prime; 21 0 ... R &prime; 2 n ... ... R &prime; i j ... R &prime; n 1 R &prime; n 2 ... 0
Wherein:
I, j are iBeacon node serial numbers, and n is iBeacon node numbers, i ∈ [1, n], j ∈ [1, n], n>3;
Rij=[Rij1 Rij2 Rij3 ... Rij30] it is 1 × 30 dimension matrix, represent that i-th iBeacon node is received j-th 30 groups of signal values that iBeacon nodes send;
Rij' represent that i-th iBeacon node receives j-th signal intensity correction value of iBeacon nodes.
(2) according to iBeacon node signal strength correction matrix R', using log-distance path loss model model, iBeacon is obtained Node constitutes iBeacon nodal distance matrix Ds to the distance value of other iBeacon nodes:
D = 0 D 12 ... D 1 n D 21 0 ... D 2 n ... ... D i j ... D n 1 D n 2 ... 0
Wherein:DijRepresent i-th iBeacon node to the distance between j-th iBeacon node value, as i=j, Dij=0.
(3) according to iBeacon nodal distance matrix Ds, using multiple centroid algorithm, the coordinate estimate Q of each iBeacon nodes is obtained (xi,yi), by Q (xi,yi) actual coordinate e (v with each iBeacon nodesi,zi) compare, obtain error dot P (α, β);
(4) gather node to be positioned and receive the received signal strength value that iBeacon nodes send, constitute positioning node signal intensity Matrix r, and it is modified using Rod Dixon detection method and Gaussian filter algorithm, obtain the intensity amendment of node to be positioned Value, constitutes node signal strength correction matrix r' to be positioned:
R=[r1 r2 r3 ... ri ... rn], r'=[r1' r2' r3' ... ri' ... rn']
Wherein:
riIt is 1 × 30 dimension matrix, represents that node to be positioned receives 30 groups of signal values that i-th iBeacon node sends;
ri' represent that node to be positioned receives i-th signal intensity correction value of iBeacon nodes.
(5) according to node signal strength correction matrix r' to be positioned, using log-distance path loss model model, section to be positioned is obtained Point constitutes nodal distance matrix d to be positioned to the distance value of other iBeacon nodes:
D=[d1 d2 d3 ... di ... dn]
Wherein:diIt is node to be positioned to i-th distance value of iBeacon nodes.
(6) according to nodal distance matrix d to be positioned, using multiple centroid algorithm, obtain node to be positioned coordinate estimate W (x, y);
(7) according to coordinate estimate W (x, y) and error dot P (α, β), the final coordinate for obtaining node to be positioned is:W(x+α,y+ β)。
2. method according to claim 1, wherein utilizes Rod Dixon detection method and Gaussian filter algorithm pair in step (1) IBeacon node signal strength matrixes R is modified, and carries out in accordance with the following steps:
1.1) indoor environment is divided into some regions with regular hexagon, each apex in region places an iBeacon Node, places n iBeacon node altogether, and each iBeacon node periodically broadcasts itself numbering, own coordinate and reception Signal strength values;
1.2) using Rod Dixon detection method being sent from other iBeacon nodes of rejecting that each iBeacon node receives Change violent received signal strength value in 30 groups of signal values:
1.2a) by i-th iBeacon node receive from j-th the 30 of iBeacon nodes groups of received signal strength value by from It is small to be arranged to big order, it is followed successively by Rij1,Rij2,...,Rij30
The detection level of rejecting outliers 1.2b) is determined for a=0.02, determines that Rod Dixon checks critical value M (a, n);
1.2c) according to Dixion test statistical formula, exceptional value G and the iBeacon node of iBeacon node most significant ends is calculated Least significant end exceptional value G':
G = R i n - R i ( n - 1 ) R i n - R i 1
G &prime; = R i 2 - R i 1 R i n - R i 1 ;
1.2d) by iBeacon nodes most significant end exceptional value G and iBeacon node least significant end exceptional value G' and critical value M (a, n) It is compared:
If G>M (a, n) or G'>M (a, n), then reject the corresponding received signal strength value R of the exceptional valueijN
If G≤M (a, n) or G'≤M (a, n), then retain the corresponding received signal strength value R of the exceptional valueijN, perform 1.2e), N is 30 groups of numberings of signal value;
1.2e) the received signal strength value rearrangement to retaining, repeat step 1.2a) -1.2d), until all changes are violent The signal strength values that receive be removed, and will the final value for retaining as the output of Rod Dixon detection algorithm, constitute iBeacon sections Point Rod Dixon matrix R*
R * = 0 R * 12 ... R * 1 n R * 21 0 ... R * 2 n ... ... R * i j ... R * n 1 R * n 2 ... 0
Wherein:R* ij=[R* ij1 R* ij2 R* ij3 ... R* ijM] it is 1 × M dimension matrixes, M is examined by Rod Dixon in 30 groups of signal values The signal value number retained after method of determining and calculating, R* ijRepresent that i-th iBeacon node receives j-th iBeacon node sends 30 Signal value matrix in group signal value by retaining after Rod Dixon detection algorithm.
1.3) to iBeacon node Rod Dixon matrixes R*Gaussian filtering process is carried out, iBeacon node Gaussian matrixes R is obtained ", so Afterwards to iBeacon node Gaussian matrixes R " each element take arithmetic mean of instantaneous value, the reception signal for obtaining each iBeacon node is strong Degree correction value, constitutes iBeacon node signal strength correction matrixs:
3. method according to claim 1, wherein calculates i-th iBeacon node to j-th iBeacon in step (2) The distance between node value Dij, carry out in accordance with the following steps:
2.1) received signal strength value to the path loss relational expression of distance is set up:
R i j &prime; = q 0 + 10 u lg ( D i j L 0 ) + x &epsiv;
Wherein:
Rij' represent that i-th iBeacon node receives j-th signal intensity correction value of iBeacon nodes;
q0Represent two iBeacon euclidean distance between node pair L0Reference signal strength correction value at=1 meter;
xεIt is ambient parameter, the influence degree of representation space environment, x with uεIt is received at 1 meter of iBeacon nodes flat The absolute value of equal power, u is path-loss factor, xεOptimal reference scope is 41-47, and u optimal references scope is 2.15-4.3.
2.2) by step 2.1) path loss relational expression be converted into following form:
D i j = 10 q 0 + x &epsiv; - R i j &prime; 10 u ;
2.3) according to step 2.2) draw each iBeacon node to other all iBeacon nodal distances matrix Ds:
D = 0 D 12 ... D 1 n D 21 0 ... D 2 n ... ... D i j ... D n 1 D n 2 ... 0 .
4. method according to claim 1, wherein calculates error dot P (α, β) in step (3), carries out in accordance with the following steps:
3.1) the coordinate estimate Q (x of each iBeacon nodes are estimatedi,yi):
3.1a) by i-th iBeacon node to j-th distance value D of iBeacon nodesijSorted by order from small to large, Obtain distance set:Di1,Di2,Di3,...Dij,...,Din, wherein Di1<Di2<Di3<...<Dij<...<Din
3.1b) minimum value D is subtracted with each element in distance seti1, draw difference set:
0,ΔDi1,ΔDi2,ΔDi3,...,ΔDij,...,ΔDin
3.1c) in calculating difference set each element average value
&Delta; D &OverBar; = &Sigma; j = 1 n &Delta;D i j n - 1
Wherein:ΔDij=Dij-Di1, represent i-th iBeacon node to the distance between j-th iBeacon node value DijWith Minimum value Di1Difference;
3.1d) iBeacon nodes are respectively classified intoWithTwo set A and B, being located in set B has M node, one group is divided into immediate 3 iBeacon nodes are differed in set B, is divided into m-2 groups, calculates every group of matter The heart, its coordinate (xk,yk):
( x k , y k ) = ( x k 1 + x k 2 + x k 3 3 , y k 1 + y k 2 + y k 3 3 ) ,
Wherein:K ∈ [1, m-2], (xk1,yk1)、(xk2,yk2)、(xk3,yk3) it is 3 iBeacon node coordinates in every group;
3.1e) by step 3.1d) barycenter that obtains is considered as the iBeacon nodes of new addition again, then by m-2 center of mass point and collection The n-m iBeacon node closed in A constitutes polygon, and this polygonal barycenter is calculated using centroid algorithm, obtains i-th IBeacon node estimated coordinates Q (xi,yi)。
3.2) according to i-th actual coordinate e (v of iBeacon nodesi,zi) and estimated coordinates Q (xi,yi), calculation error point P's Abscissa and ordinate:
&alpha; = &Sigma; i = 1 n - 2 ( x i - v i ) n - 2 , &beta; = &Sigma; i = 1 n - 2 ( y i - z i ) n - 2 .
5. method according to claim 1, is wherein treated in step (4) using Rod Dixon detection method and Gaussian filter algorithm Positioning node signal intensity matrix r is modified, and carries out in accordance with the following steps:
4.1) indoor environment is divided into some regions with regular hexagon, each apex in region places an iBeacon Node, places n iBeacon node altogether, and each iBeacon node periodically broadcasts itself numbering, own coordinate and reception Signal strength values;
4.2) the 30 groups of letters sent from other iBeacon nodes that node to be positioned is received are rejected using Rod Dixon detection method Change violent received signal strength value in number value:
4.2a) node to be positioned is received from i-th the 30 of iBeacon nodes groups of received signal strength value by from small to large Order arrangement, be followed successively by ri1,ri2,...,ri30
4.2b) according to Dixion test statistical formula, calculate node most significant end exceptional value g to be positioned and node to be positioned is minimum Hold exceptional value g':
g = r i n - r i ( n - 1 ) r i n - r i 1 ,
g &prime; = r i 2 - r i 1 r i n - r i 1 ;
4.2c) node most significant end exceptional value g to be positioned and node least significant end exceptional value g' to be positioned and critical value M (a, n) are entered Row compares:
If g>M (a, n) or g'>M (a, n), then reject the corresponding received signal strength value r of the exceptional valueiN
If g≤M (a, n) or g'≤M (a, n), then retain the corresponding received signal strength value r of the exceptional valueiN, perform 4.2d), N is 30 groups of numberings of signal value;
4.2d) the received signal strength value rearrangement to retaining, repeat step 4.2a) -4.2c), until all changes are violent Received signal strength value be removed, and will the final value for retaining as the output of Rod Dixon detection algorithm, constitute section to be positioned Point Rod Dixon matrix r*
r*=[r1 * r2 * r3 * ... ri * ... rn *]
Wherein:ri *=[r* i1 r* i2 r* i3 ... r* iM] it is 1 × M dimension matrixes, M is detected by Rod Dixon in 30 groups of signal values The signal value number retained after algorithm, ri *In representing that node to be positioned receives 30 groups of signal values that i-th iBeacon node sends By the signal value matrix retained after Rod Dixon detection algorithm.
4.3) positioning node Rod Dixon matrix r is treatedi *Gaussian filtering process is carried out, node Gaussian matrix r to be positioned is obtained ", so Treat positioning node Gaussian matrix r afterwards " each element matrix take arithmetic mean of instantaneous value, obtain the received signal strength of node to be positioned Correction value, constitutes node signal strength correction matrix to be positioned:R'=[r1' r2' r3' ... ri' ... rn']。
6. calculated in method according to claim 1, wherein step (5) node to be positioned to i-th iBeacon node it Between distance value di, carry out in accordance with the following steps:
5.1) received signal strength value to the path loss relational expression of distance is set up:
r i &prime; = q 1 + 10 u lg ( d i L 0 ) + x &epsiv;
Wherein:
ri' represent that node to be positioned receives i-th signal intensity correction value of iBeacon nodes;
q1Represent node to be positioned and iBeacon euclidean distance between node pair L0Reference signal strength correction value at=1 meter;
xεIt is ambient parameter, the influence degree of representation space environment, x with uεIt is received at 1 meter of iBeacon nodes flat The absolute value of equal power, u is path-loss factor, xεOptimal reference scope is 41-47, and u optimal references scope is 2.15-4.3.
5.2) by step 5.1) path loss relational expression be converted into following form:
d i = 10 q 1 + x &epsiv; - r i &prime; 10 u ;
5.3) according to step 5.2) draw node to be positioned to other all iBeacon nodal distances matrix d:
D=[d1 d2 d3 ... di ... dn]。
7. method according to claim 1, wherein calculates coordinate estimate W (x, y) of node to be positioned in step (6), Carry out in accordance with the following steps:
6.1) by node to be positioned to i-th distance value d of iBeacon nodesiSorted by order from small to large, obtain undetermined Position distance set:dε={ d1,d2,d3,...,di,...,dn, wherein d1< d2< d3< ... < di< ... < dn
6.2) with distance set d to be positionedεEach interior element subtracts minimum value d1, draw difference set d to be positionedε':
dε'={ 0, Δ d1,Δd2,Δd3,...,Δdi,...,Δdn,
Wherein:Δdi=di-d1, it represents node to be positioned to the distance between i-th iBeacon node value diWith minimum value d1 Difference;
6.3) difference set d to be positioned is calculatedε' in each element average value
&Delta; d &OverBar; = &Sigma; i = 1 n &Delta;d i n - 1 ;
6.4) iBeacon nodes are respectively classified intoSet C1WithSet C2, it is located at set C2Inside there is z Individual node, set C2The middle immediate 3 iBeacon nodes of difference are divided into one group, are divided into z-2 groups, calculate every group of matter The heart, its coordinate (xL,yL) be:
( x L , y L ) = ( x L 1 + x L 2 + x L 3 3 , y L 1 + y L 2 + y L 3 3 ) ,
Wherein:L ∈ [1, z-2], (xL1,yL1)、(xL2,yL2)、(xL3,yL3) it is 3 iBeacon node coordinates in every group;
6.5) by step 6.4) barycenter that obtains is considered as the iBeacon nodes of new addition again, then by z-2 center of mass point and set C1N-z interior iBeacon node constitutes polygon, and this polygonal barycenter is obtained using centroid algorithm, is calculated and treats Estimated coordinates W (x, y) of positioning node.
CN201710006007.8A 2017-01-05 2017-01-05 Bluetooth indoor positioning method based on RSSI correction value dual positioning Active CN106793078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710006007.8A CN106793078B (en) 2017-01-05 2017-01-05 Bluetooth indoor positioning method based on RSSI correction value dual positioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710006007.8A CN106793078B (en) 2017-01-05 2017-01-05 Bluetooth indoor positioning method based on RSSI correction value dual positioning

Publications (2)

Publication Number Publication Date
CN106793078A true CN106793078A (en) 2017-05-31
CN106793078B CN106793078B (en) 2019-12-24

Family

ID=58949515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710006007.8A Active CN106793078B (en) 2017-01-05 2017-01-05 Bluetooth indoor positioning method based on RSSI correction value dual positioning

Country Status (1)

Country Link
CN (1) CN106793078B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108535687A (en) * 2018-03-20 2018-09-14 西安电子科技大学 Indoor wireless positioning method based on the fusion of TOF and RSSI information
CN109143157A (en) * 2018-06-25 2019-01-04 南京邮电大学 The distance measuring method of dynamic undated parameter based on signal strength indication mixed filtering
CN109557528A (en) * 2017-09-25 2019-04-02 联想(北京)有限公司 Localization method, electronic equipment and server for multiple electronic equipments
CN111182451A (en) * 2020-01-15 2020-05-19 李娜 Fire rescue system and method based on Bluetooth indoor positioning
CN112637823A (en) * 2020-12-07 2021-04-09 南京航空航天大学 Bluetooth device based hierarchy progressive positioning method
US11288839B2 (en) 2018-07-03 2022-03-29 Boe Technology Group Co., Ltd. Supermarket shopping cart positioning method, supermarket shopping cart positioning system, and supermarket shopping cart

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413564A (en) * 2011-11-25 2012-04-11 北京工业大学 Indoor positioning method based on BP neural network and improved centroid algorithm
CN104581941A (en) * 2015-01-05 2015-04-29 中山大学 Wireless indoor locating method based on synchronous iterative reconstruction technology
CN104869636A (en) * 2015-05-12 2015-08-26 四川师范大学 Indoor positioning method based on distance measurement information fusion
CN106102161A (en) * 2016-05-30 2016-11-09 天津大学 Based on the data-optimized indoor orientation method of focusing solutions analysis
CN106211318A (en) * 2016-07-06 2016-12-07 蓝盾信息安全技术有限公司 A kind of path loss localization method based on WiFi and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413564A (en) * 2011-11-25 2012-04-11 北京工业大学 Indoor positioning method based on BP neural network and improved centroid algorithm
CN104581941A (en) * 2015-01-05 2015-04-29 中山大学 Wireless indoor locating method based on synchronous iterative reconstruction technology
CN104869636A (en) * 2015-05-12 2015-08-26 四川师范大学 Indoor positioning method based on distance measurement information fusion
CN106102161A (en) * 2016-05-30 2016-11-09 天津大学 Based on the data-optimized indoor orientation method of focusing solutions analysis
CN106211318A (en) * 2016-07-06 2016-12-07 蓝盾信息安全技术有限公司 A kind of path loss localization method based on WiFi and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张苍松,郭军,崔娇,尚军: "基于RSSI的室内定位算法优化技术", 《万方数据》 *
徐日明,庄长远,俞斌: "基于RSSI的动态修正室内无线定位算法", 《万方数据》 *
马立香: "基于WiFi的RSSI指纹定位算法研究", 《万方数据》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557528A (en) * 2017-09-25 2019-04-02 联想(北京)有限公司 Localization method, electronic equipment and server for multiple electronic equipments
CN108535687A (en) * 2018-03-20 2018-09-14 西安电子科技大学 Indoor wireless positioning method based on the fusion of TOF and RSSI information
CN109143157A (en) * 2018-06-25 2019-01-04 南京邮电大学 The distance measuring method of dynamic undated parameter based on signal strength indication mixed filtering
CN109143157B (en) * 2018-06-25 2023-03-31 南京邮电大学 Dynamic parameter updating ranging method based on signal intensity value hybrid filtering
US11288839B2 (en) 2018-07-03 2022-03-29 Boe Technology Group Co., Ltd. Supermarket shopping cart positioning method, supermarket shopping cart positioning system, and supermarket shopping cart
CN111182451A (en) * 2020-01-15 2020-05-19 李娜 Fire rescue system and method based on Bluetooth indoor positioning
CN112637823A (en) * 2020-12-07 2021-04-09 南京航空航天大学 Bluetooth device based hierarchy progressive positioning method
CN112637823B (en) * 2020-12-07 2022-04-22 南京航空航天大学 Bluetooth device based hierarchy progressive positioning method

Also Published As

Publication number Publication date
CN106793078B (en) 2019-12-24

Similar Documents

Publication Publication Date Title
CN106793078A (en) Bluetooth indoor orientation method based on RSSI correction value Dual positionings
CN106792465A (en) A kind of indoor fingerprint map constructing method based on mass-rent fingerprint
Mao et al. Path loss exponent estimation for wireless sensor network localization
CN101860959B (en) Locating method of wireless sensor network based on RSSI (Received Signal Strength Indicator)
CN105301558B (en) A kind of indoor orientation method based on Bluetooth position fingerprint
CN104684081B (en) The Localization Algorithm for Wireless Sensor Networks of anchor node is selected based on distance cluster
CN102395193B (en) Method for locating wireless sensor network (WSN)
CN108566676A (en) A kind of bluetooth localization method
CN104066172B (en) Method for positioning AP in wireless local area network
CN104038901B (en) Indoor positioning method for reducing fingerprint data acquisition workload
CN104066058B (en) A kind of WLAN indoor orientation methods based on double set fingerprint superpositions
CN102890263B (en) Self-adaptive positioning method and system based on resonance gradient method of received signal strength indicator (RSSI)
CN105137390A (en) Indoor positioning method based on AP with adjustable transmitted power
CN104093202B (en) A kind of environment self-adaption without device target localization method
CN106231549B (en) A kind of 60GHz pulse indoor orientation method based on restructing algorithm
CN108717175A (en) Indoor fingerprint positioning method based on region division and sparse support vector regression
CN109089209B (en) Indoor positioning big data analysis system and method based on RFID technology
CN112484625B (en) High-precision displacement measurement method based on UWB channel impulse response
CN106102163A (en) WLAN fingerprint positioning method based on RSS linear correlation Yu secondary weighted centroid algorithm
Xu et al. Self-adapting multi-fingerprints joint indoor positioning algorithm in WLAN based on database of AP ID
CN104581943A (en) Node locating method for distribution type wireless sensing network
CN115776724B (en) Sensor node layout optimization method and system for electromagnetic spectrum map mapping
CN108650706A (en) Sensor node positioning method based on second order Taylors approximation
CN107968987A (en) RSSI weighted mass center localization methods based on definite integral combining environmental parameter
CN111901749A (en) High-precision three-dimensional indoor positioning method based on multi-source fusion

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant