CN107270896A - A kind of pedestrian's positioning and trace tracking method and system - Google Patents
A kind of pedestrian's positioning and trace tracking method and system Download PDFInfo
- Publication number
- CN107270896A CN107270896A CN201710472171.8A CN201710472171A CN107270896A CN 107270896 A CN107270896 A CN 107270896A CN 201710472171 A CN201710472171 A CN 201710472171A CN 107270896 A CN107270896 A CN 107270896A
- Authority
- CN
- China
- Prior art keywords
- information
- msub
- heading angle
- angular velocity
- speed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/10—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
- G01C21/12—Navigation; 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/16—Navigation; 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/165—Navigation; 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 combined with non-inertial navigation instruments
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Navigation (AREA)
Abstract
本发明公开了一种行人定位与轨迹跟踪方法和系统,其中方法的实现方式为:接收行人的加速度信息、角速度信息和磁力计信息;对加速度信息和角速度信息进行滤波和阈值分割,得到速度状态信息,速度非0时利用角速度信息得到姿态信息,速度为0时利用加速度信息修正角速度信息得到姿态信息;对磁力计进行椭圆校正,利用姿态信息对磁力计进行倾角补偿,得到磁力航向角;将磁力航向角和姿态信息中的航向角融合,得到融合航向角,结合姿态信息和融合航向角,对加速度积分可得速度信息,速度信息经过零速校正后,得到水平方向上的位移和垂直方向的高度,通过位移和高度进行行人定位与轨迹跟踪。本发明可以长时间导航、适应性较强且应用范围宽。
The invention discloses a pedestrian positioning and trajectory tracking method and system, wherein the implementation of the method is: receiving acceleration information, angular velocity information and magnetometer information of pedestrians; filtering and thresholding the acceleration information and angular velocity information to obtain the velocity state Information, when the speed is not 0, the angular velocity information is used to obtain the attitude information, and the acceleration information is used to correct the angular velocity information to obtain the attitude information when the speed is 0; the magnetometer is ellipse corrected, and the attitude information is used to compensate the inclination angle of the magnetometer to obtain the magnetic heading angle; The magnetic course angle and the course angle in the attitude information are fused to obtain the fused course angle. Combining the attitude information and the fused course angle, the velocity information can be obtained by integrating the acceleration. After the velocity information is corrected by zero speed, the displacement in the horizontal direction and the vertical direction can be obtained. Pedestrian positioning and trajectory tracking through displacement and height. The invention can navigate for a long time, has strong adaptability and wide application range.
Description
技术领域technical field
本发明属于惯性导航领域,更具体地,涉及一种行人定位与轨迹跟踪方法和系统。The invention belongs to the field of inertial navigation, and more specifically, relates to a pedestrian positioning and trajectory tracking method and system.
背景技术Background technique
随着科学技术的快速发展和城市化的快速推进,定位技术在人们生活中变得越发重要,人们对定位产品、功能和服务的需求加大,从而催生了庞大的市场。传统定位技术基本上都是基于GPS、无线网络(Wifi、ZigBee、UWB等),但在无GPS信号的室内,以及没有无线网络的地方,这种定位方式不能使用。因此基于惯性导航传感器的行人定位与轨迹跟踪技术逐渐兴起,其最大的特点是在无基础固联设施的已知或未知的环境下能够实现自主导航和实时定位。常规的基于惯性导航传感器的行人定位装置通常仅采用加速度计和陀螺仪,然后配合姿态解算以及零速检测算法,进行三维轨迹推算与定位。但是这种方案,由于陀螺仪的漂移,导致航向角最终会发散,在长时间导航定位情况下,定位会失败。同时,常规的基于惯性导航传感器的定位方案,有时还会采用对行人步长估计的方式进行定位,这种方案依赖特定人员的平均步长,因而对人员的适应性较差,仅适用于特定人员的定位场景,大大降低了基于惯性导航传感器的行人定位装置的应用范围。With the rapid development of science and technology and the rapid advancement of urbanization, positioning technology has become more and more important in people's lives, and people's demand for positioning products, functions and services has increased, thus giving birth to a huge market. Traditional positioning technologies are basically based on GPS and wireless networks (Wifi, ZigBee, UWB, etc.), but this positioning method cannot be used indoors without GPS signals or in places without wireless networks. Therefore, the pedestrian positioning and trajectory tracking technology based on inertial navigation sensors is gradually emerging. Its biggest feature is that it can realize autonomous navigation and real-time positioning in known or unknown environments without basic fixed facilities. Conventional pedestrian positioning devices based on inertial navigation sensors usually only use accelerometers and gyroscopes, and then cooperate with attitude calculation and zero-speed detection algorithms to perform three-dimensional trajectory calculation and positioning. However, in this solution, due to the drift of the gyroscope, the heading angle will eventually diverge, and the positioning will fail in the case of long-term navigation and positioning. At the same time, the conventional positioning scheme based on inertial navigation sensors sometimes adopts the method of estimating the pedestrian’s step length. Personnel positioning scenarios greatly reduce the application range of pedestrian positioning devices based on inertial navigation sensors.
由此可见,现有技术存在无法长时间导航、适应性较差和应用范围窄的技术问题。It can be seen that the prior art has the technical problems of being unable to navigate for a long time, poor adaptability and narrow application range.
发明内容Contents of the invention
针对现有技术的以上缺陷或改进需求,本发明提供了一种行人定位与轨迹跟踪方法和系统,由此解决现有技术存在无法长时间导航、适应性较差和应用范围窄的技术问题。In view of the above defects or improvement needs of the prior art, the present invention provides a pedestrian positioning and trajectory tracking method and system, thereby solving the technical problems of the prior art that cannot navigate for a long time, has poor adaptability and narrow application range.
为实现上述目的,按照本发明的一个方面,提供了一种行人定位与轨迹跟踪方法,包括:In order to achieve the above purpose, according to one aspect of the present invention, a pedestrian positioning and trajectory tracking method is provided, including:
(1)接收行人的加速度信息、角速度信息,对加速度信息和角速度信息进行滤波和阈值分割,得到速度状态信息,速度非0时利用角速度信息得到姿态信息,速度为0时利用加速度信息修正角速度信息得到姿态信息;(1) Receive the acceleration information and angular velocity information of pedestrians, perform filtering and threshold segmentation on the acceleration information and angular velocity information, and obtain the velocity status information. When the velocity is not 0, use the angular velocity information to obtain the attitude information, and use the acceleration information to correct the angular velocity information when the velocity is 0. Get posture information;
(2)接收磁力计信息,对磁力计进行椭圆校正后,再利用姿态信息进行倾角补偿,得到磁力航向角;(2) Receive the magnetometer information, perform ellipse correction on the magnetometer, and then use the attitude information to perform inclination compensation to obtain the magnetic heading angle;
(3)将磁力航向角和姿态信息中的航向角融合,得到融合航向角,结合姿态信息和融合航向角,对加速度积分得速度信息,速度信息经过零速校正后,再次积分得到水平方向上的位移和垂直方向的高度,最后通过位移和高度进行行人定位与轨迹跟踪。(3) The magnetic course angle and the course angle in the attitude information are fused to obtain the fused course angle, combined with the attitude information and the fused course angle, the velocity information is obtained by integrating the acceleration, and after the velocity information is corrected by zero speed, it is integrated again to obtain the The displacement and height in the vertical direction, and finally the pedestrian positioning and trajectory tracking are performed through the displacement and height.
进一步的,步骤(1)包括:Further, step (1) includes:
(1-1)对加速度信息和角速度信息进行滤波和阈值分割,得到速度状态信息;(1-1) Carry out filtering and threshold value segmentation to acceleration information and angular velocity information, obtain velocity state information;
(1-2)速度非0时利用角速度信息更新四元数,利用四元数得到姿态信息;速度为0时,采用比例积分,利用加速度信息修正角速度信息的漂移,采用修正后角速度信息更新四元数,进而得到姿态信息。(1-2) When the speed is not 0, use the angular velocity information to update the quaternion, and use the quaternion to obtain the attitude information; when the speed is 0, use the proportional integral, use the acceleration information to correct the drift of the angular velocity information, and use the corrected angular velocity information to update the four arity, and then get the attitude information.
进一步的,融合航向角为:Further, the fusion heading angle is:
其中,0≤i≤n,ci为i时刻的磁力航向角,yi为i时刻的姿态信息中的航向角,hi为i时刻的融合航向角,Ei为i时刻的航向角偏移,kP为比例系数,kI为积分系数。Among them, 0≤i≤n, c i is the magnetic heading angle at time i, y i is the heading angle in the attitude information at time i, h i is the fusion heading angle at time i, E i is the heading angle deviation at time i Shift, k P is the proportional coefficient, and k I is the integral coefficient.
进一步的,步骤(3)包括:Further, step (3) includes:
(3-1)将磁力航向角和姿态信息中的航向角融合,得到融合航向角;(3-1) Fusion of the magnetic heading angle and the heading angle in the attitude information to obtain the fusion heading angle;
(3-2)速度信息经过零速校正后,水平方向上的位移可由水平方向速度直接积分得出,垂直方向上的速度需进一步通过上、下楼判断,进行高度补偿后,得到垂直方向的高度;(3-2) After the speed information is corrected by zero speed, the displacement in the horizontal direction can be directly integrated by the speed in the horizontal direction, and the speed in the vertical direction needs to be further judged by going up and down the stairs. After height compensation, the displacement in the vertical direction can be obtained high;
(3-3)利用位移和高度进行行人定位与轨迹跟踪。(3-3) Use displacement and height for pedestrian positioning and trajectory tracking.
按照本发明的另一方面,提供了一种行人定位与轨迹跟踪系统,包括:加速度计、陀螺仪、磁力计和控制模块,According to another aspect of the present invention, a pedestrian positioning and trajectory tracking system is provided, including: an accelerometer, a gyroscope, a magnetometer and a control module,
加速度计用于接收行人的加速度信息,传输至控制模块;The accelerometer is used to receive the acceleration information of pedestrians and transmit it to the control module;
陀螺仪用于接收行人的角速度信息,传输至控制模块;The gyroscope is used to receive the angular velocity information of the pedestrian and transmit it to the control module;
所述磁力计用于接收行人的磁力计信息,传输至控制模块;The magnetometer is used to receive the magnetometer information of the pedestrian and transmit it to the control module;
所述控制模块用于利用加速度信息、角速度信息得到速度状态信息与姿态信息,利用磁力计信息得到磁力航向角,将磁力航向角和姿态信息中的航向角融合,得到融合航向角,利用位移和高度进行行人定位与轨迹跟踪。The control module is used to obtain speed state information and attitude information by using acceleration information and angular velocity information, obtain magnetic heading angle by using magnetometer information, fuse magnetic heading angle and heading angle in attitude information to obtain fusion heading angle, use displacement and Altitude positioning and trajectory tracking of pedestrians.
进一步的,控制模块包括步态子模块、融合子模块和导航子模块。Further, the control module includes a gait submodule, a fusion submodule and a navigation submodule.
进一步的,步态子模块用于对加速度信息和角速度信息进行滤波和阈值分割,得到速度状态信息,通过对加速度积分得到速度信息,速度信息经过零速校正后,水平方向上的位移可由水平方向速度直接积分得出,垂直方向上的速度需进一步通过上、下楼判断,进行高度补偿后,得到垂直方向的高度。Further, the gait sub-module is used to filter and threshold the acceleration information and angular velocity information to obtain the velocity state information, and obtain the velocity information by integrating the acceleration. After the velocity information is corrected by zero velocity, the displacement in the horizontal direction can be determined by the horizontal direction The speed is directly integrated to get the speed in the vertical direction. The speed in the vertical direction needs to be further judged by going up and down the stairs. After height compensation, the height in the vertical direction is obtained.
进一步的,融合子模块用于在行人速度非0时利用角速度信息得到姿态信息,行人速度为0时利用加速度信息修正角速度信息进而得到姿态信息,对磁力计进行椭圆校正后,利用姿态信息对其进行倾角补偿得到磁力航向角,将磁力航向角和姿态信息中的航向角融合,得到融合航向角。Further, the fusion sub-module is used to obtain the attitude information by using the angular velocity information when the pedestrian speed is non-zero, and use the acceleration information to correct the angular velocity information to obtain the attitude information when the pedestrian speed is 0. After the ellipse correction is performed on the magnetometer, the attitude information is used to Perform tilt angle compensation to obtain the magnetic heading angle, and fuse the magnetic heading angle with the heading angle in the attitude information to obtain the fused heading angle.
进一步的,导航子模块用于利用位移和高度进行行人定位与轨迹跟踪。Further, the navigation sub-module is used for pedestrian positioning and trajectory tracking using displacement and height.
总体而言,通过本发明所构思的以上技术方案与现有技术相比,能够取得下列有益效果:Generally speaking, compared with the prior art, the above technical solutions conceived by the present invention can achieve the following beneficial effects:
(1)速度非0时,加速度信息受外力的影响,并不能较准确的反应姿态信息,此时利用加速度信息和角速度信息获取姿态信息的话,将降低姿态信息的解算精度;速度为0时,加速度信息可以较准确的反应姿态信息,此时用加速度信息来修正角速度信息的偏移,能够有效地提高姿态信息的解算精度,本发明速度非0时利用角速度信息得到姿态信息,速度为0时利用加速度信息修正角速度信息进而得到姿态信息,本发明的姿态信息精度高。(1) When the speed is not 0, the acceleration information is affected by the external force and cannot accurately reflect the attitude information. At this time, if the attitude information is obtained by using the acceleration information and angular velocity information, the calculation accuracy of the attitude information will be reduced; when the speed is 0 , the acceleration information can reflect the attitude information more accurately. At this time, the acceleration information is used to correct the offset of the angular velocity information, which can effectively improve the calculation accuracy of the attitude information. When the velocity is not zero, the angular velocity information is used to obtain the attitude information, and the velocity is At 0 o'clock, the acceleration information is used to correct the angular velocity information to obtain the attitude information, and the attitude information of the present invention has high precision.
(2)本发明将磁力航向角和姿态信息中的航向角融合,得到的融合航向角,是特征级的融合,由于磁力计信息容易受干扰,若在数据层,将磁力计信息与加速度信息、角速度信息一起融合计算姿态角,易将磁力计信息的误差扩散至俯仰角与横滚角,从而降低姿态信息的精度,而采取本发明特征级融合方案后,在不降低俯仰角与横滚角精度的前提下,能够有效地用磁力计信息来改善融合航向角的漂移,从而进一步提高融合航向角的精度。(2) The present invention fuses the magnetic heading angle and the heading angle in the attitude information, and the obtained fusion heading angle is a feature-level fusion. Since the magnetometer information is easily disturbed, if in the data layer, the magnetometer information and the acceleration information are combined , angular velocity information are fused together to calculate the attitude angle, it is easy to spread the error of the magnetometer information to the pitch angle and roll angle, thereby reducing the accuracy of the attitude information, and after adopting the feature-level fusion scheme of the present invention, without reducing the pitch angle and roll angle Under the premise of angular accuracy, the magnetometer information can be effectively used to improve the drift of the fused heading angle, thereby further improving the accuracy of the fused heading angle.
(3)本发明不依赖于特定人员的步行平均步长,算法计算量小,可满足大部分应用的要求,本发明可以长时间导航、适应性较强且应用范围宽。(3) The present invention does not depend on the average walking step length of a specific person, and the calculation amount of the algorithm is small, which can meet the requirements of most applications. The present invention can navigate for a long time, has strong adaptability and wide application range.
(4)优选的,速度信息经过零速校正后,水平方向上的位移可由水平方向速度直接积分得出,垂直方向上的速度需进一步通过上、下楼判断,再融合高度补偿,以补偿高度的漂移,这样在保证二维定位精度的情况下提升三维定位的精度。(4) Preferably, after the velocity information is corrected at zero velocity, the displacement in the horizontal direction can be obtained by directly integrating the velocity in the horizontal direction, and the velocity in the vertical direction needs to be further judged by going up and down the stairs, and then combined with height compensation to compensate for the height In this way, the accuracy of three-dimensional positioning can be improved while ensuring the accuracy of two-dimensional positioning.
附图说明Description of drawings
图1是本发明实施例提供的一种行人定位与轨迹跟踪方法的流程图;Fig. 1 is a flow chart of a pedestrian positioning and trajectory tracking method provided by an embodiment of the present invention;
图2是本发明实施例1提供的一种行人定位与轨迹跟踪系统的结构图;FIG. 2 is a structural diagram of a pedestrian positioning and trajectory tracking system provided in Embodiment 1 of the present invention;
图3是本发明实施例1提供的一种行人定位与轨迹跟踪系统的结构设计和拓扑关系;Fig. 3 is a structural design and topological relationship of a pedestrian positioning and trajectory tracking system provided by Embodiment 1 of the present invention;
图4是本发明实施例1提供的姿态解算算法流程图。FIG. 4 is a flow chart of an attitude calculation algorithm provided by Embodiment 1 of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.
如图1所示,一种行人定位与轨迹跟踪方法,包括:As shown in Figure 1, a pedestrian positioning and trajectory tracking method includes:
(1)接收行人的加速度信息、角速度信息,对加速度信息和角速度信息进行滤波和阈值分割,得到速度状态信息,速度非0时利用角速度信息得到姿态信息,速度为0时利用加速度信息修正角速度信息得到姿态信息;(1) Receive the acceleration information and angular velocity information of pedestrians, perform filtering and threshold segmentation on the acceleration information and angular velocity information, and obtain the velocity status information. When the velocity is not 0, use the angular velocity information to obtain the attitude information, and use the acceleration information to correct the angular velocity information when the velocity is 0. Get posture information;
(2)接收磁力计信息,对磁力计进行椭圆校正后,再利用姿态信息进行倾角补偿,得到磁力航向角;(2) Receive the magnetometer information, perform ellipse correction on the magnetometer, and then use the attitude information to perform inclination compensation to obtain the magnetic heading angle;
(3)将磁力航向角和姿态信息中的航向角融合,得到融合航向角,结合姿态信息和融合航向角,对加速度积分得速度信息,速度信息经过零速校正后,再次积分得到水平方向上的位移和垂直方向的高度,最后通过位移和高度进行行人定位与轨迹跟踪。(3) The magnetic course angle and the course angle in the attitude information are fused to obtain the fused course angle, combined with the attitude information and the fused course angle, the velocity information is obtained by integrating the acceleration, and after the velocity information is corrected by zero speed, it is integrated again to obtain the The displacement and height in the vertical direction, and finally the pedestrian positioning and trajectory tracking are performed through the displacement and height.
进一步的,步骤(1)包括:Further, step (1) includes:
(1-1)对加速度信息和角速度信息进行滤波和阈值分割,得到速度状态信息;(1-1) Carry out filtering and threshold value segmentation to acceleration information and angular velocity information, obtain velocity state information;
(1-2)速度非0时利用角速度信息更新四元数,利用四元数得到姿态信息;速度为0时,采用比例积分,利用加速度信息修正角速度信息的漂移,采用修正后角速度信息更新四元数,进而得到姿态信息。(1-2) When the speed is not 0, use the angular velocity information to update the quaternion, and use the quaternion to obtain the attitude information; when the speed is 0, use the proportional integral, use the acceleration information to correct the drift of the angular velocity information, and use the corrected angular velocity information to update the four arity, and then get the attitude information.
进一步的,融合航向角为:Further, the fusion heading angle is:
其中,0≤i≤n,ci为i时刻的磁力航向角,yi为i时刻的姿态信息中的航向角,hi为i时刻的融合航向角,Ei为i时刻的航向角偏移,kP为比例系数,kI为积分系数,T1与T2分别为比例限幅幅值与积分限幅幅值。Among them, 0≤i≤n, c i is the magnetic heading angle at time i, y i is the heading angle in the attitude information at time i, h i is the fusion heading angle at time i, E i is the heading angle deviation at time i shift, k P is the proportional coefficient, k I is the integral coefficient, T 1 and T 2 are the proportional limit value and the integral limit value respectively.
进一步的,步骤(3)包括:Further, step (3) includes:
(3-1)将磁力航向角和姿态航向角融合,得到融合航向角;(3-1) merging the magnetic heading angle and the attitude heading angle to obtain the fusion heading angle;
(3-2)速度信息经过零速校正后,水平方向上的位移可由水平方向速度直接积分得出,垂直方向上的速度需进一步通过上、下楼判断,进行高度补偿后,得到垂直方向的高度;(3-2) After the speed information is corrected by zero speed, the displacement in the horizontal direction can be directly integrated by the speed in the horizontal direction, and the speed in the vertical direction needs to be further judged by going up and down the stairs. After height compensation, the displacement in the vertical direction can be obtained high;
(3-3)利用位移和高度进行行人定位与轨迹跟踪。(3-3) Use displacement and height for pedestrian positioning and trajectory tracking.
实施例1Example 1
如图2所示,本发明实施例1提供一种行人定位与轨迹跟踪系统的结构示意图,其主要由电源、加速度计、陀螺仪、磁力计、控制模块以及蓝牙组成,其连接方式是:电源与加速度计、陀螺仪、磁力计、控制模块以及蓝牙连接,控制模块与加速度计、陀螺仪、磁力计以及蓝牙双向连接。As shown in Figure 2, Embodiment 1 of the present invention provides a schematic structural diagram of a pedestrian positioning and trajectory tracking system, which is mainly composed of a power supply, an accelerometer, a gyroscope, a magnetometer, a control module, and Bluetooth, and its connection mode is: power supply It is connected with accelerometer, gyroscope, magnetometer, control module and Bluetooth, and the control module is bidirectionally connected with accelerometer, gyroscope, magnetometer and Bluetooth.
如图3所示,本发明实施例1提供的一种行人定位与轨迹跟踪系统的结构设计和拓扑关系:优选的,磁力计为三轴磁力计,加速度计为三轴加速度计,陀螺仪为三轴陀螺仪,三轴磁力计经磁力计校正后,计算磁力航向角;三轴加速度计与三轴陀螺仪,通过AHRS姿态解算,不仅解算出姿态角还解算出世界坐标系下的行人步行的加速度;姿态角包括航向角、俯仰角与横滚角,姿态解算出的航向角与磁力航向角做融合后,更新世界坐标系下的行人步行加速度;利用三轴陀螺仪与世界坐标系下的行人步行加速度,通过步态提取,对行人步行状态进行分割,分割结果反馈至AHRS姿态解算以及用于零速校正;经过零速校正后,水平方向上的位移可由水平方向速度直接积分得出,垂直方向上的速度需进一步通过上、下楼判断,进行高度补偿后,再计算垂直方向的高度。As shown in Figure 3, the structural design and topological relationship of a pedestrian positioning and trajectory tracking system provided by Embodiment 1 of the present invention: preferably, the magnetometer is a three-axis magnetometer, the accelerometer is a three-axis accelerometer, and the gyroscope is Three-axis gyroscope, the three-axis magnetometer is calibrated by the magnetometer, and the magnetic heading angle is calculated; the three-axis accelerometer and the three-axis gyroscope, through AHRS attitude calculation, not only calculate the attitude angle but also calculate the pedestrian in the world coordinate system Acceleration of walking; attitude angle includes heading angle, pitch angle and roll angle. After the heading angle calculated by the attitude solution is fused with the magnetic heading angle, the walking acceleration of pedestrians in the world coordinate system is updated; using the three-axis gyroscope and the world coordinate system The walking acceleration of pedestrians under the following conditions is segmented by gait extraction, and the segmentation results are fed back to the AHRS attitude calculation and used for zero-speed correction; after zero-speed correction, the displacement in the horizontal direction can be directly integrated by the velocity in the horizontal direction It is concluded that the speed in the vertical direction needs to be further judged by going up and down the stairs, and after height compensation, the height in the vertical direction is calculated.
如图4所示,姿态解算采取四元数法进行计算,首先初始化四元数q,当步态判断为非零速时,采用陀螺仪更新四元数;而当步态判断为零速时,采用PI(比例积分)算法,利用加速度计修正陀螺仪的漂移,并采用修正后的陀螺仪更新四元数,最后通过四元数解算三个姿态角:姿态航向角y、滚转角r和俯仰角p,利用磁力计计算磁力航向角c,而航向角融合分为实时融合和定时融合两个阶段。实时融合阶段使用磁力计来实时修正航向角,定时融合阶段定期采用融合后的航向角更新四元数,以使陀螺仪的积分漂移定期清零。As shown in Figure 4, the attitude solution is calculated using the quaternion method. First, the quaternion q is initialized. When the gait is judged to be non-zero speed, the gyroscope is used to update the quaternion; and when the gait is judged to be zero speed When using the PI (proportional integral) algorithm, the accelerometer is used to correct the drift of the gyroscope, and the corrected gyroscope is used to update the quaternion, and finally the three attitude angles are solved by the quaternion: attitude heading angle y, roll angle r and the pitch angle p, the magnetic heading angle c is calculated using the magnetometer, and the heading angle fusion is divided into two stages: real-time fusion and timing fusion. In the real-time fusion stage, the magnetometer is used to correct the heading angle in real time. In the timing fusion stage, the fused heading angle is used to update the quaternion regularly, so that the integral drift of the gyroscope is periodically cleared.
本发明与现有技术相比,无需基础固联设施,没有外界的辅助设备,采用全自主式定位方式,能够方便地用于行人定位与轨迹跟踪;而在相同的硬件方案中,采用改进的算法结构,不依赖于特定人员的步行平均步长,算法计算量小,可满足大部分应用的要求。Compared with the prior art, the present invention does not require basic fixed facilities and external auxiliary equipment, adopts a fully autonomous positioning method, and can be conveniently used for pedestrian positioning and track tracking; and in the same hardware solution, an improved The algorithm structure does not depend on the average walking step length of a specific person, and the calculation amount of the algorithm is small, which can meet the requirements of most applications.
采用在特征级融合航向角的算法,在有效地改善航向角漂移的同时,并没有影响俯仰角以及横滚角的解算精度,并利用零速判断的结果反馈至AHRS姿态解算,避免加速度在受外力干扰的情况下,依然用于修正陀螺仪的零漂,从而进一步提高了姿态角的解算精度。Using the algorithm of merging the heading angle at the feature level, while effectively improving the heading angle drift, it does not affect the calculation accuracy of the pitch angle and roll angle, and uses the zero-speed judgment result to feed back to the AHRS attitude calculation to avoid acceleration In the case of external force interference, it is still used to correct the zero drift of the gyroscope, thereby further improving the accuracy of the attitude angle calculation.
采用零速校正方式,不仅对水平速度做了二次平滑估计,对于其垂直方向利用步行速度特征,做了可变参的二次平滑估计,进一步的提高了本装置的三维定位精度。Using the zero-speed correction method, not only the second smoothing estimation is made for the horizontal speed, but also the second smoothing estimation of the variable parameters is made for the vertical direction using the walking speed feature, which further improves the three-dimensional positioning accuracy of the device.
本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。It is easy for those skilled in the art to understand that the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, All should be included within the protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710472171.8A CN107270896A (en) | 2017-06-20 | 2017-06-20 | A kind of pedestrian's positioning and trace tracking method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710472171.8A CN107270896A (en) | 2017-06-20 | 2017-06-20 | A kind of pedestrian's positioning and trace tracking method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107270896A true CN107270896A (en) | 2017-10-20 |
Family
ID=60068993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710472171.8A Pending CN107270896A (en) | 2017-06-20 | 2017-06-20 | A kind of pedestrian's positioning and trace tracking method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107270896A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108784545A (en) * | 2018-07-25 | 2018-11-13 | 苏州精源创智能科技有限公司 | A kind of inertial navigation system and method applied to sweeping robot |
CN109708630A (en) * | 2018-12-14 | 2019-05-03 | 北京航空航天大学 | A method of step-strap height measurement based on SHE model |
CN109740537A (en) * | 2019-01-03 | 2019-05-10 | 广州广电银通金融电子科技有限公司 | The accurate mask method and system of pedestrian image attribute in crowd's video image |
CN109764865A (en) * | 2019-01-25 | 2019-05-17 | 北京交通大学 | An Indoor Positioning Method Based on MEMS and UWB |
CN109855621A (en) * | 2018-12-27 | 2019-06-07 | 国网江苏省电力有限公司检修分公司 | A kind of composed chamber's one skilled in the art's navigation system and method based on UWB and SINS |
CN110715659A (en) * | 2019-10-25 | 2020-01-21 | 高新兴物联科技有限公司 | Zero-speed detection method, pedestrian inertial navigation method, device and storage medium |
WO2024036816A1 (en) * | 2022-08-17 | 2024-02-22 | 孙全 | Automatic communication and emergency alerting system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104406586A (en) * | 2014-12-04 | 2015-03-11 | 南京邮电大学 | Pedestrian navigation device and method based on inertial sensor |
CN104567931A (en) * | 2015-01-14 | 2015-04-29 | 华侨大学 | Course-drifting-error elimination method of indoor inertial navigation positioning |
US20160223340A1 (en) * | 2015-02-03 | 2016-08-04 | The Regents Of The University Of Michigan | Last-Mile Navigation Using Smartphones |
CN106225784A (en) * | 2016-06-13 | 2016-12-14 | 国家海洋局第二海洋研究所 | Based on low cost Multi-sensor Fusion pedestrian's dead reckoning method |
-
2017
- 2017-06-20 CN CN201710472171.8A patent/CN107270896A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104406586A (en) * | 2014-12-04 | 2015-03-11 | 南京邮电大学 | Pedestrian navigation device and method based on inertial sensor |
CN104567931A (en) * | 2015-01-14 | 2015-04-29 | 华侨大学 | Course-drifting-error elimination method of indoor inertial navigation positioning |
US20160223340A1 (en) * | 2015-02-03 | 2016-08-04 | The Regents Of The University Of Michigan | Last-Mile Navigation Using Smartphones |
CN106225784A (en) * | 2016-06-13 | 2016-12-14 | 国家海洋局第二海洋研究所 | Based on low cost Multi-sensor Fusion pedestrian's dead reckoning method |
Non-Patent Citations (1)
Title |
---|
郑威等: "基于惯性/磁力传感器的行人3维轨迹跟踪技术", 《机器人ROBOT》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108784545A (en) * | 2018-07-25 | 2018-11-13 | 苏州精源创智能科技有限公司 | A kind of inertial navigation system and method applied to sweeping robot |
CN109708630A (en) * | 2018-12-14 | 2019-05-03 | 北京航空航天大学 | A method of step-strap height measurement based on SHE model |
CN109708630B (en) * | 2018-12-14 | 2021-04-13 | 北京航空航天大学 | Step strapdown height measurement method based on SHE model |
CN109855621A (en) * | 2018-12-27 | 2019-06-07 | 国网江苏省电力有限公司检修分公司 | A kind of composed chamber's one skilled in the art's navigation system and method based on UWB and SINS |
CN109740537A (en) * | 2019-01-03 | 2019-05-10 | 广州广电银通金融电子科技有限公司 | The accurate mask method and system of pedestrian image attribute in crowd's video image |
CN109740537B (en) * | 2019-01-03 | 2020-09-15 | 广州广电银通金融电子科技有限公司 | Method and system for accurately marking attributes of pedestrian images in crowd video images |
CN109764865A (en) * | 2019-01-25 | 2019-05-17 | 北京交通大学 | An Indoor Positioning Method Based on MEMS and UWB |
CN110715659A (en) * | 2019-10-25 | 2020-01-21 | 高新兴物联科技有限公司 | Zero-speed detection method, pedestrian inertial navigation method, device and storage medium |
WO2024036816A1 (en) * | 2022-08-17 | 2024-02-22 | 孙全 | Automatic communication and emergency alerting system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107270896A (en) | A kind of pedestrian's positioning and trace tracking method and system | |
CN104567931B (en) | A kind of heading effect error cancelling method of indoor inertial navigation positioning | |
WO2020253854A1 (en) | Mobile robot posture angle calculation method | |
US11573086B2 (en) | Electronic apparatus of estimation of movement direction and method thereof | |
CN106525049B (en) | A kind of quadruped robot ontology posture tracking method based on computer vision | |
CN104180805B (en) | Indoor Pedestrian Location and Tracking Method Based on Smartphone | |
CN104635251B (en) | A kind of INS/GPS integrated positionings determine appearance new method | |
CN105674984B (en) | A method for obtaining the direction of pedestrians using mobile terminals without constraints | |
CN107687850A (en) | A kind of unmanned vehicle position and orientation estimation method of view-based access control model and Inertial Measurement Unit | |
CN103940425B (en) | A kind of magnetic inertia combines Strapdown inertial measurement method | |
CN104596504A (en) | Method and system for quickly setting up map to assist indoor positioning under emergency rescue scene | |
CN106647814A (en) | System and method of unmanned aerial vehicle visual sense assistant position and flight control based on two-dimensional landmark identification | |
CN109855621A (en) | A kind of composed chamber's one skilled in the art's navigation system and method based on UWB and SINS | |
CN105043385A (en) | Self-adaption Kalman filtering method for autonomous navigation positioning of pedestrians | |
CN106949889A (en) | For the inexpensive MEMS/GPS integrated navigation systems and method of pedestrian navigation | |
CN109001789B (en) | Unmanned vehicle positioning fusion method based on cross-correlation entropy registration | |
CN105761242A (en) | Blind person walking positioning method based on computer binocular vision and inertial measurement | |
CN110455301A (en) | A Dynamic Scene SLAM Method Based on Inertial Measurement Unit | |
CN106123900A (en) | Indoor pedestrian navigation magnetic heading calculation method based on modified model complementary filter | |
CN107167131A (en) | A kind of depth integration of micro-inertia measuring information and the method and system of real-Time Compensation | |
CN107677267A (en) | Indoor pedestrian navigation course feedback modifiers method based on MEMS IMU | |
CN103712598A (en) | Attitude determination system and method of small unmanned aerial vehicle | |
CN108413957A (en) | The method for carrying out pedestrian's course estimation under multiple carrying mode using mobile terminal | |
CN108106613A (en) | The localization method and system of view-based access control model auxiliary | |
CN109708631A (en) | A Pedestrian Navigation Course Correction Method Based on Mobile Phone Mode Recognition |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171020 |