[go: up one dir, main page]

CN106885566A - A kind of method of wearable motion sensor and its anti-magnetic interference - Google Patents

A kind of method of wearable motion sensor and its anti-magnetic interference Download PDF

Info

Publication number
CN106885566A
CN106885566A CN201710001913.9A CN201710001913A CN106885566A CN 106885566 A CN106885566 A CN 106885566A CN 201710001913 A CN201710001913 A CN 201710001913A CN 106885566 A CN106885566 A CN 106885566A
Authority
CN
China
Prior art keywords
magnetic field
acceleration
axis
static
sensor
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
CN201710001913.9A
Other languages
Chinese (zh)
Other versions
CN106885566B (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.)
Nanjing Zheli Intelligent Manufacturing Research Institute Co ltd
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201710001913.9A priority Critical patent/CN106885566B/en
Publication of CN106885566A publication Critical patent/CN106885566A/en
Application granted granted Critical
Publication of CN106885566B publication Critical patent/CN106885566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • 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/165Navigation; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Gyroscopes (AREA)

Abstract

本发明公开了一种可穿戴式运动传感器及其抗磁场干扰的方法,属于可穿戴式传感器的研究领域,可以在有磁场干扰的情况下实时精确地估算运动传感器当前的姿态角。本发明利用传感器模块采集的加速度、角速度和磁场的实时数据,根据这些信息判断传感器当前的运动状态和外部磁场干扰情况,然后采用自适应的策略进行多传感器信息融合,计算并输出运动传感器的姿态角。本发明使用方便,不受场地限制,成本低廉,可以在有磁场干扰的情况下实时、高精度地测量人体部位的姿态角,拥有较高的可靠性以及较好的推广前景。

The invention discloses a wearable motion sensor and a method for resisting magnetic field interference thereof, belonging to the research field of wearable sensors, and can accurately estimate the current attitude angle of the motion sensor in real time under the condition of magnetic field interference. The present invention uses the real-time data of acceleration, angular velocity and magnetic field collected by the sensor module, judges the current motion state of the sensor and the interference of the external magnetic field according to these information, and then adopts an adaptive strategy to perform multi-sensor information fusion, calculates and outputs the attitude of the motion sensor horn. The present invention is easy to use, is not limited by the site, has low cost, can measure the attitude angle of human body parts in real time and with high precision under the condition of magnetic field interference, and has high reliability and good promotion prospect.

Description

Wearable motion sensor and magnetic field interference resisting method thereof
Technical Field
The invention belongs to the field of wearable sensors, and particularly relates to a wearable motion sensor and a method for resisting magnetic field interference.
Background
With the development of micro-electro-mechanical systems (MEMS) technology, MEMS-based inertial sensors and magnetometers are widely applied in the field of human motion analysis, such as gesture recognition, joint kinematics analysis, and daily activity monitoring, with the advantages of low cost, small size, and light weight. In general, a typical motion sensor includes a three-axis accelerometer, a three-axis gyroscope, and a three-axis magnetometer, and it is very critical for human motion analysis to accurately measure the posture of a body part. In order to accurately acquire the posture of the body part, the multi-sensor information fusion through a fusion algorithm is a common method, and the more common fusion algorithm includes an extended kalman filter method, a gradient descent method, a complementary filter method and the like. By these algorithms, the accuracy of estimating the pose can be improved. However, the accuracy of the estimation is still susceptible to disturbances from the external environment, in particular magnetic field disturbances in the environment. Because the earth magnetic field is very weak, buildings, electromagnetic equipment, computers, mobile phones and the like in daily environments can generate large magnetic field interference. The root mean square error of the yaw angle caused by magnetic field disturbances may reach 15.4 ° (Yadav et al. attitude Sensors 142014 are accurately estimated by AHRS under magnetic field disturbance conditions). In order to solve the influence of magnetic field interference on the estimation accuracy, some methods set a magnetic field strength threshold, and a magnetic field exceeding the threshold is considered as a null magnetic field, but the adjustment of the threshold is a very tedious process and it is difficult to find a very suitable threshold. Also disclosed in patent application No. CN201310431846.6 is a motion inertial tracking system that avoids the problem of magnetic field interference affecting accuracy by removing magnetometer modules. However, after reducing the magnetometer modules, the absolute yaw angle cannot be obtained, and the yaw angle has a drift error. The invention patent with the application number of CN201510666248.6 discloses an indoor positioning method based on micro inertial sensors, which has a static and dynamic measurement data identification module, and can adopt different methods to estimate attitude angles for static and dynamic states, but the method is not particularly optimized for magnetic field interference, and when there is magnetic field interference in the environment, a large estimation error is still introduced. The accurate estimation of the attitude angle under the condition of magnetic field interference has important significance for human motion analysis, and a method for carrying out special optimization aiming at external magnetic interference is necessary to be provided, so that the attitude estimation of the motion sensor has stronger magnetic field interference resistance.
Disclosure of Invention
The invention aims to solve the problem of weak anti-magnetic field interference capability in the prior art, provides a wearable motion sensor and a method for resisting magnetic field interference thereof, and solves the technical problem of reduced precision of the motion sensor when magnetic field interference exists outside the motion sensor. In order to solve the technical problem, the invention adopts the following specific technical scheme: the utility model provides a wearable motion sensor, includes lithium cell, power management module, MCU module, sensor module and status indication module, the lithium cell links to each other with power management module, sensor module and status indication module all link to each other with the MCU module.
Furthermore, WIFI is integrated on the MCU module.
Further, the sensor module is composed of an accelerometer, a gyroscope and a magnetometer.
Another object of the present invention is to provide a method for resisting magnetic field interference using a wearable motion sensor, comprising the steps of: measuring acceleration, angular velocity and magnetic field information of the sensor module in real time, performing static judgment according to the acceleration and angular velocity information, if the acceleration and angular velocity information is static, keeping the current attitude unchanged, if the acceleration and angular velocity information is non-static, performing external magnetic field interference degree calculation, calculating weights of a 6-axis algorithm fusing the acceleration and the angular velocity and a 9-axis algorithm fusing the acceleration, the angular velocity and the magnetic field according to the magnetic field interference degree, weighting to obtain the current attitude of the sensor,
in the formula:for the estimated attitude of the sensor at time t (in quaternion form),for the pose obtained by the 6-axis algorithm,for the attitude obtained by the 9-axis algorithm, λ and 1- λ are the weights of the 6-axis algorithm and the 9-axis algorithm, respectively.
Further, the static state determination specifically comprises the following steps: when static detection is carried out, an acceleration static judgment condition and an angular velocity judgment condition are set, and the current sensor is judged to be in a static state only when the two conditions are met simultaneously.
The static judgment condition of the acceleration can be described as that the acceleration change amplitude in the 3-axis direction is smaller than a set threshold value in a certain time period, and can be represented as:
in the formula:indicating the acceleration of the sensor in the X-axis direction at time t, t0An adjustable time interval is indicated which is,is t-t0Acceleration in the direction of the X-axis at time thaThe threshold value is set for static determination, the static determination conditions for acceleration in the Y-axis and Z-axis directions are the same as those for the X-axis, and the static determination conditions for acceleration in the X, Y, Z-axis are in an and relationship.
The condition for judging the angular velocity data can be described as that the angular velocities of the 3 axes must be respectively smaller than a set threshold value, which can be expressed as:
in the formula: omegaxωyωzAngular velocities, th, of 3 axes, respectivelygyroIs a set angular velocity stationary determination threshold value, and the angular velocity stationary determination condition of the X, Y, Z axes is an and relationship.
Further, the solving process of the weight λ of the 6-axis algorithm is as follows:
the measured magnetic field strength and inclination are compared with the earth's magnetic field to determine the degree of disturbance, which can be expressed as:
λ1=|||mag||-m0|/m0ifλ1>1,λ1=1
λ2=|θdip0|/thdipifλ2>1,λ2=1
λ=(λ12)/2
in the formula: | mag | is the currently measured magnetic field magnitude, θdipFor the currently measured declination angle, m0And theta0Respectively the magnitude of the earth magnetic field and the angle of inclination, thdipFor a set maximum declination error, λ1Is the degree of magnetic field interference, λ, calculated from the magnitude of the magnetic field2Is calculated according to the magnetic inclination angle, and the final weight lambda is lambda1、λ2Average value of (a).
Compared with the prior art, the invention has the beneficial effects that:
1. the attitude angle is calculated by using the method, so that the angle estimation precision of the sensor can realize the interference immunity of the magnetic field with any intensity and duration under the static condition.
2. Under the dynamic condition, the influence of external magnetic field interference on the yaw angle estimation accuracy can be obviously reduced.
3. The method is independent of a specific fusion algorithm, has good universality, and can be added to a common attitude estimation algorithm to help the attitude estimation algorithm to enhance the magnetic field interference resistance.
4. The invention has simple hardware structure and few used components, and can obviously reduce the volume of the circuit board and reduce the cost.
Drawings
FIG. 1 is a schematic diagram of a motion sensor according to the present invention;
FIG. 2 is a block diagram of the method of the present invention for resisting magnetic field interference;
FIG. 3 is a schematic diagram illustrating determination of static acceleration determination parameters according to the present invention;
FIG. 4 is a schematic diagram of a static magnetic field disturbance rejection verification method according to the present invention;
FIG. 5 is a diagram illustrating the result of verifying the static state of the present invention against magnetic field interference;
FIG. 6 is a schematic diagram of a verification method for dynamic anti-magnetic field interference according to the present invention;
FIG. 7 is a graph of external magnetic field strength during dynamic anti-magnetic field disturbance verification in accordance with the present invention;
FIG. 8 is a graph of relative Euler angle error for dynamic anti-magnetic field disturbance validation in accordance with the present invention;
FIG. 9 is a diagram showing a relative Euler angle root mean square error statistics of the dynamic anti-magnetic field interference verification of the present invention.
Detailed Description
The invention will be further described below with reference to the accompanying drawings for better understanding. The technical features of the present invention can be combined with each other without conflicting with each other, and are not limited.
Some of the nouns referred to in the present invention have the following meanings:
the Euler angle is a Euler angle in a ZYX rotation sequence, wherein the Euler angle is a yaw angle by rotating around a Z axis, a pitch angle by rotating around a Y axis and a roll angle by rotating around the X axis.
Quaternions are another method for representing attitude, and can be understood as rotating an angle around a unit vector, the quaternion representation can avoid the singularity problem of the euler angle representation, and one quaternion can be represented as:
wherein,e=[exeyez]representing the axis of rotation and theta representing the angle of rotation of the vector about the axis of rotation.
The 6-axis algorithm is a multi-sensor information fusion algorithm for estimating attitude angles only by fusing triaxial acceleration and triaxial angular velocity information.
The 9-axis algorithm is a multi-sensor information fusion algorithm for estimating an attitude angle by fusing triaxial acceleration, triaxial angular velocity and triaxial magnetic field information.
The present invention uses a motion sensor with an accelerometer, gyroscope and magnetometer and a method for countering magnetic field disturbances for the device to estimate the current attitude of the sensor in real time. The specific implementation process of the invention is as follows:
1) preparation work:
fig. 1 is a block diagram of a motion sensor system according to the present invention, which includes a lithium battery, a power management module, an MCU module, a sensor module, and a status indication module, wherein the lithium battery is connected to the power management module, and the power management module, the sensor module, and the status indication module are all connected to the MCU module. The method for resisting magnetic field interference of the invention realizes real-time estimation of attitude angle in a motion sensor by a programming mode, a WiFi module is integrated on the MCU module, and the MCU module is selected as a CC3200 chip of TI company, but is not limited to the CC3200 chip; the sensor module comprises an accelerometer, a gyroscope and a magnetometer, and in the embodiment, the 9-axis sensor integrated sensor MPU9250 manufactured by invansense company is selected, but not limited to this. Before the motion sensor is used, magnetometer calibration is needed to remove fixed magnetic field interference. The sampling frequency of the motion sensor is 200Hz during use.
2) Static judgment and magnetic field interference degree calculation
Fig. 2 is a structural block diagram of the method for resisting magnetic field interference according to the present invention, in which a motion sensor collects current acceleration, angular velocity and magnetic field information in real time, and first performs static state detection according to the acceleration and the angular velocity, if the current attitude is determined to be static, the current attitude is kept unchanged, and if the current attitude is not static, the degree of external magnetic field interference is calculated. When static detection is carried out, an acceleration static judgment condition and an angular velocity judgment condition are set, and the current sensor is judged to be in a static state only when the two conditions are met simultaneously.
The static judgment condition of the acceleration can be described as that the acceleration change amplitude in the 3-axis direction is smaller than a set threshold value in a certain time period, and can be represented as:
in the formula:indicating the acceleration of the sensor in the X-axis direction at time t, t0An adjustable time interval is indicated which is,is t-t0Acceleration in the direction of the X-axis at time thaThe threshold value is set for static determination, the static determination conditions for acceleration in the Y-axis and Z-axis directions are the same as those for the X-axis, and the static determination conditions for acceleration in the X, Y, Z-axis are in an and relationship. FIG. 3 is a schematic diagram showing the selection of the threshold for static determination of acceleration, thaShould be slightly larger than the peak-to-peak value of the accelerometer at rest, t0The actual static to decision static delay is determined, and in this embodiment, t0Is selected to be 0.5s, tha0.04g was selected.
The condition for judging the angular velocity data can be described as that the angular velocities of the 3 axes must be respectively smaller than a set threshold value, which can be expressed as:
in the formula: omegaxωyωzAngular velocities, th, of 3 axes, respectivelygyroIs a set angular velocity stationary determination threshold value, and the angular velocity stationary determination condition of the X, Y, Z axes is an and relationship.
Likewise, th of settinggyroShould be slightly larger than the peak-to-peak value of the gyroscope at rest, in this embodiment thgyroThe selection was 3 °/s.
When the magnetic field interference degree is calculated, the measured magnetic field intensity and the magnetic inclination angle are compared with the geomagnetic field, so as to determine the interference degree, and the calculation formula can be expressed as:
λ1=|||mag||-m0|/m0ifλ1>1,λ1=1
λ2=|θdip0|/thdipifλ2>1,λ2=1
λ=(λ12)/2
in the formula: | mag | is the currently measured magnetic field magnitude, θdipFor the currently measured declination angle, m0And theta0The magnitude of the earth magnetic field and the magnetic tilt, respectively, whose values are determined during the calibration of the magnetometer. th (h)dipFor a set maximum declination error, λ1The magnetic field interference degree, lambda, is calculated according to the magnitude of the magnetic field2Is calculated according to the magnetic inclination angle, and the final weight lambda is lambda1、λ2Average value of (a).
In the present embodiment, the parameters for the calculation of the degree of magnetic field interference are determined as follows: m is0=0.46Gs,θ0=40.6°,thdipThe real-time magnetic tilt angle is represented by the formula theta at 20 DEGdipCalculation is given as arccos (a (q) g · h/| | h | |), where a (q) is the rotation matrix form of the current pose, g is the gravitational acceleration, and h is the measured magnetic field.
3) Calculation of sensor attitude angle
As shown in fig. 2, in the method of the present invention, a 6-axis algorithm for fusing acceleration and angular velocity information and a 9-axis algorithm for fusing acceleration and angular velocity magnetic field information are performed simultaneously, and both the 6-axis algorithm and the 9-axis algorithm of the present embodiment are based on a gradient descent method. In the sensor attitude solving process, when the sensor is in a static state, the attitude estimated in the previous time is directly used as the attitude of the time. When the sensor is in a dynamic state, applying the interference degree weights lambda and 1-lambda obtained by calculation to a 6-axis algorithm and a 9-axis algorithm respectively to obtain the attitude of the current time, which can be expressed as:
in the formula:for the estimated attitude of the sensor at time t (in quaternion form),for the pose obtained by the 6-axis algorithm,the pose obtained for the 9-axis algorithm.
4) Static anti-magnetic field interference verification
Fig. 4 is a schematic diagram of a static anti-magnetic field interference verification method in the present invention, in this experiment, a sensor is placed on a flat plate without magnetic field interference, a circular permanent magnet is moved back and forth to approach a motion sensor, in this way, external magnetic field interference is simulated, acceleration, angular velocity and magnetometer information at this time are collected, meanwhile, the current attitude angle of the sensor is estimated by using the method of the present invention and an original 9-axis algorithm, and the static anti-magnetic field interference effect of the present invention is determined by comparing the attitude angles obtained by the two methods.
5) Dynamic anti-magnetic field interference verification
The dynamic magnetic field interference resistance verification experiment is carried out on a 3-axis instrument rotary table, the 3-axis rotary table has three XYZ rotational degrees of freedom and corresponds to XYZ axes of an Euler angle attitude representation method one by one, each rotating shaft of the rotary table is provided with a motor and an encoder, the motor is used for providing rotating power, the encoder is used for measuring the rotating angle of each axis, and due to the fact that the accuracy of the encoder is high, the measured 3-axis angle is used as a standard value to be compared with the estimated attitude angle, and therefore the accuracy of the estimated attitude angle can be obtained.
Fig. 6 is a schematic diagram of the dynamic anti-magnetic field interference verification method according to this embodiment, where the lower left corner is a coordinate system of the instrument turntable, and the motion sensor is fixed on the X-axis frame. The X-axis frame is provided with a magnetic field interference simulation device which comprises a square plastic pipe with two closed ends and a round permanent magnet. When the experiment was carried out, XYZ axle rotates simultaneously, and circular permanent magnet can get down to slide back under the action of gravity, and the distance of permanent magnet and motion sensor also changes thereupon to produce the magnetic field interference of change, simulate external magnetic field interference with this mode. Under the condition, the attitude angle of the sensor is respectively estimated by using the method, the original 9-axis algorithm and the original 6-axis algorithm, the attitude angle is compared with the standard attitude angle provided by the rotary table to obtain the relative Euler angle error, and the dynamic anti-magnetic field interference effect of the invention is determined by comparing the estimation errors of the 3 algorithms.
6) Effect against magnetic field interference
In the embodiment, a static anti-magnetic field interference experiment and a dynamic anti-interference experiment are performed, and fig. 5 shows a static anti-interference experiment result, so that it can be seen that the attitude angle estimated by the method is completely not influenced by the external magnetic field interference, and still remains unchanged under the strong magnetic field interference, which is in line with the actual situation, and the deviation of the yaw angle of the original 9-axis algorithm reaches 50 °. In this embodiment, the dynamic anti-interference experiment is performed 10 times, and fig. 7 is an external magnetic field intensity diagram in one of the dynamic anti-magnetic field interference experiments, and it can be seen from the diagram that magnetic field interference occurs periodically. Fig. 8 is a relative euler angle error graph estimated by three comparison methods in the experiment, fig. 9 is a relative euler angle root mean square error graph obtained in all 10 experiments, and as can be seen from fig. 8 and 9, the relative euler angle error obtained by the method of the present invention is obviously smaller than the original 6-axis algorithm and 9-axis algorithm.
Therefore, the method improves the accuracy of estimating the attitude angle under static or dynamic conditions.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. As the selected 6-axis algorithm and 9-axis algorithm, a fusion algorithm based on extended kalman filtering or complementary filtering may also be used. It is therefore contemplated that the present invention cover any and all modifications, equivalents, and improvements that fall within the spirit and scope of the present invention.

Claims (6)

1.一种可穿戴式运动传感器,其特征在于,包括锂电池、电源管理模块、MCU模块、传感器模块和状态指示模块等,所述锂电池与电源管理模块相连,所述电源管理模块、传感器模块以及状态指示模块均与MCU模块相连。1. A wearable motion sensor, is characterized in that, comprises lithium battery, power management module, MCU module, sensor module and state indicator module etc., described lithium battery is connected with power management module, and described power management module, sensor The module and the status indication module are all connected with the MCU module. 2.根据权利要求1所述的可穿戴式运动传感器,其特征在于,所述MCU模块上集成有WIFI模块。2. The wearable motion sensor according to claim 1, wherein a WIFI module is integrated on the MCU module. 3.根据权利要求1所述的可穿戴式运动传感器,其特征在于,所述传感器模块由加速度计、陀螺仪以及磁力计组成。3. The wearable motion sensor according to claim 1, wherein the sensor module is composed of an accelerometer, a gyroscope and a magnetometer. 4.一种利用权利要求1所述的可穿戴式运动传感器的抗磁场干扰的方法,其特征在于,所述方法具体如下:实时测量传感器模块的加速度、角速度和磁场信息,根据加速度和角速度信息进行静态判断,如果为静态,则保持当前姿态不变,如果为非静态,则进行外部磁场干扰程度计算,根据磁场干扰程度计算出融合加速度和角速度的6轴算法以及融合加速度、角速度和磁场的9轴算法的权重,加权后得到传感器的当前姿态,4. A method utilizing the anti-magnetic field interference of the wearable motion sensor according to claim 1, characterized in that, the method is specifically as follows: real-time measurement of the acceleration, angular velocity and magnetic field information of the sensor module, according to the acceleration and angular velocity information Perform static judgment, if it is static, keep the current attitude unchanged, if it is non-static, calculate the degree of external magnetic field interference, and calculate the 6-axis algorithm of fusion acceleration and angular velocity according to the degree of magnetic field interference and the fusion of acceleration, angular velocity and magnetic field The weight of the 9-axis algorithm, after weighting, the current attitude of the sensor is obtained, qq EE. SS tt == &lambda;&lambda; qq EE. SS II Mm Uu ,, tt ++ (( 11 -- &lambda;&lambda; )) qq EE. SS Mm II Mm Uu ,, tt 00 &le;&le; &lambda;&lambda; &le;&le; 11 式中:为估算的传感器在t时刻的姿态(四元数形式),为6轴算法得到的姿态,为9轴算法得到的姿态,λ和1-λ分别为6轴算法和9轴算法的权重。In the formula: is the estimated attitude of the sensor at time t (quaternion form), is the attitude obtained by the 6-axis algorithm, is the attitude obtained by the 9-axis algorithm, and λ and 1-λ are the weights of the 6-axis algorithm and the 9-axis algorithm, respectively. 5.根据权利要求4所述的可穿戴式运动传感器的抗磁场干扰的方法,其特征在于,所述静态判断具体步骤如下:进行静态检测时,设置了加速度静态判断条件和角速度判断条件,只有同时满足这两个条件时才判定当前传感器处于静态。5. The anti-magnetic field interference method of the wearable motion sensor according to claim 4, wherein the specific steps of the static judgment are as follows: when performing static detection, the acceleration static judgment condition and the angular velocity judgment condition are set, and only When these two conditions are met at the same time, it is determined that the current sensor is static. 加速度的静态判断条件可描述为在一定的时间段内,3轴方向上的加速度变化幅度小于设定的阈值,可以表示为:The static judgment condition of acceleration can be described as that within a certain period of time, the acceleration variation in the 3-axis direction is less than the set threshold, which can be expressed as: || aa xx tt -- aa xx tt -- tt 00 || << tt hh aa || aa ythe y tt -- aa ythe y tt -- tt 00 || << ththe th aa || aa zz tt -- aa zz tt -- tt 00 || << ththe th aa 式中:表示传感器在t时刻X轴方向的加速度,t0表示一个可调的时间间隔,是t-t0时刻X轴方向的加速度,tha是设定的静态判断的阈值,Y轴,Z轴方向的加速度静态判断条件与X轴的条件相同,X、Y、Z轴的加速度静止判断条件是“与”的关系。In the formula: Indicates the acceleration of the sensor in the X-axis direction at time t, t 0 represents an adjustable time interval, is the acceleration in the X-axis direction at time tt 0 , th a is the threshold value of the static judgment set, the static judgment conditions for the acceleration in the Y-axis and Z-axis directions are the same as the conditions for the X-axis, and the static judgment conditions for the acceleration in the X, Y, and Z axes It is an "and" relationship. 角速度数据判断的条件可描述为3轴的角速度必须分别小于一个设定的阈值,可表示为:The condition for judging angular velocity data can be described as that the angular velocity of the three axes must be less than a set threshold, which can be expressed as: || &omega;&omega; xx || << tt hh gg ythe y rr oo || &omega;&omega; ythe y || << ththe th gg ythe y rr oo || &omega;&omega; zz || << ththe th gg ythe y rr oo 式中:ωxωyωz分别是3轴的角速度,thgyro是设定的角速度静止判断阈值,X,Y,Z轴的角速度静止判断条件是“与”的关系。In the formula: ω x ω y ω z are the angular velocities of the three axes respectively, th gyro is the set angular velocity static judgment threshold, and the angular velocity static judgment conditions of the X, Y, and Z axes are in the relationship of "and". 6.根据权利要求4所述的用于可穿戴式运动传感器的抗磁场干扰的方法,其特征在于,所述6轴算法的权重λ的求解过程如下:6. the method for the anti-magnetic field interference of wearable motion sensor according to claim 4, is characterized in that, the solution process of the weight λ of described 6 axis algorithms is as follows: 将测得的磁场强度和磁倾角与地磁场进行比较,从而确定干扰的程度,其计算公式可表示为:Compare the measured magnetic field strength and magnetic inclination with the geomagnetic field to determine the degree of interference. The calculation formula can be expressed as: &lambda;&lambda; 11 == || || || mm aa gg || || -- mm 00 || mm 00 ii ff &lambda;&lambda; 11 >> 11 ,, &lambda;&lambda; 11 == 11 &lambda;&lambda; 22 == || &theta;&theta; dd ii pp -- &theta;&theta; 00 || ththe th dd ii pp ii ff &lambda;&lambda; 22 >> 11 ,, &lambda;&lambda; 22 == 11 λ=(λ12)/2λ=(λ 12 )/2 式中:||mag||为当前测得的磁场大小,θdip为当前测得的磁倾角,m0和θ0分别是地磁场大小和磁倾角,thdip为设定的最大磁倾角误差,λ1是通过磁场大小计算的磁场干扰程度,λ2是根据磁倾角计算的干扰程度,最后的权重λ取λ1、λ2的平均值。In the formula: ||mag|| is the current measured magnetic field size, θ dip is the current measured magnetic dip angle, m 0 and θ 0 are the geomagnetic field size and magnetic dip angle respectively, and th dip is the set maximum magnetic dip angle error , λ 1 is the magnetic field interference degree calculated by the magnetic field size, λ 2 is the interference degree calculated by the magnetic inclination angle, and the final weight λ is the average value of λ 1 and λ 2 .
CN201710001913.9A 2017-01-03 2017-01-03 A wearable motion sensor and its anti-magnetic field interference method Active CN106885566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710001913.9A CN106885566B (en) 2017-01-03 2017-01-03 A wearable motion sensor and its anti-magnetic field interference method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710001913.9A CN106885566B (en) 2017-01-03 2017-01-03 A wearable motion sensor and its anti-magnetic field interference method

Publications (2)

Publication Number Publication Date
CN106885566A true CN106885566A (en) 2017-06-23
CN106885566B CN106885566B (en) 2019-12-17

Family

ID=59176562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710001913.9A Active CN106885566B (en) 2017-01-03 2017-01-03 A wearable motion sensor and its anti-magnetic field interference method

Country Status (1)

Country Link
CN (1) CN106885566B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107561462A (en) * 2017-09-05 2018-01-09 重庆金山医疗器械有限公司 The full attitude sensing system of capsule and space magnetic field detection means based on variation magnetic field
CN107576321A (en) * 2017-08-30 2018-01-12 北京小米移动软件有限公司 Determine the method, device and mobile terminal of magnetic azimuth
CN108710432A (en) * 2018-05-08 2018-10-26 北京诺亦腾科技有限公司 A kind of diamagnetic method, attitude determination method and the device of motion capture equipment
CN109480858A (en) * 2018-12-29 2019-03-19 中国科学院合肥物质科学研究院 It is a kind of for quantify detect disturbances in patients with Parkinson disease bradykinesia symptom wearable intelligence system and method
CN109631888A (en) * 2019-01-04 2019-04-16 北京卡路里信息技术有限公司 Movement locus recognition methods, device, wearable device and storage medium
CN109959392A (en) * 2019-04-04 2019-07-02 上海扩博智能技术有限公司 Motion sensor calibration method, system, equipment and medium for intelligent refrigerator
CN110020445A (en) * 2017-07-27 2019-07-16 高德信息技术有限公司 A kind of method and device for distributing complementary weight parameter
CN110086563A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of method of controlling rotation, equipment and computer readable storage medium
CN110987004A (en) * 2019-12-02 2020-04-10 北京自动化控制设备研究所 Alignment method of ship inertial navigation based on zero-speed matched filter
CN112304316A (en) * 2020-10-23 2021-02-02 重庆越致科技有限公司 Method and device for automatically detecting state and track of pedestrian taking elevator
CN115067933A (en) * 2022-06-02 2022-09-20 深圳市鼎丰基业科技有限公司 Motion attitude detection device
CN116595487A (en) * 2023-06-05 2023-08-15 天璺科技(上海)有限公司 A method and system for adaptive IMU attitude fusion based on dynamic and static switching

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101915580A (en) * 2010-07-14 2010-12-15 中国科学院自动化研究所 An Adaptive 3D Attitude Positioning Method Based on Micro-inertia and Geomagnetic Technology
US8275544B1 (en) * 2005-11-21 2012-09-25 Miltec Missiles & Space Magnetically stabilized forward observation platform
CN103148848A (en) * 2011-12-07 2013-06-12 三星电子株式会社 Mobile terminal for positioning system based on magnetic field map and method thereof
CN105606096A (en) * 2016-01-28 2016-05-25 北京航空航天大学 Attitude and heading calculation method and system assisted by carrier movement state information
CN106017459A (en) * 2016-05-19 2016-10-12 极翼机器人(上海)有限公司 Method for resisting magnetic interference
CN205642393U (en) * 2016-05-26 2016-10-12 深圳市海思达智能科技有限公司 Inertial positioning system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8275544B1 (en) * 2005-11-21 2012-09-25 Miltec Missiles & Space Magnetically stabilized forward observation platform
CN101915580A (en) * 2010-07-14 2010-12-15 中国科学院自动化研究所 An Adaptive 3D Attitude Positioning Method Based on Micro-inertia and Geomagnetic Technology
CN103148848A (en) * 2011-12-07 2013-06-12 三星电子株式会社 Mobile terminal for positioning system based on magnetic field map and method thereof
CN105606096A (en) * 2016-01-28 2016-05-25 北京航空航天大学 Attitude and heading calculation method and system assisted by carrier movement state information
CN106017459A (en) * 2016-05-19 2016-10-12 极翼机器人(上海)有限公司 Method for resisting magnetic interference
CN205642393U (en) * 2016-05-26 2016-10-12 深圳市海思达智能科技有限公司 Inertial positioning system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020445A (en) * 2017-07-27 2019-07-16 高德信息技术有限公司 A kind of method and device for distributing complementary weight parameter
CN110020445B (en) * 2017-07-27 2023-08-11 阿里巴巴(中国)有限公司 Method and device for distributing complementary weight parameters
CN107576321A (en) * 2017-08-30 2018-01-12 北京小米移动软件有限公司 Determine the method, device and mobile terminal of magnetic azimuth
CN107561462A (en) * 2017-09-05 2018-01-09 重庆金山医疗器械有限公司 The full attitude sensing system of capsule and space magnetic field detection means based on variation magnetic field
CN108710432A (en) * 2018-05-08 2018-10-26 北京诺亦腾科技有限公司 A kind of diamagnetic method, attitude determination method and the device of motion capture equipment
CN109480858A (en) * 2018-12-29 2019-03-19 中国科学院合肥物质科学研究院 It is a kind of for quantify detect disturbances in patients with Parkinson disease bradykinesia symptom wearable intelligence system and method
CN109480858B (en) * 2018-12-29 2022-02-22 中国科学院合肥物质科学研究院 A wearable intelligent system and method for quantitatively detecting symptoms of bradykinesia in Parkinson's patients
CN109631888A (en) * 2019-01-04 2019-04-16 北京卡路里信息技术有限公司 Movement locus recognition methods, device, wearable device and storage medium
CN109959392A (en) * 2019-04-04 2019-07-02 上海扩博智能技术有限公司 Motion sensor calibration method, system, equipment and medium for intelligent refrigerator
CN109959392B (en) * 2019-04-04 2021-05-04 上海扩博智能技术有限公司 Motion sensor calibration method, system, device and medium for intelligent refrigerator
CN110086563A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of method of controlling rotation, equipment and computer readable storage medium
CN110987004A (en) * 2019-12-02 2020-04-10 北京自动化控制设备研究所 Alignment method of ship inertial navigation based on zero-speed matched filter
CN112304316A (en) * 2020-10-23 2021-02-02 重庆越致科技有限公司 Method and device for automatically detecting state and track of pedestrian taking elevator
CN115067933A (en) * 2022-06-02 2022-09-20 深圳市鼎丰基业科技有限公司 Motion attitude detection device
CN116595487A (en) * 2023-06-05 2023-08-15 天璺科技(上海)有限公司 A method and system for adaptive IMU attitude fusion based on dynamic and static switching

Also Published As

Publication number Publication date
CN106885566B (en) 2019-12-17

Similar Documents

Publication Publication Date Title
CN106885566B (en) A wearable motion sensor and its anti-magnetic field interference method
Wu et al. Fast complementary filter for attitude estimation using low-cost MARG sensors
CN101915580B (en) Self-adaptation three-dimensional attitude positioning method based on microinertia and geomagnetic technology
CN107478223A (en) A kind of human body attitude calculation method based on quaternary number and Kalman filtering
CN106123900B (en) Magnetic heading solution method for indoor pedestrian navigation based on improved complementary filtering
CN106500695A (en) A kind of human posture recognition method based on adaptive extended kalman filtering
CN108225308A (en) A kind of attitude algorithm method of the expanded Kalman filtration algorithm based on quaternary number
CN101726295A (en) Unscented Kalman filter-based method for tracking inertial pose according to acceleration compensation
CN106323334B (en) A kind of magnetometer calibration method based on particle group optimizing
CN108318038A (en) A kind of quaternary number Gaussian particle filtering pose of mobile robot calculation method
CN109682377A (en) A kind of Attitude estimation method based on the decline of dynamic step length gradient
CN103487011B (en) Attitude angle detection method of data glove
CN108225370A (en) A kind of data fusion and calculation method of athletic posture sensor
CN103175502A (en) Attitude angle detecting method based on low-speed movement of data glove
CN111121820A (en) MEMS inertial sensor array fusion method based on Kalman filtering
CN107402007A (en) A kind of method for improving miniature AHRS modules precision and miniature AHRS modules
Cui et al. Calibration of MEMS accelerometer using kaiser filter and the ellipsoid fitting method
Hoang et al. Pre-processing technique for compass-less madgwick in heading estimation for industry 4.0
Hoang et al. Measurement optimization for orientation tracking based on no motion no integration technique
CN109443333B (en) A Feedback Weighted Fusion Method of Gyro Array
CN106595669A (en) Attitude calculation method of rotating body
Blachuta et al. Attitude and heading reference system based on 3D complementary filter
Liu et al. Estimation of inertial/magnetic sensor orientation for human-motion-capture system
CN107063173A (en) Angle detecting method and joint motions angle detecting system
Akeila et al. Implementation, calibration and testing of GFINS models based on six-accelerometer cube

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210618

Address after: No. 288, Qinhuai Avenue, yongyang street, Nanjing City, Jiangsu Province, 211299

Patentee after: Nanjing Zheli Intelligent Manufacturing Research Institute Co.,Ltd.

Address before: 310058 Yuhang Tang Road, Xihu District, Hangzhou, Zhejiang 866

Patentee before: ZHEJIANG University