Method for determining an orientation of a movable device

Information

  • Patent Grant
  • 11821753
  • Patent Number
    11,821,753
  • Date Filed
    Thursday, March 14, 2019
    5 years ago
  • Date Issued
    Tuesday, November 21, 2023
    a year ago
Abstract
A method for determining an orientation of a movable device. The method includes the steps: determining an extent of the change of the orientation on the basis of data of at least one first sensor unit, comparing the extent to a predetermined threshold value, if the threshold value is exceeded, switching on a second sensor unit if it is in a switched-off state and determining the orientation with the aid of the first sensor unit and the second sensor unit, at an undershoot of the threshold value or if the extent is equal to the threshold value, switching off the second sensor unit, if it is in a switched-on state, and ascertaining the orientation with the aid of the first sensor unit.
Description
FIELD

The present invention relates to a method for determining an orientation of a movable device.


Although the present invention is generally applicable to movable devices, the present invention is explained with reference to an intelligent device that is portable by a person.


BACKGROUND INFORMATION

Due to the emergence of portable intelligent devices, so-called “wearables,” sensors, for example, acceleration sensors, pulse sensors, temperature sensors, or the like are also used in these small devices. If such a device is carried on the wrist, for example, a number of steps which the person has taken may be ascertained using the device, for example, or if such a device is carried on the wrist, for example, the position of a tennis racket, held with the hand, may be ascertained for movement analysis or the like.


SUMMARY

In one specific embodiment, the present invention provides a method for determining an orientation of a movable device, including the steps

    • determining an extent of the change of the orientation on the basis of data of at least one first sensor unit,
    • comparing the extent to a predefined threshold value,
    • if the threshold value is exceeded, switching on a second sensor unit if it is in a switched-off state and ascertaining the orientation with the aid of the first sensor unit and the second sensor unit,
    • at an undershoot of the threshold value or if the extent is equal to the threshold value, switching off the second sensor unit, if it is in a switched-on state, and ascertaining the orientation with the aid of the first sensor unit.


In a further specific embodiment, the present invention provides a movable device, including a first sensor unit, a second sensor unit, and an ascertainment unit, the first and second sensor units each being designed to provide data for a determination of the orientation, the ascertainment unit being designed to ascertain an extent of the change of the orientation of the device and if the extent of the change of the orientation exceeds a threshold value, to switch on the second sensor unit, if it is in a switched-off state, and then ascertaining the orientation with the aid of data of the first sensor unit and the second sensor unit and at an undershoot of the threshold value or if the extent is equal to the threshold value, switching off the second sensor unit, if it is in a switched-on state, and then ascertaining the orientation with the aid of the first sensor unit.


One of the advantages thus achieved is that the orientation of a movable device is energy-efficient and may be determined with high accuracy as a function of the present change of the orientation of the particular device. Another advantage is the lower power consumption overall.


Further features, advantages, and further specific embodiments of the present invention are described hereinafter or are thus apparent based on the disclosure herein.


According to one advantageous refinement of the present invention, the extent of the change of the orientation is ascertained on the basis of at least two temporally successive acceleration vectors ascertained with the aid of the first sensor unit. This enables an ascertainment of an orientation change on the basis of acceleration values in a simple and simultaneously reliable manner.


According to a further advantageous refinement of the present invention, the extent of the change of the orientation is ascertained on the basis of at least two temporally successive magnetic field vectors ascertained with the aid of the first sensor unit. This enables an ascertainment of an orientation change on the basis of magnetic field values in a simple and simultaneously reliable manner.


According to a further advantageous refinement of the present invention, the orientation of the particular angle between the at least two temporally successive vectors is determined for the determination of the extent of the change of the orientation. This enables a reliable and simultaneously simple determination of the extent of the change of the orientation.


According to a further advantageous refinement of the present invention, the orientation is ascertained on the basis of the first and the second sensor units for initialization. One of the advantages thus achieved is that the orientation is ascertained once in a particularly reliable way at the beginning of carrying the device, so that a change of the orientation may also be ascertained in a reliable way.


According to a further advantageous refinement of the present invention, if it is established that the threshold value is exceeded at a first point in time, the extent of the change of the orientation is ascertained on the basis of the first and second sensor units at a second point in time. An already switched-on second sensor unit may thus be used to determine the extent of the change of the orientation, which increases the accuracy of the determination of the change of the orientation overall.


According to a further advantageous refinement of the present invention, the threshold value of a change of the orientation corresponds to a rotation rate change between 10°/s and 60°/s, preferably between 20°/s and 50°/s, in particular between 25°/s and 40°/s, preferably 30°/s. In this way, a particularly energy-efficient and simultaneously reliable determination of the change of the orientation is enabled.


According to one advantageous refinement of the example device, the first sensor unit includes an acceleration sensor and/or a magnetometer. A change of the orientation may thus be ascertained in a particularly energy-efficient way on the basis of data of the particular sensor or sensors.


According to a further advantageous refinement of the device, the second sensor unit includes a rotation rate sensor. A change of the orientation may be determined particularly reliably and precisely in this way.


Further important features and advantages of the present invention result from the figures, and from the associated description of the figures on the basis of the figures.


It shall be understood that the above-mentioned features and the features still to be explained hereinafter are usable not only in the particular specified combination but rather also in other combinations or in a unique position, without departing from the scope of the present invention.


Preferred designs and specific embodiments of the present invention are shown in the figures and explained in greater detail below, identical reference numerals referring to identical or similar or functionally identical components or elements.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 shows a device according to one specific embodiment of the present invention.



FIG. 2 shows a part of the device according to one specific embodiment of the present invention.



FIG. 3 shows a method according to one specific embodiment of the present invention.





DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS


FIG. 1 shows a device according to one specific embodiment of the present invention.


In detail, a block diagram of a device according to one specific embodiment of the present invention is shown in FIG. 1. In this case, present acceleration values {right arrow over (a)}, sensor data 31, magnetic field values {right arrow over (m)}, sensor data 21, and optionally rotation rate values {right arrow over (w)}, sensor data 41, are determined in all three spatial axes, i.e., the x, y, and z axes, via an acceleration sensor 3, a magnetometer 2, and a rotation rate sensor 4. These sensor data 21, 31, 41 are subsequently used by a function f

qk=ƒ({right arrow over (a)}k,{right arrow over (w)}k,{right arrow over (m)}k)

or g

qk=g({right arrow over (a)}k,{right arrow over (m)}k)

to determine orientation qk at a discrete point in time k. Decision 103 as to whether function f, reference numeral 8a or function g, reference numeral 8b is used is ascertained by a switch 6 of a switching unit 50, which receives sensor data 21, 31, 41 to ascertain the orientation.



FIG. 2 shows a part of a device according to one specific example embodiment of the present invention.


A structure of switch 6 and its functionality is shown in FIG. 2. On the basis of orientation qk-1, reference numeral 51, and sensor data {right arrow over (a)}, {right arrow over (m)}, and optionally {right arrow over (w)}, reference numerals 21, 31, 41, it is ascertained by switch 6 whether function f, reference numeral 8b, or g, reference numeral 8a, is used for the determination of orientation qk. The orientation is shown here by way of example as a quaternion. A quaternion qk is a type of position indication, which is distinguished from the so-called Euler angles in that the problem of the so-called gimbal lock may be bypassed. Depending on the application, however, another position indication, for example, in Euler angles, may also be used instead of the quaternion qk. If function f 8b, i.e., a fusion of rotation rate, acceleration, and magnetic field data 21, 31, 41 is selected, rotation rate sensor 4 is activated. If function g 8a, i.e., a fusion of only acceleration and magnetic field data 21, 31 is selected, rotation rate sensor 4 is deactivated. The selection of which function f 8b or g 8a is to be selected is based on different variables which are described hereinafter as Boolean variables 21′, 31′, 41′, 51′. A combination of the variables is also possible here.


To be able to ascertain a change of the orientation within acceleration data 31, the angle which results between two successive acceleration vectors may be determined. The angle between two vectors may be computed with the aid of the known formula:







sin

α

=






a


k

×


a



k
-
1










a


k

·


a



k
-
1










If the angle sin α is greater than a threshold value τa to be established, a significant change of the orientation may be assumed. Angle α thus forms an extent S of the change of the orientation.







C
α

=

{


FALSE
,


if





sin





a

<

τ
a




TRUE
,


if





sin





a



τ
a









Boolean variable Cα, reference numeral 31′ may thus be set to the value TRUE, on the basis of which switch 6 in the later procedure selects function f 8b for the determination of quaternion qk, i.e., the orientation, and activates rotation rate sensor 4. Instead of the decision on the basis of two successive acceleration vectors 31, the evaluation on the basis of filtered and/or processed acceleration values or data or a predefined time interval is also possible. In the case of a defined time interval, two successive measured values ak and ak-1 are not used directly for computing the angle, but rather the angle between ak and ak-n is determined, index k standing for the present point in time and n standing for a whole number greater than 0, which describes a point in time in the past.


In order to alternatively or additionally be able to ascertain a change of the orientation within magnetic field data 21, the angle which results between two successive magnetic field vectors may be determined similarly to the variable provided above from acceleration data 31.







sin

γ

=






m


k

×


m



k
-
1










m


k

·


m



k
-
1










If angle sin γ is greater than a threshold value τm to be established, a significant change of the orientation may be assumed. Angle γ thus forms an extent S of the change of the orientation.







C
m

=

{


FALSE
,


if





sin





γ

<

τ
m




TRUE
,


if





sin





γ



τ
m









Boolean variable Cm 21′ may thus be set to the value TRUE. Similarly to the variables based on acceleration data 31, instead of the decision on the basis of two successive magnetic field vectors 21, the evaluation may also be carried out on the basis of filtered and/or processed magnetic field values or data of a predefined time interval.


Various methods may be applied to be able to ascertain a change of the orientation on the basis of measured data 41 of rotation rate sensor 4. The calculation of a Boolean variable Cw 41′ and a further Boolean variable CΔw are provided in the following. The variables differ in that once the Euclidean norm of measured rotation rate vector {right arrow over (w)}k is used to determine the variables and once the Euclidean norm Δw. The Euclidean norm of the change of the rotation rate may be determined via the formula:







Δ





w

=






w


k

-


w



k
-
1




Δ

T








If the Euclidean norm of the change of the rotation rate is greater than threshold value τΔw, a significant change of the orientation may be assumed.







C

Δ

w


=

{


FALSE
,


if





Δ





w

<

τ

Δ

w





TRUE
,


if





Δ





w



τ

Δ

w










Variable CΔw may thus be set to the value TRUE. Alternatively, it may be checked whether the Euclidean norm of rotation rate {right arrow over (w)}k is greater than a threshold value τw.







C
w

=

{


FALSE
,


if









w


k




<

τ
w




TRUE
,


if









w


k






τ
w









If the Euclidean norm of rotation rate {right arrow over (w)}k is less than threshold value τw, variable Cw 41′ may be set to FALSE. Variables on the basis of rotation rates may be used here for the transition of the state having a high dynamic orientation changes to the state having low dynamic state changes, because rotation rate sensor 4 is deactivated in the state having low dynamic state changes and thus cannot provide sensor data 41.


In addition to the data of sensors 21, 31, 41, quaternion q, which is ascertained by functions f 8b and g 8a, may also be used for computing a variable 51′. The change of the orientation between point in time k-1 and point in time k-2, reference numeral 51, may be ascertained for this purpose, for example, via a quaternion multiplication:

Δqk-1=qk-1*qk-2


If normed quaternion Δq is represented as a vector:








Δ

q

=


(




cos






(

φ
2

)







x
·

sin


(

φ
2

)








y
·

sin


(

φ
2

)








z
·

sin


(

φ
2

)






)






with





x


,
y
,

z








normed vector (x, y, z) may be understood as a rotational axis and φ as a rotational angle. The normal or the absolute value of rotational angle |φ| thus contains an extent S of the change of the orientation, on the basis of which a Boolean variable 51′ may be defined:







C
q

=

{


FALSE
,


if







φ



<

τ
φ




TRUE
,


if







ϕ





τ
φ









If the rotational angle is greater than a threshold value τφ, a significant change of the orientation may be assumed.


A combination S of Boolean variables 21′, 31′, 41′, 51′ may be carried out in various ways. One option, for example, is to carry out a logical AND linkage of ascertained Boolean variables 21′, 31′, 41′, 51′, if this provides logical output values as described above by way of example. However, other combinations of Boolean variables 21′, 31′, 41′, 51′ are also possible, for example, on the basis of probability densities or neural networks.

S=Cq & Cw & Cm & Ca


If value S is TRUE, subsequently function f 8b is used and a fusion of rotation rate, magnetic sensor, and acceleration data 21, 31, 41 is carried out.


If value S is FALSE, subsequently function g 8a is used and the orientation is only ascertained on the basis of acceleration sensor and magnetometer data 21, 31 and rotation rate sensor 4 is deactivated.



FIG. 3 shows a method according to one specific example embodiment of the present invention.


In a first step, an ascertainment S1 of an extent S of the change of the orientation is carried out on the basis of data 21, 31 of at least one first sensor unit 20.


In a second step S2, a comparison of extent S to a predefined threshold value takes place.


In a third step S3, if the threshold value is exceeded, a second sensor unit 30 is switched on, if it is in a switched-off state.


In a fourth step S4, the orientation is ascertained with the aid of first sensor unit 20 and second sensor unit 30.


In an alternative third step S3′, at an undershoot of the threshold value or if the extent S is equal to the threshold value, second sensor unit 30 is switched off if it is in a switched-on state.


In an alternative fourth step S4′, the orientation is ascertained with the aid of first sensor unit 20.


In summary, at least one of the specific example embodiments of the present invention includes at least one of the following advantages:

    • Simple implementation.
    • Low power consumption.
    • Reliable ascertainment of the orientation.


Although the present invention is described herein on the basis of preferred exemplary embodiments, it is not restricted thereto, but rather is modifiable in manifold ways.

Claims
  • 1. A method for determining an orientation of a movable device, comprising the following steps: ascertaining an extent of a change of the orientation based on data of at least one first sensor unit including an acceleration sensor and a magnetometer;comparing the extent to a predefined threshold value;when the threshold value is exceeded: (i) switching on a second sensor unit including a rotation rate sensor if the rotation rate sensor is in a switched-off state, and (ii) ascertaining the orientation using the first sensor unit and the second sensor unit;at an undershoot of the threshold value or when the extent is equal to the threshold value: (i) switching off the second sensor unit if the second sensor unit is in a switched-on state, and (ii) ascertaining the orientation using the first sensor unit and not the second sensor unit.
  • 2. The method as recited in claim 1, wherein the extent of the change of the orientation is ascertained based on at least two temporally successive acceleration vectors ascertained using the first sensor unit.
  • 3. The method as recited in claim 1, wherein the extent of the change of the orientation is ascertained based on at least two temporally successive magnetic field vectors ascertained using the first sensor unit.
  • 4. The method as recited in claim 2, wherein a particular angle between the at least two temporally successive acceleration vectors is ascertained for the determination of the extent of the change of the orientation.
  • 5. The method as recited in claim 3, wherein a particular angle between the at least two temporally successive magnetic field vectors is ascertained for the determination of the extent of the change of the orientation.
  • 6. The method as recited in claim 1, wherein the orientation is ascertained using the first sensor unit and the second sensor unit for initialization.
  • 7. The method as recited in claim 1, wherein when it is established that the threshold value is exceeded at a first point in time, the extent of the change of the orientation is ascertained based on data of the first sensor unit and the second sensor unit at a second point in time.
  • 8. The method as recited in claim 1, wherein the threshold value of the change of the orientation corresponds to a rotation rate change between 10°/s and 60°/s.
  • 9. The method as recited in claim 1, wherein the threshold value of the change of the orientation corresponds to a rotation rate change between 20°/s and 50°/s.
  • 10. The method as recited in claim 1, wherein the threshold value of the change of the orientation corresponds to a rotation rate change between 25°/s and 40°/s.
  • 11. The method as recited in claim 1, wherein the threshold value of the change of the orientation corresponds to a rotation rate change of 30°/s.
  • 12. A movable device, comprising: a first sensor unit including an acceleration sensor and a magnetometer;a second sensor unit including a rotation rate sensor; andan ascertainment unit;wherein each of the first sensor unit and the second sensor unit being configured to provide data for determination of the orientation of the device;wherein the ascertainment unit is configured to ascertain an extent of the change of the orientation of the device, and (i) if a threshold value for the extent of the change of the orientation is exceeded, the ascertainment unit is configured to switch on the second sensor unit if the second sensor unit is in a switched-off state, and to ascertain the orientation using the data of the first sensor unit and the second sensor unit, and (ii) at an undershoot of the threshold value or if the extent is equal to the threshold value, the ascertainment unit is configured to switch off the second sensor unit if the second sensor unit is in a switched-on state, and to ascertain the orientation using the first sensor unit and not the second sensor unit.
  • 13. The device as recited in claim 12, wherein the device is configured to be portable on a body of a person.
Priority Claims (1)
Number Date Country Kind
10 2018 209 012.2 Jun 2018 DE national
PCT Information
Filing Document Filing Date Country Kind
PCT/EP2019/056385 3/14/2019 WO
Publishing Document Publishing Date Country Kind
WO2019/233644 12/12/2019 WO A
US Referenced Citations (5)
Number Name Date Kind
20130155562 Kubota Jun 2013 A1
20130310711 Wang Nov 2013 A1
20160245665 Logan Aug 2016 A1
20170026800 Kim Jan 2017 A1
20210141447 Bichler May 2021 A1
Foreign Referenced Citations (3)
Number Date Country
102009019767 Nov 2010 DE
102013000783 Jul 2014 DE
102016009667 Apr 2017 DE
Non-Patent Literature Citations (1)
Entry
International Search Report for PCT/EP2019/056385, dated Jun. 24, 2019.
Related Publications (1)
Number Date Country
20210041264 A1 Feb 2021 US