TECHNICAL FIELDThe invention relates to touch sensitive devices including touch sensitive screens or panels, in particular panels for use with a stylus or other writing instrument.
BACKGROUND ARTU.S. Pat. No. 4,885,565, U.S. Pat. No. 5,638,060, U.S. Pat. No. 5,977,867, US2002/0075135 describe touch-operated apparatus having tactile feedback for a user when touched. In U.S. Pat. No. 4,885,565 an actuator is provided for imparting motion to the CRT when the actuator is energised to provide tactile feedback. In U.S. Pat. No. 5,638,060, a voltage is applied to a piezo-electric element which form a switch to vibrate the element to apply a reaction force to a user's finger. In U.S. Pat. No. 5,977,867, a tactile feedback unit generates a mechanical vibration sensed by the user when the touch screen is touched with a finger or a pointer. The amplitude, vibration frequency and pulse length of the mechanical vibration are controlled, with the pulse width being long enough to be felt but short enough to terminate before the next key touch. US2002/0075135 describes the use of a second transducer to provide a pulse in the form of transient spike to simulate a button click.
In each of the prior art documents described above, tactile feedback is provided in response to a discrete touch, of a user's finger or pointer. However, it is recognised by the applicant that tactile feedback may also be useful for continuous movements across the touch screen.
DISCLOSURE OF INVENTIONAccording to the invention, there is provided a method of simulating the sensation of a writing implement writing on paper when using a hand-held stylus to write on a touch-sensitive screen, comprising arranging the screen to vibrate when contacted by the stylus to provide user feed-back.
Paper comprises a fibre mat in a binder with individual fibres having a random orientation resulting in a rough surface having local variations in the coefficient of friction (sliding or static) on the level traced by the small contact patch between the tip of a pencil and the paper surface. The motion of a pencil over the surface may be described as stick-slip style motion. A similar effect is felt when writing with other writing instruments, such fibre tip pen. For other types of writing instruments, variations on the effect may be felt. For example for a fountain pen this may be scratchy if a bad nib but have a smoothish, water lubricated glide if good. The type of paper also has an effect and often fountain pen users are selective about finding paper with the right nib feel and which takes ink at the right rate without bleeding. For biros, there is a viscous smooth friction sliding but the paper does have some underlying fibrous texture.
In contrast, when writing with a stylus or pointer on a polymer or glass cover of a touch sensitive panel or surface, this slip-stick motion is lost. The slip stick behaviour of pencil on paper is a key element of the writing sensation. Writing to touch sensitive screens with a stylus has improved sensation, appeal and user satisfaction when there is a simulation of the pencil on paper writing characteristic.
The screen may be vibrated by applying a signal comprising multiple pulses or a stream of pulses.
The method may comprise sensing the velocity of movement of the stylus over the screen face, for example, by using a sensor. The screen may be arranged to vibrate according to the sensed velocity. Thus for a signal having multiple pulses, the signal may have a mean pulse rate comparable to that of the sensed velocity.
The method may comprise arranging for the vibration to simulate the drag of writing implement moving over paper by period modulating the vibration, for example for a signal having multiple pulses by changing the spacing in time between pulses, i.e. by changing the pulse rate. The spacing may be randomised whereby the random spacing of the paper fibres is simulated. The spacing of the pulses may in the range of ⅕ to ⅘ of twice the mean inter-fibre spacing.
The vibration may simulate the axial reciprocating movement of writing implement moving over paper by amplitude modulating the vibration. The amplitude may be randomised whereby the random height of the paper fibres is simulated. The amplitude may be defined by the scale factor which is the tactile equivalent of the volume control in audio. The scale factor may adjusted by the user to give a suitable level of stimulation. The amplitude may be in the range of ⅜ to ⅞ of the scale factor.
Two connected random sequences may thus be applied to generate the vibration, a first sequence to account for inter-fibre spacing and a second to account for the height of the fibres. Together the random sequences may simulate a synthetic paper structure for the touch screen.
A pencil writing on paper may also have its own resonances which contribute to the feel of the writing sensation. Accordingly, the stylus may be configured so that it is excited into beam resonance in response to vibration of the screen whereby the vibration simulates resonance of writing implement moving over paper.
The screen may be excited to produce a sound effect simulating that of writing implement writing on paper.
The vibration may include any type of vibration, including bending wave vibration, more specifically resonant bending wave vibration.
According to another aspect of the invention, there is provided apparatus comprising a touch sensitive screen having a face adapted to receive and record a user's hand-writing via a hand-held stylus, wherein the screen comprises a vibration exciter exciting the screen to vibrate so as to transmit the vibration to the stylus to simulate the sensation of a writing implement writing on paper as the stylus is moved over the face of the screen.
The vibration exciter may comprise means for applying a bending wave vibration to the screen face. The vibration exciter may be electro-mechanical and may comprise signal generating means for applying an electrical signal to the vibration exciter to cause the exciter to vibrate the screen.
The signal generating means may comprise means generating a signal comprising multiple pulses, e.g. phase locked loop module generating a stream of pulses having a mean pulse rate. The apparatus may comprise means for sensing the velocity of movement of the stylus over the screen face. The means for modulating the vibration may be configured to modulate the vibration according to the sensed velocity, for example, the means generating the pulsed signed may be configured to adjust the mean pulse rate to match the sensed velocity.
The apparatus may comprise means for period modulating and/or means for amplitude modulating the electrical signal. The period and/or amplitude modulation may be random and may be applied by a jitter module.
The signal generating means may generate a signal to cause the screen to radiate an acoustic component simulating that of a writing implement writing on paper, the acoustic signal being modulated by the velocity sensing means.
The signal generating means may further comprise a filter to reduce high-frequency content. In this way, a realistic feel may be provided with as little noise as possible.
The vibration exciter may be a moving coil transducer or a piezoelectric bending transducer, for example one comprising a resonant element as described e.g. in WO01/54450, incorporated herein by reference. The exciter may be inertial
The touch screen may be a panel-form member which is a bending wave device, for example, a resonant bending wave device. The touch screen may also be a loudspeaker wherein a second vibration exciter excites vibration which produces an acoustic output. For example, the touch screen may be a resonant bending wave mode loudspeaker as described in International Patent Application WO97/09842 which is incorporated by reference.
Contact by the stylus on the screen may be detected and/or tracked as described in International patent applications WO 01/48684, WO 03/005292 and/or WO 04/053781 to the present applicant. These International patent applications are hereincorporated by reference. Alternatively, other known methods may be used to receive and record or sense such contacts.
The invention further provides processor control code to implement the above-described methods, in particular on a data carrier such as a disk, CD- or DVD-ROM, programmed memory such as read-only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier. Code (and/or data) to implement embodiments of the invention may comprise source, object or executable code in a conventional programming language (interpreted or compiled) such as C, or assembly code, code for setting up or controlling an ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array), or code for a hardware description language such as Verilog (Trade Mark) or VHDL (Very high speed integrated circuit Hardware Description Language). As the skilled person will appreciate such code and/or data may be distributed between a plurality of coupled components in communication with one another.
BRIEF DESCRIPTION OF DRAWINGSThe invention is diagrammatically illustrated, by way of example, in the accompanying drawings in which:—
FIG. 1ais a plan view of a touch sensitive screen;
FIG. 1bis a block diagram of the system for use with the touch sensitive screen ofFIG. 1a;
FIG. 2 is a flow chart showing the interaction of the various components in the system ofFIG. 1b;
FIG. 3ashows the impulse responses of four signals which may be generated by the system ofFIG. 1b;
FIG. 3bshows the smoothed frequency spectra of the signals ofFIG. 3a;
FIG. 4 shows a 2-D model of pencil on paper;
FIG. 5ashows the trace history of the reactions at a hand holding the pencil inFIG. 4 during FE simulation;
FIG. 5bshows the trace history of the pencil tip inFIG. 4 during FE simulation;
FIG. 6aplots the surface fibre distribution in time (tc) and amplitude (h) for a randomised surface structure;
FIG. 6bis a smoothed version of the sampling spectrum for the structure ofFIG. 6a;
FIG. 6cshows the smoothed acceleration and force spectrum for the structure ofFIG. 6ameasured at 44.1 kHz;
FIG. 7aplots the modified haptic click signal against time;
FIG. 7bplots the spectrum of the modified haptic signal ofFIG. 7aand the target spectrum;
FIG. 8aplots an alternative modified haptic click signal against time;
FIG. 8bplots the spectrum of the modified haptic signal ofFIG. 8aand the target spectrum;
FIG. 9aplots the scaled variation in amplitude over time for four types of signals, and
FIG. 9bplots the frequency spectra of the generated randomised tactile signals corresponding to each of the impulse signals ofFIG. 9a.
DESCRIPTION OF EMBODIMENTSFIG. 1ashows a touchsensitive device10 comprising a touchsensitive screen12 on which astylus18 or pencil or similar writing instrument is being used to writetext20. One ormore sensors17 are used to detect a touch or movement of the stylus on the screen and anexciter16 is provided to generate a signal within the screen. The slip stick behaviour of pencil on paper is a key element of the writing sensation. Writing to touch sensitive surfaces with a stylus has improved sensation, appeal and user satisfaction when there is simulation of the pencil on paper writing characteristic.
FIG. 1bshows how the touchsensitive device10 may be adapted to use haptic methods and mechanical feedback technology to create such a simulation. The writing surface is mechanically energised under the pre-programmed control of the writing input from the stylus to simulate the feel of pencil on paper. As explained in more detail below, a model including the inherent mechanical behaviour of a pencil may be incorporated into the system but this would not be recognised or understood by a user who simply feels the result of the simulation.
As shown inFIG. 1b, the touchsensitive screen12 is connected to asensor16 which detects the nature of the contact from the stylus. The sensor is connected to PLL (phase locked loop)24 which is one of the key elements used to generate the algorithm to generate the desired sensation of pencil on paper. The elements of the algorithm may be implemented in hardware or software. The individual elements have the following description:
|
| Short | |
| Element | description | Function |
|
| PLL module |
| 24 | Phase-Locked | Provides a stream of pulses having a mean impulse |
| Loop | rate locked to the speed of writing as determined by |
| | software from the touch screen. |
| Jitter module 26 | Pulse | Randomly modifies the regular pulses into pulses |
| randomiser | of varying amplitude and separation according to |
| | statistical rules |
| Fs |
| 32 | Audio sample | Generates clock for audio samples (texture) |
| rate |
| Impulse | FIR filter | Impulse response that is triggered by the jittered |
| generator 28 | | pulses |
| Filter |
| 30 | Optional post- | Reduces high-frequency content to make quieter |
| filter |
|
The PLL and Jitter blocks24,26 run at the relatively slow rate set by the resulting pulse train. This should be below 150 Hz average rate, but the resolution of the jitter should be closer to the audio rate. The audio rate, Fs, is set as appropriate for the signal bandwidth required, but will almost certainly be no more than 11025 Hz (i.e. ¼ of the standard CD audio rate). Where multiple audio channels are used, these signals may be multiplexed in a single channel. Thus where four audio channels are used, and instead of having four channels at 11025 Hz, it would be possible to have one audio channel of 44100 Hz, which would be time-domain multiplexed (TDM) into four haptic channels. The output from thefilter30 is sent to anexciter17 which generates the signal in the screen to simulate the desired feel.
FIG. 2 is a flow chart showing the steps implemented by each block in the system. The sensor, which may be implemented as software on the touch sensitive device, is monitoring the touch sensitive screen. When a “touch” is detected as at step S10, it requests a “haptic click” (step S12) from the signal generator orimpulse generator28 and the impulse generator generates a pulse which provides a “click” sensation at step S28. Screen surfaces are generally softish and quite well damped. Thus the stylus impact is rather quiet. The “click” may or may not provide an audible feedback depending on the proposed use for the touch screen. When a “drag” is detected as at step S14, the sensor monitors the changes in position and calculates the drag rate, or velocity as at step S16. This velocity data is then fed to thePLL module24 which produces a stream of pulses. When the stylus lifts, the sensor detects no touch as at step S30 and sends instructions to the PLL to stop (step S32). At step S34, the PLL stops generating any commands.
The pulses used for the haptic click sensation may be the same as the pulses which form the basis of the writing simulation but are not necessarily the same. For example, in the suggested implementation below, they are different. The spectra of the different signals are all chosen to match the sensitivity of the finger-tips to vibration.
The function of thePLL module24 is described as follows. At step S18, on receipt of velocity information from the sensor, the PLL module provides a steady stream of pulses which act as start commands to the Jitter module (step S20). The PLL module measures the mean error between the rate of this stream (the actual rate) and the incoming velocity estimates (the target rate) and adjusts the actual rate to match the target. The PLL module should provide memory and some filtering, so that in the presence of noisy or missing estimates there is still a regular output. In summary,
Inputs: Start/Stop, Velocity (target rate)
Outputs: Pulses at target rate
Function: Measure mean error between target and actual rates, and adjust appropriately.
Notes: Target pulse frequency=drag velocity/inter-fibre spacing
The function of theJitter module26, which provides the synthetic paper structure to the texture, is described as follows. At step S20, theJitter module26 assigns a random amplitude to the pulse, and then at step S22, delays the pulse for a random duration before passing it on to the signal orimpulse generator28 at step S24. The statistics of the amplitude distribution are unconstrained by the pulse rate, but the average delay should be ½ the inter-pulse spacing, which means that some knowledge of the pulse rate is required. In summary,
Inputs: Synchronisation (start), mean rate
Output: Amplitude, delayed synch
Function: Effectively, a programmable mono-stable with additional output
The Beta distribution may be used for the random signals. This sets the correct mean and variance for both jitter and amplitude data. The values chosen “by inspection” seem close to optimal—other values tested produce less realistic sensations. Generating Beta statistics by software or hardware may be difficult, so pragmatically it is suggested to use a simple uniform distribution (i.e. rectangular distribution) of the same mean and variance. The rectangular distribution is by far the simplest to generate and is as good as, or almost as good as the most complicated version
The standard way of generating a uniform distribution of samples by software or hardware is the PRBS, or pseudo-random bit sequence. This is produced by a shift-register with feed-back occurring on certain bit patterns, or masks. The choice of mask affects the repeat length of the sequence and the “whiteness” of the noise.
A standard method for generating a specified statistical distribution from the uniform distribution is the so-called “Inverse transform sampling” method (see. It maps noise samples from a uniform distribution on (0, 1] into samples having the specified statistical distribution. For this method, it is necessary to know the inverse of the cumulative density function. A simple example follows;
Assume a target uniform distribution on (a, b]; the probability density function (PDF) is
The cumulative density function (CDF) is obtained by integrating the PDF. The inverse CDF is a function that inverts the CDF, i.e. CDF−1(CDF(x))=x. From the PDF, it is also possible to calculate the mean and standard deviation. Fixing any two different statistical properties allows a and b to be determined.
Unfortunately, the inverse CDF in closed form is not known for the Beta distribution, hence this method does not help. However, we may look at similar distributions which do have a known inverse CDF, and use these instead. The simplest approximation is the triangular distribution, so called because its PDF is in the shape of a triangle. In its most general form, it is controlled by three variables; a, b and c. In a simplified form, a=0, b=1 and 0<=c<=1 and
The closest approximation to the Beta distribution is the Kumaraswamy distribution. It is controlled by two variables, a and b (real and positive), and is bound on [0,1] with
Each of the three distributions highlighted above may be used to generate randomness to simulate texture. Each sample requires two sets of random data—the spacing and the amplitude. In principle, these two sets could be completely independent, but testing suggests that they should be generated from the same uniform distribution. (This does make some sense, as a long gap will be associated with a large amplitude and a small gap with a small amplitude, thus making the signal energy more uniform).
|
| Distribution | Parameters for spacing | Parameters for amplitude |
|
| Kumaraswamy | a = 3, b = 5 | a = 5, b = 3 |
| Triangular [0, 1] | a = 0, b = 1, c = 0.5 | a = 0, b = 1, c = 0.75 |
| Rectangular | a = 0.207, b = 0.793 | a = 0.375, b = 0.875 |
|
Plotting the PDF together with the spectra for each distribution suggests that the “odd man out” is the triangular distribution. The main differences are in the 1-5 Hz range, and to a lesser extent at the 50 Hz mean repetition rate. Allowing the triangular distribution to cover the full range is not best. The rectangular distribution is as good as, or almost as good as the most complicated version (Kumaraswamy) and thus is the most logical choice since it is by far the simplest to generate.
The function of theimpulse generator28, which provides spectral properties of the texture, is described as follows. On receipt of a signal from thejitter module26, theimpulse generator28 outputs a signal in the form of a stream of sample values (step S26). If another input is received before the stream is complete, then a new stream begins. The amplitude of the output signal is modified according to data received from thejitter module26. In summary,
Inputs: Synchronisation (start), amplitude
Output: Sequence of haptic “audio” samples
Function: Filter the pulse train into an analogue signal
This function may be selected from a number of mathematical models and fed appropriate (adjustable) parameters. Using these functions, arbitrary non-integer roll-off rates are possible as explained below. The impulse generator comprises a FIR (finite impulse response) filter to match the haptic signal output from theimpulse generator28 to the sensitivity of the fingers to touch. The filter may reduce the high-frequency content to a reasonable level.
Theoptional filter30 may be provided to reduce any remaining high-frequency breakthrough from the impulse generator. It is envisaged that this will be a very simple recursive, 1storder stage filter with coefficients chosen to avoid multiplication; e.g. 2̂(−n), 1-2̂(−n). If this proves insufficient, a 2ndorder filter could be used instead. The cut-off frequency would be around, say, 500 Hz-600 Hz.
FIG. 3ashows the impulse responses of four signals from the impulse generator incorporating a filter, each with a cut-off at or near 300 Hz. Filters universally have integer order roll-off; for example the R-C network of electronics has a first-order response, while the L-C-R network may have a second-order response. An n-th order roll-off on a bode-plot is represented by a slope of 6×n dB per octave or 20×n dB per decade.
Many natural phenomena have “fractal” characteristics—that is, their dimensionality is non-integer. A simple and well known example is “1/f noise” which has a ½ order roll-off, or a 3 dB per octave slope. In order to produce a signal with the right “feel” and “sound”, it was found useful to have the ability to assign a fully variable roll-off to the signal. That is, its level falls as frequencŷp or its power as frequencŷ2p.
It is known from Laplace transform theory that there is a direct relationship between the impulse response and its transfer function; and in particular between their rates of decay (see e.g. Abramowitz & Stegun, “Handbook of mathematical functions”, article 29.3.7)
All these transfer functions are infinite at DC, so not particularly useful in practice. There are, however, more useful transform pairs that allow synthesis in either domain.
Thetype 1 signal shown inFIG. 3ais unipolar and it was found that a rate of approximately 2.25 to 2.5 gave the best feel/sound. Such a signal may be generated by using a cascaded first-order roll-off filter with unity gain pass-band. Filters of this type have the transfer function
For integer p, it is easy to see how this represents a cascade of p, first-order low-pass filters. Each filter has a cut-off frequency of ωc=a radians/sec. The roll-off rate is p-th order, i.e. 6p dB/octave. We wish to generalise this to the case when p is not an integer.
From a table of Laplace transforms, or a program that calculates them symbolically, we find (see e.g. Abramowitz & Stegun, “Handbook of mathematical functions”, article 29.3.11)
The impulse response is unipolar, and may be considered as a generalisation of the exponential decay.
The filter may be a classic first order filter with p=1. This should be familiar to anyone involved in simple systems design.
Alternatively, the filter may be a half-order filter with p=½. This filter would turn white noise into pink noise above the cut-off
Notice the symmetrical nature of this pair—in both the time and the frequency domains, the power-law is the reciprocal square root. It is this symmetrical nature which is at the heart of the explanation of 1/f noise (it is a quantum-mechanical phenomenon).
Thetype 2 signal shown inFIG. 3ais bipolar and it was found that a rate of approximately 1.75 to 2.0 gave the best feel/sound. Such a signal may be generated by using a cascade second-order roll-off filter with unity gain pass-band. Filters of this type have the transfer function
For integer p, it is easy to see how this represents a cascade of p, second-order low-pass filters. Each filter has a cut-off frequency of ωc=sqrt(a2+b2) radians/sec, and a Q of ωc/2a. The roll-off rate is 2p-th order, i.e. 12p dB/octave. Again, we wish to generalise this to the case when p is not an integer.
From a table of Laplace transforms, or a program that calculates them symbolically, we find (see e.g. Abramowitz & Stegun, “Handbook of mathematical functions”, article 29.3.57 &29.2.12)
where Jpis a Bessel function of order p.
The impulse response is bipolar, and may be considered as a generalisation of the damped sinusoid.
The filter may be a classic second-order filter with p=1. This classic filter transforms to the familiar damped sinusoid in the time domain.
Alternatively, the filter may be first-order filter with a Q and p=½.
The time-domain response is simply a damped, zeroth order Bessel function. For large t, the trigonometric approximation may be used (see e.g. Abramowitz & Stegun, “Handbook of mathematical functions”, article 9.2.1), i.e.
which shows that this is essentially an amplitude modulated version of the ½-order filter of the half order filter described above.
Neithertype 1 nortype 2 signals have the colouration in sound produced by a pencil. Thetype 6 signal was produced by convolving thetype 1 signal with a similar signal of higher frequency. In this case the convolution has a closed form. The “Type 8” signal was produced by directly convolving theType 2 signal with a similar signal of higher frequency, but lower Q.
The spectra (i.e. sound output against frequency) of the corresponding texture signals for a mean pulse rate of 72.6 Hz are shown inFIG. 3b. The modified spectra diverge from the original spectra from about 800 Hz, and the signals are noticeably quieter in “silent mode”.
An alternative signal (type 3) may be generated using a filter having cascaded pairs of first-order sections with two, non-equal turning points. Filters of this type have the transfer function
where Ipis a modified Bessel function (see e.g. Abramowitz & Stegun, “Handbook of mathematical functions”, article 29.3.50)
One example is a cascaded first-order filter with p=1, where
As described above, the target pulse frequency of the PLL module is equal to drag velocity/inter-fibre spacing. This equation was derived by generating a simple 2-D model of the paper surface and pencil interaction to understand the fundamental process. Paper is typically manufactured using a “web” of cellulose fibres of 2-5 mm length and a fine clay coating (particles ˜0.1 um). The resulting surface has ridges at many distance scales, but the major ones are in the range 0.1 mm to 0.5 mm, depending on the paper.
Pencils are typically manufactured from a soft-wood surround (Larch or Cedar) around a “lead”. The lead is actually a ceramic formed as a co-fired mixture of graphite and clay, which is usually dipped in a polymer. The typical “sound” of a pencil is a function of the hardness of the lead and the beam resonances of the shaft. A typical series of modes might be, say; 350 Hz, 900 Hz, 2.0 kHz, 3.3 kHz, etc. The values will, of course, depend on the length of the pencil.
The mechanism, then, may be described as the stick-slip motion of the pencil over the rough paper surface, with the sound being modified by the resonances of the pencil.
FIG. 4 shows the simple 2-D model of the paper surface and pencil interaction in which the paper is modelled with semi-circular ridges of equal height spaced at a regular 0.15 mm pitch. The pencil tip, and a short section of the shaft are modelled explicitly, and the hand-arm system is modelled by lumped parameters.
The simulation occurs in two phases, each lasting 1 second. In the first phase, the pencil in lowered onto the paper surface, and a writing force on 1 N is applied. In the second phase, the pencil is dragged at 1 mm/s along the paper surface. The resulting forces on the hand and motions of the pencil tip may be seen inFIG. 5aandFIG. 5brespectively. The “cogging” seen in both sets of traces is in part due to the discrete nature of the model—the nodes. In real life, other texture details would be likely to cause similar effects.
It is plain to see that the periodicity of the signal is directly obtained from the drag rate and the inter-fibre spacing, i.e. the frequency=drag rate/inter-fibre spacing.
The precise wave shape is set by the degree of control applied to the pencil. In this simulation, the velocity at the hand is constant, and the tip follows appropriately. The opposite extreme would be to apply a constant force sufficient to overcome the average dynamic friction. In this case, the velocity would be non-uniform.
FIG. 6ashows a more realistic model of the paper surface. Statistical distributions of fibre distances and heights have been used to generate the depicted randomised surface structure. The beta distribution was chosen to generate the model for two main reasons; it is bounded on [0,1] (unlike the boundless normal distribution), and with two independent parameters it is possible to control two of the main statistical parameters (the mean, the mode, and the variance). At this stage, the exact parameters of the statistical distributions are completely arbitrary.
From the drag rate and the mean fibre separation, a cut-off frequency (fc) is calculated. A smoothed version of the spectrum generated by the model ofFIG. 5ais seen inFIG. 5b, where fc is seen to feature strongly.
The sampling data is convolved with a leaky integrator. In the measurements, the time-constant corresponded to 40 rad/s, but this merely controls the amount of very low frequency information in the resulting signal. When the signal is played over the laptop loudspeaker, it sounds like a finger-nail being dragged over paper.
FIG. 6cshows the force spectra for measurements obtained from a custom writing tool. The tool has interchangeable tips, and is fitted with a force gauge and an accelerometer, both connected to a charge amplifier (ENDEVCO Model 133). Neither gauges are fully calibrated, but the force gauge sensitivity is known to be close to 1 V/N. Data was acquired via a NI PCI-4452 data acquisition card. The spectrum of the measured signal is strongly affected by the speed of writing. The essentially low-pass spectra has cut-off frequencies that are directly proportional to the speed of writing. The bandwidth was roughly established by tracing over graph paper and using a stop watch to be about 50-60 Hz at 1 inch/sec writing rate for normal paper. The bandwidth was different for different surfaces.
In the example ofFIG. 6c, the writing speed is about 2 in/s and the data is sampled at 44.1 kHz. The force results measure the forces applied between the pencil tip and the shaft of the writing tool. The acceleration results measure the resulting motion of the pencil. From these measurements, it is possible to derive the effective impedance of the system by using the relation
Zm=F/v=j.2.π.f.F/a
where F=force, v=velocity, a=acceleration, f=frequency.
Bearing in mind that the accelerometer is uncalibrated, the effective impedance is like the combination of a 0.4 kg mass and a 100 Ns/m dashpot. This is, in effect, acting as a lossy integrator with a corner frequency of about 40 rad/s.
As is clearly seen, the measured force spectra ofFIG. 6ccorresponds to the simulated spectra ofFIG. 6b. The signal ofFIG. 6bis then filtered to apply boosts at frequencies corresponding to modes in a pencil. The new signal spectrum is reminiscent of the accelerometer spectra seen inFIG. 6c, which has some resonances in the acceleration trace due to modes in the writing tool. When the signal is played over the laptop loudspeaker, it sounds much more like a pencil being dragged over paper.
As shown inFIG. 2, if the sensor detects a touch, a “click” signal is requested. One such signal is a frequency and amplitude modulated cosine function, i.e.
h(t) is the product of g(t)—the envelope function and fm(t)—a frequency modulating function.
where g(t)=α·t·e1−α·t, which has a maximum value of unity at time t=1/α.,
α is a decay rate of the envelope
β is a parameter controlling the rate of frequency modulation, and
ωc is the angular frequency at time t=0.
This signal may also be used as the “type 3” signal mentioned above which is used to generate handwriting texture when a drag is detected.
This cosine function signal was found to be more effective than its sine-based counterpart and further improvements are investigated below by adding a new variable φ was added to the function. This amended function is then optimally fitted to the target haptic spectrum.
It was observed that for the best signals, the peak of the envelope at t=1/α corresponds with a peak in the cosine function. In this case, we can set φ directly. Using elementary calculus confirms that the correct value sets the argument of the cosine to 0 at t=1/α, thus:
as before h(t) is the product of g(t)—the envelope function and fm(t)—a frequency modulating function but in this case
The optimal values for the three variables—α=532.5, β=83.85, ωc=3133—are slightly different from those of the original function. In both cases, the parameters are chosen to match a spectral template which shows the relative sensitivity of the finger-tips to vibration as a function of the vibration frequency. The aim is to put the most energy in the frequency range at which the fingers are most sensitive.
FIG. 7ashows the variation in time for the envelope function g(t) and the frequency modulation function fm(t) of the signal.FIG. 7aalso shows how α is derived. The timing of the first non-zero point of intersection is equivalent to 1/α.FIG. 7bshows the target spectrum (dotted line) which gives the desired sensation to a user and the actual spectrum of the modified function detailed above. There is a good match between the two spectra. Other values of the parameters, or even other signals, may be used to achieve similar aims. The signal ofFIGS. 8aand8bis just such a signal—its parameter values are also chosen to match a target spectrum.
FIGS. 8aand8billustrate an alternative signal having its basis starting in the frequency domain and expressed as.
h(t)=√{square root over (2α)}t exp(0.5−αt2)cos(ωct−φ)
Where a=96505=310.72, b=2011, φ=5.181 rad=297°.
FIG. 8ashows that the sensitivity curve (fm(t)) resembles a normal distribution curve. It is also known that this curve (fm(t)) is its own Fourier transform, so the time domain signal should be similar.FIG. 8aalso shows how α and ωc are calculated. α and ωc are calculated as described above. As shown inFIG. 8b, this alternative does not provide as good a fit to the target spectrum as the signal ofFIG. 7abut has the main advantage that the high-frequency end of its spectrum falls faster.
Comparing the two signals, for the same peak amplitude, the alternative signal appears to be 25% more energy efficient. However, some testing has shown that 15%-20% higher amplitude is needed to get the same sensation, thereby eliminating the advantage. There is less high-frequency energy in the alternative signal, which may well help with making it more silent. In short, there is not much to choose between them. The alternative signal is illustrated inFIGS. 8aand8bas “type 9” signal.
FIGS. 9aand9bcompare four signals for effectiveness as texture waveforms. The signals are adjusted in amplitude to give the same degree of sensation but use different amounts of power to achieve the sensation.
|
| | Integrated |
| Type | Description | rms level | |
|
| 3 | Original haptic click with phase optimisation of | 0.251 |
| FIGS. 7a and7b |
| 6 | Unipolar, dual slope generalised impulse, from type 1 - | 0.406 |
| see FIG.3a |
| 8 | Bipolar, dual slope generalised impulse, from type 2 - | 0.201 |
| see FIG.3a |
| 9 | Alternative haptic click of FIGS. 8a and 8b | 0.237 |
|
Thetype 8 signal is the most energy efficient, with the new haptic click (type 9) coming a close second.Type 6 is the least efficient.
The quicker decay of thetype 9 signal, when compared to the otherwisesimilar type 3 signal, improves the feel considerably.Type 9 is the quietest in “silent mode” in the absence of additional filtering.
The small change to the existingtype 3 click described in relation toFIGS. 7aand7bis worth doing—it costs nothing, and makes an improvement. Whether or not it is worth changing to the alternative signal (type 9) will depend on subjective assessment.
The signal type currently suggested (type 8) is a minor adjustment to thetype 2 signal previously chosen. It is still the most efficient, although not by much. It is worth comparing it to thenew type 9 signal.