CN107289935B - Indoor navigation algorithm suitable for wearable equipment - Google Patents

Indoor navigation algorithm suitable for wearable equipment Download PDF

Info

Publication number
CN107289935B
CN107289935B CN201610206367.8A CN201610206367A CN107289935B CN 107289935 B CN107289935 B CN 107289935B CN 201610206367 A CN201610206367 A CN 201610206367A CN 107289935 B CN107289935 B CN 107289935B
Authority
CN
China
Prior art keywords
calculated
beat
sin
navigation
axis
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.)
Active
Application number
CN201610206367.8A
Other languages
Chinese (zh)
Other versions
CN107289935A (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.)
China Aviation Industry Institute No 618
Original Assignee
China Aviation Industry Institute No 618
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 China Aviation Industry Institute No 618 filed Critical China Aviation Industry Institute No 618
Priority to CN201610206367.8A priority Critical patent/CN107289935B/en
Publication of CN107289935A publication Critical patent/CN107289935A/en
Application granted granted Critical
Publication of CN107289935B publication Critical patent/CN107289935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • G01C21/18Stabilised platforms, e.g. by gyroscope
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Other Investigation Or Analysis Of Materials By Electrical Means (AREA)
  • Navigation (AREA)

Abstract

The invention provides an indoor navigation algorithm suitable for wearable equipment, which adopts a method of simultaneously constructing a WI-Fi fingerprint database and navigating and realizes indoor seamless navigation capability based on sensors such as an inertial sensitive component, a barometer and a magnetometer. The navigation algorithm integrates inertial sensor data, WI-Fi wireless network card data, barometer data and magnetometer data in a data fusion mode, and performs navigation calculation so as to output a navigation result. Meanwhile, a fingerprint database is generated in real time through nearby WI-Fi signal information collected by the wireless network card so as to assist navigation. The invention is an indoor navigation algorithm based on inertial devices and WI-Fi fingerprint identification, is based on low-cost MEMS inertial sensors, barometers, magnetometers and other devices, assists with a WI-Fi positioning algorithm, can rapidly generate and update a WI-Fi fingerprint database to assist in dead reckoning, further greatly improves indoor navigation capacity, is applicable to wearable equipment, and can effectively complete indoor navigation positioning.

Description

Indoor navigation algorithm suitable for wearable equipment
Technical Field
The invention belongs to the integrated navigation technology, and particularly relates to an indoor navigation positioning algorithm for assisting navigation by simultaneously constructing a WI-Fi (wireless fidelity) fingerprint database based on inertial device navigation.
Background
In an indoor environment, due to the great attenuation of satellite signals, a method based on satellite positioning cannot be implemented, and the problem of navigation positioning of the last kilometer is solved. Due to the fact that the demand of people for wireless internet surfing is increasing in recent years, more and more WI-Fi wireless access points are erected in buildings to meet the demand of people for seamless internet access, and further space is provided for indoor navigation technology based on WI-Fi signals. However, the traditional positioning technology based on Wi-FI position fingerprint information has large error and is easy to be interfered, and the efficiency of establishing and updating the fingerprint database is low. Meanwhile, the performance of the fingerprint database is greatly influenced by the movement or increase of the Wi-FI access points, so that the navigation effect is influenced.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: an indoor navigation solution suitable for a wearable device is provided.
The technical scheme of the invention is as follows: the solution idea mainly comprises three steps: (1) indoor navigation is realized through a multi-sensor fusion technology taking an inertial sensor as a main technology, a pace detection technology, a zero correction technology and the like; (2) simultaneously constructing and updating a WI-Fi fingerprint database in real time; (3) navigation is assisted through a positioning result of WI-Fi fingerprint identification, and navigation precision is improved. The device used by the scheme can be packaged into a portable module, and the use requirement of wearable equipment is met. An indoor navigation algorithm suitable for wearable equipment comprises the following specific scheme: the method comprises the following steps:
an indoor navigation algorithm suitable for a wearable device, characterized by the steps of:
step 1: initialization phase
In the product initialization stage, an indoor map needs to be imported and an initial position needs to be designated, and a user selects a current indoor map based on an indoor map set built in advance and manually designates the current position; if the map is not available, the map can be downloaded through a network database;
step 2: multi-sensor based dead reckoning
a) Preprocessing gyroscope and counting data
Marking the three-axis gyro signals as NX, NY and NZ respectively, performing low-pass filtering on the three-axis gyro signals to filter out external high-frequency noise,
GX=B0·NX+B1·NX_1+B2·NX_2+B3·NX_3+B4·NX_4+B5·NX_5+...B6·NX_6+B7·NX_7-(A1·GX_1+A2·GX_2+A3·GX_3+A4·GX_4+...A5·GX_5+A6·GX_6+A7·GX_7)
GY=B0·NY+B1·NY_1+B2·NY_2+B3·NY_3+B4·NY_4+B5·NY_5+...B6·NY_6+B7·NY_7-(A1·GY_1+A2·GY_2+A3·GY_3+A4·GY_4+...A5·GY_5+A6·GY_6+A7·GY_7)
GZ=B0·NZ+B1·NZ_1+B2·NZ_2+B3·NZ_3+B4·NZ_4+B5·NZ_5+...B6·NZ_6+B7·NZ_7-(A1·GZ_1+A2·GZ_2+A3·GZ_3+A4·GZ_4+...A5·GZ_5+A6·GZ_6+A7·GZ_7)
wherein, the data collected at each sampling moment is NX, the output value after filtering is GX,
NX _1 is a last sampling value, NX _2 is a last sampling value, and the like;
GX _1 is the last filtered value, GX _2 is the last filtered value, and the other steps are similar;
A1-A7 and B0-B7 are filter parameters which need to be properly selected according to a gyroscope addition signal;
the accelerometer obtains gyroscope outputs GX, GY and GZ and accelerometer outputs AX, AY and AZ in the same way;
b) magnetometer determines heading
Only positioning is carried out when the device is static, the magnetic heading is taken as the initial heading at the initial moment when the device is moved, and the initial alignment is not carried out;
heading angle psi ═ magnetometer heading angle
Pitch angle θ is 0
Roll angle γ is 0
c) Strapdown inertial solution
Computing
Figure GDA0003129571830000031
C11=cos(γ)·cos(ψ)+sin(γ)·sin(θ)·sin(ψ)
C12=cos(θ)·sin(ψ)
C13=sin(γ)·cos(ψ)-cos(γ)·sin(θ)·sin(ψ)
C21=-cos(γ)·sin(ψ)+sin(γ)·sin(θ)·cos(ψ)
C22=cos(θ)·cos(ψ)
C23=-sin(γ)·sin(ψ)-cos(γ)·sin(θ)·cos(ψ)
C31=-cosθ·sinγ
C32=sinθ
C33=cosθ·cosγ
Computing
Figure GDA0003129571830000032
Figure GDA0003129571830000033
Figure GDA0003129571830000034
Figure GDA0003129571830000035
Figure GDA0003129571830000036
Is the angle increment, delta phi, measured by an X-axis inertial device under the b systemxIs the zero error of the X-axis gyroscope,
Figure GDA0003129571830000037
is the angular increment of the x-axis gyroscope b relative to the n system;
Figure GDA0003129571830000038
the definition is similar.
d) Attitude angle zero speed correction using gyro data
Platform declination correction
Figure GDA0003129571830000041
φU、φN、φE
Figure GDA0003129571830000042
Respectively, the platform deflection angles in the sky direction, the north direction and the east direction, and the attitude matrix;
e) zero-speed correction of position by using count-up data
L=L(-)-δL
λ=λ(-)-δλ
L(-)=L
λ(-)=λ
L and lambda are respectively latitude and longitude;
note: the process is a cycle, the longitude and latitude calculated by the first beat is recorded as lambda (-), L (-), the longitude and latitude calculated by the second beat is recorded as lambda (-), L (-), and the like when the second beat is calculated;
speed correction
VE=VE(-)-δVE
VN=VN(-)-δVN
VE(-)=VE
VN(-)=VN
VE、VNEast speed and north speed respectively;
note: here, the loop is executed, and in the second beat calculation, the northeast speed calculated in the first beat is denoted as VE(-)、VN(-) when the third beat is calculated, the longitude and latitude calculated by the second beat is recorded as VE(-)、VN(-), and so on;
f) damping height of barometer
VU=VU(-)+K1(hb-h)
VU(-)=VU
VU、hbH is the speed in the direction of the day, the height of the organism system and the actual height respectively;
note: here, the loop is performed, and when the second beat is calculated, the daily speed calculated in the first beat is recorded as VU(-) when the third beat is calculated, the longitude and latitude calculated by the second beat is recorded as VU(-), and so on;
wherein: k1=0.0005
If the height damping calculation condition is met, damping calculation is carried out according to the following formula:
h=h(-)+K2·(hb-h(-))
h(-)=h
note: the circulation is performed, when the second beat is calculated, the actual height calculated by the first beat is recorded as h (-), when the third beat is calculated, the longitude and latitude calculated by the second beat is recorded as h (-), and so on;
wherein: k2=0.01
Judging the pace speed and carrying out basic track calculation based on the six steps;
and step 3: WI-Fi fingerprint database generation and update
In this stage, the WI-Fi network card receives Beacon signals (Beacon Signal) from nearby wireless Access Points (APs) in real time, wherein the Beacon signals contain MAC address information and Signal strength (RSSI) information of each AP; the WI-Fi fingerprint database contains a set of data intensity values which can receive beacon signals sent by nearby APs at any point in the indoor environment;
assuming that each location can be represented by an RSSI vector from a different wireless access point, then a location a can be represented as:
Figure GDA0003129571830000051
Figure GDA0003129571830000052
the vector of RSS values representing the location, and the RSS1To RSSnRepresenting the strength of signals received from different wireless access points at random location a; the position information and the signal strength information of each sampling point are contained in a complete Wi-Fi fingerprint database; thus, the Wi-Fi fingerprint database for a region can be written as:
Figure GDA0003129571830000061
wherein xiAnd yiRespectively representing the coordinate positions of the sampling points, wherein m represents the number of the sampling points; in the scheme, a mode of quickly generating and updating the database in real time is used, namely a machine learning method based on a Gaussian process is adopted; assume that each sample point can be written as:
Loca={(xi,yi)|i=1,2,...,n}
where x represents the input vector (i.e., coordinates) and y represents the measurement; assume that the data is taken from a noisy process:
yi=f(xi)+ε
where the error ε is obeyed to mean zero and the variance is
Figure GDA0003129571830000062
(ii) a gaussian distribution of; by means of the optimized covariance function (kernel) k (x)i,xj) We can derive f (x)i) And f (x)j) The relationship between; using the covariance function, f (x)i) Function value representing the xi point, similarly, f (x)j) Function value representing the xj point:
Figure GDA0003129571830000063
realizing Gaussian process regression; by the method, the database under the whole environment can be quickly generated through limited sampling points; the refreshing time is 1 second/time, and the WI-Fi fingerprint database is updated once every refreshing;
and 4, step 4: multi-information source fusion navigation algorithm
a) According to the wifi signal comparison data fused in the step 3, the indoor position is defined, inertial navigation damping barometer data and wifi signals are fused, and the floor is defined
Δφx=(C11·ωe'+C21·ωn'+C31·ωu')·Ts
Δφy=(C12·ωe'+C22·ωn'+C32·ωu')·Ts
Δφz=(C13·ωe'+C23·ωn'+C33·ωu')·Ts
Wherein:
du1=(ω87)×(VN-K1·VrN)-ω7·u1
du2=(ω56)×(VN-K1·VrN+u1)-ω6·u2
du3=(ω43)×(VE-K1·VrE)-ω3·u3
du4=(ω12)×(VE-K1·VrE+u3)-ω2·u4
du5=C×B×(VN-K1·VrN+u1+u2)-ω9·u5
du6=ω10·u510·u6
u1=u1(-)+du1×TS
u2=u2(-)+du2×TS
u3=u3(-)+du3×TS
u4=u4(-)+du4×TS
u5=u5(-)+du5×TS
u6=u6(-)+du6×TS
u1(-)=u1
u2(-)=u2
u3(-)=u3
u4(-)=u4
u5(-)=u5
u6(-)=u6
note: the process is a cycle, when the second beat is calculated, the actual height calculated by the first beat is recorded as u (-), when the third beat is calculated, the longitude and latitude calculated by the second beat is recorded as u (-), and so on;
Figure GDA0003129571830000081
Figure GDA0003129571830000082
Figure GDA0003129571830000083
D=sinL
E=-cosL
RE=R·[1+e·sin2(L)]
RN=R·[1-2e+3e·sin2(L)]
Figure GDA0003129571830000084
u1、u2、u3、u4、u5、u6initial values are all 0
Figure GDA0003129571830000085
Figure GDA0003129571830000086
R、RE、RNThe average radius of the earth, the radius of the earth's major semi-axis and the radius of the earth's minor semi-axis
VrE、VrNEast and north speeds resolved in real time for measuring speed (e.g. odometer, etc.), respectively
Ts is the sampling time, ωe',ωn',ωu' is the east, north, and sky angular velocity of the damping loop; u. of1,u2,u3,u4,u5,u6The method is a formula intermediate variable without dimension, and can be calculated by giving an initial value and an increment;
ω1、ω2、ω3、ω4、ω5、ω6、ω7、ω8、ω9、ω10、A,B,C,D,E,K1selecting according to an actual system for calculating coefficients without dimension;
b) design of extended Kalman algorithm to realize indoor navigation positioning
Figure GDA0003129571830000087
Figure GDA0003129571830000091
δ L and δ λ are latitude error and longitude error, respectively;
δVE、δVNeast and north velocity errors, respectively;
φE、φN、φUrespectively an east platform deflection angle, a north platform deflection angle and a sky platform deflection angle;
δDX、δDY、δDZ
Figure GDA0003129571830000092
respectively representing angular velocity increment in the X-axis direction, angular velocity increment in the Y-axis direction, angular velocity increment in the Z-axis direction, velocity increment in the X-axis direction, velocity increment in the Y-axis direction and velocity increment in the Z-axis direction;
δα1、δα2、δα3、δα4δ ε represents the 5 declination angles between the inertial devices measuring the angular and velocity increments, respectively;
δKAY、δKAZscale coefficient errors of the inertial device in the Y direction and the Z direction respectively representing the measured acceleration;
Figure GDA0003129571830000093
XK/K-1=φK/K-1·XK-1
Figure GDA0003129571830000094
PK-1=PK/K-1
XK-1=XK/K-1
Figure GDA0003129571830000095
XK=XK/K-1+KK·(ZK-HK·XK/K-1)
PK=(I-KK·HK)·PK/K-1
PK-1=PK
φK/K-1representing a one-step estimate of phi in the Kalman Filter estimation, TFFor filtering time, QK-1As noise at the last moment, XK/K-1For one-step prediction of X, PK/K-1For one-step prediction of P, XKIs an estimate of time k, PKTaking the noise value at the moment K, F as a matrix and P as a designed initial value of a noise error matrix; wherein I is a unit array; zKMeasured at time k, HKFor the measurement array, Q is the system noise variance array, KKIs the filter gain;
Figure GDA0003129571830000101
represents HKThe transpose of (a) is performed,
Figure GDA0003129571830000102
represents phiK/K-1The transposing of (1).
When the zero speed correction condition is satisfied:
δL=X′K (1)
δλ=X′K (2)
Figure GDA0003129571830000103
Figure GDA0003129571830000104
X′K(1) is XKTransposed first data, X'K(2) Is XKTransposed second data;
Figure GDA0003129571830000105
is XKThe 21 st data averaged over one period,
Figure GDA0003129571830000106
is XKData number 22 averaged over one period;
otherwise:
δL=0
δλ=0
δDN、δDUkeeping the same;
measurement matrix
Figure GDA0003129571830000107
Wherein: f. ofE、fN、fURespectively representing the specific forces of the east direction, the north direction and the sky direction, namely the calculated value of the acceleration,
Figure GDA0003129571830000108
respectively represents the average value of the specific forces of the X axis, the Y axis and the Z axis of the linear system in one period, namely the average value of the components of the acceleration in three directions of the linear system, omegaN、ωURespectively representing the angular velocities in the north direction and the sky direction, namely the calculated angular velocity,
Figure GDA0003129571830000109
respectively representing the average of the angular velocities of the X-axis, Y-axis and Z-axis of the machine system in one cycle, i.e. the angular velocity is a component of the machine system in three directionsMean value of
Figure GDA0003129571830000111
Figure GDA0003129571830000112
Figure GDA0003129571830000113
Measurement matrix during zero-speed calibration:
Figure GDA0003129571830000114
P=diag(6e-4,6e-4,1,1,6e-6,6e-6,3.0e-4,1e-12,1e-12,1e-12,2.5e-5,2.5e-5,2.5e-5,0,0,0,0,0,0,0,0,0)
Q=diag(0,0,5.e-5,5.e-5,5.e-13,5.e-13,5.e-13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)R=diag(2.6e-10,2.6e-10)
when the wifi access point is replaced in the dead reckoning process, P is required to be adjusted1,1、P2,2Resetting is carried out:
P1,1=6e-4
P2,2=6e-4
zero-speed correction of the filter parameters
Q=diag(0,0,0,0,5.e-13,5.e-13,5.e-13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
R=diag(2.6e-10,2.6e-10,9,9)
And 5: navigation result display
The navigation result is transmitted to the terminal display through the wireless network to be displayed, so that the task of indoor navigation is completed.
And performing inertial navigation according to the multi-sensitive component, and performing real-time comparison and correction by using wifi signals to realize indoor navigation.
The invention has the beneficial effects that: the indoor navigation algorithm based on the inertial device and the WI-Fi fingerprint identification is based on low-cost MEMS inertial sensors, barometers, magnetometers and other devices, and is assisted by a WI-Fi positioning algorithm, so that the WI-Fi fingerprint database can be rapidly generated and updated to assist in dead reckoning, and further indoor navigation capacity is greatly improved. This scheme is applicable to on the wearable equipment, can effectual completion indoor navigation location's work.
Drawings
FIG. 1 is a process flow diagram of the present invention.
Detailed Description
As shown in fig. 1, the technical solution of the present invention is: an indoor navigation algorithm suitable for a wearable device is characterized by comprising the following steps:
1.1) initializing map information and location information
1.2) inertial navigation algorithm based on MEMS gyroscope
1.3) analyzing the gyro accelerometer signal, finding out the calculation point of the pace speed, and carrying out the pace speed calculation
1.4) zero correction by speed when stationary
1.5) real-time correction in the presence of GPS signals
1.6) generating and updating the WI-Fi fingerprint database in real time by using a machine learning algorithm based on Gaussian process regression
1.7) WI-Fi fingerprinting technology positioning
1.8) adopting an extended Kalman filter to perform fusion calculation on the information source so as to calculate a navigation result
1.9) navigation result display
The result shows that the indoor navigation accuracy with the deviation of 1 meter (RMS) can be realized by adopting the method based on the indoor navigation algorithm of the wearable device.
Those skilled in the art will appreciate that the invention may be practiced without these specific details.
Finally, it should be noted that: the above embodiments are merely illustrative and not restrictive of the technical solutions of the present invention, and all modifications or partial replacements that do not depart from the spirit and scope of the present invention should be embraced in the claims of the present invention.

Claims (2)

1. An indoor navigation algorithm suitable for a wearable device, characterized by the steps of:
step 1: initialization phase
In the product initialization stage, an indoor map needs to be imported and an initial position needs to be designated, and a user selects a current indoor map based on an indoor map set built in advance and manually designates the current position; if the map is not available, the map can be downloaded through a network database;
step 2: multi-sensor based dead reckoning
a) Preprocessing gyroscope and counting data
Marking the three-axis gyro signals as NX, NY and NZ respectively, performing low-pass filtering on the three-axis gyro signals to filter out external high-frequency noise,
GX=B0·NX+B1·NX_1+B2·NX_2+B3·NX_3+B4·NX_4+B5·NX_5+...B6·NX_6+B7·NX_7-(A1·GX_1+A2·GX_2+A3·GX_3+A4·GX_4+...A5·GX_5+A6·GX_6+A7·GX_7)
GY=B0·NY+B1·NY_1+B2·NY_2+B3·NY_3+B4·NY_4+B5·NY_5+...B6·NY_6+B7·NY_7-(A1·GY_1+A2·GY_2+A3·GY_3+A4·GY_4+...A5·GY_5+A6·GY_6+A7·GY_7)
GZ=B0·NZ+B1·NZ_1+B2·NZ_2+B3·NZ_3+B4·NZ_4+B5·NZ_5+...B6·NZ_6+B7·NZ_7-(A1·GZ_1+A2·GZ_2+A3·GZ_3+A4·GZ_4+...A5·GZ_5+A6·GZ_6+A7·GZ_7)
wherein, the data collected at each sampling moment is NX, the output value after filtering is GX,
NX _1 is a last sampling value, NX _2 is a last sampling value, and the like;
GX _1 is the last filtered value, GX _2 is the last filtered value, and the other steps are similar;
A1-A7 and B0-B7 are filter parameters which need to be properly selected according to a gyroscope addition signal;
the accelerometer obtains gyroscope outputs GX, GY and GZ and accelerometer outputs AX, AY and AZ in the same way;
b) magnetometer determines heading
Only positioning is carried out when the device is static, the magnetic heading is taken as the initial heading at the initial moment when the device is moved, and the initial alignment is not carried out;
heading angle psi ═ magnetometer heading angle
Pitch angle θ is 0
Roll angle γ is 0
c) Strapdown inertial solution
Computing
Figure FDA0003129571820000021
C11=cos(γ)·cos(ψ)+sin(γ)·sin(θ)·sin(ψ)
C12=cos(θ)·sin(ψ)
C13=sin(γ)·cos(ψ)-cos(γ)·sin(θ)·sin(ψ)
C21=-cos(γ)·sin(ψ)+sin(γ)·sin(θ)·cos(ψ)
C22=cos(θ)·cos(ψ)
C23=-sin(γ)·sin(ψ)-cos(γ)·sin(θ)·cos(ψ)
C31=-cosθ·sinγ
C32=sinθ
C33=cosθ·cosγ
Computing
Figure FDA0003129571820000022
Figure FDA0003129571820000023
Figure FDA0003129571820000024
Figure FDA0003129571820000025
Figure FDA0003129571820000026
Is the angle increment, delta phi, measured by an X-axis inertial device under the b systemxIs the zero error of the X-axis gyroscope,
Figure FDA0003129571820000027
is the angular increment of the x-axis gyroscope b relative to the n system;
Figure FDA0003129571820000028
the definitions are similar;
d) attitude angle zero speed correction using gyro data
Platform declination correction
Figure FDA0003129571820000031
φU、φN、φE
Figure FDA0003129571820000032
Respectively, the platform deflection angles in the sky direction, the north direction and the east direction, and the attitude matrix;
e) zero-speed correction of position by using count-up data
L=L(-)-δL
λ=λ(-)-δλ
L(-)=L
λ(-)=λ
L and lambda are respectively latitude and longitude;
note: the process is a cycle, the longitude and latitude calculated by the first beat is recorded as lambda (-), L (-), the longitude and latitude calculated by the second beat is recorded as lambda (-), L (-), and the like when the second beat is calculated;
speed correction
VE=VE(-)-δVE
VN=VN(-)-δVN
VE(-)=VE
VN(-)=VN
VE、VNEast speed and north speed respectively;
note: here, the loop is executed, and in the second beat calculation, the northeast speed calculated in the first beat is denoted as VE(-)、VN(-) when the third beat is calculated, the longitude and latitude calculated by the second beat is recorded as VE(-)、VN(-), and so on;
f) damping height of barometer
VU=VU(-)+K1(hb-h)
VU(-)=VU
VU、hbH is the speed in the direction of the day, the height of the organism system and the actual height respectively;
note: here, the loop is performed, and when the second beat is calculated, the daily speed calculated in the first beat is recorded as VU(-) when the third beat is calculated, the longitude and latitude calculated by the second beat is recorded as VU(-), and so on;
wherein: k1=0.0005
If the height damping calculation condition is met, damping calculation is carried out according to the following formula:
h=h(-)+K2·(hb-h(-))
h(-)=h
note: the circulation is performed, when the second beat is calculated, the actual height calculated by the first beat is recorded as h (-), when the third beat is calculated, the longitude and latitude calculated by the second beat is recorded as h (-), and so on;
wherein: k2=0.01
Judging the pace speed and carrying out basic track calculation based on the six steps;
and step 3: WI-Fi fingerprint database generation and update
In this stage, the WI-Fi wireless network card receives Beacon signals (Beacon Signal) from nearby wireless Access Points (APs) in real time, wherein the Beacon signals contain MAC address information and Signal strength RSSI information of each AP; the WI-Fi fingerprint database contains a set of data intensity values which can receive beacon signals sent by nearby APs at any point in the indoor environment;
assuming that each location can be represented by an RSSI vector from a different wireless access point, then a location a can be represented as:
Figure FDA0003129571820000041
Figure FDA0003129571820000042
the vector of RSS values representing the location, and the RSS1To RSSnRepresenting the strength of signals received from different wireless access points at random location a; the position information and the signal strength information of each sampling point are contained in a complete Wi-Fi fingerprint database; thus, the Wi-Fi fingerprint database for a region can be written as:
Figure FDA0003129571820000051
wherein xiAnd yiRespectively representing the coordinate positions of the sampling points, wherein m represents the number of the sampling points; in the scheme, a mode of quickly generating and updating the database in real time is used, namely a machine learning method based on a Gaussian process is adopted; assume that each sample point can be written as:
Loca={(xi,yi)|i=1,2,...,n}
where x represents the input vector (i.e., coordinates) and y represents the measurement; assume that the data is taken from a noisy process:
yi=f(xi)+ε
where the error ε is obeyed to mean zero and the variance is
Figure FDA0003129571820000052
Gaussian distribution of(ii) a By means of the optimized covariance function (kernel) k (x)i,xj) We can derive f (x)i) And f (x)j) The relationship between; using the covariance function, f (x)i) Function value representing the xi point, similarly, f (x)j) Function value representing the xj point:
Figure FDA0003129571820000053
realizing Gaussian process regression; by the method, the database under the whole environment can be quickly generated through limited sampling points; the refreshing time is 1 second/time, and the WI-Fi fingerprint database is updated once every refreshing;
and 4, step 4: multi-information source fusion navigation algorithm
a) According to the wifi signal comparison data fused in the step 3, the indoor position is defined, inertial navigation damping barometer data and wifi signals are fused, and the floor is defined
Δφx=(C11·ωe′+C21·ωn′+C31·ωu′)·Ts
Δφy=(C12·ωe'+C22·ωn'+C32·ωu')·Ts
Δφz=(C13·ωe'+C23·ωn'+C33·ωu')·Ts
Wherein:
du1=(ω87)×(VN-K1·VrN)-ω7·u1
du2=(ω56)×(VN-K1·VrN+u1)-ω6·u2
du3=(ω43)×(VE-K1·VrE)-ω3·u3
du4=(ω12)×(VE-K1·VrE+u3)-ω2·u4
du5=C×B×(VN-K1·VrN+u1+u2)-ω9·u5
du6=ω10·u510·u6
u1=u1(-)+du1×TS
u2=u2(-)+du2×TS
u3=u3(-)+du3×TS
u4=u4(-)+du4×TS
u5=u5(-)+du5×TS
u6=u6(-)+du6×TS
u1(-)=u1
u2(-)=u2
u3(-)=u3
u4(-)=u4
u5(-)=u5
u6(-)=u6
note: the process is a cycle, when the second beat is calculated, the actual height calculated by the first beat is recorded as u (-), when the third beat is calculated, the longitude and latitude calculated by the second beat is recorded as u (-), and so on;
Figure FDA0003129571820000071
Figure FDA0003129571820000072
Figure FDA0003129571820000073
D=sin L
E=-cos L
RE=R·[1+e·sin2(L)]
RN=R·[1-2e+3e·sin2(L)]
Figure FDA0003129571820000074
u1、u2、u3、u4、u5、u6initial values are all 0
Figure FDA0003129571820000075
Figure FDA0003129571820000076
R、RE、RNThe average radius of the earth, the radius of the earth's major semi-axis and the radius of the earth's minor semi-axis
VrE、VrNEast and north speeds resolved in real time for measuring speed (e.g. odometer, etc.), respectively
Ts is the sampling time, ωe',ωn',ωu' is the east, north, and sky angular velocity of the damping loop;
u1,u2,u3,u4,u5,u6the method is a formula intermediate variable without dimension, and can be calculated by giving an initial value and an increment;
ω1、ω2、ω3、ω4、ω5、ω6、ω7、ω8、ω9、ω10、A,B,C,D,E,K1selecting according to an actual system for calculating coefficients without dimension;
b) design of extended Kalman algorithm to realize indoor navigation positioning
Figure FDA0003129571820000081
δ L and δ λ are latitude error and longitude error, respectively;
δVE、δVNeast and north velocity errors, respectively;
φE、φN、φUrespectively an east platform deflection angle, a north platform deflection angle and a sky platform deflection angle;
δDX、δDY、δDZ
Figure FDA0003129571820000082
respectively representing angular velocity increment in the X-axis direction, angular velocity increment in the Y-axis direction, angular velocity increment in the Z-axis direction, velocity increment in the X-axis direction, velocity increment in the Y-axis direction and velocity increment in the Z-axis direction;
δα1、δα2、δα3、δα4δ ε represents the 5 declination angles between the inertial devices measuring the angular and velocity increments, respectively;
δKAY、δKAZscale coefficient errors of the inertial device in the Y direction and the Z direction respectively representing the measured acceleration;
Figure FDA0003129571820000083
XK/K-1=φK/K-1·XK-1
Figure FDA0003129571820000084
PK-1=PK/K-1
XK-1=XK/K-1
Figure FDA0003129571820000085
XK=XK/K-1+KK·(ZK-HK·XK/K-1)
PK=(I-KK·HK)·PK/K-1
PK-1=PK
φK/K-1representing a one-step estimate of phi in the Kalman Filter estimate, TFFor filtering time, QK-1As noise at the last moment, XK/K-1For one-step prediction of X, PK/K-1For one-step prediction of P, XKIs an estimate of time k, PKTaking the noise value at the moment K, F as a matrix and P as a designed initial value of a noise error matrix; wherein I is a unit array; zKMeasured at time k, HKFor the measurement array, Q is the system noise variance array, KKIs the filter gain;
Figure FDA0003129571820000091
represents HKThe transpose of (a) is performed,
Figure FDA0003129571820000092
represents phiK/K-1Transposing;
when the zero speed correction condition is satisfied:
δL=X′K (1)
δλ=X′K (2)
Figure FDA0003129571820000093
Figure FDA0003129571820000094
X′K(1) is XKTransposed first data, X'K(2) Is XKTransposed second data;
Figure FDA0003129571820000095
(21) is XKThe 21 st data averaged over one period,
Figure FDA0003129571820000096
(22) is XKData number 22 averaged over one period;
otherwise:
δL=0
δλ=0
δDN、δDUkeeping the same;
measurement matrix
Figure FDA0003129571820000097
Wherein: f. ofE、fN、fURespectively representing the specific forces of the east direction, the north direction and the sky direction, namely the calculated value of the acceleration,
Figure FDA0003129571820000098
respectively represents the average value of the specific forces of the X axis, the Y axis and the Z axis of the linear system in one period, namely the average value of the components of the acceleration in three directions of the linear system, omegaN、ωURespectively representing the angular velocities in the north direction and the sky direction, namely the calculated angular velocity,
Figure FDA0003129571820000099
respectively represents the average value of the angular speeds of the X axis, the Y axis and the Z axis of the machine system in one period, namely the average value of the angular speeds of three directional components of the machine system
Figure FDA0003129571820000101
Figure FDA0003129571820000102
Figure FDA0003129571820000103
Measurement matrix during zero-speed calibration:
Figure FDA0003129571820000104
P=diag(6e-4,6e-4,1,1,6e-6,6e-6,3.0e-4,1e-12,1e-12,1e-12,2.5e-5,2.5e-5,2.5e-5,0,0,0,0,0,0,0,0,0)
Q=diag(0,0,5.e-5,5.e-5,5.e-13,5.e-13,5.e-13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
R=diag(2.6e-10,2.6e-10)
when the wifi access point is replaced in the dead reckoning process, P is required to be adjusted1,1、P2,2Resetting is carried out:
P1,1=6e-4
P2,2=6e-4
zero-speed correction of the filter parameters
Q=diag(0,0,0,0,5.e-13,5.e-13,5.e-13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
R=diag(2.6e-10,2.6e-10,9,9)
And 5: navigation result display
The navigation result is transmitted to the terminal display through the wireless network to be displayed, so that the task of indoor navigation is completed.
2. The algorithm of claim 1, wherein: and performing inertial navigation according to the multi-sensitive component, and performing real-time comparison and correction by using wifi signals to realize indoor navigation.
CN201610206367.8A 2016-04-01 2016-04-01 Indoor navigation algorithm suitable for wearable equipment Active CN107289935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610206367.8A CN107289935B (en) 2016-04-01 2016-04-01 Indoor navigation algorithm suitable for wearable equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610206367.8A CN107289935B (en) 2016-04-01 2016-04-01 Indoor navigation algorithm suitable for wearable equipment

Publications (2)

Publication Number Publication Date
CN107289935A CN107289935A (en) 2017-10-24
CN107289935B true CN107289935B (en) 2021-09-14

Family

ID=60093037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610206367.8A Active CN107289935B (en) 2016-04-01 2016-04-01 Indoor navigation algorithm suitable for wearable equipment

Country Status (1)

Country Link
CN (1) CN107289935B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116184312B (en) * 2022-12-22 2023-11-21 泰州雷德波达定位导航科技有限公司 Indoor crowdsourcing fingerprint library construction method based on semantic Wi-Fi

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140128093A1 (en) * 2012-11-06 2014-05-08 Qualcomm Incorporated Portal transition parameters for use in mobile device positioning
CN103152823B (en) * 2013-02-26 2016-03-23 清华大学 A kind of wireless indoor location method
US9442179B2 (en) * 2013-03-11 2016-09-13 Qualcomm Incorporated Tiered positioning assistance data for mobile devices within an indoor environment
CN104819716A (en) * 2015-04-21 2015-08-05 北京工业大学 Indoor and outdoor personal navigation algorithm based on INS/GPS (inertial navigation system/global position system) integration of MEMS (micro-electromechanical system)
CN104867309A (en) * 2015-04-30 2015-08-26 深圳市全球锁安防系统工程有限公司 Middle aged and elderly people good health service intelligent wearing device and deep learning method
CN105157699B (en) * 2015-06-18 2018-03-16 南京邮电大学 A kind of parking garage air navigation aid based on WiFi and Sensor Network technological incorporation
CN105241454A (en) * 2015-10-23 2016-01-13 中国兵器工业集团第二一四研究所苏州研发中心 System and method for pedestrian navigation based on multiple sensors
CN105371847B (en) * 2015-10-27 2018-06-29 深圳大学 A kind of interior real scene navigation method and system
CN105424030B (en) * 2015-11-24 2018-11-09 东南大学 Fusion navigation device and method based on wireless fingerprint and MEMS sensor

Also Published As

Publication number Publication date
CN107289935A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN110398245B (en) Indoor pedestrian navigation attitude estimation method based on foot-worn inertial measurement unit
CN106979780B (en) A kind of unmanned vehicle real-time attitude measurement method
CN108225308B (en) Quaternion-based attitude calculation method for extended Kalman filtering algorithm
CN104969030B (en) Inertial device, methods and procedures
Phuong et al. A DCM based orientation estimation algorithm with an inertial measurement unit and a magnetic compass
CN106500693B (en) A kind of AHRS algorithm based on adaptive extended kalman filtering
CN110954102B (en) Magnetometer-assisted inertial navigation system and method for robot positioning
CN108225324B (en) Indoor positioning method based on intelligent terminal and integrating geomagnetic matching and PDR
CN107490378B (en) Indoor positioning and navigation method based on MPU6050 and smart phone
CN109186597B (en) Positioning method of indoor wheeled robot based on double MEMS-IMU
CN105509739A (en) Tightly coupled INS/UWB integrated navigation system and method adopting fixed-interval CRTS smoothing
CN106225784A (en) Based on low cost Multi-sensor Fusion pedestrian's dead reckoning method
CN111024070A (en) Inertial foot binding type pedestrian positioning method based on course self-observation
JP2017207456A (en) Attitude estimation device, attitude estimation method, control program, and recording medium
US11408735B2 (en) Positioning system and positioning method
CN110057356B (en) Method and device for positioning vehicles in tunnel
CN109073388B (en) Gyromagnetic geographic positioning system
CN106403952A (en) Method for measuring combined attitudes of Satcom on the move with low cost
Liang et al. A solution to the attitude problem using two rotation units of micromechanical gyroscopes
CN110672095A (en) Pedestrian indoor autonomous positioning algorithm based on micro inertial navigation
CN109764870A (en) Carrier initial heading evaluation method based on transformation estimator modeling scheme
Pan et al. Real-time accurate odometer velocity estimation aided by accelerometers
CN106979779A (en) A kind of unmanned vehicle real-time attitude measuring method
CN108871319B (en) Attitude calculation method based on earth gravity field and earth magnetic field sequential correction
Wongwirat et al. A position tracking experiment of mobile robot with inertial measurement unit (imu)

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