[go: up one dir, main page]

CN119063765A - Attitude estimation method, device, terminal and storage medium - Google Patents

Attitude estimation method, device, terminal and storage medium Download PDF

Info

Publication number
CN119063765A
CN119063765A CN202411349384.8A CN202411349384A CN119063765A CN 119063765 A CN119063765 A CN 119063765A CN 202411349384 A CN202411349384 A CN 202411349384A CN 119063765 A CN119063765 A CN 119063765A
Authority
CN
China
Prior art keywords
axis
acceleration value
gyro
value
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411349384.8A
Other languages
Chinese (zh)
Inventor
方泽莉
朱炯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaoxing Yuanfang Semiconductor Co Ltd
Original Assignee
Shaoxing Yuanfang Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shaoxing Yuanfang Semiconductor Co Ltd filed Critical Shaoxing Yuanfang Semiconductor Co Ltd
Priority to CN202411349384.8A priority Critical patent/CN119063765A/en
Publication of CN119063765A publication Critical patent/CN119063765A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C1/00Measuring angles
    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P21/00Testing or calibrating of apparatus or devices covered by the preceding groups

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例公开了一种姿态估计方法、装置、终端及存储介质。该方案可以通过加速度计测量当前的第一加速度值,并在三维坐标系中分解为第一加速度值在X轴、Y轴以及Z轴上的第一分量,通过陀螺仪测量当前的第一加速度值在XZ平面的投影和Z轴夹角的角度变化率,以及在YZ平面的投影和Z轴夹角的角度变化率,根据角度变化率计算经过陀螺仪修正的第二加速度值分别在X轴、Y轴以及Z轴上的第二分量,分别获取第一加速度值和第二加速度值各自的置信度,根据置信度、第一分量以及第二分量计算当前设备的姿态估计值。本申请实施例所提供的方案可以根据加速度计测量的第一加速度值以及经过陀螺仪修正的第二加速度值对设备的姿态进行估计,从而可以提升姿态估计的准确性。

The embodiment of the present invention discloses a posture estimation method, device, terminal and storage medium. The scheme can measure the current first acceleration value through an accelerometer, and decompose it into the first component of the first acceleration value on the X-axis, Y-axis and Z-axis in a three-dimensional coordinate system, measure the angle change rate of the projection of the current first acceleration value on the XZ plane and the Z-axis angle, and the angle change rate of the projection on the YZ plane and the Z-axis angle through a gyroscope, calculate the second component of the second acceleration value corrected by the gyroscope on the X-axis, Y-axis and Z-axis respectively according to the angle change rate, obtain the confidence of each of the first acceleration value and the second acceleration value respectively, and calculate the posture estimation value of the current device according to the confidence, the first component and the second component. The scheme provided by the embodiment of the present application can estimate the posture of the device according to the first acceleration value measured by the accelerometer and the second acceleration value corrected by the gyroscope, thereby improving the accuracy of posture estimation.

Description

Attitude estimation method, attitude estimation device, terminal and storage medium
Technical Field
The invention relates to the technical field of sensing, in particular to a posture estimation method, a device, a terminal and a storage medium.
Background
The accelerometer is a meter for measuring acceleration. Acceleration measurement is an important issue presented by engineering technology. When an object has a large acceleration, the object and its carried instruments and other objects without relative acceleration are subjected to forces that produce the same large acceleration, i.e. to dynamic loads. The acceleration is measured for the dynamic load. Among them, MEMS accelerometers have been widely used in various industries, and the accelerometers can be used to measure the tilt angle of an object in three dimensions. The MEMS accelerometer is based on MEMS technology, and realizes the perception of the motion state and the gesture of an object by measuring the acceleration of the object. The working principle is that the inertia of the movable part is utilized, and the capacitance change is directly proportional to the acceleration caused by the change of the distance of the capacitance plate.
However, during the research and practice of the prior art, the applicant has found that the data measured directly by the accelerometer of the prior art are not perfectly accurate, but have a certain deviation, since the accelerometer measures inertial forces, which are mainly caused by gravity and possibly by the acceleration of the movement of the object. Even though the accelerometer is in a relatively steady state, it is very sensitive to general vibration and mechanical noise. If they are used for program control, a lot of noise is necessarily introduced, so that the data measured by the sensor is severely distorted, and the accuracy of measurement is poor.
Disclosure of Invention
The embodiment of the invention provides a posture estimation method, a device, a terminal and a storage medium, which can estimate the posture of equipment according to a first acceleration value measured by an accelerometer and a second acceleration value corrected by a gyroscope, so that the accuracy of posture estimation can be improved.
The embodiment of the invention provides a posture estimation method, which comprises the following steps:
Measuring a current first acceleration value by an accelerometer and decomposing the current first acceleration value into first components of the first acceleration value in an X axis, a Y axis and a Z axis in a three-dimensional coordinate system;
Measuring the angle change rate of the projection of the current first acceleration value on the XZ plane and the Z-axis included angle and the angle change rate of the projection on the YZ plane and the Z-axis included angle through a gyroscope;
Calculating second components of the second acceleration value corrected by the gyroscope on the X axis, the Y axis and the Z axis respectively according to the angle change rate;
The confidence degrees of the first acceleration value and the second acceleration value are respectively obtained;
and calculating an attitude estimation value of the current equipment according to the confidence level, the first component and the second component.
The embodiment of the invention also provides a gesture estimation device, which comprises:
the first measuring unit is used for measuring a current first acceleration value through the accelerometer and decomposing the current first acceleration value into first components of the first acceleration value in an X axis, a Y axis and a Z axis in a three-dimensional coordinate system;
the second measuring unit is used for measuring the angular change rate of the projection of the current first acceleration value on the XZ plane and the Z-axis included angle and the angular change rate of the projection on the YZ plane and the Z-axis included angle through the gyroscope;
A calculation unit for calculating second components of the gyroscope-corrected second acceleration values on the X axis, the Y axis and the Z axis respectively according to the angle change rate;
The acquisition unit is used for respectively acquiring the confidence degrees of the first acceleration value and the second acceleration value;
And the estimation unit is used for calculating the attitude estimation value of the current equipment according to the confidence level, the first component and the second component.
The embodiment of the invention also provides a terminal which comprises a memory and a processor, wherein the memory stores an application program processing program, and the application program processing program realizes the steps of any one of the gesture estimation methods provided by the embodiment of the invention when being executed by the processor.
The embodiment of the invention also provides a computer-readable storage medium, which stores a plurality of instructions suitable for being loaded by a processor to execute any of the posture estimation methods provided by the embodiment of the invention.
According to the attitude estimation method provided by the embodiment of the application, the current first acceleration value can be measured through the accelerometer and is decomposed into first components of the first acceleration value on the X axis, the Y axis and the Z axis in the three-dimensional coordinate system, the angular change rate of the projection of the current first acceleration value on the XZ plane and the included angle of the Z axis and the angular change rate of the projection of the current first acceleration value on the YZ plane and the included angle of the Z axis are measured through the gyroscope, second components of the second acceleration value corrected by the gyroscope on the X axis, the Y axis and the Z axis are calculated according to the angular change rate, the confidence coefficient of each of the first acceleration value and the second acceleration value is obtained respectively, and the attitude estimation value of the current equipment is calculated according to the confidence coefficient, the first components and the second components. The proposal provided by the embodiment of the application can estimate the gesture of the equipment according to the first acceleration value measured by the accelerometer and the second acceleration value corrected by the gyroscope, thereby improving the accuracy of gesture estimation.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a gesture estimation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a second flow chart of a gesture estimation method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an attitude estimation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element(s) defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other like elements in different embodiments of the application having the same meaning as may be defined by the same meaning as they are explained in this particular embodiment or by further reference to the context of this particular embodiment.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
It should be noted that, in this document, step numbers such as 101 and 102 are used for the purpose of more clearly and briefly describing the corresponding contents, and not to constitute a substantial limitation on the sequence, and those skilled in the art may execute 102 first and then execute 101 when they are implemented, which is within the scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the invention provides a posture estimation method, and an execution subject of the posture estimation method can be a posture estimation device provided by the embodiment of the invention or an intelligent terminal and a server integrated with the posture estimation device, wherein the posture estimation device can be realized in a hardware or software mode.
Specifically, referring to fig. 1, fig. 1 is a schematic flow chart of a gesture estimation method according to an embodiment of the present invention, where the specific flow of the gesture estimation method may be as follows:
101. the current first acceleration value is measured by an accelerometer and resolved in a three-dimensional coordinate system into first components of the first acceleration value in the X-axis, Y-axis and Z-axis.
In an embodiment, the accelerometer may be integrated on an electronic device (such as a smart phone) or on a wearable device (such as a smart bracelet, a smart watch), and when the accelerometer is stationary, the 3 coordinate axis directions x, y, z of the sensor correspond to the right side direction, the front direction, and the vertical direction, respectively. When the accelerometer is in a static state, the acceleration in the axial direction of X, Y, Z is 0.0m/s2,0.0m/m/s2 and 9.8m/m/s2 respectively, and when the accelerometer is in a motion state, the axial direction of X, Y, Z is changed, so that the acceleration value of the accelerometer in each direction can be read, and the acceleration values can be respectively recorded as Rx_acc, ry_acc and rz_acc, namely first components of the first acceleration values in the X axis, the Y axis and the Z axis. In an embodiment, the sampling frequency of the accelerometer may be adjusted according to the current device power, so as to improve the endurance of the device.
In an embodiment, after the first components of the first acceleration values in the X-axis, the Y-axis and the Z-axis are obtained, 2 times of filtering processing may be further performed, including first order low-pass filtering processing and moving average filtering processing, for example. The low-pass filtering process is used for filtering out some interference generated by the acceleration sensor hardware, the moving average filtering process is used for filtering out some pseudo peaks, and an FIR filter can be selected. In this implementation, the FIR filter may be designed using a window function method. The sampling points in the walking stage are intercepted, and after low-pass filtering and secondary filtering, the waveform is smoother than the original waveform, and meanwhile, the pseudo wave crest generated by body jitter is greatly reduced.
102. And measuring the angular change rate of the projection of the current first acceleration value on the XZ plane and the Z-axis included angle and the angular change rate of the projection of the current first acceleration value on the YZ plane and the Z-axis included angle through a gyroscope.
In an embodiment, components of the gyroscope model on the X-axis, the Y-axis and the Z-axis respectively in the three-dimensional coordinate system according to the first acceleration value R, that is, rx, ry and Rz, may be first determined, and then a projection of the first acceleration value on the XZ plane and an included angle of the Z-axis may be defined as Axz, and correspondingly, a projection of the first acceleration value on the YZ plane and an included angle of the Z-axis may be Ayz.
The right triangle formed by Rz and Axz can be deduced that tan (Axz) =rx/Rz, after transformation, axz=atan2 (Rx, rz), and, similarly, ayz=atan2 (Ry, rz), for the angle Axz, since the gyroscope measures the rate of change of the angle of Axz and the rate of change of the angle of Ayz, the new angles Axz (n) and Ayz (n) can be estimated as follows:
Axz(n)= Axz(n-1)+Rate(Axz(n))T
Ayz(n)= Ayz(n-1)+Rate(Ayz(n))T
Wherein n is the current measurement times, T is the measurement interval time, axz (n) is the angle change Rate of the projection of the first acceleration value on the XZ plane and the Z-axis included angle, ayz (n) is the angle change Rate of the projection of the first acceleration value on the YZ plane and the Z-axis included angle, axz (n-1) and Ayz (n-1) are the previous angle change Rate measurement results, and are related to the previous attitude estimation values, and Rate (Axz (n)) and Rate (Ayz (n)) are read from the ADC of the gyroscope.
The above-mentioned Axz (n-1) can be calculated by the component Rx_est (n-1) of the previous attitude estimation value on the X axis and the component rz_est (n-1) on the Z axis, and the calculation formula is that Axz (n-1) =atan2 (Rx_est (n-1), rz_est (n-1)), and accordingly Ayz (n-1) =atan2 (Ry_est (n-1), rz_est (n-1)).
103. And calculating second components of the gyroscope-corrected second acceleration values in the X axis, the Y axis and the Z axis respectively according to the angle change rate.
In an embodiment, the second components of the second acceleration values in the X-axis, the Y-axis and the Z-axis are derived according to the Axz (n) and the Ayz (n), and may be defined as rx_gyro, ry_gyro, and rz_gyro, and first according to the three-dimensional pythagorean theorem R 2=Rx2+ Ry2+ Rz2, so that r_gyro may be written as:
meanwhile, since R_acc is standardized, the length of R_acc is considered to be 1 and the length is kept unchanged after rotation, the following mode can be written as R_gyro=1, and the R_gyro=1 can be obtained after being brought into the formula for conversion:
wherein when rz_gyro > =0, sign (rz_gyro) =1, and when rz_gyro <0, sign (rz_gyro) = -1.
104. And respectively acquiring the confidence degrees of the first acceleration value and the second acceleration value.
In one embodiment, the first acceleration value is the acceleration measured directly by the accelerometer, so that the accelerometer is at rest or near rest and the measured acceleration consists essentially of gravitational acceleration. At the surface of the earth, the magnitude of the gravitational acceleration is about 9.81 m/s2. When the device is stationary, the accelerometer readings in the vertical direction (typically the Z-axis, but depending on the orientation of the device) will approach this value. So the readings of the accelerometer in three axes can be taken, if the device is stationary, the magnitude of the gravitational acceleration can be estimated by calculating a vector modulus, and the confidence level corresponding to the first acceleration can be determined by comparing the calculated g with the theoretical value of 9.81 m/s2.
Further, the gyroscope itself does not directly measure gravitational acceleration, but it can measure the angular velocity of the device, so that the rotation of the device can be inferred, so this embodiment can evaluate the confidence in the accelerometer in measuring gravitational acceleration by analyzing the gyroscope data. Specifically, the angular velocity of the gyroscope in three axes may be read, the gyroscope data may be used to estimate the rotation of the device, for example, by integrating the angular velocity to estimate the angle of rotation, if the device is rotating rapidly, the accelerometer readings may be affected by centrifugal acceleration and thus deviate from true gravitational acceleration, by comparing the rotational velocity indicated by the gyroscope data with the change in accelerometer readings, it may be determined whether the accelerometer readings are affected by non-gravitational acceleration, if the gyroscope data display device is in a relatively stationary or slowly rotating state, and the accelerometer readings are stable, the confidence of gravitational acceleration is high.
105. And calculating the attitude estimation value of the current equipment according to the confidence level, the first component and the second component.
In one embodiment, the pose estimate for the current device may be calculated by the following formula:
Where r_est (n) is the pose estimation value of the current device, w1 is the confidence level of the first acceleration value, w2 is the confidence level of the second acceleration value, r_acc= [ rx_acc, ry_acc, rz_acc ], r_gyro= [ rx_gyro, ry_gyro, rz_gyro ].
In the above, the attitude estimation method provided by the embodiment of the application may measure the current first acceleration value through the accelerometer, decompose the current first acceleration value into the first components of the first acceleration value on the X axis, the Y axis and the Z axis in the three-dimensional coordinate system, measure the angular change rate of the projection of the current first acceleration value on the XZ plane and the Z axis included angle and the angular change rate of the projection of the current first acceleration value on the YZ plane and the Z axis included angle through the gyroscope, calculate the second components of the second acceleration value corrected by the gyroscope on the X axis, the Y axis and the Z axis respectively according to the angular change rate, and obtain the respective confidence coefficients of the first acceleration value and the second acceleration value respectively, and calculate the attitude estimation value of the current device according to the confidence coefficient, the first component and the second component. The proposal provided by the embodiment of the application can estimate the gesture of the equipment according to the first acceleration value measured by the accelerometer and the second acceleration value corrected by the gyroscope, thereby improving the accuracy of gesture estimation.
The method according to the previous embodiments will be described in further detail below.
Referring to fig. 2, fig. 2 is a schematic flow chart of a second method for estimating an attitude according to an embodiment of the invention. The method comprises the following steps:
201. The current first acceleration value is measured by an accelerometer and resolved in a three-dimensional coordinate system into first components of the first acceleration value in the X-axis, Y-axis and Z-axis.
In one embodiment, the first component of the first acceleration value in the X-axis, Y-axis, and Z-axis may be calculated by the following formula:
Wherein, ,,A first component of the first acceleration value in the X-axis, the Y-axis and the Z-axis respectively,,,Analog values output by the accelerometer on the X axis, the Y axis and the Z axis are respectively read by the ADC,In order to acquire a reference voltage value for the system,Is the zero drift value of the acceleration chip,For the sensitivity of the chip, the unit mV/(deg/s), is usually written as mV/deg/s, meaning how much the output of the gyroscope increases if the rotation speed increases by 1 deg/s. The sensitivity value of the Acc_gyro plate in the embodiment of the application is 2mV/deg/s or 0.002V/deg/s.
It should be noted that, r_acc= [ rx_acc, ry_acc, rz_acc ], r_acc is the first acceleration value measured by the accelerometer, while r_acc is the gravity force measured when stationary, and if the obtained vector length is approximately equal to 1 gravity acceleration g, it is correct, that is, it may be expressed as follows:
202. the components of the previous attitude estimation value on the X axis, the components on the Y axis, and the components on the Z axis are acquired.
The embodiment of the application introduces a new vector, namely the data R_est of the accelerometer corrected by the gyroscope data, which is expressed as follows:
accordingly, the previous attitude estimation value R_est (n-1) on the X-axis, the Y-axis, and the Z-axis may be expressed as Rx_est (n-1), ry_est (n-1), and rz_est (n-1).
203. The projection of the first acceleration value on the XZ plane and the angle change rate of the Z axis included angle are calculated through the previous component of the attitude estimation value on the X, Z axis, and the projection of the first acceleration value on the YZ plane and the angle change rate of the Z axis included angle are calculated through the previous component of the attitude estimation value on the Y, Z axis.
Further, after the above Rx_est (n-1) and rz_est (n-1) are obtained, it is possible to calculate:
where Axz (n-1) is the previous angular rate of change measurement, and the gyroscope measures the angular rate of change of Axz, so a new angle Axz (n) can be calculated as follows:
Axz(n)= Axz(n-1)+Rate(Axz(n))T
Wherein n is the current measurement times, T is the measurement interval time, axz (n) is the angle change Rate of the projection of the first acceleration value on the XZ plane and the Z-axis included angle, axz (n-1) is the previous angle change Rate measurement result, and is related to the previous attitude estimation value, and Rate (Axz (n)) can be read from the ADC of the gyroscope.
The same principle can be obtained:
Ayz(n)= Ayz(n-1)+Rate(Ayz(n))T
ayz (n) is the angle change rate of the projection of the first acceleration value on the YZ plane and the Z-axis included angle.
204. And calculating second components of the second acceleration value corrected by the gyroscope on the X axis and the Y axis respectively according to the angle change rate.
205. And calculating second components of the second acceleration values in the Z axis according to the second components of the second acceleration values in the X axis and the Y axis respectively.
In an embodiment, the second components of the second acceleration values in the X-axis, the Y-axis, and the Z-axis may be further calculated, and may be defined as rx_gyro, ry_gyro, and rz_gyro, respectively, first according to the three-dimensional pythagorean theorem R 2=Rx2+ Ry2+ Rz2, so that r_gyro may be written as:
Meanwhile, since r_acc is already standardized, its length can be considered to be 1 and remains unchanged after rotation, it can be written in such a way that i r_gyro i=1, and then x=rx_gyro, y=ry_gyro, and z=rz_gyro can be substituted into the above formula for convenience of calculation:
Dividing the numerator and denominator by each other The following steps are obtained:
Order the The method can obtain:
The partial numerator and denominator in the root number are multiplied by z 2 to obtain:
At the future AndAfter replacement, it can be obtained:
The symbol is replaced by the original symbol:
Is available in the same way
After the Rx_gyro and Ry_gyro are obtained, rz_gyro can be further calculated:
wherein when rz_gyro > =0, sign (rz_gyro) =1, and when rz_gyro <0, sign (rz_gyro) = -1.
206. And respectively acquiring the confidence degrees of the first acceleration value and the second acceleration value.
207. And calculating the attitude estimation value of the current equipment according to the confidence level, the first component and the second component.
Further, after the first component and the second component are obtained, a weighted average value may be used:
Where r_est (n) is the pose estimation value of the current device, w1 is the confidence level of the first acceleration value, w2 is the confidence level of the second acceleration value, r_acc= [ rx_acc, ry_acc, rz_acc ], r_gyro= [ rx_gyro, ry_gyro, rz_gyro ].
In one embodiment, continuing to simplify the formula, dividing the numerator and denominator in the formula of r_est (n) by w1 may result in:
wherein, let w2/w1=w_gyro to obtain:
In this formula, w_gyro represents the degree of belief to the accelerometer and gyroscope. This value can be determined by testing and can be set to 10 according to the present embodiment empirically, the most important difference between this algorithm and the kalman filter is that its weight is relatively fixed, while the weight in the kalman filter varies with the noise read by the accelerometer.
Further, the above formula of r_est (n) is disassembled to obtain:
In the above, the attitude estimation method provided by the embodiment of the application may measure the current first acceleration value through the accelerometer, decompose the current first acceleration value into the first components of the first acceleration value on the X axis, the Y axis and the Z axis in the three-dimensional coordinate system, obtain the components of the previous attitude estimation value on the X axis, the components of the Y axis and the components of the Z axis, calculate the angular change rate of the projection of the first acceleration value on the XZ plane and the Z axis included angle through the components of the previous attitude estimation value on the X, Z axis, calculate the angular change rate of the projection of the first acceleration value on the YZ plane and the Z axis included angle through the components of the previous attitude estimation value on the Y, Z axis, calculate the second components of the gyroscope corrected second acceleration value on the X axis and the Y axis respectively according to the second components of the second acceleration value on the X axis and the Y axis, respectively obtain the respective confidence degrees of the first acceleration value and the second acceleration value, respectively, and calculate the current attitude estimation value according to the confidence degrees and the first component and the second component. The proposal provided by the embodiment of the application can estimate the gesture of the equipment according to the first acceleration value measured by the accelerometer and the second acceleration value corrected by the gyroscope, thereby improving the accuracy of gesture estimation.
In order to implement the above method, the embodiment of the invention also provides a gesture estimation device, which can be integrated in terminal equipment such as mobile phones, tablet computers and other equipment.
For example, as shown in fig. 3, a schematic structural diagram of an attitude estimation device according to an embodiment of the present invention is shown. The posture estimation device may include:
A first measurement unit 301 for measuring a current first acceleration value by an accelerometer and decomposing the current first acceleration value into first components of the first acceleration value in an X-axis, a Y-axis and a Z-axis in a three-dimensional coordinate system;
A second measurement unit 302, configured to measure, by using a gyroscope, an angular rate of change of a projection of the current first acceleration value on the XZ plane and a Z-axis included angle, and an angular rate of change of a projection of the current first acceleration value on the YZ plane and a Z-axis included angle;
A calculation unit 303 for calculating second components of the gyroscope-corrected second acceleration values in the X-axis, the Y-axis, and the Z-axis, respectively, according to the angle change rate;
An obtaining unit 304, configured to obtain confidence degrees of the first acceleration value and the second acceleration value respectively;
an estimation unit 305 for calculating an attitude estimation value of the current device according to the confidence level, the first component and the second component.
According to the gesture estimation device provided by the embodiment of the application, the current first acceleration value can be measured through the accelerometer and is decomposed into first components of the first acceleration value on the X axis, the Y axis and the Z axis in the three-dimensional coordinate system, the angular change rate of the projection of the current first acceleration value on the XZ plane and the included angle of the Z axis and the angular change rate of the projection of the current first acceleration value on the YZ plane and the included angle of the Z axis are measured through the gyroscope, second components of the second acceleration value corrected by the gyroscope on the X axis, the Y axis and the Z axis are calculated according to the angular change rate, the confidence coefficient of each of the first acceleration value and the second acceleration value is obtained respectively, and the gesture estimation value of the current equipment is calculated according to the confidence coefficient, the first components and the second components. The proposal provided by the embodiment of the application can estimate the gesture of the equipment according to the first acceleration value measured by the accelerometer and the second acceleration value corrected by the gyroscope, thereby improving the accuracy of gesture estimation.
Embodiments of the present invention also provide a terminal, as shown in fig. 4, where the terminal may include a Radio Frequency (RF) circuit 601, a memory 602 including one or more computer readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (WiFi, wireless Fidelity) module 607, a processor 608 including one or more processing cores, and a power supply 609. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 4 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
The RF circuit 601 may be used for receiving and transmitting signals during a message or a call, in particular, receiving downlink information from a base station, and then processing the received downlink information by one or more processors 608, and transmitting uplink related data to the base station. Typically, RF circuitry 601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 601 may also communicate with networks and other devices through wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), universal packet Radio Service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message Service (SMS, short MESSAGING SERVICE), and the like.
The memory 602 may be used to store software programs and modules, and the processor 608 may execute various functional applications and information processing by executing the software programs and modules stored in the memory 602. The memory 602 may mainly include a storage program area that may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), etc., and a storage data area that may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 608 and the input unit 603.
The input unit 603 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 603 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 608, and can receive and execute commands sent by the processor 608. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. The input unit 603 may comprise other input devices in addition to a touch sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 604 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, video and any combination thereof. The display unit 604 may include a display panel, which may optionally be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel based on the type of touch event. Although in fig. 4 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the terminal moves to the ear. The gravity acceleration sensor can detect the acceleration in all directions (generally three axes), can detect the gravity and the direction when the mobile phone is stationary, can be used for identifying the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration identification related functions (such as pedometer and knocking), and other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like which are also configured by the terminal are not repeated herein.
Audio circuitry 606, speakers, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 606 may convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal to a sound signal for output by the speaker, and on the other hand, the microphone converts the collected sound signal into an electrical signal, receives the electrical signal from the audio circuit 606, converts the electrical signal into audio data, processes the audio data with the audio data output processor 608, sends the audio data to, for example, another terminal via the RF circuit 601, or outputs the audio data to the memory 602 for further processing. The audio circuit 606 may also include an ear bud jack to provide communication of the peripheral ear bud with the terminal.
The WiFi belongs to a short-distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web pages, access streaming media and the like through the WiFi module 607, so that wireless broadband internet access is provided for the user. Although fig. 4 shows a WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and can be omitted entirely as required within the scope of not changing the essence of the invention.
The processor 608 is a control center of the terminal, and connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the mobile phone. Optionally, the processor 608 may include one or more processing cores, and preferably the processor 608 may integrate an application processor and a modem processor, wherein the application processor primarily processes operating systems, user interfaces, application programs, etc., and the modem processor primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may be logically connected to the processor 608 via a power management system so as to provide for managing charging, discharging, and power consumption by the power management system. The power supply 609 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the processor 608 in the terminal loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 executes the application programs stored in the memory 602, so as to implement various functions:
Measuring a current first acceleration value by an accelerometer and decomposing the current first acceleration value into first components of the first acceleration value in an X axis, a Y axis and a Z axis in a three-dimensional coordinate system;
Measuring the angle change rate of the projection of the current first acceleration value on the XZ plane and the Z-axis included angle and the angle change rate of the projection on the YZ plane and the Z-axis included angle through a gyroscope;
Calculating second components of the second acceleration value corrected by the gyroscope on the X axis, the Y axis and the Z axis respectively according to the angle change rate;
The confidence degrees of the first acceleration value and the second acceleration value are respectively obtained;
and calculating an attitude estimation value of the current equipment according to the confidence level, the first component and the second component.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of an embodiment that are not described in detail, reference may be made to the foregoing detailed description of the attitude estimation method, which is not repeated herein.
As can be seen from the above, the terminal according to the embodiment of the present application may measure the current first acceleration value through the accelerometer, decompose the current first acceleration value into first components of the first acceleration value on the X axis, the Y axis and the Z axis in the three-dimensional coordinate system, measure the angular rate of change of the projection of the current first acceleration value on the XZ plane and the Z axis included angle, and the angular rate of change of the projection of the current first acceleration value on the YZ plane and the Z axis included angle through the gyroscope, calculate, according to the angular rate of change, second components of the second acceleration value corrected by the gyroscope on the X axis, the Y axis and the Z axis, respectively obtain respective confidence coefficients of the first acceleration value and the second acceleration value, and calculate, according to the confidence coefficients, the first components and the second components, the pose estimation value of the current device. The proposal provided by the embodiment of the application can estimate the gesture of the equipment according to the first acceleration value measured by the accelerometer and the second acceleration value corrected by the gyroscope, thereby improving the accuracy of gesture estimation.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present invention provide a computer-readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the pose estimation methods provided by embodiments of the present invention. For example, the instructions may perform the steps of:
Measuring a current first acceleration value by an accelerometer and decomposing the current first acceleration value into first components of the first acceleration value in an X axis, a Y axis and a Z axis in a three-dimensional coordinate system;
Measuring the angle change rate of the projection of the current first acceleration value on the XZ plane and the Z-axis included angle and the angle change rate of the projection on the YZ plane and the Z-axis included angle through a gyroscope;
Calculating second components of the second acceleration value corrected by the gyroscope on the X axis, the Y axis and the Z axis respectively according to the angle change rate;
The confidence degrees of the first acceleration value and the second acceleration value are respectively obtained;
and calculating an attitude estimation value of the current equipment according to the confidence level, the first component and the second component.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The storage medium may include a Read Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or the like.
The steps in any posture estimation method provided by the embodiment of the present invention can be executed due to the instructions stored in the storage medium, so that the beneficial effects that any posture estimation method provided by the embodiment of the present invention can achieve can be achieved, and detailed descriptions of the previous embodiments are omitted here.
The foregoing describes in detail a method, apparatus, terminal and storage medium for estimating an attitude provided by the embodiments of the present invention, and specific examples are used herein to illustrate the principles and embodiments of the present invention, and the description of the foregoing examples is only for aiding in understanding the method and core concept of the present invention, and meanwhile, to those skilled in the art, according to the concept of the present invention, there are variations in the specific embodiments and application ranges, so the disclosure should not be interpreted as limiting the present invention.

Claims (10)

1.一种姿态估计方法,其特征在于,包括:1. A posture estimation method, characterized in that it includes: 通过加速度计测量当前的第一加速度值,并在三维坐标系中分解为第一加速度值在X轴、Y轴以及Z轴上的第一分量;Measuring a current first acceleration value by means of an accelerometer, and decomposing the first acceleration value into first components on an X-axis, a Y-axis, and a Z-axis in a three-dimensional coordinate system; 通过陀螺仪测量当前的第一加速度值在XZ平面的投影和Z轴夹角的角度变化率,以及在YZ平面的投影和Z轴夹角的角度变化率;The gyroscope measures the angle change rate between the projection of the current first acceleration value on the XZ plane and the angle between the Z axis, and the angle change rate between the projection of the current first acceleration value on the YZ plane and the angle between the Z axis; 根据所述角度变化率计算经过陀螺仪修正的第二加速度值分别在X轴、Y轴以及Z轴上的第二分量;Calculate the second components of the second acceleration value corrected by the gyroscope on the X-axis, the Y-axis and the Z-axis respectively according to the angle change rate; 分别获取所述第一加速度值和第二加速度值各自的置信度;Respectively obtaining confidence levels of the first acceleration value and the second acceleration value; 根据所述置信度、第一分量以及第二分量计算当前设备的姿态估计值。A posture estimation value of the current device is calculated according to the confidence, the first component and the second component. 2.如权利要求1所述的姿态估计方法,其特征在于,所述第一加速度值在X轴、Y轴以及Z轴上的第一分量通过以下公式进行计算:2. The posture estimation method according to claim 1, wherein the first component of the first acceleration value on the X-axis, the Y-axis and the Z-axis is calculated by the following formula: 其中,分别为所述第一加速度值在X轴、Y轴以及Z轴上的第一分量,,分别为加速度计在X轴、Y轴以及Z轴上输出的模拟值,为采集系统的参考电压值,为加速度芯片的零漂值,为芯片的灵敏度。in, , , are the first components of the first acceleration value on the X-axis, Y-axis and Z-axis respectively, , , , are the analog values output by the accelerometer on the X-axis, Y-axis, and Z-axis respectively. is the reference voltage value of the acquisition system, is the zero drift value of the acceleration chip, is the sensitivity of the chip. 3.如权利要求1所述的姿态估计方法,其特征在于,所述第一加速度值在XZ平面的投影和Z轴夹角的角度变化率,以及在YZ平面的投影和Z轴夹角的角度变化率通过以下公式进行计算:3. The posture estimation method according to claim 1, wherein the angle change rate of the projection of the first acceleration value in the XZ plane and the Z-axis angle, and the angle change rate of the projection in the YZ plane and the Z-axis angle are calculated by the following formula: Axz(n)= Axz(n-1)+Rate(Axz(n))TAxz(n)= Axz(n-1)+Rate(Axz(n)) T Ayz(n)= Ayz(n-1)+Rate(Ayz(n))TAyz(n)= Ayz(n-1)+Rate(Ayz(n)) T 其中,n为当前的测量次数,T为测量的间隔时间,Axz(n)为第一加速度值在XZ平面的投影和Z轴夹角的角度变化率,Ayz(n)为第一加速度值在YZ平面的投影和Z轴夹角的角度变化率,Axz(n-1)和Ayz(n-1)为前一次的角度变化率测量结果,且与前一次的姿态估计值相关,Rate(Axz(n))和Rate(Ayz(n))从陀螺仪的ADC中读取。Where n is the current number of measurements, T is the measurement interval, Axz(n) is the angular change rate of the projection of the first acceleration value on the XZ plane and the Z-axis angle, Ayz(n) is the angular change rate of the projection of the first acceleration value on the YZ plane and the Z-axis angle, Axz(n-1) and Ayz(n-1) are the previous angle change rate measurement results and are related to the previous attitude estimation value, and Rate(Axz(n)) and Rate(Ayz(n)) are read from the ADC of the gyroscope. 4.如权利要求3所述的姿态估计方法,其特征在于,经过陀螺仪修正的第二加速度值分别在X轴、Y轴以及Z轴上的第二分量通过以下公式进行计算:4. The posture estimation method as claimed in claim 3, characterized in that the second components of the second acceleration value corrected by the gyroscope on the X-axis, the Y-axis and the Z-axis are calculated by the following formula: 其中,Rx_gyro、Ry_gyro、Rz_gyro为陀螺仪修正的第二加速度值分别在X轴、Y轴以及Z轴上的第二分量,且当Rz_gyro>=0时,Sign(Rz_gyro)=1,当Rz_gyro<0时,Sign(Rz_gyro)=-1。Among them, Rx_gyro, Ry_gyro, and Rz_gyro are the second components of the second acceleration value corrected by the gyroscope on the X-axis, Y-axis, and Z-axis respectively, and when Rz_gyro>=0, Sign(Rz_gyro)=1, and when Rz_gyro<0, Sign(Rz_gyro)=-1. 5.如权利要求4所述的姿态估计方法,其特征在于,所述当前设备的姿态估计值通过以下公式进行计算:5. The posture estimation method according to claim 4, wherein the posture estimation value of the current device is calculated by the following formula: 其中,R_est(n)为当前设备的姿态估计值,w1为第一加速度值的置信度,w2为第二加速度值的置信度,R_acc=[ Rx_acc,Ry_acc,Rz_acc],R_gyro=[ Rx_gyro,Ry_gyro,Rz_gyro]。Among them, R_est(n) is the estimated value of the posture of the current device, w1 is the confidence of the first acceleration value, w2 is the confidence of the second acceleration value, R_acc=[Rx_acc, Ry_acc, Rz_acc], R_gyro=[Rx_gyro, Ry_gyro, Rz_gyro]. 6.如权利要求5所述的姿态估计方法,其特征在于,所述方法还包括:6. The posture estimation method according to claim 5, characterized in that the method further comprises: 将所述R_est(n)的计算公式中分子分母同除以w1,以得到:Divide both the numerator and denominator in the calculation formula of R_est(n) by w1 to obtain: 其中,令w2/ w1=w_gyro,以得到:Among them, let w2/w1=w_gyro to get: . 7.如权利要求6所述的姿态估计方法,其特征在于,所述方法还包括:7. The posture estimation method according to claim 6, characterized in that the method further comprises: 将所述R_est(n)的计算公式进行拆解,以得到:The calculation formula of R_est(n) is decomposed to obtain: . 8.一种姿态估计装置,其特征在于,包括:8. A posture estimation device, characterized in that it comprises: 第一测量单元,用于通过加速度计测量当前的第一加速度值,并在三维坐标系中分解为第一加速度值在X轴、Y轴以及Z轴上的第一分量;A first measuring unit, configured to measure a current first acceleration value through an accelerometer, and decompose the first acceleration value into first components on an X-axis, a Y-axis, and a Z-axis in a three-dimensional coordinate system; 第二测量单元,用于通过陀螺仪测量当前的第一加速度值在XZ平面的投影和Z轴夹角的角度变化率,以及在YZ平面的投影和Z轴夹角的角度变化率;A second measuring unit is used to measure, by a gyroscope, an angle change rate between a projection of the current first acceleration value on an XZ plane and an angle between the Z axis, and an angle change rate between a projection of the current first acceleration value on a YZ plane and an angle between the Z axis; 计算单元,用于根据所述角度变化率计算经过陀螺仪修正的第二加速度值分别在X轴、Y轴以及Z轴上的第二分量;a calculation unit, configured to calculate second components of the second acceleration value corrected by the gyroscope on the X-axis, the Y-axis and the Z-axis respectively according to the angle change rate; 获取单元,用于分别获取所述第一加速度值和第二加速度值各自的置信度;An acquiring unit, used to respectively acquire the confidence of the first acceleration value and the second acceleration value; 估计单元,用于根据所述置信度、第一分量以及第二分量计算当前设备的姿态估计值。An estimation unit is used to calculate a posture estimation value of the current device according to the confidence, the first component and the second component. 9.一种终端,其特征在于,所述终端包括:存储器、处理器,其中,所述存储器上存储有应用程序处理程序,所述应用程序处理程序被所述处理器执行时实现如权利要求1至7中任一项所述的姿态估计方法的步骤。9. A terminal, characterized in that the terminal comprises: a memory and a processor, wherein an application processing program is stored in the memory, and when the application processing program is executed by the processor, the steps of the posture estimation method according to any one of claims 1 to 7 are implemented. 10.一种计算机可读的存储介质,其特征在于,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1至7任一项所述的姿态估计方法。10. A computer-readable storage medium, characterized in that the storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the posture estimation method according to any one of claims 1 to 7.
CN202411349384.8A 2024-09-26 2024-09-26 Attitude estimation method, device, terminal and storage medium Pending CN119063765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411349384.8A CN119063765A (en) 2024-09-26 2024-09-26 Attitude estimation method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411349384.8A CN119063765A (en) 2024-09-26 2024-09-26 Attitude estimation method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN119063765A true CN119063765A (en) 2024-12-03

Family

ID=93633670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411349384.8A Pending CN119063765A (en) 2024-09-26 2024-09-26 Attitude estimation method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN119063765A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010207331A (en) * 2009-03-09 2010-09-24 Nintendo Co Ltd Orientation calculation apparatus, orientation calculation program, game apparatus, and game program
CN103680063A (en) * 2013-12-16 2014-03-26 嘉兴学院 Old person abnormal condition judging method based on mobile phone accelerometer and gyroscope
CN108413960A (en) * 2018-01-25 2018-08-17 深圳市博安智控科技有限公司 Computation method for attitude and relevant device
CN115426563A (en) * 2022-08-11 2022-12-02 Oppo广东移动通信有限公司 Audio data processing method, chip, earphone and bluetooth earphone assembly

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010207331A (en) * 2009-03-09 2010-09-24 Nintendo Co Ltd Orientation calculation apparatus, orientation calculation program, game apparatus, and game program
CN103680063A (en) * 2013-12-16 2014-03-26 嘉兴学院 Old person abnormal condition judging method based on mobile phone accelerometer and gyroscope
CN108413960A (en) * 2018-01-25 2018-08-17 深圳市博安智控科技有限公司 Computation method for attitude and relevant device
CN115426563A (en) * 2022-08-11 2022-12-02 Oppo广东移动通信有限公司 Audio data processing method, chip, earphone and bluetooth earphone assembly

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李卫强;曹辉;: "VR机舱人机交互姿态追踪器的算法设计", 船海工程, no. 04, 31 August 2018 (2018-08-31) *
马力;李天松;阳荣凯;黄艳虎;: "基于增强型显式互补滤波的无人机姿态算法", 桂林电子科技大学学报, no. 05, 31 October 2019 (2019-10-31) *

Similar Documents

Publication Publication Date Title
KR101608878B1 (en) Rest detection using accelerometer
JP5934296B2 (en) Calibrating sensor readings on mobile devices
WO2017113381A1 (en) Method for determining calibration parameter and mobile device
CN109101120B (en) Method and device for displaying image
CN111060000B (en) Rotation angle detection device and method and electronic equipment
CN110456923B (en) A method for processing attitude sensing data and electronic equipment
CN110072010B (en) Drop detection method and terminal equipment
WO2012169051A1 (en) Drop determining apparatus and drop determining method
CN110824516B (en) Positioning method and electronic equipment
CN109860743B (en) A charging method and terminal device
CN114264365B (en) Wind noise detection method, device, terminal equipment and storage medium
CN108845261B (en) Electric quantity prompting method and terminal equipment
CN114706135A (en) Magnetic field intensity compensation method and device, storage medium and mobile terminal
JP2010091462A (en) Relative acceleration detector, method for detecting relative acceleration, and program
CN112414370A (en) Building floor positioning method, electronic device and computer storage medium
CN108429363A (en) A kind of wireless charging method and wireless charging device
CN119063765A (en) Attitude estimation method, device, terminal and storage medium
CN117191013A (en) Inertial measurement unit error correction method, device, electronic equipment and storage medium
CN108494946B (en) Method and device for correcting electronic compass in mobile terminal
CN108900361B (en) Cloud resource configuration determination method, device and electronic device
CN115248050B (en) A motion distance measurement method and wearable device
CN210716984U (en) Pipeline detection device
CN112050088B (en) Pipeline detection method and device and computer storage medium
CN111693041B (en) Direction positioning method, device and storage medium
CN112071041B (en) Security detection method, wearable device and computer-readable storage medium

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