The present disclosure relates generally to improved techniques for creating and monitoring dynamic haptic feedback systems.
Mid-air haptics can be used to mediate human-computer interaction. During an interaction, haptic feedback can be used to convey many types of information to the user, for example:
Haptic feedback generation is often required to occur with low latency in response to the user's position, movements and gestures. To create the illusion of operating a control, such as twisting a dial or moving a slider, an input-processing method and haptic feedback generation method must be co-designed and deployed.
Generally, input processing and output generation are treated as separate concerns and dealt with in different parts of a system. Defining a haptic control comprising input-processing methods and output generation methods so that it can be easily designed in one environment and deployed to another where it reproduces the designed behavior is therefore a difficult problem.
Related art exists in graphics where it is common to define shaders, which are analogous to the method for generating haptic feedback, that produce image output by applying the method to run-time inputs.
Mid-air haptic mediated human-computer interaction (HCI) is a feedback loop comprising an output device (the array) generating output to be perceived by a user, user actions that are sensed by an input device (tracking device), and low-latency feedback to the output used to create the illusion of a physical interaction. There is an analogy with touch-screens and the corresponding user interface (UI) widgets that graphical user interface (GUI) programming libraries provide to take advantage of that particular device arrangement. Although it is possible to create and share extensions to GUI programming libraries, the incorporation of shared extensions normally requires substantial programming effort and build-time activities. The present invention affords the ability to define, encapsulate, share and deploy more easily than the existing methods.
Discussed herein is a system and method for the development, encapsulation, distribution and deployment of low-latency input-output processing algorithms to mediate human-computer interaction by generating haptic feedback influenced in real time by external stimuli. The invention provides the ability to design algorithms that scale or are otherwise automatically adjusted when deployed to computing environments with different capabilities. The invention also provides features to facilitate the design, sharing and modification of the algorithms, thereby reducing development time/cost.
Unlike graphics shaders, haptic blocks can generate outputs for connection to parts of the system other than the haptic emitter to indicate such conditions as a button being pressed or a notched dial being moved to the next notch. This is accomplished by scaling paths independently of brushes (by preserving data types/information in the block network rather than going directly to stream of focal point data).
The accompanying figures, where like reference numerals refer to identical or functionally similar elements throughout the separate views, together with the detailed description below, are incorporated in and form part of the specification, serve to further illustrate embodiments of concepts that include the claimed invention and explain various principles and advantages of those embodiments.
Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements to help to improve understanding of embodiments of the present invention.
The apparatus and method components have been represented where appropriate by conventional symbols in the drawings, showing only those specific details that are pertinent to understanding the embodiments of the present invention so as not to obscure the disclosure with details that will be readily apparent to those of ordinary skill in the art having the benefit of the description herein.
The term ‘haptic point’ means a small region in space having perceptible physical properties that can be detected through the sense of touch alone and with the sensation being localized to a small region of skin such that movement of the haptic point in space can be perceived as movement of the point around the palm or along a finger for example.
The term ‘haptic path’ has similar meaning to haptic point except it creates the perception of a continuous line, curve or other geometric path.
Haptic points and haptic paths and can be generalized to surfaces, volumes and other haptic entities. This description will use points and paths without loss of generality.
‘Haptic entities’ may have properties that affect how they are perceived, for example position, size, orientation, intensity, roughness, sharpness or any other property could be defined.
The term ‘haptic emitter’ means a device that can create haptic entities. The haptic emitter receives instructions identifying the properties of the entity to create including its shape, size and position. Positions are specified in relation to the ‘haptic frame’, which is a 3-dimensional coordinate system within which positions relative to a datum point on the haptic emitter can be described.
Note that this description refers to mid-air haptics but could apply in any acoustic medium. Similarly, examples are based around the common case of a hand, but any part of the body could equally be used.
Data discussed herein may be received over a computer network and/or a removable storage medium.
Output subsystems may include audio subsystems, visual output subsystems and computer network subsystems.
One basic use for mid-air haptic mediated HCI is to indicate to a user that a part of their hand is currently being tracked so that its position and orientation can be used as input data for the interaction. It is desirable to produce a haptic point localized to the relevant part of the hand so that the user is aware that tracking is active but also exactly which part of the hand is being tracked.
In the system 2500 depicted in
The system may operate by requiring the palm to be approximated by a plane, a 3D transform to be applied to the path and the ability to send a haptic path to the emitter.
A frame defines a 3D orthonormal coordinate system that is positioned and orientated relative to another frame. Frame Generator blocks 2770 and 2780 receive a point input, center, defining the origin of a frame and two direction vectors, normal and up, defining the direction of two of the three basis vectors for the frame. The third basis vector of the frame is computed as the cross-product of the first two. The Frame Generator block 2770 outputs the frame in which the line output from Line Generator block 2740 is considered to be defined and Frame Generator block 2780 outputs the frame relative to the emitter output frame in which the plane approximating the target hand is the xy-plane. Outputs from Frame Generator blocks 2770 and 2780 also inputs into a Transform Between Frames block 2750. The Transform Between Frames block 2750 outputs a new line that has been positioned and oriented so as to be within the plane approximating the target hand. The output of the Transform Between Frames block 2750 inputs into Path Renderer block 2760. The output of the Path Renderer block 2760 provides emitter instructions.
The overall operation of the network may be broken into three stages. First the macrogeometry of a haptic entity is calculated at the line output of Line Generator block 2740, the line being from a point in 3D space (−half length, 0, 0) to a second point (+half length, 0, 0). In the second stage, to create the illusion that the line is attached to a hand, the line must be moved and oriented to match the position and orientation of the hand and this is achieved by the Transform Between Frames block 2750. Finally the macrogeometry is converted to instructions to the emitter by the Path Renderer block 2760.
A refined example includes mediation of the starting and stopping of an interaction when certain gestures are detected. Whether an interaction is currently in progress is then indicated to the user by the presence or absence of a haptic point.
A gesture is a pattern of input over time having certain detectable characteristics. Examples of gestures include flicking, swiping, twisting, tapping and other motions. The details of how to detect gestures are well known in related art.
The Evaluator block 2640 repeatedly evaluates the network in response to changes in Index Finger Tip Position block 2610. The Swipe Gesture Detector block 2630 has an output ‘Detected’ that evaluates to the time when a sequence of values on the ‘Position’ input last described a movement that is consistent with the act of swiping. The Debouncer block 2650 has a Boolean output that on each evaluation evaluates to True if and only if the current value on its ‘In’ input is different than on the previous evaluation and less time has elapsed since the last change on the ‘In’ input than the value presented on the Period input (note that the handling of state to implement this behavior is described later). A time source 2620 provides a time signal to the Swipe Gesture Detector block 2630 and to the Debouncer block 2650.
The Toggle block 2660 has a Boolean input and Boolean output and on each evaluation flips the value on the output if the input value is True. The Multiplexer block 2670 has two inputs for values that can appear on the output and another input that controls which of the first two inputs' values is forwarded to the block's output. The Haptic Point Generator block's 2680 Intensity input is therefore presented with a value that toggles between 100% or 0% for each swipe gesture detected. The Haptic Point Generator block's 2680 Position input receives the current finger tip position. Therefore the Haptic Emitter receives instructions that cause it to generate a haptic point at the location of the finger tip that toggles on or off after each swipe gesture made with the finger tip.
One notable feature of
Whereas the previous example described changing the system state in response to a gesture, it is also possible to modulate the haptic feedback continuously to provide the user with richer information about the system's response to input as the interaction progresses as will now be described.
The Clamped Lerp block 3090 performs a linear interpolation function, well known in the art, to map the scalar value on its x input in the range xrefa to xrefb linearly into the range identified by the values on outrefa and outrefb inputs, which are arranged to be half the cylinder radius and the cylinder radius respectively. Therefore the Circle Path block 3070 receives on its Radius input a scalar that decreases from the cylinder radius to half the cylinder radius as a hand moves down through the cylinder. The Circle Path block 3070 produces a circular path of the necessary radius centered on the origin in the xy-plane. The Translate Path block 3094 also receives input as an offset from the Compose Vector 3 block 3090 whose input is zero in the X and Y directions and the output of the Get Z Coord block 3030 in the Z direction. The offset input of the Translate Path block 3094 is therefore a point on the axis of the cylinder at the height of the lowest point of any point from the Hand Point Cloud. This allows the Translate Path block 3094 to position the circle received on its path input so that it coincides with the lowest point of the hand interacting with the plunger.
Finally the Translate Path block 3094 translates the circle path so that it is moved to the height of the lowest hand-point-cloud point in the cylinder calculated elsewhere in the network and described above. The translated path is converted to instructions to be sent to the Haptic Emitter by the Path Renderer block 3096.
The perceived qualities of a haptic entity depend on spatial and temporal features at different scales simultaneously in the same way that solid object can be both smooth on a small scale and bumpy on a medium scale for example. The present invention provides the ability to readily combine the effects of blocks or sub-networks each concerned with features at different scales as will now be described.
The Periodic Path block 2940 allows for the adjustment of the number of repetitions of the brush path for each traversal of the macro-geometry path. The overall effect is that the perceptual properties of the plunger haptic entity can be adjusted independently of its macroscopic qualities like size and shape. Moreover, the ability to adjust perceptual properties has been added to a pre-existing haptic entity by the addition of a new sub-network without the need for heavy modifications to the original network.
The plunger examples describes a system in which the overall effect of the modulation is to apply an affine transform to the haptic entity being generated. An advantage of the freedom provided by the present invention is that a network of blocks in which modulation can be applied to part of the network while leaving other parts unaffected is easily possible. This is particularly relevant in the presence of microgeometry because changes to scale, speed or other characteristics of the microgeometry can substantially affect what a user perceives. Therefore, if it is desired to modulate the size of a macro-geometry path or the speed at which it is traversed the modulation must be decoupled from the generation of the microgeometry.
Another example of non-affine modulation is to generate a haptic point following a circular path at some frequency then modulating the radius of the path at a higher frequency.
A refinement of this is to modulate the haptic output in response to the tactile sensitivity of the skin being stimulated.
The effectiveness of an interaction can be increased dramatically by stimulating multiple senses in unison with the haptics, for example: visualizing the system state through indicator lights or graphics, or generating sounds when certain events occur.
The present invention facilitates the synchronization of multiple parts of the system without imposing overly restrictive constraints on those parts. This will now be described by considering the examples of a switch that generates an event when a plunger moves beyond a certain position. The movement of the plunger and the activation of the switch are indicated via haptics but also via sound and graphics.
In the present invention, state is managed externally to the block network so that each block is ‘functional’ in the ‘functional programming’ sense—there are no side effects and presenting the same inputs always yields the same outputs. One advantage of this scheme is that it enables optimization when some of the network must be reevaluated more often than other parts. For example, if the output rate is many kHz, but some inputs are updated only at 10 s of Hz, then the evaluation of sub-networks with unchanged inputs can be skipped.
Secondly, when debugging, state can be recorded, made visible and replayed. This is important when inputs are coming from things like waving hands that are very difficult to reproduce. Also if blocks were stateful, then once a block has been driven into a state it would be difficult to go back in time (the state has to be reset). Stateful block also make it difficult to try out scenarios that require a certain state to be entered—in contrast, the functional arrangement allows a state to be entered by providing the appropriate output from the State Manager.
The collection of inputs and outputs on a block constitute its interface. In a network, a first block with a given interface can always be substituted for a block that has an interface that is the same or is a superset of the first block's interface. The substitution may result in a situation where only a subset of the inputs and outputs of the substitute block are connected. It is therefore possible that a block that is not fully connected in a network can be substituted with a block that has an interface that has amongst its inputs and outputs a subset that matches the subset that are connected in the block to be substituted.
When performing a substitution, it must be possible to map the inputs and outputs on the substitute block to those of the block to be substituted. The mapping is determined by examining information, known as metadata, associated with the inputs and outputs.
Metadata may include, for example, information about the types of data that the inputs and outputs can convey, the semantic meaning of the data conveyed through the inputs and outputs, the set or range of permitted values at an input or the set of values that an output can produce.
Metadata can be used by tools for processing block networks for a range of purposes including facilitating editing of the network by automating the creation of connections between blocks or at least making it easy to connect inputs and outputs in accordance with their data types or semantic information.
The metadata associated with inputs and outputs can be used to simplify the integration of blocks into systems where the block designer and system designer are working independently of each other. A system may provide data about the user and environment of various types and semantics, for instance a subset of the data may pertain to the recognition of a certain gesture and the parameters of the recognized gesture such as its direction and length. A block designer may provide a set of blocks each of which has an input or inputs that can, for example, be used to trigger the generation of a haptic entity with a certain size. A problem can arise when a third-party system integrator wishes to combine the data provided by the system with the independently designed blocks because the interface of the blocks may not be trivially satisfied by the data provided by the system.
Suppose for example that a set of blocks is provided each with the following input interface:
And suppose that a system provides data on a range of gestures that it can recognize:
The LeftSwipe and RightSwipe groups have a common interface: StartTime, EndTime, StartPos, EndPos. The third-party system integrator provides an adapter block that converts the system data source interface for a gesture to an interface compatible with the sink block's input interface, as shown in
Where the adapter block for a given data source and sink block can be identified unambiguously from the meta data provided on the blocks and their inputs and outputs, then construction of the connectivity to perform adaptation can be generated automatically. One example of how this manifests in a UI in a workflow as follows:
Although the present invention is specialized for and described in relation to its application in the field of haptic generation, it is generally applicable to other problems. This becomes a distinct advantage when a multi-modal sensory experience is being created. For example, perception of friction is a function of stimulus perceived through touch, sight and sound (Guest, S., Catmur, C., Lloyd, D. et al. Exp Brain Res (2002) 146: 161. https://doi.org/10.1007/s00221-002-1164-z). As a user interacts with a simulated texture, the velocity of their movement can be used to modulate synthesized sound. The present invention can be used to implement the sound synthesis and modulation algorithms, ensuring that the entire experience is coherent and that implementation of textures using sound can be treated by non-experts as a ‘black-box’.
Examples so far have shown blocks being reused in different situations, giving programmers the benefits of saved time and higher quality results compared to providing all the blocks themselves. There are some reuse patterns that are made possible by certain novel features of the block definition scheme.
The connections from output and to input ports have so far been depicted as ‘atomic’ (featureless) entities where in fact they have internal structure in the form of channels as shown in
A key difference between evaluation in the simple case where each connection conveys a single data item and this case is that the number of comparisons carried out by the Min Element 3320 block is proportional to the number of elements in the list.
In order for the comparison operation to be defined using blocks, channels are provided within ports. For each element in the list, the Min Element detailed block 3320a evaluates the Comparator input 3366 by providing the current element and the lowest element encountered so far on the left-hand side (LHS) and right-hand side (RHS) channels. The current block graph evaluation is then suspended, a new evaluation of the sub-graph that produces the value on the Result channel is carried out and then the original block graph evaluation is resumed. Specifically, the detailed Z Less Than block includes two blocks with GetZ blocks 3362, 3364 with inputs from the LHS and RHS channels. The results of the inputs of these blocks is processed in the A<B block 3372 that feeds into the interface block 3368 that feeds into the comparator 3366. Thus, in
A geometric path can be regarded as a function mapping a scalar in the range 0 to 1 to a point in space. When varying the scalar continuously from 0 to 1, a continuous path is described. Path representations of geometry are advantageous because downstream blocks can evaluate the path at one or more points allowing, for example, estimation of the gradient at a point.
To evaluate the Point channel in interface block 3454 of the ‘Out’ output port of the Translate Path block 3450a, a scalar is provided on the u channel and evaluation proceeds to evaluate the ‘Out’ output of the Vector Add block 3480. Its ‘a’ and ‘b’ inputs must be evaluated. The ‘a’ input is evaluated by tracing the connectivity to the Compose Vector 3 block 3470 via interface blocks 3452, 3456 and evaluating that and so on. The ‘b’ input of the Vector Add is connected to a top-level input.
The scalar on the u channel is input into two blocks 3450,3460 along with the radius input. A r sin 2πu block 3450 outputs to the x entry of the Compose Vector 3 block 3470. A r cos 2πu block 3460 outputs to they entry of the Compose Vector 3 block 3470.
The significance of this is that, in addition to the situation described using
It will be apparent to one skilled in the art that optimizations to avoid re-evaluating subnetworks that are bound to yield the same values as on previous evaluations can be applied.
One of the main goals of the present invention is to provide a way of describing algorithms for data processing that are portable and reusable between different end applications. Some applications will make use of high-end computing hardware such as that used to generate virtual reality experiences, others will operate in highly constrained computing environments such as might be found in home appliances. To facilitate reuse, algorithm designers need to be able to ignore the constraints of the operating environment as much as possible and the present invention provides capabilities to achieve this as are now described.
To facilitate the application of blocks into real products it is necessary to facilitate the discovery, prototyping, design, implementation and deployment processes involved in getting a product with haptic enhancement to the market. The current invention provides a mechanism for associating additional metadata to blocks so that the information can be used to guide or automate the mentioned processes. Metadata can be attached as name-value pairs to any block, port, connection or other element of the block network. Naming conventions using names such as ‘Name’, ‘Type’ or ‘Documentation’ are used to enable tools used in the production process to analyze, categorize and present blocks and their metadata to users so that the production process is made more efficient and effective.
During the discovery phase documentation and categorization of the blocks available for use in a project is important. Inputs are labelled with default values such that a generic block browser can be used to present any given block to a user both on screen and through a haptic emitter without the user having to have prior knowledge of how to configure or drive the block. Blocks and their inputs and outputs are labelled with documentation describing their purpose and correct usage. Outputs of blocks with multiple outputs are labelled with their purpose, for example haptic output, debug output, visualization output, sound output.
For blocks that are a sub-part of larger block networks, cross-references into a library of examples in which the block can be found is generated so that the block can be seen being used in context.
During the prototyping/design phase, the rapid creation and trialing of new block networks is prioritized. Metadata on input and output ports allows automation of block selection and connection, for example by filtering the list of available blocks down to those having inputs that could be correctly used in conjunction with a given output. Such filtering allows someone with limited knowledge of the available blocks to discount unproductive possibilities and limit their exploration to productive regions of the solution space.
Metadata on outputs that highlights them as debug or visualization outputs can be used in design tools to evaluate and display information about the functionality of the block network under development. Inputs carry metadata relating them to visualization data so that the input controlling, say, the radius of a circle can be rendered in a visualization and presented to the user for editing/interaction in a way appropriate to the tool.
During the implementation phase meta data on blocks relating to the requirements they make on the execution environment such as computational intensity, memory consumption and hardware minimum requirements can be used to maintain an estimate of whether a given block network will be deployable on a target device (or an estimate of the required parameters of a target device if there is a choice).
During the deployment phase, meta data on blocks is used to schedule the blocks in the network to appropriate computing resources depending on computational load and available resources.
A haptic output entity with microgeometry that may vary in response to a first input of a midair haptic feedback system and macrogeometry that may vary in response to a second input of a midair haptic feedback system. The midair haptic feedback system may be capable of receiving data encoding a haptic entity and, after reception, output the encoded haptic entity.
The macrogeometry may vary in response to a first input of a midair haptic feedback system and the microgeometry may remain unchanged as a second input varies.
The microgeometry may vary in response to a second input of a midair haptic feedback system and the macrogeometry may remains unchanged as a first input varies.
A midair haptic feedback system may include: (a) a facility based on a first input and a second input to record and replay a first input and a second input; (b) a facility based on a first input and a second input to query values of intermediate calculations; and (c) a facility based on a first input and a second input to input simulated input values.
While the foregoing descriptions disclose specific values, any other specific values may be used to achieve similar results. Further, the various features of the foregoing embodiments may be selected and combined to produce numerous variations of improved haptic systems.
In the foregoing specification, specific embodiments have been described. However, one of ordinary skill in the art appreciates that various modifications and changes can be made without departing from the scope of the invention as set forth in the claims below. Accordingly, the specification and figures are to be regarded in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of present teachings.
Moreover, in this document, relational terms such as first and second, top and bottom, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms “comprises,” “comprising,” “has”, “having,” “includes”, “including,” “contains”, “containing” or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises, has, includes, contains a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by “comprises . . . a”, “has . . . a”, “includes . . . a”, “contains . . . a” does not, without more constraints, preclude the existence of additional identical elements in the process, method, article, or apparatus that comprises, has, includes, contains the element. The terms “a” and “an” are defined as one or more unless explicitly stated otherwise herein. The terms “substantially”, “essentially”, “approximately”, “about” or any other version thereof, are defined as being close to as understood by one of ordinary skill in the art. The term “coupled” as used herein is defined as connected, although not necessarily directly and not necessarily mechanically. A device or structure that is “configured” in a certain way is configured in at least that way but may also be configured in ways that are not listed.
The Abstract of the Disclosure is provided to allow the reader to quickly ascertain the nature of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing Detailed Description, it can be seen that various features are grouped together in various embodiments for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the claimed embodiments require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separately claimed subject matter.
This application claims the benefit of the following U.S. Provisional Patent Applications, which is incorporated by reference in its entirety: 1) Ser. No. 62/652,872, filed on Apr. 4, 2018.
Number | Date | Country | |
---|---|---|---|
62652872 | Apr 2018 | US |