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.
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.
In one specific embodiment, the present invention provides a method for determining an orientation of a movable device, including the steps
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.
In detail, a block diagram of a device according to one specific embodiment of the present invention is shown in
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.
A structure of switch 6 and its functionality is shown in
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:
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.
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.
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.
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:
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.
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.
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:
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:
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.
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:
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.
Number | Date | Country | Kind |
---|---|---|---|
10 2018 209 012.2 | Jun 2018 | DE | national |
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 |
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 |
Number | Date | Country |
---|---|---|
102009019767 | Nov 2010 | DE |
102013000783 | Jul 2014 | DE |
102016009667 | Apr 2017 | DE |
Entry |
---|
International Search Report for PCT/EP2019/056385, dated Jun. 24, 2019. |
Number | Date | Country | |
---|---|---|---|
20210041264 A1 | Feb 2021 | US |