Head tracking with adaptive reference

Information

  • Patent Grant
  • 10705338
  • Patent Number
    10,705,338
  • Date Filed
    Monday, May 1, 2017
    7 years ago
  • Date Issued
    Tuesday, July 7, 2020
    4 years ago
Abstract
A method and system for providing head orientation relative to an adaptive reference orientation, implemented by a processing unit and comprising receiving head data from a head sensor, said head data describing a first head orientation of a user; receiving second data from a second sensor; adapting said adaptive reference orientation by moving it at least partly towards said first head orientation by an amount which is varied at least partly in accordance with said second data, thereby generating a new adaptive reference orientation; and generating, in accordance with said first head orientation and said new adaptive reference orientation, a second head orientation of the user as said first head orientation relative to said new adaptive reference orientation.
Description
TECHNICAL FIELD

The presently disclosed subject matter relates to head tracking and, more particularly, to head tracking in a non-static environment.


BACKGROUND

The positive and imperative effect of head tracking on simulating VR (Virtual Reality) or AR (Augmented Reality) or binaural audio rendering is a well-known phenomenon. In systems that implement such effects, head-tracking data is used in order to adjust the location of virtual objects (for example visual objects or sound sources) to a user's head movements in order to make them appear static in space rather than follow the user.


In a non-static environment, such as when the user is walking, riding a train, etc., the frame of reference of the user is constantly changing. In these situations, tracking head movements relative to a fixed reference becomes problematic and can lead to erroneous placement of virtual objects around the user.


Problems of head tracking in a non-static environment have been recognized in the conventional art and various techniques have been developed to provide solutions, for example:


United States Patent Publication No. US 2011/0293129 discloses a head tracking system that determines a rotation angle of a head of a user with respect to a reference direction, which is dependent on a movement of a user. Here the movement of a user should be understood as an act or process of moving including e.g. changes of place, position, or posture, such as e.g. lying down or sitting in a relaxation chair. The head tracking system according to the invention comprises a sensing device for measuring a head movement to provide a measure representing the head movement, and a processing circuit for deriving the rotation angle of the head of the user with respect to the reference direction from the measure. The reference direction used in the processing circuit is dependent on the movement of the user. The advantage of making the reference direction dependent on a movement of a user is that determining the rotation angle of the head is independent of the environment, i.e. not fixed to environment. Hence whenever the user is e.g. on the move and his body parts undergo movement the reference direction is adapted to this movement.


The reference(s) cited above teach background information that may be applicable to the presently disclosed subject matter. Therefore the full contents of these publications are incorporated by reference herein where appropriate for appropriate teachings of additional or alternative details, features and/or technical background.


General Description


In many cases of head tracking, the user's frame of reference also undergoes changes, for example in response to a change in the direction of linear motion of the user. For example, in a VR system for watching movies in airplane, simulating a cinema room with screen and speakers, and where the user is sitting. It is desired that the simulated cinema will remain stable relative to the user, rather than to the earth's ‘north’, such that when the airplane turns the cinema will remain in front of the user's eyes. Another example is listening to music with virtualized loudspeakers over headphones while walking and/or running. In this example it is desirable that the virtualized loudspeakers position will remain in front of the listener even when the user is turning a street corner.


The presently disclosed subject matter alleviates provides a method and system of head tracking for use in a non-static environment by adjusting the reference used for head tracking according to the movement of the user. Two or more inertial measurement units (IMU) or any other two or more sensors for acquiring location and/or movement and/or orientation data are used, in which at least one of the sensors is used for tracking orientation of the user's head, and at least another sensor is used for providing information indicating a possible need to adjust the frame of reference by which the head movements are tracked.


According to one aspect of the presently disclosed subject matter there is provided a system for providing head orientation relative to an adaptive reference orientation comprising a head sensor configured to provide head data describing a first head orientation associated with a user; one or more second sensors configured to provide second data; and a processing unit operatively coupled to the head sensor and the one or more second sensors and configured to: receive head data from the head sensor; receive second data from the one or more second sensors; adapt said adaptive reference orientation by moving it at least partly towards said first head orientation by an amount which is varied at least partly in accordance with said second data, thereby generating a new adaptive reference orientation; and generate, in accordance with said first head orientation and said new adaptive reference orientation, a second head orientation associated with the user as said first head orientation relative to said new adaptive reference orientation.


In addition to the above features, the system according to this aspect of the presently disclosed subject matter can comprise one or more of features (i) to (xii) listed below, in any desired combination or permutation which is technically possible:


(i) the amount is varied at least partly in accordance with changes in the statistical properties of said second data.


(ii) the adaptive reference orientation is adapted by rotating the adaptive reference orientation in accordance with an adjustment amount by interpolating between said adaptive reference orientation and said first head orientation. Interpolating can be performed using a quaternion spherical linear interpolation (“Slerp”) operation.


(iii) the second data can be used to compute or derive the adjustment amount by computing one or more measures based on the second data, and converting the one or more measures to the adjustment amount.


(iv) the one or more measures can be converted to the adjustment amount by comparing one or more of the one or more measures to one or more respective thresholds.


(v) the one or more measures can include one or more of relative stability, relative deviation, and/or absolute deviation.


(vi) the adjustment amount can be further processed for smoothing.


(viii) the adjustment amount can be further processed to control one or more of rise time, hold time, and decay time of the adjustment amount.


(ix) the second data includes data indicative of a need to change the adaptive reference orientation.


(x) the second data includes data indicative of at least one of: location, motion, orientation, velocity and acceleration associated with the user in at least one dimension of a three dimensional coordinate system.


(xi) binaural audio can be rendered in accordance with the second head orientation and delivered to headphones worn by the user.


(xii) at least one of virtual reality (VR) video and/or augmented reality (AR) video can be rendered in accordance with the second head orientation.


According to another aspect of the presently disclosed subject matter there is provided a computer implemented method of providing a head orientation relative to an adaptive reference orientation comprising, by a processing unit, receiving head data from a head sensor, the head data describing a first head orientation associated with a user; receiving second data from one or more second sensors; adapting the adaptive reference orientation by moving it at least partly towards said first head orientation by an amount which is varied at least partly in accordance with said second data, thereby generating a new adaptive reference orientation; and generating, in accordance with said first head orientation and said new adaptive reference orientation, a second head orientation associated with the user as said first head orientation relative to said new adaptive reference orientation.


This aspect of the disclosed subject matter can comprise one or more of features (i) to (xii) listed above with respect to the system, mutatis mutandis, in any desired combination or permutation which is technically possible.


According to another aspect of the presently disclosed subject matter there is provided a non-transitory program storage device readable by a computer, tangibly embodying computer readable instructions executable by the computer to perform a method of providing a head orientation relative to an adaptive reference orientation comprising, by a processing unit, receiving head data from a head sensor, the head data describing a first head orientation associated with a user; receiving second data from one or more second sensors; adapting the adaptive reference orientation by moving it at least partly towards said first head orientation by an amount which is varied at least partly in accordance with said second data, thereby generating a new adaptive reference orientation; and generating, in accordance with said first head orientation and said new adaptive reference orientation, a second head orientation associated with the user as said first head orientation relative to said new adaptive reference orientation.


This aspect of the disclosed subject matter can optionally comprise one or more of features (i) to (xii) listed above with respect to the system, mutatis mutandis, in any desired combination or permutation which is technically possible.


Among the technical advantages of the presently disclosed subject matter is the ability to perform head tracking in a non-static environment by using data from one or more second sensors operating independently of the head sensor to detect when the user's frame of reference has changed.


Among further advantages is the ability to continually generate an adaptive reference orientation for use in head tracking, thereby enabling the proper placement of virtual objects around the user's head in a non-static environment.





BRIEF DESCRIPTION OF THE DRAWINGS

In order to understand the invention and to see how it can be carried out in practice, embodiments will be described, by way of non-limiting examples, with reference to the accompanying drawings, in which:



FIG. 1 illustrates an example block diagram of a reference adjustment system in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 2 illustrates an example block diagram of a binaural audio renderer of accordance with certain embodiments of the presently disclosed subject matter;



FIG. 3 illustrates an example flow diagram of a reference adjustment system in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 4A illustrates an example graph of a converging adaptive reference orientation in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 4B illustrates an example zoomed-in graph of a converging adaptive reference orientation in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 5A illustrates a graphical depiction of Equation 1 in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 5B illustrates a graphical depiction of Equations 3-5 in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 5C illustrates a graphical depiction of Equation 6 in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 5D illustrates a graphical depiction of Equations 7-11 in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 5E illustrates a graphical depiction of Equation 12 in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 5F illustrates a graphical depiction of Equation 14 in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 6 illustrates an example graph of sample adjustment amounts calculated for different values of relative measures in accordance with certain embodiments of the presently disclosed subject matter;



FIG. 7 illustrates an example of flow chart of a sequence of operations carried out for generating a relative head orientation in accordance with certain embodiments of the presently disclosed subject matter; and



FIG. 8 illustrates relative head orientation relative to the reference orientation in accordance with certain embodiments of the presently disclosed subject matter.





DETAILED DESCRIPTION

In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be understood by those skilled in the art that the presently disclosed subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the presently disclosed subject matter.


Unless specifically stated otherwise, as apparent from the following discussions, it is appreciated that throughout the specification discussions utilizing terms such as “processing”, “computing”, “calculating”, “adapting”, “generating”, or the like, refer to the action(s) and/or process(es) of a computer that manipulate and/or transform data into other data, said data represented as physical, such as electronic, quantities and/or said data representing the physical objects. The term “computer” should be expansively construed to cover any kind of hardware-based electronic device with data processing capabilities including, by way of non-limiting example, the processing circuitry disclosed in the present application.


The terms “non-transitory memory” and “non-transitory storage medium” used herein should be expansively construed to cover any volatile or non-volatile computer memory suitable to the presently disclosed subject matter.


The operations in accordance with the teachings herein may be performed by a computer specially constructed for the desired purposes or by a general-purpose computer specially configured for the desired purpose by a computer program stored in a non-transitory computer-readable storage medium.


The term “user” used in this patent specification should be expansively construed to cover an individual whose head movements are desirous of being tracked.


The term “head orientation” used in this patent specification should be expansively construed to cover any kind of data (e.g. in the form of a quaternion, rotation matrix or set of Euler angles, etc.) describing the rotation of the user's head in three dimensions (i.e. roll, pitch, yaw), which could also be described in relative terms relative to some other orientation.


The term “frame of reference” used in this patent specification should be understood as a non-mathematical term describing the scene (e.g. audio and/or visual) relative to which the user's head orientation is tracked.


The term “reference orientation” used in this patent specification should be expansively construed to cover any kind of data (e.g. in the form of a quaternion, rotation matrix or set of Euler angles, etc.) describing the rotation of the frame of reference relative to which the head orientation is described.


Embodiments of the presently disclosed subject matter are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the presently disclosed subject matter as described herein.


Bearing this in mind, attention is drawn to FIG. 1, illustrating a simplified block diagram of a reference adjustment system (RAS) (100) for computing an adaptive reference orientation in accordance with certain embodiments of the presently disclosed subject matter. In certain embodiments, RAS (100) can comprise processing circuitry (102) operatively coupled to a head sensor (114) which is configured to provide head data e.g. associated with a user, including e.g. providing the user's head orientation relative to some fixed reference orientation at any given time. In certain embodiments, head sensor (114) can be, e.g. an inertial measurement unit (IMU) coupled to the user's head, either directly or indirectly (e.g. coupled to headphones or other apparatus worn by the user). In certain embodiments, the head data can be stored in a buffer, such as the illustrated data repository (106).


Processing circuitry (102) is further operatively coupled to one or more second sensors S1-Sn (116) which are configured to provide second data indicative of a need to change the reference orientation and which are configured to operate independently of head sensor (114). That is, head sensor (114) and second sensor(s) (116) do not sense one another or otherwise share data with one another. In certain embodiments, second sensor(s) (116) can include, e.g. one or more of an IMU, accelerometer, gyroscope, magnetometer, or other sensor capable of detecting changes to at least one of location, motion (e.g. kinetic motion, physical motion, three-dimensional motion, etc.), orientation, velocity, and/or acceleration associated with the user.


In certain embodiments, processing circuitry (102) can be comprised in a mobile device carried by the user, e.g. a smartphone, tablet, etc. In certain embodiments, the second sensor(s) (116) (or some of them) can also be comprised in a mobile device (which can be the same or different mobile device in which the processing circuitry may be comprised) carried by the user, sitting in the user's pocket, or otherwise physically situated in close proximity to the user, such that second sensor(s) are responsive to changes in the movement of the user.


Processing circuitry (102) can further comprise or be coupled to one or more processing units (104). Processing unit (104) can be, e.g., a processor, a microprocessor, a microcontroller or any other computing device or module, including multiple and/or parallel processing units. Processing circuitry (102) can further comprise (or be otherwise associated with) one or more memories, such as the illustrated data repository (106), configured to store data including, inter alia, received head data and/or second data, as will further be detailed below.


Processing circuitry (102) can further comprise (or be otherwise associated with) one or more of the following modules: Adjustment amount calculation (AAC) module (108), Reference orientation calculation (ROC) module (110), and a Relative head orientation calculation (RHOC) module (112).


In certain embodiments, the AAC module (108) can be configured to continually receive second data from second sensor(s) (116) and to compute a value indicative of an adjustment amount based on said data, as will further be detailed below with reference to FIG. 3, illustrating an example flow diagram of a RAS (100) in accordance with certain embodiments. In certain embodiments, some or all of the second data can be stored in a buffer, such as the data repository (106).


In certain embodiments, the ROC module (110) can be configured to receive a head orientation from head sensor (114), an adjustment amount from the AAC module, and an adaptive reference orientation, and to adapt the adaptive reference orientation by moving it toward the head orientation, thereby generating a new adaptive reference orientation, as will further be detailed below with reference to FIG. 3, illustrating an example flow diagram of a RAS (100) in accordance with certain embodiments.


In certain embodiments, the new adaptive reference orientation is fed back to the ROC module (110) as the next input adaptive reference orientation. For example, the ROC module (110) can include or be associated with a recursive filter (e.g. a smoothing filter, averaging filter, infinite impulse response (IIR) filter, finite impulse response (FIR) filter, etc.) configured to continually receive as input a reference orientation Qref[n] and a time constant Tc for averaging, and to continually output a new reference orientation Qref[n+1] by performing a smoothing operation in accordance with Tc. The output reference orientation Qref[n+1] is then fed back into the filter as the next input reference orientation Qref[n]. The time constant Tc may also be continually varied, as will be detailed below.


In certain embodiments, the RHOC module (112) can be configured to receive the most current adaptive reference orientation from the ROC module and the most current head orientation from head sensor (114), and to calculate the user's relative head orientation relative to the current adaptive reference orientation, as will be detailed below with reference to FIG. 3, illustrating an example flow diagram of a RAS (100) in accordance with certain embodiments.


In certain embodiments, the RAS (100) detailed above can be used for rendering binaural audio, virtual or augmented reality scenes, or any other application that requires placement of virtual objects around the head of the user. By way of non-limiting example, FIG. 2 illustrates a generalized block diagram of a binaural audio renderer (200) comprising the RAS (100) and an audio converter (210) configured to adjust the placement of virtual sound sources in an audio stream and which can be implemented using any combination of software, hardware and/or processing circuitry known in the art. See, for example, U.S. Pat. No. 9,271,103 entitled “Audio control based on orientation”, incorporated by reference herein in its entirety. Audio converter (210) receives, in real-time, an audio stream comprising one or more virtual sound sources (such as right and left virtual speakers) and the user's relative head orientation from the RAS (100), and generates an output audio stream having the locations of the one or more virtual sound sources adjusted according to the user's relative head orientation. The output audio stream is then deliver to the user (e.g. via headphones or speakers), also in real-time.


It should be appreciated by those skilled in the art that while FIG. 2 describes, by way of example, rendering binaural audio, the same basic principles apply to rendering AR and/or VR video and should be understood to be included within the scope of the present specification.



FIG. 3 illustrates an example flow diagram of a RAS (100) in accordance with certain embodiments, in which the AAC module (108) receives second data from second sensor(s) (116) and calculates one or more measures (300-1)-(300-N) indicative of a possible need to change the reference orientation (e.g. by providing indicia of a change in the user's current frame of reference). In certain embodiments, the one or more measurements can be changes in the statistical properties of the second data received from second sensor(s). Examples for statistical properties include, e.g. variance, expectation, autocorrelation, cross-correlation, etc. In certain embodiments, the one or measures can include one or a combination of one or more of relative stability, relative deviation, and absolute deviation. Each of these measures will be discussed in more detail below in accordance with embodiments of the presently disclosed subject matter.


In certain embodiments, after having calculated the one or more measures indicative of a need to change the reference orientation (300-1)-(300-N), the AAC module (108) converts the one or more measures to a value indicative of an adjustment amount (302). This conversion can be carried out by comparison of one or more measures to one or more thresholds. For example, the adjustment amount can be a derived value between 0 and 1 which is calculated based on one or a combination of two or more measures, as will be more fully detailed below and illustrated by way of certain examples. The adjustment amount can then be further filtered (304) linearly or non-linearly, e.g. to control one or more of rise time, hold time and decay time, or for smoothing.


The adjustment amount is the amount that the previous reference orientation will move towards the head orientation per time unit. This determines the velocity (e.g. angular velocity) at which the adaptive reference orientation will follow the head. The velocity being some measure of the speed of adaptation of the reference orientation towards the head orientation. This velocity is continuously varied in accordance with data from the second sensor.


Having now calculated an adjustment amount which is based at least in part on the most current second data (and which can be continually recalculated in real-time in response to changes in second data), the current adjustment amount is then fed to the ROC module (110) which uses the adjustment amount and current head orientation for adapting the adaptive reference orientation (306).


The process of adapting the reference orientation is repeated continuously such that the reference orientation is gradually converged toward the current head orientation by an amount which is dictated at least in part by the second data (as illustrated for a single dimension in FIGS. 4A-4B below). This can be achieved, e.g. using interpolation (including, e.g. linear interpolation) techniques known to persons skilled in the art.


For example, if Qref is a quaternion representation of the reference orientation and Qhead is a quaternion representation of the current head orientation. Qref can be continuously converged towards Qhead with the computed AdjustAmount using a spherical linear interpolation operation (“Slerp”) in a first order feedback loop, as in Equation 1:

Qref[n]=Slerp(Qref[n−1],Qhead[n],AdjustAmout[n])  (1)


Equation 1 can be described as a first order IIR filter. FIG. 5A illustrates a graphical depiction of Equation 1.


In general, a Slerp operation refers to constant-speed motion along a unit-radius great circle arc, given the ends and an interpolation parameter between 0 and 1 (see, e.g. Ken Shoemake: Animating Rotation with Quaternion Curves. SIGGRAPH, Volume 19, Number 3 (1985)). Thus in this example, Qref and Qhead would be the “ends” while the adjustment amount would be the interpolation parameter.


It should be appreciated by a person skilled in the art that there are many methods of calculating a linear interpolation between two orientations, and that Slerp example of Equation 1 is but a single non-limiting example.


As detailed above, each time a new reference orientation is generated by the ROC module (110), the new reference orientation is fed back into the ROC module (110) for generating the next reference orientation. In addition, new reference orientation is also fed to the RHOC module (112) which uses the new reference orientation and the current head orientation to determine the user's relative head orientation (308) relative to the new reference orientation. For example, the relative orientation Qhead/ref can be determined from the reference orientation Qref and the head orientation Qhead by multiplication with the inverse quaternion as in Equation 2:

Qhead/ref=Qref−1Qhead  (2)



FIG. 8 illustrates an example of generating a relative head orientation relative to the reference orientation in accordance with certain embodiments. It should be appreciated that while the example shown in FIG. 8 is provided for a single dimension, in practice the relative head orientation can be determined in one, two or three dimensions. It should further be appreciated that while the example of FIG. 8 shows an orientation in terms of “degrees”, this is non-limiting and in practice any other suitable descriptor of spatial orientation may be used. Referring now to FIG. 8, a first head orientation (802) describes the user's current head orientation as provided by head sensor (114). Reference orientation (804) describes the current reference orientation which was most recently generated by the ROC module (110). Thus, in this example the RHOC module (112) may generate a second head orientation (806) which is the user's relative head orientation relative to the current reference orientation.


The above process is repeated continuously such that the user's relative head orientation is continuously being determined, and possibly in real-time response to the user's head movements, according to which Qhead/ref can be used as the head orientation in any moving VR, AR or binaural environment.


As detailed above, in certain embodiments, prior to being fed to the ROC module (110), the adjustment amount may undergo a filtering process, e.g. to control the adjustment amount according to a predetermined minimum and/or maximum and/or filtered linearly and/or non-linearly to control one or more of the rise time, hold time, and decay time in order to create an optimal and natural motion of the reference orientation. For example, a maximum time constant of 60 sec corresponding to some minimum amount will ensure that the reference orientation will always be slowly moving towards the head direction to compensate for small or slowly accumulating drifts. In another example, a short rise time (0 sec) and longer hold and decay times (2 secs) could be set on the amount such that if a sudden, short transient occurred, the amount would respond immediately causing the reference orientation to tightly follow the head (to compensate for the drastic change) all through the hold time. Then, slowly as the decay time fades out, the reference orientation eventually stay static and normal tracking would be resumed.



FIG. 4A illustrates a continuous time graph showing, in a single dimension, an adaptive reference orientation that is moved toward the head orientation by an amount that is varied according to the second data. For example, the amount can be varied at least partly in accordance with changes in the statistical properties of the second data. It should be appreciated that a single dimension is shown in order to illustrate the concept; in reality the head orientation can be tracked and the reference orientation can be moved in more than one dimension, i.e. up to three dimensions (pitch, yaw, roll). Further, the term “direction” is used to describe orientation in one dimension. The graph shown in FIG. 4A simulates the condition where the second sensor(s) are attached to the user's torso (e.g. in the user's mobile device in the user's pocket) and detect changes of motion and/or orientation of the torso. The graph shows sample adaptive reference orientations that may be output by the ROC module (110) during a continuous time period of receiving head data and second data.



FIG. 4A is divided into four distinct line graphs (410), (418), (420), (422) in order to better illustrate the concept of the disclosed subject matter. Line graph (410) visually illustrates a top down view of the user's head (412) and torso (414) at different sampling times during a continuous time period in which the direction of the torso (414) changes (e.g. the user may be walking, running, etc.), and in which the direction of the user's head (412) also changes independently of the torso. Also illustrated is a virtual speaker (416) which may be positioned differently depending on the direction of the particular adaptive reference orientation which is generated at a particular time during the continuous time period. In general, when the user's torso direction is stable, the virtual speaker is placed directly in front of the torso regardless of head direction, whereas if the torso direction is changing, the virtual speaker is moved toward the head, i.e. to a position which more closely corresponds to the head direction, as is made apparent from (410).


Line graph (418) of FIG. 4A illustrates sample values representing the adjustment amount value that may be calculated at any given time based on the second data received from the second sensor attached to the torso (414). For example, between time t1 and t2, the adjustment amount is shown to be zero because the torso direction is stable, as is also illustrated visually for the same time period in graph (410). By contrast, between t3 and t4, the adjustment amount rises to ˜0.2 in response to second data indicative of the changing torso direction at that time. From t5 to t6, the adjustment amount remains substantially zero, reflecting second data which is indicative of stability of the torso direction between t5 and t6. The adjustment amount rises begins to rise again at t6 to a peak value (424) of ˜0.8, and at t7 to a peak value (426) of ˜1, in response to second data indicative of a substantial change in stability of torso direction.


Line graph (420) of FIG. 4A illustrates, via a solid line, sample values representing the head direction during the continuous time period and, via a dotted line, sample values representing the adaptive reference orientation that may be calculated during the continuous time period. Thus between t1 and t3, when the torso direction is stable, the reference orientation appears to be constant (though it is in fact converging very slowly to the head direction) at a zero angle offset which is reflective of the virtual speaker (416) being positioned directly in front of the torso between t1 and t3, despite the alternating head movements. By contrast, at times t6 and t7 the direction of the reference orientation in (420) can be seen rapidly converging with the head direction in response to the respective increases to the adjustment amounts to ˜0.8 and ˜1.


Line graph (422) of FIG. 4A illustrates the relative head direction of the user relative to the adaptive reference orientation, which is computed by the RHOC module (112). Thus for example, at t3 when the direction of the adaptive reference orientation is substantially equal to the head direction, the user's relative head direction (i.e. offset) is substantially zero. Also, as the adjustment amount in (418) moves to ˜0.8 and ˜1 at t6 and t7, respectively, the relative head direction in (422) can be seen moving to zero at (428) and (430), respectively. The sample values for relative head direction in (422) can be used. e.g. to effect the rendering of binaural audio, VR, AR, etc. as detailed above.


As illustrated in FIG. 4A, as long as there is only head movement, the reference orientation is constant and the virtual speaker appears fixed (i.e. static) in space. Only a change in the direction of the torso causes the reference orientation to change. When this happens, the reference orientation is converged toward the head orientation, (simulating the movement of the virtual speaker to follow the head) until the torso direction stabilizes. Thus for example in line graph (410) it can be seen, e.g. that from time t1 to time t2, the user's torso direction is relatively unchanged and therefore the second data yields an adjustment amount of zero, translating to a near constant reference orientation, despite the user's left-right head movements as seen in line graphs (410) and (420). Note, however the changing relative head direction in line graph (422) for the same time period. The sample values for relative head direction in (422) can be used, e.g. to effect the rendering of binaural audio as detailed above.


It should be noted that due to the zoom level of the graph shown in FIG. 4A, while it may appear that at (424) and (426) the reference orientation in (420) is equal to the head orientation, in fact at (424) the reference orientation does not exactly equal the head orientation since the adjustment amount is less than 1. FIG. 4B therefore illustrates a zoomed in graph similar to the top and middle portions of the graph of FIG. 4A in which it can be seen that as the adjustment amount approaches 1 but does not equal 1, the reference orientation moves closer to the head orientation but does not equal the head orientation. Only in the case where the adjustment amount is equal to 1 is the reference orientation equal to the head orientation.


In certain embodiments, as detailed above, the one or measures can include one or a combination of one or more of relative stability, relative deviation, and absolute deviation. Each of these measures will be now be discussed in more detail and examples will be provided.


Example #1: Relative Stability

This measure compares the current short time sample variance to an earlier long term sample variance and returns an indicator of relative increase in variance. Let the variance S of each sensor (per axis) over the samples between n−N and n be denoted using Equation 3:










S


{

n
,

n
-
N


}


=


1
N






i
=
1

K




(


x
i

-
m

)

2







(
3
)








The relative stability per axis (not normalized) is given by Equation 4:

RS_UNNORMperSensorPerAxis[n]=max((S{n,n−N1}−S{n−N1,n−N1−N2}),0)  (4)

where N1 and N2 are sample groups (time windows) over which the variances are computed, and n is the current sample. Normalizing this for total variance of variances using the variance of a variance for normal distribution is given by:







Var


(
S
)


=


2


S
2



(

N
-
1

)







which translates to a pooled variance of the two sets given by:






TotalVarVar
=

2






S
2



{

n
,

n
-

N
1



}




N
1

-
1


+



S
2



{


n
-

N
1


,

n
-

N
1

-

N
2



}




N
2

-
1










Thus the normalized relative stability per axis per sensor can be written as Equation 5:










RS
perSensorPerAxis

=


max


(


(


S


{

n
,

n
-

N
1



}


-

S


{


n
-

N
1


,

n
-

N
1

-

N
2



}



)

,
0

)



2








S
2



{

n
,

n
-

N
1



}



/



(


N
1

-
1

)


+


S
2



{


n
-

N
1


,

n
-

N
1

-

N
2



}



/








(


N
2

-
1

)











(
5
)








The denominator normalizes the variances by the total variance of variance, and thus the variance is used as a random variable to achieve a unit-less measure of change in variance. A unit-less measure is critical in order to set one threshold for different device and sensors types. FIG. 5B illustrates a graphical depiction of Equations 3-5.


Finally, the relative stability calculated for each axis per sensor can be combined by root mean square (RMS) and also combined between sensors by a weighted RMS to allow different weighting per sensor, e.g. using Equation 6:










Total





RS

=



1
K






i
=
1

K




(


RS

i
,
x

2

+

RS

i
,
y

2

+

RS

i
,
z

2


)

×

weight
i









(
6
)








where K is the number of sensors. For example, for three axis gyro and three axis accelerometer, K=2. Then, for example at 100 Hz, if T1=0.5 sec and T2=2.0 sec, then N1=50, N2=200. In this example, the stability of the current half second (short term) is compared to that of the preceding two seconds (long term). FIG. 5C illustrates a graphical depiction of Equation 6.


Example #2: Relative Deviation

This measure compares the mean reference orientation between two adjacent time spans. Computing the geometrical mean quaternion of a set of four-dimensional quaternions can be achieved using the ‘Slerp’ operation described above. This operation ensures that the interpolation between two quaternions is done via the shortest path (i.e. the greater circle). In order to compute the mean over period of Tc, the Slerp operation can be used in a recursive fashion as in Equation 7:

Qmean[n]=Slerp(Qmean[n−1],Qin[n],α)  (7)


where α is the relative amount to Slerp over each step, and is defined by the time constant Tc and the tracking sample rate Fs as per Equation 8:

α=1−e−1/(Fs*Tc)  (8)


To compute a variance for quaternions, a distance measure is defined, e.g. the angle between the two quaternions computed by the dot product as in Equation 9:










OrientationDiff


(


Q
1

,

Q
2


)


=



θ
diff



(


Q
1

,

Q
2


)


=

acos


(



Q
1

·

Q
2






Q
1







Q
2





)







(
9
)







The variance can then be computed as in Equation 10:










S
Q

=





i
=
1

N




θ
diff
2



(


Q
i

,

Q
mean


)




N
-
1






(
10
)







It should be noted that Qmean is a vector, but the variance SQ is a scalar in units of squared angles.


The means and variances are computed twice, once over the last second (or any other time span), and again over the preceding second (or any other time span). i.e.:

Qmean1=Qmean(t,t−T) and Qmean2=Qmean(t−T,t−2T); and
SQ1=SQ(t,t−T) and SQ2=SQ(t−T,t−2T)


T is a time constant over which the mean and variance of orientations are computed. For example, when T=1 sec, the orientation in the current second is compared to that of the previous second.


Using the means and variances, the relative deviation can be computed which is also unit-less, using Equation 11:









RelativeDeviation
=





θ
diff



(


Q

mean





1


,

Q

mean





2



)







1
2



(


S

Q





1


+

S

Q





2



)








(
11
)








FIG. 5D illustrates a graphical depiction of Equations 7-11.


Example #3: Combination of Relative Stability and Relative Deviation

This measure is computed by combining the measures of relative stability and relative deviation which were detailed above. These measures can be combined, e.g. using root mean squares as in Equation 12:









RelativeMeasureTot
=







i
=
0

N



Measure
i
2


N


=




StabilityMeasure
2

+

RelativeDeviation
2


2







(
12
)







In certain embodiments, the individual measures (i.e. relative stability and relative deviation) can each be assigned a respective weight. FIG. 5E illustrates a graphical depiction of Equation 12.


Example #4: Absolute Deviation

This measure aims to cope with situations where slow motion occurs which might not be caught by the two examples above. This measure (provided in angular units) compares the mean second-sensor's orientation with some reference anchor, the anchor being some past orientation. When the deviation from the anchor exceeds a threshold the anchor is set to the current second-sensor's orientation, as in Equation 13:

AbsDeviationMeasure=|θdiff(Qmean,Qanchor)|  (13)

Conversion of Measures to Adjustment Amount


As detailed above, the adjustment amount can be derived from one or a combination of two or more measures. For example, referring to the example measures of relative stability, relative deviation and absolute deviation which were detailed above, the adjustment amount can be calculated as per Equation 14:









AdjustAmount
=

{



1



if






(

AbsDevMeasure
>
AbsThreshold

)








RelMeasureTot
p



RelMeasureTot
p

+

RelThreshold
p





otherwise








(
14
)







where p is some power value. FIG. 5F illustrates a graphical depiction of Equation 14. The value of relative threshold determines the point where the amount is equal to ½. The value of p determines rapidness of how the amount will shift from 0 to 1 as a function of the relative measure and the relative threshold, as illustrated in FIG. 6.


If the absolute deviation measure exceeds the absolute threshold (e.g. in degrees or other unit of orientation), the AdjustAmount is set to 1, otherwise, it is set smoothly in the range 0-1 with the position and shape of the slope controlled by the RelThreshold and p respectively as illustrated in FIG. 6, illustrating an example graph of sample adjustment amounts calculated for different values of relative measures and different power values.


As detailed above, the example linear interpolation operation provided in Equation 1 can be described as a first order IIR filter. In systems such as this it is typical to define a filter time constant Tc over which the value of the output reaches a value of






1
±

1
e






of the target value. Under these definitions, the relation between the adjustment amount and the Tc is described in Equations 15 and 16:









AdjustAmount
=

1
-

e


-
1

/

(


F
s

*

T
c


)








(
15
)







T
c

=

-

1


F
s



log


(

1
-
AdjustAmount

)









(
16
)








where log is the natural logarithm and Fs is the sample rate.


However, the adjustment amount varies based on second sensor data so Tc is not constant as described in Equation 17:











T
c



[
n
]


=

-

1


F
s



log


(

1
-

AdjustAmount




[
n
]


)









(
17
)







Using Tc[n], the reference orientation can be described as adapting at a velocity proportional to 1/Tc[n].



FIG. 7 illustrates an example flow chart of a sequence of operations that may be carried out by the processing unit for providing a head orientation relative to an adaptive reference orientation in accordance with certain embodiments. At block 700, the processing unit initializes an adaptive reference orientation to be used as the starting reference orientation. In certain embodiments, initializing a reference orientation can include, e.g. generating a default, or arbitrary, reference orientation and setting the adjustment amount equal to 1 thereby guaranteeing the generated reference orientation will quickly converge to the head orientation.


At block 702, processing unit receives head data from head sensor (114). The head data describes a first head orientation associated with a user. In certain embodiments, head data is continually being received from the head sensor, for example at a predetermined sampling rate, such that the most recently received head data thereby describes the current first head orientation.


Substantially concurrently with receiving head data, at block 704 the processing unit receives second data from the one or more second sensors (116). In certain embodiments, second data is continually received from the one or more second sensors, for example at respective predetermined sampling rates, such that the most recently received second data thereby describes the most current second data. In certain embodiments, as detailed above, the second data comprises data indicative of a need to change the adaptive reference orientation, e.g. data indicative of location, motion, orientation, velocity and/or acceleration associated with the user in at least one dimension of a three dimensional coordinate system.


At block 706, the processing unit. e.g. AAC module (108), continually calculates a value indicative of an adjustment amount at least partly in accordance with the most current second data. In certain embodiments, the adjustment amount can be derived or computed from the second data, for example by computing one or more measures from the second data (e.g. based on changes in statistical properties of the second data) and converting the one or more measures to an adjustment amount. In certain embodiments, the one or more measures can be converted to an adjustment amount by comparing one or more of the measures to one or more respective thresholds. The one or more measures can include, e.g. relative stability, relative deviation and/or absolute deviation. In certain embodiments, the adjustment amount may be further filtered for smoothing and/or to control one or more of rise time, hold time, and decay time.


At block 708, the processing unit, e.g. ROC module (110), continually adapts the adaptive reference orientation by moving it at least partly toward the head orientation (as provided by the head data) by an amount which is varied at least partly in accordance with the second data, thereby generating a new adaptive reference orientation. In certain embodiments, the amount can be determined by the adjustment amount. In certain other embodiments, the amount can be derived from a filter time constant Tc over which the value of the reference orientation will converge at least partly towards the current head orientation. In certain embodiments, adapting the adaptive reference orientation can include rotating the adaptive reference orientation in accordance with the adjustment amount calculated at block 706. The rotating can be achieved, e.g. by means of a quaternion “Slerp” between the adaptive reference orientation and the first head orientation.


At block 710, the processing unit, e.g. RHOC module (112), generates data indicative of a second head orientation associated with the user in accordance with the user's first head orientation (received at block 702) and the new adaptive reference orientation (generated at block 708), in which the second head orientation describes the user's first head orientation relative to the new adaptive reference orientation. In certain embodiments, the user's second head orientation can be used for rendering at least one of binaural audio, VR video and/or AR video, which can then be delivered to the user via headphones, oculus, or other listening and/or viewing apparatus. Execution then returns to block 702 and the sequence of operations 702-710 is repeated wherein the new adaptive reference orientation generated at block 710 constitutes the next reference orientation to be adapted at block 708.


At each execution of block 710, the user's most current relative head orientation is generated relative to the adaptive reference orientation, thereby enabling the delivery of the rendered audio and/or video to the user in response to the user's head movements in real-time or near real-time with the user's head movements.


It is noted that the teachings of the presently disclosed subject matter are not bound by the system described with reference to FIG. 1. Equivalent and/or modified functionality can be consolidated or divided in another manner and can be implemented in any appropriate combination of software with firmware and/or hardware and executed on a suitable device.


It is noted that the teachings of the presently disclosed subject matter are not bound by the flow chart illustrated in FIG. 7, the illustrated operations can occur out of the illustrated order. For example, operations 702 and 704 shown in succession can be executed substantially concurrently or in the reverse order. It is also noted that whilst the flow chart is described with reference to elements of system (100), this is by no means binding, and the operations can be performed by elements other than those described herein.


It is to be understood that the invention is not limited in its application to the details set forth in the description contained herein or illustrated in the drawings. The invention is capable of other embodiments and of being practiced and carried out in various ways. Hence, it is to be understood that the phraseology and terminology employed herein are for the purpose of description and should not be regarded as limiting. As such, those skilled in the art will appreciate that the conception upon which this disclosure is based may readily be utilized as a basis for designing other structures, methods, and systems for carrying out the several purposes of the presently disclosed subject matter.


It will also be understood that the system according to the invention may be, at least partly, implemented on a suitably programmed computer. Likewise, the invention contemplates a computer program being readable by a computer for executing the method of the invention. The invention further contemplates a non-transitory computer-readable memory tangibly embodying a program of instructions executable by the computer for executing the method of the invention.


Those skilled in the art will readily appreciate that various modifications and changes can be applied to the embodiments of the invention as hereinbefore described without departing from its scope, defined in and by the appended claims.

Claims
  • 1. A method of providing an adaptive reference orientation usable for determining a relative head orientation of a user, the method being implemented by a processing unit and comprising: repeatedly providing:a) receiving head data from a head sensor, said head data defining a head orientation associated with a user;b) receiving second data from a second sensor operating independently of the head sensor, said second data indicative of changes of a current frame of reference of the user;c) using currently received second data to obtain a new adaptive reference orientation by moving the current adaptive reference orientation at least partly towards the defined head orientation by an amount which is varied at least partly in accordance with the currently received second data;d) computing head orientation relative to the new adaptive reference orientation; ande) using the new adaptive reference orientation as a current adaptive reference orientation for a next repeat of operations a)-d).
  • 2. The method of claim 1, wherein said amount is varied at least partly in accordance with changes in the statistical properties of said second data.
  • 3. The method of claim 1, wherein said new adaptive reference orientation is obtained by rotating said current adaptive reference orientation in accordance with an adjustment amount.
  • 4. The method of claim 3, wherein said currently received second data is used to compute said adjustment amount.
  • 5. The method of claim 3, wherein said rotating is carried out by interpolating between said current adaptive reference orientation and said defined head orientation.
  • 6. The method of claim 4, wherein said adjustment amount is derived from said currently received second data by computing one or more measures, and converting said one or more measures to said adjustment amount, wherein said one or more measures include one or more of relative stability, relative deviation, absolute deviation.
  • 7. The method of claim 6 wherein said adjustment amount is further processed for at least one of: smoothing, and to control one or more of rise time, hold time, and decay time of said adjustment amount.
  • 8. The method of claim 6, wherein said one or more measures are converted to said adjustment amount by comparing one or more of said one or more measures to one or more respective thresholds.
  • 9. The method of claim 1, wherein said currently received second data comprises data indicative of at least one of: location, motion, orientation, velocity and acceleration associated with the user in at least one dimension of a three dimensional coordinate system.
  • 10. The method of claim 1, further comprising rendering binaural audio in accordance with the head orientation computed relatively to the new adaptive reference orientation.
  • 11. The method of claim 1 further comprising rendering one of virtual reality (VR) video and augmented reality (AR) video in accordance with the head orientation computed relatively to the new adaptive reference orientation.
  • 12. A system of providing an adaptive reference orientation usable for determining a relative head orientation of a user, the system comprising: a head sensor configured to sense head data, the head data defining a head orientation associated with a user;one or more second sensors physically and functionally separate from the head sensor, the one or more second sensors being configured to sense second data, the second data being indicative of changes of a current frame of reference of the user; anda processing unit operably coupled to the head sensor and the one or more second sensors, the processing unit being configured to repeatedly provide:a) receiving head data sensed by the head sensor, the head data defining a head orientation;b) receiving second data sensed by the one or more second sensors;c) using currently received second data to obtain a new adaptive reference orientation by moving the current adaptive reference orientation at least partly towards the defined head orientation by an amount which is varied at least partly in accordance with the currently received second data;d) computing the head orientation relative to the new adaptive reference orientation; ande) using the new adaptive reference orientation as a current adaptive reference orientation for a next repeat of operations a)-d).
  • 13. The system of claim 12, wherein said amount is varied at least partly in accordance with changes in statistical properties of said second data.
  • 14. The system of claim 12, wherein said new adaptive reference orientation is obtained by rotating said current adaptive reference orientation in accordance with an adjustment amount.
  • 15. The system of claim 14, wherein said currently received second data is used to compute said adjustment amount.
  • 16. The system of claim 15, wherein said adjustment amount is derived from said currently received second data by computing one or more measures, and converting said one or more measures to said adjustment amount, wherein said one or more measures include one or more of relative stability, relative deviation, absolute deviation.
  • 17. The system of claim 16, wherein said adjustment amount is further processed for at least one of: smoothing, and to control one or more of rise time, hold time, and decay time of said adjustment amount.
  • 18. The system of claim 12, wherein said currently received second data comprises data indicative of at least one of: location, motion, orientation, velocity and acceleration associated with the user in at least one dimension of a three dimensional coordinate system.
  • 19. The system of claim 12, the processing unit being further configured to provide at least one of: rendering binaural audio in accordance with the head orientation computed relatively to the new adaptive reference orientation, and rendering one of virtual reality (VR) video and augmented reality (AR) video in accordance with the head orientation computed relatively to the new adaptive reference orientation.
  • 20. A non-transitory computer-readable memory tangibly embodying a program of instructions executable by a computer for executing a method of providing an adaptive reference orientation usable for determining a relative head orientation of a user, the method comprising: repeatedly providing:a) receiving head data sensed by a head sensor, said head data defining a head orientation associated with a user;b) receiving second data from a second sensor physically and functionally separate from the head sensor, said second data indicative of changes of a current frame of reference of the user;c) using currently received second data to obtain an new adaptive reference orientation by moving the current reference orientation at least partly towards the defined head orientation by an amount which is varied at least partly in accordance with the currently received second data;d) computing head orientation relative to the new adaptive reference orientation; ande) using the new adaptive reference orientation as a current adaptive orientation for a next repeat of operations a)-d).
CROSS-REFERENCES TO RELATED APPLICATIONS

The present application claims benefit from U.S. Provisional Patent Application No. 62/330,267 filed on May 2, 2016, which is incorporated hereby by reference in its entirety.

PCT Information
Filing Document Filing Date Country Kind
PCT/IL2017/050484 5/1/2017 WO 00
Publishing Document Publishing Date Country Kind
WO2017/191631 11/9/2017 WO A
US Referenced Citations (21)
Number Name Date Kind
5742264 Inagaki et al. Apr 1998 A
5959597 Yamada et al. Sep 1999 A
6009210 Kang Dec 1999 A
6474159 Foxlin et al. Nov 2002 B1
9268136 Starner et al. Feb 2016 B1
9271103 Wells Feb 2016 B2
9821920 Cole et al. Nov 2017 B2
20080170730 Azizi et al. Jul 2008 A1
20090058606 Munch et al. Mar 2009 A1
20090147993 Hoffmann et al. Jun 2009 A1
20090189830 Deering Jul 2009 A1
20090219224 Elg Sep 2009 A1
20110193883 Palais et al. Aug 2011 A1
20110293129 Dillen et al. Dec 2011 A1
20130236040 Crawford et al. Sep 2013 A1
20140232637 Park et al. Aug 2014 A1
20140354515 LaValle et al. Dec 2014 A1
20160363992 Welti Dec 2016 A1
20170050743 Cole Feb 2017 A1
20170083084 Tatsuta et al. Mar 2017 A1
20180081426 Rothkopf Mar 2018 A1
Non-Patent Literature Citations (4)
Entry
“Slerp,” Wikipedia, [https://en.wikipedia.org/wiki/Slerp].
“Quaternion,” Wolfram MathWorld, [http://mathworld.wolfram.com/Quaternion.html].
“Quaternions and spatial rotation,” Wikipedia, [https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation].
Blow, Jonathan, “Understanding Slerp, Then Not Using It,” The Inner Product, Apr. 2004, [http://number-none.com/product/Understanding%20Slerp,%20Then%20Not%20Using%20It/].
Related Publications (1)
Number Date Country
20190064519 A1 Feb 2019 US
Provisional Applications (1)
Number Date Country
62330267 May 2016 US