Method And System For Estimating Relative Angle Between Headings
20170343355 · 2017-11-30
Assignee
Inventors
Cpc classification
International classification
Abstract
The present invention relates to a method for estimating a relative angle (θ) between heading (X.sub.10) of a person (10) and heading (X.sub.12) of a mobile device (12) carried by the person, which method comprises: determining a first estimate of the relative angle using a multi-axis accelerometer (18) of the mobile device; determining a second estimate of the relative angle using a multi-axis gyroscope (20) of the mobile device; and combining the first estimate and the second estimate to a combined estimate of the relative angle (θ) between the person's heading and the mobile device's heading. The present invention also relates to a system for estimating a relative angle (θ) between heading (X.sub.10) of a person (10) and heading (X.sub.12) of a mobile device (12) carried by the person.
Claims
1.-10. (canceled)
11. A method for estimating a relative angle between heading of a person and heading of a mobile device carried by the person, which method comprises: determining a first estimate of the relative angle using a multi-axis accelerometer of the mobile device; determining a second estimate of the relative angle using a multi-axis gyroscope of the mobile device; and combining the first estimate and the second estimate to a combined estimate of the relative angle between the person's heading and the mobile device's heading.
12. A method according to claim 11, wherein determining a first estimate of the relative angle using a multi-axis accelerometer of the mobile device comprises: estimating horizontal acceleration of the mobile device in first and second orthogonal directions when the person is walking or running based on samples from the multi-axis accelerometer; detecting beginning and end of a step of the person from the estimated horizontal accelerations; integrating the estimated horizontal acceleration in the first direction and in the second direction from the detected beginning to the detected end of the step, to provide corresponding velocities in the first and second directions; calculating the norm of the integrated accelerations; finding maximum of the calculated norm of the integrated accelerations; and calculating the first estimate of the relative angle based on the proportion between the velocity in the first direction and the velocity in the second direction for a sample corresponding to said maximum.
13. A method according to claim 12, wherein detecting beginning and end of a step of the person comprises: calculating the norm of the estimated horizontal accelerations; identifying a peak of the calculated norm of the estimated horizontal accelerations, which peak is over a predetermined threshold; selecting the closest local minimum of the calculated norm before the identified peak as beginning of the step; and selecting the closest local minimum of the calculated norm after the identified peak as end of the step.
14. A method according to claim 11, wherein determining a second estimate of the relative angle using a multi-axis gyroscope of the mobile device comprises: estimating an axis that the mobile device is rotating about with respect to pendulous motion; estimating the heading of the person as a direction which is perpendicular to the estimated axis in a ground plane; and obtaining the second estimate of the relative angle by comparing the estimated heading of the person to a projection of the mobile device's heading on the ground plane.
15. A method according to claim 11, wherein the first estimate and the second estimate are combined using Kalman filtering.
16. A method according to claim 11, which method further comprises: detecting absolute heading of the mobile device by using a compass; and estimating absolute heading of the person based on the detected absolute heading of the mobile device and said combined estimate of the relative angle.
17. A method according to claim 11, which method further comprises: providing the combined estimate of the relative angle as an output signal to an indoor positioning system or a pedestrian dead reckoning system.
18. A system for estimating a relative angle between heading of a person and heading of a mobile device carried by the person, which system comprises: the mobile device, wherein the mobile device comprises a multi-axis accelerometer and a multi-axis gyroscope; and a processor capable of communicating with the multi-axis accelerometer and the multi-axis gyroscope, wherein the processor is configured to: determine a first estimate of the relative angle based on data from the multi-axis accelerometer; determine a second estimate of the relative angle based on data from the multi-axis gyroscope of the mobile device; and combine the first estimate and the second estimate to a combined estimate of the relative angle between the person's heading and the mobile device's heading.
19. A system according to claim 18, wherein said processor is included in the mobile device.
20. A system according to claim 18, wherein said processor is included in a remote device of the system.
Description
[0017] These and other aspects of the present invention will now be described in more detail, with reference to the appended drawings showing one or more embodiments of the invention.
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028] With reference to
[0029] The mobile device 12 (
[0030] In the method (
[0031] The method may optionally detect (step S4) the absolute heading of the mobile device 12, by using the compass 24, and estimate the absolute heading of the person 10 based on the detected absolute heading of the mobile device 12 and the combined estimate of the relative angle θ.
[0032] The combined estimate of the relative angle θ and/or the absolute heading of the person may beneficially be provided as an output signal to an indoor positioning system or a pedestrian dead reckoning system.
[0033] Accelerometer Model
[0034] Step S2 of determining the first estimate of the relative angle θ using the multi-axis accelerometer 18 according to an embodiment of the invention will now be described with reference to
[0035] First, horizontal acceleration of the mobile device 12 in first and second orthogonal directions x′, y′ is estimated based on samples from the multi-axis accelerometer 18 when the person 10 is walking or running. If the mobile device 12 is flush with a horizontal plane 26 as shown in
[0036] Then, steps of the person 10 are detected by studying the estimated horizontal accelerations of the mobile device 12. Specifically, the norm of the estimated horizontal acceleration in the first direction x′ and the estimated horizontal acceleration in the first direction y′ is calculated:
norm.sub.acc=√{square root over (acc.sub.x′.sup.2+acc.sub.y′.sup.2)}
[0037] An example of the calculated norm over time (samples) is shown in
[0038] When beginning B and end E of a step of the person 10 have been detected, the estimated horizontal accelerations in both the first direction x′ and in the second direction y′ are integrated over the complete step. This gives the change in velocity in both the first direction x′ and the second direction y′, see
[0039] Pendulum Model
[0040] Step S3 of determining the second estimate of the relative angle using the multi-axis gyroscope 20 according to an embodiment of the invention will now be described with reference to
[0041] The pendulum model is based on the assumption that the mobile device 12 is borne on the leg, hip or other locations (of the person 10) subjected to pendulous motion, and it makes use of the changes in tilt angles that the leg or hip or other location and the mobile device are subjected to. R in
[0042] Specifically, step S3 may comprise estimating an axis P that the mobile device 10 is rotating about with respect to pendulous motion when the person 10 is walking or running. ω is the rotation around axis P. This axis of rotation P seen in
[0043] Given an accurate estimate of the axis P, an estimate of the forward direction X.sub.10 of the person's walk (gait) is given as the axis/direction which is perpendicular to P in the horizontal plane. The forward direction X.sub.10 is then compared to a projection of the mobile device's x-axis X.sub.12 on the horizontal plane to get the second estimate of the relative angle θ, as seen in
[0044] The mobile device 12 may constitute a system for estimating the relative angle θ between its heading X.sub.12 and the heading X.sub.10 of the person 10 carrying it. Alternatively, such a system may comprise a remote device 28, i.e. not part of the mobile device 12, which remote device 28 in turn comprises a processor 30 configured to perform various method steps of the present invention. Here, less processing power in the mobile device 12 is needed. The alternative system is schematically illustrated in
[0045] The person skilled in the art realizes that the present invention by no means is limited to the preferred embodiments described above. On the contrary, many modifications and variations are possible within the scope of the appended claims.