CN104796866A - Indoor positioning method and device - Google Patents

Indoor positioning method and device Download PDF

Info

Publication number
CN104796866A
CN104796866A CN201510226428.2A CN201510226428A CN104796866A CN 104796866 A CN104796866 A CN 104796866A CN 201510226428 A CN201510226428 A CN 201510226428A CN 104796866 A CN104796866 A CN 104796866A
Authority
CN
China
Prior art keywords
particle
user
subsequent time
reposition
probability
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
CN201510226428.2A
Other languages
Chinese (zh)
Other versions
CN104796866B (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.)
Beijing I Join Science And Technology Ltd
Original Assignee
Beijing I Join Science And Technology Ltd
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 Beijing I Join Science And Technology Ltd filed Critical Beijing I Join Science And Technology Ltd
Priority to CN201510226428.2A priority Critical patent/CN104796866B/en
Publication of CN104796866A publication Critical patent/CN104796866A/en
Application granted granted Critical
Publication of CN104796866B publication Critical patent/CN104796866B/en
Expired - Fee Related 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Navigation (AREA)

Abstract

The invention discloses an indoor positioning method and device and relates to the field of positioning. The method includes: selecting a preset amount of particles from the surrounding of a position at which a user is at a current moment; calculating a new position of each particle at a next moment according to walking condition of the user; at the new position of each particle, calculating the probability that the particle serves as the position of the user, and using the probability as a weight of the particle at the next moment; according to coordinates of the new positions of the particles and their weights, subjecting a particle cluster to weighted calculation to obtain its average position, using the average position of the particle cluster as the position of the user at the next moment, resampling all particles according to the weights of the particles at the next moment so as to obtain the preset amount of new particles, and calculating the position of the user at the next moment according to the positions of the new particles so as to acquire the positions of the user at various moments. Positioning precision is improved.

Description

Indoor orientation method and device
Technical field
The present invention relates to positioning field, particularly a kind of indoor orientation method and indoor positioning device.
Background technology
Along with the development of Intelligent mobile equipment, the service application of position-based information is constantly expanded.Along with the location information service of outdoor reaches its maturity, the trend of the oriented development that becomes more meticulous of such service, and to indoor expansion.But be different from outdoor environment, in indoor environment, GNSS (GPS (Global Position System)) signal is significantly decayed when penetrating building, and often has multi-path signal to disturb, very large in indoor error, substantially cannot use.
Current indoor positioning technologies mainly realizes location based on radio-frequency (RF) signal strength, generally has two kinds of localization methods:
Three limit positioning modes, the radio-frequency (RF) signal strength calculating user received according to user and the distance of radio-frequency transmissions end.The position of comprehensive at least three transmitting terminals, and the distance of the user calculated and each transmitting terminal, can estimate the position of user.
Fingerprint location method, needs to select some reference points in the environment in advance, collects the intensity of each radio frequency transmissions in each reference point.User terminal is by comparing the similarity of the signal strength signal intensity of each reference point in the signal strength signal intensity of oneself real-time collecting and database, and similarity is larger, thinks that reference point corresponding to distance is more close, comes estimating user position with this.
Above-mentioned two kinds of localization methods respectively have some shortcomings.Three limit positioning modes are comparatively large by excessive routing influence in indoor environment, and positioning precision is poor.Fingerprint location method needs to scan environment in advance, collect reference point signal data, positioning precision is larger by the impact of the quantity of reference point and data accuracy, and the few or indoor environment change of reference point quantity causes the data of reference point no longer accurately, all can affect positioning precision.
Summary of the invention
In order to solve above-mentioned traditional indoor positioning technologies Problems existing, the present invention proposes a kind of indoor orientation method and indoor positioning device.
First aspect of the present invention provides a kind of indoor orientation method, comprising: the particle choosing predetermined number around user's current time position; The reposition of each particle at subsequent time is calculated according to user's situation of walking; The reposition of each particle calculates the probability of particle as customer location, and using this probability as the weight of this particle at subsequent time; The mean place of population is calculated according to the reposition coordinate of each particle and Weight, and using the mean place of population as the position of user at subsequent time; In the weight of subsequent time, the new particle that resampling obtains predetermined number is carried out to all particles according to each particle, according to the position of the position calculation user of new particle subsequent time again, thus obtain the position in each moment of user.
Second aspect of the present invention provides a kind of indoor positioning device, comprising: particle chooses unit, for choosing the particle of predetermined number around user's current time position; Particle position computing unit, for calculating the reposition of each particle at subsequent time according to user's situation of walking; Granular Weights Computing unit, calculates the probability of particle as customer location on the reposition at each particle, and using this probability as the weight of this particle at subsequent time; Customer location determining unit, for calculating the mean place of population, and using the mean place of population as the position of user at subsequent time according to the reposition coordinate of each particle and Weight; According to the position of the position calculation user of new particle subsequent time again, thus obtain the position in each moment of user; Resampling unit, for carrying out to all particles the new particle that resampling obtains predetermined number in the weight of subsequent time according to each particle.
The present invention uses particle filter to carry out indoor positioning, can provide high position precision service, has stronger adaptability to indoor environment complicated and changeable.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the embodiment that the present invention is based on the indoor orientation method that particle filter technology realizes.
Fig. 2 is the principle schematic of the present invention three limit positioning mode.
Fig. 3 is the process of establishing schematic diagram of fingerprint database of the present invention.
Fig. 4 is the structural representation of the embodiment that the present invention is based on the indoor positioning device that particle filter technology realizes.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
Fig. 1 is the schematic flow sheet of the embodiment that the present invention is based on the indoor orientation method that particle filter technology realizes.As shown in Figure 1, the indoor orientation method of the present embodiment comprises:
S102, chooses the particle of predetermined number around user's current time position.
As a rule, number of particles is more, and positioning precision is higher, but amount of calculation also can be larger, therefore can set number of particles flexibly according to the computing capability of the requirement of positioning precision and equipment.Such as can choose 100 ~ 300 particles.
S104, calculates the reposition of each particle at subsequent time according to the walking situation meter of user between current time and subsequent time.
S106, the reposition of each particle calculates the probability of particle as customer location, and using this probability as the weight of this particle at subsequent time.
S108, calculates the mean place of population according to the reposition coordinate of each particle and Weight, and using the mean place of population as the position of user at subsequent time.Such as formula can be adopted be weighted, wherein for the mean place of population, Z ibe the coordinate figure of i-th particle, w iit is the weight of i-th particle.
S110, carries out to all particles the new particle that resampling obtains predetermined number in the weight of subsequent time according to each particle.Follow-up can according to the position of the position calculation user of new particle subsequent time again.When specific implementation, first can be normalized the weight of each particle, carry out resampling according to the particle weights after normalization, thus obtain the position in each moment of user.
After first time, location performed step S102, above-mentioned steps S104 ~ S110 is repeated in follow-up location, can obtain the position in each moment of user, and new population.
Weight according to particle carries out resampling to the particle chosen, and the particle that after resampling, weight is large can spread in population, and the little particle of weight can reduce or disappear, thus ensures that the customer location calculated approaches to real customer location.
In addition, owing to considering the error of dead reckoning in state transition equation (8), i.e. stochastic variable δ z+1, make the new particle of same predecessor extraction in resampling, also can dissimilate in a following state transitions, ensure that population can not be degenerated to a certain local optimum, ensure the robustness of particle filter.
User's current time position in step S102, also referred to as the initial position of user, can adopt the mode of random selecting to select the particle of predetermined number at the initial position of user.When determining the initial position of user, the position that can estimate according to basic fixed position method is as the initial position of user.
Basic fixed position method can be such as three limit positioning modes, fingerprint location method, terrestrial reference identification positioning mode, localization method that specifically can be different according to the different choice of indoor environment.When indoor environment is comparatively complicated, in such as office building, radiofrequency signal is in non-line-of-sight propagation substantially, can adopt fingerprint location method.When indoor environment is comparatively spacious, block fewer, such as hall, market, underground garage, three limit positioning modes can be adopted.Meanwhile, in order to improve positioning precision, in the environment of radio-frequency transmissions source deficiency (such as garage does not almost have radio-frequency transmissions source), the radio-frequency transmissions source of some can be increased, such as Bluetooth Low Energy emission source.The basic fixed position method that the present invention selects is described respectively below.
Three limit positioning modes:
With reference to figure 2, user terminal can receive the signal of some emission sources, and existing signal attenuation model is as follows:
RSS=A-10n log 10d (1)
Wherein, RSS is receiving end signal intensity; A is the signal strength signal intensity that under reference range, (being generally 1m) receives; N is decay factor, generally 2 ~ 4; D is the distance between receiving terminal and transmitting terminal.
According to above-mentioned formula, when known receiving end signal intensity, the distance of terminal and respective signal emission source can be calculated.The distance of known each signal emitting-source of detecting and receiver is d 1, d 2..., d n, each emission source coordinate is (x 1, y 1), (x 2, y 2) ..., (x n, y n), utilize least square method to get final product the estimated value (x of the coordinate of computing terminal u, y u), computing formula is as follows:
( x 1 - x u ) 2 + ( y 1 - y u ) 2 = d 1 2 · · · ( x n - x u ) 2 + ( y n - y u ) 2 = d n 2 - - - ( 2 )
A front n-1 formula deducts the n-th formula respectively and can obtain:
x 1 2 - x n 2 - 2 ( x 1 - x n ) x u + y 1 2 - y n 2 - 2 ( y 1 - y n ) y u = d 1 2 - d n 2 · · · x n - 1 2 - x n 2 - 2 ( x n - 1 - x n ) x u + y n - 1 2 - y n 2 - 2 ( y n - 1 - y n ) y u = d n - 1 2 - d n 2
If establish:
A = 2 ( x 1 - x n ) 2 ( y 1 - y n ) · · · · · · 2 ( x n - 1 - x n ) 2 ( y n - 1 - y n ) B = x 1 2 - x n 2 + y 1 2 - y n 2 + d n 2 - d 1 2 · · · x n - 1 2 - x n 2 + y n - 1 2 - y n 2 + d n 2 - d n - 1 2 X = x u y u
Then obtain:
AX=B(3)
Conversion above formula obtains formula X=A -1b, result of calculation X are the coordinate of user.In order to calculate the coordinate of user, minimum needs 3 information sources, as shown in Figure 2, can receive the signal of information source 1, information source 2, information source 3, utilize these signals can determine the position at user place at customer location place.
The above-mentioned computational methods being three limit positioning modes.
Fingerprint location method:
Before realizing fingerprint location function, need first to set up fingerprint database.With reference to figure 4, first, map is determined the region realizing location, and in region, plans some sweep circuits, make sweep circuit substantially can cover the region of this location.Scanning staff needs hand-held data gathering equipment, along the route walking of planning, equipment constantly records the signal strength signal intensity of each radiofrequency signal received on the way, according to path, calculate the position often organizing radio-frequency (RF) signal strength Data Collection, thus, can generate positional information and signal strength data database one to one, this database will can be used for location.
In addition, in the present invention, the data acquisition equipment magnetic flux density data that also need continuous record to receive on the way.According to the acceleration transducer in the built-in sensors of data acquisition equipment, can the horizontal direction of judgment device and vertical direction, and the magnetic field data collected is preserved the component of horizontal direction and the component of vertical direction.For magnetic field data, consider that distinct device can apply intrinsic deviation to magnetic field sensor, therefore the present invention also proposes the magnetic field data collected continuously to ask poor, also namely to vertical data and the horizontal data M in the magnetic field of any time hi, M vicalculate D Hi = M Hi - M Hi - 1 D Vi = M Vi - M Vi - 1 , And by D hi, D vistored in database.Because the sampling interval of magnetic field data is less, magnetic field fingerprint by being distributed on route that scanning staff walked more thick and fast, so the D thinking and try to achieve can be similar to hi, D viposition be M hi, M vicorresponding position.
In addition, because the change of environment will likely affect propagation path and the magnetic field intensity of radiofrequency signal, therefore fingerprint database needs regular update, and renewal process can realize with reference to the process of establishing of above-mentioned fingerprint database.
At positioning stage, user terminal receives the signal strength information (RSSI of some information sources at any time 1, RSSI 2..., RSSI n) carry out the calculating of signal space distance with the signal strength information of each reference point in fingerprint database.Signal space is regarded as actual geographic apart from little apart from little.Signal space distance can with reference to following formulae discovery:
d k = Σ i = 1 n ( | RSSI i - RSSI k i | q ) 1 / q - - - ( 4 )
Wherein d kthe signal space distance of a kth reference point and user's current location, the signal strength signal intensity of the information source i that reference point k collects, RSSI iit is the signal strength signal intensity of the information source i that user receives.Q is space factor, during q=1, and d kfor manhatton distance, during q=2, d kfor Euclidean distance.
According to each reference point of calculating and the signal space distance of user's current location, filter out signal space apart from the alternative reference point of minimum several reference points as user's current location, then current according to calculated with weighted average method user position:
Z U = Σ j = 1 m 1 d i Z RPj Σ j = 1 m 1 / d i - - - ( 5 )
Wherein, Z ube the current position of user calculated, m is the number of alternative reference point, represent the coordinate of a jth reference point.
The above-mentioned fingerprint location method being the present invention and adopting.
Terrestrial reference identification positioning mode:
A lot of radio-frequency transmissions source is scattered with in locating area, some signals from emission source can be received from the position at user place, because each emission source is different from the distance between user, as a rule the signal strength signal intensity from different emission source that receives of user is also different, and the position at the emission source place that signal strength signal intensity user received is the strongest is as the position at the current place of user.Terrestrial reference identification positioning mode ratio is easier to realize, and in radio-frequency transmissions source than in the indoor environment of comparatively dense, also can reach certain positioning precision.
In order to improve the reliability that position differentiates further, above-mentioned basic fixed position methods combining can be got up position.Such as, land used identifies the auxiliary three limit positioning modes of other positioning mode or fingerprint location method positions.
In step S104, calculate the reposition of each particle at subsequent time according to user's situation of walking, also namely determine the state transitions of particle, such as, following methods can be adopted to realize:
S104A, determine the step-length of user according to the height of user and cadence, formula is as follows:
L s=H(af+b) (6)
In formula, L sbe the user's step-length estimated, H is the height of user, and f is the cadence of user, a and b is coefficient.Coefficient can pre-set, experimentally or experience obtain.According to the step-length calculated and step number, the displacement of user can be calculated.
Wherein, the height of user can be inputted by user, and the cadence of user and step number can by calculating.The present invention proposes a kind of method according to the acceleration information determination cadence on vertical direction and step number.First, obtain the acceleration information of vertical direction, concrete, the acceleration transducer in user terminal can obtain 3-axis acceleration data, 3-axis acceleration data is projected on gravity direction, can obtain the acceleration information on vertical direction.Secondly, in people's walking process, health can fluctuate thereupon up and down, when terminal and health relative position substantially constant (such as terminal is held in front), the fluctuation of vertical direction is generally because paces produce, substantially not by the impact of other interference, therefore the acceleration information of vertical direction can be used for detecting paces, within the scope of normal cadence, (as 1-2Hz) can be considered to a step at the one-period fluctuated up and down of vertical direction, thus identifies single paces.After being consecutively detected certain step number by said method, Fourier transform is carried out to the acceleration information of this section of vertical direction simultaneously, obtain peak point between 1-2Hz as cadence f.
In addition, although intelligent terminal also can obtain the data of direct acceleration and gyroscope attitude, but due to the restriction of sensor accuracy, direct acceleration information and gyro data are carried out user location and are had very large error, then can ensure certain precision by the method for material calculation of the present invention.
S104B, the angle rotated between two moment of the direction value that the magnetic field sensor held according to the direction value of user's current time, user records at subsequent time and the current time that gyroscope is determined and subsequent time determines the direction value of user's subsequent time.
The direction of travel of user and the top of intelligent terminal are towards identical, and consider terminal in use and not exclusively level, according to the gravity direction calculated, user side is that terminal top is towards projection in the horizontal direction to actual correction.The direction of travel of user can rely on the data of the magnetic field sensor of intelligent terminal inside and gyroscope two transducers to determine.Magnetic field sensor can the direction of magnetic north pole definitely, and because the precision in magnetic field is poor, the present invention adds the sensitivity that gyro data improves direction.Such as adopt the method for Kalman filtering, utilize following formula to determine the direction value of user's subsequent time:
θ k + 1 = θ k + 1 ~ - α α + β ( θ k + 1 ~ - ( θ k + ω k + 1 ) ) - - - ( 7 )
Wherein, θ k+1represent the direction value of user's subsequent time, θ krepresent the direction value of user's current time, represent the direction value that magnetic field sensor records at subsequent time, ω k+1represent the angle rotated between two moment of the current time that gyroscope is determined and subsequent time, α represents the variance of magnetic field sensor, and β represents gyrostatic variance, rule of thumb or can test and determine variance yields.In the present invention, select α >10 β, to ensure that gained angle value determines primarily of magnetic field.
S104C, according to the position of each particle current time, step number that between two moment, user walks and each particle of Vector operation that often the walks reposition at subsequent time.Such as, each particle of following formulae discovery can be utilized at the reposition of subsequent time:
P z + 1 → = P z → + Σ i = 1 n L i → + δ z + 1 → - - - ( 8 )
Wherein, represent the reposition of particle at subsequent time, represent the position of particle current time, represent current time and the vector representation that between subsequent time two moment, user i-th grows step by step, the size of this vector is the step-length determined, the direction of this vector is the direction value of the user's subsequent time determined, for the error of the position according to paces direction and displacement calculating, rule of thumb or can test and obtain.
In step s 106, the reposition of each particle calculates the probability of particle as customer location, and using this probability as the weight of this particle at subsequent time.A kind of exemplary implementation method, the probability density of the signal strength signal intensity of each information source that particle detects at reposition can be calculated, particle to collect this group signal strength signal intensity probability at reposition is calculated according to the probability density of the signal strength signal intensity of each information source and joint probability distribution, and as the weight of this particle at subsequent time.The computational methods of particle weights are described with three limit positioning modes and fingerprint location method below.
In three limit positioning modes, user at the particle weights of any position Z according to the signal strength information (RSSI of current information source 1, RSSI 2..., RSSI n) calculate.
First, owing to having noise jamming in reality, because contemplated that the signal attenuation model of noise is:
RSSI=A-10nlog 10d+X δ(9)
Wherein, X δfor Gaussian distributed average is the noise of zero.For known position Z, d is the distance of Z and information source, and now measured signal intensity can not be a definite value, but in Gaussian Profile, signal strength signal intensity RSSI Arbitrary Information Sources i being detected at position Z can be calculated iprobability density:
f ( RSSI i ) = 1 σ 2 π e - ( RSSI i - A + 10 n log 10 d I ) 2 2 σ 2 - - - ( 10 )
In formula, d ifor the distance of given position Z and i-th information source, σ is variance, and the implication of A and n, see the explanation in formula (1), repeats no more here.
Thus, this position can be collected the probability of one group of signal strength signal intensity according to the formula of joint probability distribution, be the particle weights w at position Z z.
w z=F(RSSI 1,RSSI 2,..,RSSI n)=f(RSSI 1)f(RSSI 2)...f(RSSI n) (11)
In fingerprint location method, owing to have collected radio-frequency (RF) signal strength and Magnetic Field in fingerprint base generation simultaneously.When calculating the weight of particle, magnetic field and radio-frequency (RF) signal strength can be used to judge.
First, according to radio-frequency (RF) signal strength, if given position is not reference point, then need the signal strength signal intensity of first carrying out Interpolate estimation given position according to known reference point.Choose the reference point in given position certain limit, to arbitrary information source k, calculate its signal strength signal intensity mean value in the method for given position linearly interpolation:
RSSI k ‾ = Σ i = 1 m 1 d i RSSI ki Σ i = 1 m 1 d i - - - ( 12 )
Then detect that i-th its signal strength signal intensity of information source is RSSI iprobability be:
f ( RSSI i ) = 1 σ 2 π e - ( RSSI i - RSSI i ‾ ) 2 2 σ 2 - - - ( 13 )
Thus, according to the formula of the probability of each information source and joint probability distribution, the probability a certain position Z collecting one group of signal strength signal intensity can be calculated:
w z=F(RSSI 1,RSSI 2,..,RSSI n)=f(RSSI 1)f(RSSI 2)...f(RSSI n) (14)
Further, following methods can also be adopted to revise the probability that particle collects this group signal strength signal intensity at reposition:
First, it is poor that the continuous magnetic field data between calculating current time and subsequent time is sampled.By the magnetic field in this section of path vertically and the data of horizontal component, (M is set to h1..., M hn) and (M v1..., M vn).For eliminating the intrinsic magnetic field deviation of distinct device, calculate the sampling of continuous magnetic field data poor D Hi = M Hi + 1 - M Hi D Vi = M Vi + 1 - M Vi Obtain (D h1..., D hn-1) and (D v1..., D vn-1).
Secondly, by the poor (D of continuous magnetic field data sampling h1..., D hn-1) and (D v1..., D vn-1) compare with the similarity of each fragment of magnetic field finger print data stream, choose the position Z of the maximum magnetic field finger print data flow section correspondence of similarity mas most probable customer location.
Finally, with this position Z mcentered by, according to most probable customer location and similarity thereof, the probability that particle collects this group signal strength signal intensity at reposition is revised.Following formula such as can be adopted to revise:
W Z = F ( RSSI 1 , RSSI 2 , . . . , RSSI n ) e - δ | Z - Z M | - - - ( 15 )
Wherein δ is the similarity of the most similar pattern obtained according to pattern matching primitives.Similarity is larger, Z mthe contribution of position to granular Weights Computing is larger.
Above-mentioned granular Weights Computing method has merged the probability calculation based on signal strength signal intensity, and the result of the magnetic field data flow graph sample coupling of collecting continuously, and the weight of COMPREHENSIVE CALCULATING particle, the weight of calculating is more accurate.
In the present invention, basic fixed position part can have been calculated by terminal, also can have been calculated by server, and the amount of calculation that the particle filter in hi-Fix service needs is larger, to the computing of handheld terminal and battery power consumption demand larger, therefore can select the signal strength signal intensity of collection and built-in sensors data upload high in the clouds, and calculate beyond the clouds, and then result feedback is returned terminal.
Fig. 4 is the structural representation that the present invention is based on another embodiment of indoor positioning device that particle filter technology realizes.As shown in Figure 4, the indoor positioning device 400 of the present embodiment comprises:
Particle chooses unit 402, for choosing the particle of predetermined number around user's current time position;
Particle position computing unit 404, for calculating the reposition of each particle at subsequent time according to user's situation of walking;
Granular Weights Computing unit 406, calculates the probability of particle as customer location on the reposition at each particle, and using this probability as the weight of this particle at subsequent time;
Customer location determining unit 408, for calculating the mean place of population, and using the mean place of population as the position of user at subsequent time according to the reposition coordinate of each particle and Weight.
Resampling unit 410, for carrying out to all particles the new particle that resampling obtains predetermined number in the weight of subsequent time according to each particle.Then customer location determining unit, for the position according to the position calculation user of new particle subsequent time again, thus obtains the position in each moment of user.
In one embodiment, particle position computing unit 404, specifically for: the step-length determining user according to the height of user and cadence; The angle rotated between two moment of the direction value that the magnetic field sensor held according to the direction value of user's current time, user records at subsequent time and the current time that gyroscope is determined and subsequent time determines the direction value of user's subsequent time; According to the position of each particle current time, step number that between two moment, user walks and each particle of Vector operation that often the walks reposition at subsequent time.
In one embodiment, particle position computing unit 404 is according to the acceleration information determination cadence on vertical direction and step number.
In one embodiment, particle position computing unit 404 utilizes following formula to determine the direction value of user's subsequent time:
θ k + 1 = θ k + 1 ~ - α α + β ( θ k + 1 ~ - ( θ k + ω k + 1 ) )
Wherein, θ k+1represent the direction value of user's subsequent time, θ krepresent the direction value of user's current time, represent the direction value that magnetic field sensor records at subsequent time, ω k+1represent the angle rotated between two moment of the current time that gyroscope is determined and subsequent time, α represents the variance of magnetic field sensor, and β represents gyrostatic variance.
In one embodiment, particle position computing unit 404 utilizes each particle of following formulae discovery at the reposition of subsequent time:
P z + 1 → = P z → + Σ i = 1 n L i → + δ z + 1 →
Wherein, represent the reposition of particle at subsequent time, represent the position of particle current time, represent current time and the vector representation that between subsequent time two moment, user i-th grows step by step, the size of this vector is the step-length determined, the direction of this vector is the direction value of the user's subsequent time determined, for the error of the position according to paces direction and displacement calculating.
In one embodiment, granular Weights Computing unit 406, specifically for: the probability density calculating the signal strength signal intensity of each information source that particle detects at reposition; Particle to collect this group signal strength signal intensity probability at reposition is calculated according to the probability density of the signal strength signal intensity of each information source and joint probability distribution, and as the weight of this particle at subsequent time.
In one embodiment, granular Weights Computing unit 406, also for adopting following methods to revise the probability that particle collects this group signal strength signal intensity at reposition: when there being the fingerprint database previously gathered in the environment applied, the continuous magnetic field data calculated between current time and subsequent time is sampled poor; Continuous magnetic field data sampling difference is compared with the similarity of each fragment of magnetic field finger print data stream, choose the magnetic field finger print data flow section that similarity is maximum, if similarity is greater than a threshold value ψ, then think that the final position of this magnetic field data flow section correspondence is the most probable customer location Z calculated according to magnetic field m; According to Z mmost probable customer location and similarity weights W that particle is calculated with the signal strength signal intensity of radiofrequency signal zrevise:
wherein F (RSSI 1, RSSI 2..., RSSI n) be the joint probability calculated according to signal strength signal intensity, δ is the similarity of the most similar pattern arrived obtained according to pattern matching primitives.Illustrate that magnetic field pattern similarity is larger, Z mparticle weights around position is larger.
User's current time position is also referred to as the initial position of user, therefore indoor positioning device can also comprise: initial user position determination unit, determines user's current time position for utilizing three limit positioning modes, fingerprint location method or terrestrial reference identification positioning mode.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. an indoor orientation method, is characterized in that, comprising:
The particle of predetermined number is chosen around user's current time position;
The reposition of each particle at subsequent time is calculated according to user's situation of walking;
The reposition of each particle calculates the probability of particle as customer location, and using this probability as the weight of this particle at subsequent time;
The mean place of population is calculated according to the reposition coordinate of each particle and Weight, and using the mean place of population as the position of user at subsequent time;
In the weight of subsequent time, the new particle that resampling obtains predetermined number is carried out to all particles according to each particle, according to the position of the position calculation user of new particle subsequent time again, thus obtain the position in each moment of user.
2. the method for claim 1, is characterized in that, describedly calculates each particle according to user's situation of walking and comprises at the reposition of subsequent time:
The step-length of user is determined according to the height of user and cadence;
The angle rotated between two moment of the direction value that the magnetic field sensor held according to the direction value of user's current time, user records at subsequent time and the current time that gyroscope is determined and subsequent time determines the direction value of user's subsequent time;
According to the position of each particle current time, step number that between two moment, user walks and each particle of Vector operation that often the walks reposition at subsequent time.
3. method as claimed in claim 2, is characterized in that, according to the acceleration information determination cadence on vertical direction and step number.
4. method as claimed in claim 2, is characterized in that, utilize following formula to determine the direction value of user's subsequent time:
θ k + 1 = θ k + 1 ~ - α α + β ( θ k + 1 ~ ( θ k + ω k + 1 ) )
Wherein, θ k+1represent the direction value of user's subsequent time, θ krepresent the direction value of user's current time, represent the direction value that magnetic field sensor records at subsequent time, ω k+1represent the angle rotated between two moment of the current time that gyroscope is determined and subsequent time, α represents the variance of magnetic field sensor, and β represents gyrostatic variance.
5. method as claimed in claim 2, is characterized in that, utilize each particle of following formulae discovery at the reposition of subsequent time:
P z + 1 → = P z → + Σ i = 1 n L i → + δ z + 1 →
Wherein, represent the reposition of particle at subsequent time, represent the position of particle current time, represent current time and the vector representation that between subsequent time two moment, user i-th grows step by step, the size of this vector is the step-length determined, the direction of this vector is the direction value of the user's subsequent time determined, for the error of the position according to paces direction and displacement calculating.
6. the method for claim 1, is characterized in that, describedly on the reposition of each particle, calculates the probability of particle as customer location, and is comprised as the weight of this particle at subsequent time by this probability:
The probability of the signal strength signal intensity instantly collected from each information source that estimation particle detects at reposition;
The probability corresponding according to the signal strength signal intensity instantly of each information source and joint probability calculation method, calculate the probability collecting this group signal strength signal intensity at reposition, and as the weight of this particle at subsequent time.
7. method as claimed in claim 6, is characterized in that, adopts following methods to revise the probability that particle collects this group signal strength signal intensity at reposition:
The continuous magnetic field data calculated between current time and subsequent time is sampled poor;
Continuous magnetic field data sampling difference is compared with the similarity of each fragment of magnetic field finger print data stream, chooses the position of the maximum magnetic field finger print data flow section correspondence of similarity as most probable customer location;
According to most probable customer location and similarity thereof, the probability that particle collects this group signal strength signal intensity at reposition is revised.
8. the method for claim 1, is characterized in that, utilizes three limit positioning modes, fingerprint location method or terrestrial reference identification positioning mode to determine user's current time position.
9. an indoor positioning device, is characterized in that, comprising:
Particle chooses unit, for choosing the particle of predetermined number around user's current time position;
Particle position computing unit, for calculating the reposition of each particle at subsequent time according to user's situation of walking;
Granular Weights Computing unit, calculates the probability of particle as customer location on the reposition at each particle, and using this probability as the weight of this particle at subsequent time;
Customer location determining unit, for calculating the mean place of population, and using the mean place of population as the position of user at subsequent time according to the reposition coordinate of each particle and Weight; Also for the position of the position calculation user of new particle that obtains according to resampling unit subsequent time again, thus obtain the position in each moment of user;
Resampling unit, for carrying out to all particles the new particle that resampling obtains predetermined number in the weight of subsequent time according to each particle.
10. device as claimed in claim 9, is characterized in that, described particle position computing unit, specifically for:
The step-length of user is determined according to the height of user and cadence;
The angle rotated between two moment of the direction value that the magnetic field sensor held according to the direction value of user's current time, user records at subsequent time and the current time that gyroscope is determined and subsequent time determines the direction value of user's subsequent time;
According to the position of each particle current time, step number that between two moment, user walks and each particle of Vector operation that often the walks reposition at subsequent time.
11. devices as claimed in claim 10, it is characterized in that, described particle position computing unit is according to the acceleration information determination cadence on vertical direction and step number.
12. devices as claimed in claim 10, it is characterized in that, described particle position computing unit utilizes following formula to determine the direction value of user's subsequent time:
θ k + 1 = θ k + 1 ~ - α α + β ( θ k + 1 ~ ( θ k + ω k + 1 ) )
Wherein, θ k+1represent the direction value of user's subsequent time, θ krepresent the direction value of user's current time, represent the direction value that magnetic field sensor records at subsequent time, ω k+1represent the angle rotated between two moment of the current time that gyroscope is determined and subsequent time, α represents the variance of magnetic field sensor, and β represents gyrostatic variance.
13. devices as claimed in claim 10, is characterized in that, described particle position computing unit utilizes each particle of following formulae discovery at the reposition of subsequent time:
P z + 1 → = P z → + Σ i = 1 n L i → + δ z + 1 →
Wherein, represent the reposition of particle at subsequent time, represent the position of particle current time, represent current time and the vector representation that between subsequent time two moment, user i-th grows step by step, the size of this vector is the step-length determined, the direction of this vector is the direction value of the user's subsequent time determined, for the error of the position according to paces direction and displacement calculating.
14. devices as claimed in claim 9, is characterized in that, described granular Weights Computing unit, specifically for:
The probability of the signal strength signal intensity instantly collected from each information source that estimation particle detects at reposition;
The probability corresponding according to the signal strength signal intensity instantly of each information source and joint probability calculation method, calculate the probability collecting this group signal strength signal intensity at reposition, and as the weight of this particle at subsequent time.
15. devices as claimed in claim 14, is characterized in that, described granular Weights Computing unit, also for adopting following methods to revise the probability that particle collects this group signal strength signal intensity at reposition:
The continuous magnetic field data calculated between current time and subsequent time is sampled poor;
Continuous magnetic field data sampling difference is compared with the similarity of each fragment of magnetic field finger print data stream, chooses the position of the maximum magnetic field finger print data flow section correspondence of similarity as most probable customer location;
According to most probable customer location and similarity thereof, the probability that particle collects this group signal strength signal intensity at reposition is revised.
16. devices as claimed in claim 9, is characterized in that, also comprise: initial user position determination unit, determine user's current time position for utilizing three limit positioning modes, fingerprint location method or terrestrial reference identification positioning mode.
CN201510226428.2A 2015-05-06 2015-05-06 Indoor orientation method and device Expired - Fee Related CN104796866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510226428.2A CN104796866B (en) 2015-05-06 2015-05-06 Indoor orientation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510226428.2A CN104796866B (en) 2015-05-06 2015-05-06 Indoor orientation method and device

Publications (2)

Publication Number Publication Date
CN104796866A true CN104796866A (en) 2015-07-22
CN104796866B CN104796866B (en) 2018-09-11

Family

ID=53561298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510226428.2A Expired - Fee Related CN104796866B (en) 2015-05-06 2015-05-06 Indoor orientation method and device

Country Status (1)

Country Link
CN (1) CN104796866B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447623A (en) * 2015-11-12 2016-03-30 北京林业大学 Tree obstacle hidden trouble automatic pre-warning system for overhead transmission line and pre-warning method for above system
CN105783924A (en) * 2016-01-29 2016-07-20 广东工业大学 Indoor positioning method based on magnetic field intensity
CN106123897A (en) * 2016-06-14 2016-11-16 中山大学 Indoor fusion and positioning method based on multiple features
CN106289257A (en) * 2016-07-27 2017-01-04 无锡知谷网络科技有限公司 Indoor orientation method and alignment system
CN106289242A (en) * 2016-07-18 2017-01-04 北京方位捷讯科技有限公司 Particle filtering method and device based on earth magnetism
CN106341887A (en) * 2016-11-08 2017-01-18 北京创想智控科技有限公司 Positioning method and device of indoor robot
CN106358293A (en) * 2016-11-08 2017-01-25 北京创想智控科技有限公司 Indoor robot positioning method and device
CN106441302A (en) * 2016-09-23 2017-02-22 上海交通大学 Indoor localization method for large open type area
CN106454711A (en) * 2016-11-08 2017-02-22 北京创想智控科技有限公司 Indoor robot positioning method and device
CN106643724A (en) * 2016-11-16 2017-05-10 浙江工业大学 Method for particle filter indoor positioning based on map information and position self-adaption correction
WO2017076004A1 (en) * 2015-11-06 2017-05-11 百度在线网络技术(北京)有限公司 Method and apparatus for predicting user position in preset time point
CN107270889A (en) * 2017-06-08 2017-10-20 东南大学 A kind of indoor orientation method and alignment system based on earth magnetism collection of illustrative plates
CN108322888A (en) * 2018-01-30 2018-07-24 重庆大学 A kind of indoor orientation method of mobile terminal
CN108801267A (en) * 2018-06-22 2018-11-13 西安电子科技大学 It is a kind of to merge the indoor without anchor point localization method of multisensor
CN110366109A (en) * 2019-08-01 2019-10-22 厦门大学 A kind of localization method and system for indoor objects
CN110493731A (en) * 2019-09-09 2019-11-22 腾讯科技(深圳)有限公司 Motion track acquisition methods, device, storage medium and equipment
CN111024431A (en) * 2019-12-26 2020-04-17 江西交通职业技术学院 Bridge rapid detection vehicle based on multi-sensor unmanned driving
CN111148023A (en) * 2019-12-30 2020-05-12 广东博智林机器人有限公司 Positioning method and device based on multiple UWB (ultra wide band) tags
CN111174777A (en) * 2018-11-09 2020-05-19 阿里巴巴集团控股有限公司 Positioning method and device and electronic equipment
CN111352066A (en) * 2020-03-27 2020-06-30 西安震有信通科技有限公司 Particle filter-based positioning method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103175529A (en) * 2013-03-01 2013-06-26 上海美迪索科电子科技有限公司 Pedestrian inertial positioning system based on indoor magnetic field feature assistance
US8504292B1 (en) * 2011-05-05 2013-08-06 Bentley Systems, Incorporated Indoor localization based on ultrasound sensors
CN103379619A (en) * 2012-04-16 2013-10-30 中兴通讯股份有限公司 Method and system for positioning
CN103983266A (en) * 2014-05-28 2014-08-13 北京天地方元科技有限公司 Indoor locating method based on geomagnetic information and indoor locating system based on geomagnetic information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8504292B1 (en) * 2011-05-05 2013-08-06 Bentley Systems, Incorporated Indoor localization based on ultrasound sensors
CN103379619A (en) * 2012-04-16 2013-10-30 中兴通讯股份有限公司 Method and system for positioning
CN103175529A (en) * 2013-03-01 2013-06-26 上海美迪索科电子科技有限公司 Pedestrian inertial positioning system based on indoor magnetic field feature assistance
CN103983266A (en) * 2014-05-28 2014-08-13 北京天地方元科技有限公司 Indoor locating method based on geomagnetic information and indoor locating system based on geomagnetic information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YUEMING SONG, HONGYI YU: ""A RSS Based Indoor Tracking Algorithm via Particle Filter and Probability Distribution"", 《WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING, 2008. WICOM "08. 4TH INTERNATIONAL CONFERENCE》 *

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017076004A1 (en) * 2015-11-06 2017-05-11 百度在线网络技术(北京)有限公司 Method and apparatus for predicting user position in preset time point
CN105447623A (en) * 2015-11-12 2016-03-30 北京林业大学 Tree obstacle hidden trouble automatic pre-warning system for overhead transmission line and pre-warning method for above system
CN105783924A (en) * 2016-01-29 2016-07-20 广东工业大学 Indoor positioning method based on magnetic field intensity
CN106123897A (en) * 2016-06-14 2016-11-16 中山大学 Indoor fusion and positioning method based on multiple features
CN106123897B (en) * 2016-06-14 2019-05-03 中山大学 Indoor fusion and positioning method based on multiple features
CN106289242A (en) * 2016-07-18 2017-01-04 北京方位捷讯科技有限公司 Particle filtering method and device based on earth magnetism
CN106289257A (en) * 2016-07-27 2017-01-04 无锡知谷网络科技有限公司 Indoor orientation method and alignment system
CN106441302B (en) * 2016-09-23 2020-06-12 上海交通大学 Indoor positioning method in large-scale open area
CN106441302A (en) * 2016-09-23 2017-02-22 上海交通大学 Indoor localization method for large open type area
CN106358293A (en) * 2016-11-08 2017-01-25 北京创想智控科技有限公司 Indoor robot positioning method and device
CN106454711A (en) * 2016-11-08 2017-02-22 北京创想智控科技有限公司 Indoor robot positioning method and device
CN106341887A (en) * 2016-11-08 2017-01-18 北京创想智控科技有限公司 Positioning method and device of indoor robot
CN106643724A (en) * 2016-11-16 2017-05-10 浙江工业大学 Method for particle filter indoor positioning based on map information and position self-adaption correction
CN106643724B (en) * 2016-11-16 2019-07-05 浙江工业大学 Particle filter indoor orientation method based on cartographic information and position adaptive correction
CN107270889A (en) * 2017-06-08 2017-10-20 东南大学 A kind of indoor orientation method and alignment system based on earth magnetism collection of illustrative plates
CN108322888A (en) * 2018-01-30 2018-07-24 重庆大学 A kind of indoor orientation method of mobile terminal
CN108322888B (en) * 2018-01-30 2020-05-12 重庆大学 Indoor positioning method of mobile terminal
CN108801267A (en) * 2018-06-22 2018-11-13 西安电子科技大学 It is a kind of to merge the indoor without anchor point localization method of multisensor
CN108801267B (en) * 2018-06-22 2020-09-15 西安电子科技大学 Indoor anchor-free positioning method integrating multiple sensors
CN111174777A (en) * 2018-11-09 2020-05-19 阿里巴巴集团控股有限公司 Positioning method and device and electronic equipment
CN110366109A (en) * 2019-08-01 2019-10-22 厦门大学 A kind of localization method and system for indoor objects
CN110493731A (en) * 2019-09-09 2019-11-22 腾讯科技(深圳)有限公司 Motion track acquisition methods, device, storage medium and equipment
CN111024431A (en) * 2019-12-26 2020-04-17 江西交通职业技术学院 Bridge rapid detection vehicle based on multi-sensor unmanned driving
CN111024431B (en) * 2019-12-26 2022-03-11 江西交通职业技术学院 Bridge rapid detection vehicle based on multi-sensor unmanned driving
CN111148023A (en) * 2019-12-30 2020-05-12 广东博智林机器人有限公司 Positioning method and device based on multiple UWB (ultra wide band) tags
CN111352066A (en) * 2020-03-27 2020-06-30 西安震有信通科技有限公司 Particle filter-based positioning method and device, computer equipment and storage medium
CN111352066B (en) * 2020-03-27 2022-02-22 西安震有信通科技有限公司 Particle filter-based positioning method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104796866B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN104796866A (en) Indoor positioning method and device
CN103402258B (en) Wi-Fi (Wireless Fidelity)-based indoor positioning system and method
CN103363988B (en) A kind of method utilizing intelligent mobile phone sensor to realize the navigation of earth magnetism indoor positioning
CN105588566B (en) A kind of indoor locating system merged based on bluetooth with MEMS and method
CN101868023B (en) Method, device and system for positioning terminal
CN102088769B (en) Wireless location method for directly estimating and eliminating non-line-of-sight (NLOS) error
CN105072580A (en) WIFI (Wireless Fidelity) fingerprint map automatic acquisition system and method based on sweeping robot
US8130103B2 (en) Method of reducing power consumption of a radio badge in a boundary detection localization system
CN103995250B (en) Radio-frequency (RF) tag trajectory track method
CN111698774B (en) Indoor positioning method and device based on multi-source information fusion
CN103925923A (en) Geomagnetic indoor positioning system based on self-adaptive particle filter algorithm
CN102692179A (en) Positioning device, positioning method, program, and recording medium
CN105451330A (en) Mobile terminal location method on the basis of electromagnetic signals and mobile terminal location device on the basis of electromagnetic signals
KR101473653B1 (en) Pedestrian Dead-Reckoning apparatus based on pedestrian motion recognition and method thereof
CN105004340A (en) Inertial navigation-fingerprint location-combined positioning error correction method
CN106248107A (en) A kind of flight path based on indoor earth magnetism path matching infers calibration steps and device
CN104507097A (en) Semi-supervised training method based on WiFi (wireless fidelity) position fingerprints
CN107071902A (en) One kind is based on mixed filtering and Power Exponent Mapping WIFI indoor orientation methods
CN108801267B (en) Indoor anchor-free positioning method integrating multiple sensors
CN102288938A (en) Effective three-dimensional positioner for wireless sensor network node
CN101801084A (en) Method and device for positioning and tracking equipment in wireless local land area
Bolat et al. A hybrid indoor positioning solution based on Wi-Fi, magnetic field, and inertial navigation
WO2020117699A1 (en) Autonomous mower navigation system and method
Zhuang et al. Autonomous WLAN heading and position for smartphones
Piras et al. Indoor positioning using low cost GPS receivers: Tests and statistical analyses

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180911

Termination date: 20200506

CF01 Termination of patent right due to non-payment of annual fee