CN106412841A - Indoor location method based on DBSCAN algorithm - Google Patents

Indoor location method based on DBSCAN algorithm Download PDF

Info

Publication number
CN106412841A
CN106412841A CN201611059276.2A CN201611059276A CN106412841A CN 106412841 A CN106412841 A CN 106412841A CN 201611059276 A CN201611059276 A CN 201611059276A CN 106412841 A CN106412841 A CN 106412841A
Authority
CN
China
Prior art keywords
sample point
signal intensity
sample
point
obtaining
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.)
Pending
Application number
CN201611059276.2A
Other languages
Chinese (zh)
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.)
Shenyang Aerospace University
Original Assignee
Shenyang Aerospace 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 Shenyang Aerospace University filed Critical Shenyang Aerospace University
Priority to CN201611059276.2A priority Critical patent/CN106412841A/en
Publication of CN106412841A publication Critical patent/CN106412841A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/22Traffic simulation tools or models
    • H04W16/225Traffic simulation tools or models for indoor or short range network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides an indoor location method based on a DBSCAN algorithm, belonging to the indoor location technology field. The method comprises: installing a signal emitter and a signal collector in a building requiring location, sending the number of the sample points, obtaining the signal intensity sequence of each sample point, performing recoding and numbering of the coordinates and the signal intensity sequence of each sample point, employing the DBSCAN algorithm to build an indoor location model, obtaining the signal intensity sequences of the location points, and obtaining the location coordinates of the points to be located according to the established indoor location model. The indoor location method based on the DBSCAN algorithm employs the unsupervised-learning algorithm to perform modeling and performs classification clustering according to the wireless signal intensity value (RSSI) without artificial grid division to allow the grid division to more correspond with the reality so as to improve the stability and the precision of the indoor location.

Description

Indoor positioning method based on DBSCAN algorithm
Technical Field
The invention belongs to the technical field of indoor positioning, and particularly relates to an indoor positioning method based on a DBSCAN algorithm.
Background
With the development of the internet of things, the demand for indoor positioning is increasing day by day, such as in indoor environments of shopping malls, schools, office buildings, hospitals, hotels, airports, warehouses, and the like, an indoor positioning technology is needed to efficiently manage resources and personnel, and a great amount of demand exists in the VR field to position indoor position information of players, so that how to better meet the increasing indoor positioning demand becomes a hotspot problem in the current positioning technology.
In the existing indoor positioning technology, a fingerprint positioning method based on wireless signal strength (RSSI) is widely applied to various indoor positioning systems, and in an indoor environment, the measured value of the wireless signal strength (RSSI) fluctuates greatly because the propagation of wireless signals is easily influenced by temperature, humidity and personnel movement; in order to improve the stability and the precision of measurement, indoor positioning is realized by a common method of matching a fingerprint database, and common methods of realizing indoor positioning by using the matching fingerprint database include a naive Bayes method, a K-nearest neighbor method (KNN), Bayesian estimation, a neural network method and the like, which are supervised learning methods, and usually require artificial grid division, and the networks are generally divided by bisecting areas.
Disclosure of Invention
In order to solve the defects of the prior art, the invention provides an indoor positioning method based on a DBSCAN algorithm, which comprises the following steps:
step 1, installing a plurality of signal transmitters and a plurality of signal collectors in a building to be positioned;
step 2, setting the number of the sample points, determining the coordinates of each sample point, and obtaining a signal intensity sequence of each sample point, namely the signal intensity from each sample point to each signal transmitter;
step 3, recording and numbering the coordinates and the signal intensity sequence of each sample point;
and 4, establishing an indoor positioning model by using a DBSCAN algorithm according to the numbered coordinates and signal intensity sequence of each sample point, wherein the method comprises the following steps:
step 4.1, setting density selection parameters, namely setting the length of a neighborhood and the number of sample points at least contained in each core object;
step 4.2, setting constraint conditions of the core objects according to the numbered signal intensity sequence of each sample point and the set density selection parameters, determining the core objects of the sample points according to the constraint conditions, and further determining the clustering clusters through the core objects; the constraint conditions of the core object are as follows: whether the number of other sample points contained in the neighborhood of each sample point is larger than or equal to the number of sample points at least contained in each set core object or not;
4.3, obtaining the average signal intensity of each cluster, and obtaining the average position coordinate of each cluster according to the numbered coordinates of each sample point, namely completing the establishment of an indoor positioning model;
step 5, obtaining a signal intensity sequence of the point to be located, and obtaining a locating coordinate of the point to be located according to the established indoor locating model, wherein the method specifically comprises the following steps: and acquiring the Euclidean distance between the to-be-positioned point and the average signal intensity of each cluster, and selecting the average position coordinate of the cluster with the minimum Euclidean distance as the positioning coordinate of the to-be-positioned point.
The constraint condition of the core object in step 4.2 is expressed by the following formula:
|Nθ(xj)|≥Minpts (1)
wherein N isθRepresenting the number of samples in the theta neighborhood of a certain sample point; θ represents the length of the neighborhood; x is the number ofjRepresents the jth sample point, j represents a natural number; minpts represents the number of sample points at least contained in each core object;
wherein,
Nθ(xj)={xi∈D|d(xi,xj)≤θ} (2)
wherein x isiRepresents the ith sample point; i represents a natural number; d represents a data set of the numbered coordinates and signal intensity sequence of each sample point; d (x)i,xj) Denotes xiAnd xjThe euclidean distance between two sample points;
wherein,
wherein n represents the number of wireless signal strengths recorded at each sample point; k represents a natural number; r isikA k-th wireless signal strength value representing an i-th sample point; r isjkRepresenting the kth wireless signal strength value for the jth sample point.
The invention has the advantages that:
the invention provides an indoor positioning method based on a DBSCAN algorithm, which utilizes an unsupervised learning algorithm to carry out modeling, carries out classification clustering according to a wireless signal strength value (RSSI) instead of artificially carrying out meshing, enables the meshing to be more practical and improves the stability and the accuracy of indoor positioning.
Drawings
Fig. 1 is a flow chart of an indoor positioning method based on DBSCAN algorithm according to an embodiment of the present invention;
fig. 2 is a schematic diagram of indoor positioning according to an embodiment of the present invention.
Detailed Description
An embodiment of the present invention will be further described with reference to the accompanying drawings.
In the embodiment of the present invention, a DBSCAN algorithm-based indoor positioning method, a flow chart of which is shown in fig. 1, includes the following steps:
step 1, installing a plurality of signal transmitters and a plurality of signal collectors in a building to be positioned;
step 2, setting the number of sample points, and determining the coordinate (Z) of each sample point1,Z2) And obtaining a signal strength sequence r for each sample point1,r2,···,rnI.e. the signal strength of each sample point to the respective signal emitter;
and 3, recording and numbering the coordinate and signal intensity sequence of each sample point as sample data to obtain a data set D ═ x1,x2,···,xm}; wherein m represents a natural number, i.e. a serial number of sample data;
and 4, establishing an indoor positioning model by using a DBSCAN algorithm according to the numbered coordinates and signal intensity sequence of each sample point, wherein the method comprises the following steps:
step 4.1, setting density selection parameters, namely setting the length theta of a neighborhood and the number Minpts of at least sample points contained in each core object;
step 4.2, setting constraint conditions of the core objects according to the numbered signal intensity sequence of each sample point and the set density selection parameters, determining all the core objects of the sample points according to the constraint conditions, and further determining the clustering cluster through the core objects; the constraint conditions of the core object are as follows: whether the number of other sample points contained in the neighborhood of each sample point is more than or equal to the set number of sample points at least contained in each core object or not is determined by the following specific steps:
step 4.2.1, setting constraint conditions of the core objects according to the numbered signal intensity sequence of each sample point and the set length of the neighborhood, and determining all the core objects in the sample points according to the constraint conditions, wherein the constraint condition formula is as follows:
|Nθ(xj)|≥Minpts (1)
wherein N isθRepresenting the number of samples in the theta neighborhood of a certain sample point; θ represents the length of the neighborhood; x is the number ofjRepresents the jth sample point, j represents a natural number, namely the serial number of the sample point; minpts represents the number of sample points at least contained in each core object;
in the embodiment of the invention, for xj∈ D whose theta neighborhood includes the sum x in the sample set DjIs less than or equal to θ, the formula is:
Nθ(xj)={xi∈D|d(xi,xj)≤θ} (2)
wherein x isiRepresents the ith sample point; i represents a natural number, i.e. the serial number of the sample point; d represents a data set of the numbered coordinates and signal intensity sequence of each sample point;
in the examples of the present invention, d (x)i,xj) Denotes xiAnd xjThe Euclidean distance between two sample points, i.e. confidenceNumber intensity sequence r1,r2,···,rnX in n-dimensional Euclidean spaceiAnd xjThe distance between two points is given by the following formula:
wherein n represents the number of wireless signal strengths recorded at each sample point; k represents a natural number, namely a serial number of the wireless signal strength value; r isikA k-th wireless signal strength value representing an i-th sample point; r isjkA k-th wireless signal strength value representing a j-th sample point;
step 4.2.2, further determining all clustering clusters through the core object;
in the embodiment of the present invention, if xjAt xiIn the field of θ, and xiIs a core object, then called xjFrom xiThe density is direct; for xiAnd xjIf there is a sample sequence { p }1,p2,···,pnIn which p is1=xi,pn=xjAnd each sample in the sample sequence can be reached by the density of the previous sample, then x is calledjFrom xiThe density can be reached; randomly selecting a core object in the sample set D as a 'seed', and starting to find out all sample points with reachable density, namely determining a corresponding cluster; accessing all core objects to obtain all cluster clusters;
4.3, obtaining the average signal intensity of each cluster, and calculating to obtain the average position coordinate of each cluster according to the numbered coordinates of each sample point, namely completing the establishment of an indoor positioning model;
in the embodiment of the present invention, the following formula is adopted to obtain the average signal intensity of each cluster:
wherein h represents the number of sample points in each cluster; r isi1Representing a first wireless signal strength of an ith sample point in each cluster; r isi2Representing a second wireless signal strength of an ith sample point in each cluster; r isinRepresenting the nth wireless signal strength of the ith sample point in each cluster;
in the embodiment of the present invention, the average position coordinate of each cluster is obtained by using the following formula:
wherein Z isi1An abscissa value representing the ith sample point in each cluster; zi2Expressing the longitudinal coordinate value of the ith sample point in each cluster;
step 5, obtaining a signal intensity sequence of the point to be located through on-line measurement and the like, and obtaining a location coordinate of the point to be located according to the established indoor location model, wherein the method specifically comprises the following steps: acquiring the Euclidean distance between the to-be-positioned point and the average signal intensity of each cluster, and selecting the average position coordinate of the cluster with the minimum Euclidean distance as the positioning coordinate of the to-be-positioned point;
in the embodiment of the invention, as shown in fig. 2, the method is simulated on a computer, 14 sample points are set, a point to be positioned is set randomly, and the wireless signal strength sequence received by each sample point is { r }1,r2Dividing the sample points into two clustering clusters of C1 and C2 by using a DBSCAN algorithm, and respectively obtaining a central point of each clustering cluster, namely an average signal intensity point; and acquiring the Euclidean distance between the to-be-positioned point and the central point of each cluster, wherein the Euclidean distance between the to-be-positioned point and the central point of each cluster is the minimum, and the positioned coordinate is the average position coordinate of the cluster C1.

Claims (2)

1. An indoor positioning method based on DBSCAN algorithm is characterized in that: the method comprises the following steps:
step 1, installing a plurality of signal transmitters and a plurality of signal collectors in a building to be positioned;
step 2, setting the number of the sample points, determining the coordinates of each sample point, and obtaining a signal intensity sequence of each sample point, namely the signal intensity from each sample point to each signal transmitter;
step 3, recording and numbering the coordinates and the signal intensity sequence of each sample point;
and 4, establishing an indoor positioning model by using a DBSCAN algorithm according to the numbered coordinates and signal intensity sequence of each sample point, wherein the method comprises the following steps:
step 4.1, setting density selection parameters, namely setting the length of a neighborhood and the number of sample points at least contained in each core object;
step 4.2, setting constraint conditions of the core objects according to the numbered signal intensity sequence of each sample point and the set density selection parameters, determining the core objects of the sample points according to the constraint conditions, and further determining the clustering clusters through the core objects; the constraint conditions of the core object are as follows: whether the number of other sample points contained in the neighborhood of each sample point is larger than or equal to the number of sample points at least contained in each set core object or not;
4.3, obtaining the average signal intensity of each cluster, and obtaining the average position coordinate of each cluster according to the numbered coordinates of each sample point, namely completing the establishment of an indoor positioning model;
step 5, obtaining a signal intensity sequence of the point to be located, and obtaining a locating coordinate of the point to be located according to the established indoor locating model, wherein the method specifically comprises the following steps: and acquiring the Euclidean distance between the to-be-positioned point and the average signal intensity of each cluster, and selecting the average position coordinate of the cluster with the minimum Euclidean distance as the positioning coordinate of the to-be-positioned point.
2. The indoor positioning method based on DBSCAN algorithm as claimed in claim 1, wherein: the constraint condition of the core object in step 4.2 is expressed by the following formula:
|Nθ(xj)|≥Minpts (1)
wherein N isθRepresenting the number of samples in the theta neighborhood of a certain sample point; θ represents the length of the neighborhood; x is the number ofjRepresents the jth sample point, j represents a natural number; minpts represents the number of sample points at least contained in each core object;
wherein,
Nθ(xj)={xi∈D|d(xi,xj)≤θ} (2)
wherein x isiRepresents the ith sample point; i represents a natural number; d represents a data set of the numbered coordinates and signal intensity sequence of each sample point; d (x)i,xj) Denotes xiAnd xjThe euclidean distance between two sample points;
wherein,
d ( x i , x j ) = Σ k = 1 n ( r i k - r j k ) 2 - - - ( 3 )
wherein n represents the number of wireless signal strengths recorded at each sample point; k represents a natural number; r isikA k-th wireless signal strength value representing an i-th sample point; r isjkRepresenting the kth wireless signal strength value for the jth sample point.
CN201611059276.2A 2016-11-23 2016-11-23 Indoor location method based on DBSCAN algorithm Pending CN106412841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611059276.2A CN106412841A (en) 2016-11-23 2016-11-23 Indoor location method based on DBSCAN algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611059276.2A CN106412841A (en) 2016-11-23 2016-11-23 Indoor location method based on DBSCAN algorithm

Publications (1)

Publication Number Publication Date
CN106412841A true CN106412841A (en) 2017-02-15

Family

ID=58082772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611059276.2A Pending CN106412841A (en) 2016-11-23 2016-11-23 Indoor location method based on DBSCAN algorithm

Country Status (1)

Country Link
CN (1) CN106412841A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307308A (en) * 2018-01-25 2018-07-20 北京小米移动软件有限公司 Localization method, device and the storage medium of WLAN devices
CN108574927A (en) * 2017-03-09 2018-09-25 中国移动通信有限公司研究院 A kind of mobile terminal locating method and device
CN110443376A (en) * 2019-08-30 2019-11-12 中国南方电网有限责任公司超高压输电公司贵阳局 State analysis method and its application module based on non-supervisory machine learning algorithm
CN110850369A (en) * 2019-09-23 2020-02-28 广州极汇信息科技有限公司 Indoor positioning method, system, device and storage medium
CN111372186A (en) * 2019-12-17 2020-07-03 广东小天才科技有限公司 Position calculation method under non-uniform positioning scene and terminal equipment
CN111693938A (en) * 2020-06-10 2020-09-22 北京云迹科技有限公司 Floor positioning method and device of robot, robot and readable storage medium
CN113596989A (en) * 2021-08-04 2021-11-02 电子科技大学 Indoor positioning method and system for intelligent workshop

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130024479A1 (en) * 2011-07-20 2013-01-24 Salesforce.Com, Inc. Methods and systems for processing large graphs using density-based processes using map-reduce
CN103200674A (en) * 2013-03-12 2013-07-10 华北电力大学 Mobile object positioning and following method facing toward unattended transformer substation
CN104267439A (en) * 2014-08-20 2015-01-07 哈尔滨工程大学 Unsupervised human detecting and positioning method
CN106131958A (en) * 2016-08-09 2016-11-16 电子科技大学 A kind of based on channel condition information with the indoor Passive Location of support vector machine
CN106125045A (en) * 2016-06-15 2016-11-16 成都信息工程大学 A kind of ADAPTIVE MIXED indoor orientation method based on Wi Fi

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130024479A1 (en) * 2011-07-20 2013-01-24 Salesforce.Com, Inc. Methods and systems for processing large graphs using density-based processes using map-reduce
CN103200674A (en) * 2013-03-12 2013-07-10 华北电力大学 Mobile object positioning and following method facing toward unattended transformer substation
CN104267439A (en) * 2014-08-20 2015-01-07 哈尔滨工程大学 Unsupervised human detecting and positioning method
CN106125045A (en) * 2016-06-15 2016-11-16 成都信息工程大学 A kind of ADAPTIVE MIXED indoor orientation method based on Wi Fi
CN106131958A (en) * 2016-08-09 2016-11-16 电子科技大学 A kind of based on channel condition information with the indoor Passive Location of support vector machine

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574927A (en) * 2017-03-09 2018-09-25 中国移动通信有限公司研究院 A kind of mobile terminal locating method and device
CN108574927B (en) * 2017-03-09 2020-11-10 中国移动通信有限公司研究院 Mobile terminal positioning method and device
CN108307308A (en) * 2018-01-25 2018-07-20 北京小米移动软件有限公司 Localization method, device and the storage medium of WLAN devices
CN108307308B (en) * 2018-01-25 2021-09-14 北京小米移动软件有限公司 Positioning method, device and storage medium for wireless local area network equipment
CN110443376A (en) * 2019-08-30 2019-11-12 中国南方电网有限责任公司超高压输电公司贵阳局 State analysis method and its application module based on non-supervisory machine learning algorithm
CN110443376B (en) * 2019-08-30 2024-05-17 中国南方电网有限责任公司超高压输电公司贵阳局 State analysis method based on non-supervision machine learning algorithm and application module thereof
CN110850369A (en) * 2019-09-23 2020-02-28 广州极汇信息科技有限公司 Indoor positioning method, system, device and storage medium
CN111372186A (en) * 2019-12-17 2020-07-03 广东小天才科技有限公司 Position calculation method under non-uniform positioning scene and terminal equipment
CN111372186B (en) * 2019-12-17 2021-08-24 广东小天才科技有限公司 Position calculation method under non-uniform positioning scene and terminal equipment
CN111693938A (en) * 2020-06-10 2020-09-22 北京云迹科技有限公司 Floor positioning method and device of robot, robot and readable storage medium
CN113596989A (en) * 2021-08-04 2021-11-02 电子科技大学 Indoor positioning method and system for intelligent workshop

Similar Documents

Publication Publication Date Title
CN108989976B (en) Fingerprint positioning method and system in intelligent classroom
CN106412841A (en) Indoor location method based on DBSCAN algorithm
CN109444813B (en) RFID indoor positioning method based on BP and DNN double neural networks
Zhang et al. DeepPositioning: Intelligent fusion of pervasive magnetic field and WiFi fingerprinting for smartphone indoor localization via deep learning
CN109151750B (en) LTE indoor positioning floor distinguishing method based on recurrent neural network model
CN110536257B (en) Indoor positioning method based on depth adaptive network
CN109143161B (en) High-precision indoor positioning method based on mixed fingerprint quality evaluation model
CN104038901A (en) Indoor positioning method for reducing fingerprint data acquisition workload
CN105636201A (en) Indoor positioning method based on sparse signal fingerprint database
CN108882172A (en) A kind of prediction technique of the indoor moving track data based on HMM model
CN106997476A (en) Transmission system performance degradation assessment method of the multi-source without label data learning model building
CN113207089A (en) Position fingerprint positioning method based on CSI and crowdsourcing migration self-calibration updating
CN103945531A (en) Method for WLAN indoor positioning Radio Map updating based on information entropy
CN116047410A (en) UWB indoor pedestrian positioning method based on graph convolution neural network
CN109121081B (en) Indoor positioning method based on position candidate set and EM algorithm
Maaloul et al. Bluetooth beacons based indoor positioning in a shopping malls using machine learning
CN108919182B (en) Target positioning method based on support set and expectation maximization in WIFI environment
Li et al. UAV trajectory optimization for spectrum cartography: A PPO approach
Chen et al. DeepMetricFi: Improving Wi-Fi fingerprinting localization by deep metric learning
CN109541537A (en) A kind of pervasive indoor orientation method based on ranging
CN114710831B (en) RFID label positioning system based on deep learning
CN114679683B (en) Indoor intelligent positioning method based on derived fingerprint migration
CN105792230B (en) Access point and scaling point dispositions method based on RSS fingerprint indoor locating system
CN114051202A (en) Automatic learning method for wireless positioning signal fingerprint sample library
CN111125395B (en) CAD drawing retrieval method and system based on double-branch deep learning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170215