The invention relates to a method for determining the location of an impact on a surface of an object based on the analysis of an acoustic signal generated by the impact.
Such a method is known from WO 2006/108443, disclosing a method for determining the location of an impact on a surface comprising N transducers, transmitting a sensed signal si(t) to a processing unit, wherein the method comprises the steps of: a) computing P inter-correlation products out of the Fourier transforms of the sensed signals of the N different transducers, b) calculating the inverse Fourier transforms p′ij (u) of the P inter-correlation products, c) computing for each area k of the surface of the object the Pk (u)=Σpij(u−τijk) and d) finding the area k0 for which the characterizing value of Pk0 (u) is maximum among the characterizing values Pk(u) of all areas k. Here τijk corresponds to the time difference of arrival of the signal sensed by two different transducers for each area k.
The localization method is thus based on the presence of a pronounced peak in the sum of the cross-correlation functions at the position where the impact occurred. Nevertheless, under certain circumstances, the determination of the impact location is falsified by spurious contributions arising from reflections of the acoustic signal in the boarder region of the object or some other discontinuities in the object, like a screw, crack or a hole.
It has been proposed to overcome this problem by cutting off the signals after a predetermined time interval or by using a low pass filter. The results obtained by the proposed solutions are, nevertheless, not satisfying. In cases where a clear separation between sensed signal received without reflections and reflected sensed signal is not possible, which, for example, can occurs in case of signal dispersion due to the properties of the material, the cutting off leads to an amended signal, from which the localization accuracy of the impact is also limited.
It is therefore the object of the present invention to provide a method to treat the sensed signals to better take into account spurious contributions, like contributions from reflections at the boarder of the object.
This object is achieved with the method according to claim 1. By weighting the acoustic signal, it becomes possible to keep the entire information of the signal while, at the same time, amplifying the contribution from the sensed signal which is directly received from the location of the impact with respect to contributions that may arise from reflections at the boarder of the object and which typically arrive later. As a consequence the determination of the location of the impact becomes more stable and precise In this context, it is understood that the acoustic signal which is treated is not necessarily the signal immediately sensed by transducers but can already have been treated, e.g. by a analogue-digital transformation.
Preferably the weighting is carried out in the time domain, for which the best results have been achieved in identifying the location of an impact.
According to a preferred embodiment, the signal treatment step can comprise the step of identifying a first wave front of the acoustic signal and a step of applying a damping window. The acoustic signal spreads out over the object after an impact and is sensed by a certain number of transforming means, e.g. transducers. As the first reflected contribution of a signal can only be sensed after the first wave front of the acoustic signal has already reached the transducer in question—due to geometric reasons—the identification of the first wave front is a robust parameter to identify the part of the signal which should have a higher weight factor than the rest of the sensed signal and which is taken into account by the step of applying the damping window. In this context the term “first wave front” means the part of the signal which reaches the transforming means without spurious contributions from reflections.
Preferably, the step of identifying a first wave front can comprise identifying the maximum signal amplitude. The maximum signal amplitude is a parameter which is easily detectable, therefore does not require extensive computational power and, at the same time, is a robust starting parameter for finding out the beginning of the acoustic signal. Instead of the maximum amplitude alternative parameters of the sensed acoustic signal could be the power of the signal, the maximum peak to peak amplitude or the energy of the signal. Prior to identify the signal amplitude a further step of signal rectification and smoothing can be carried out to facilitate the data analysis.
According to an advantageous embodiment, the step of identifying the first wave front furthermore comprises determining the arrival of the first wave front as the time when the acoustic signal passes a threshold value which is based on the maximum signal amplitude. For example, the arrival of the first wave front of the acoustic signal can be attributed to the time at which a certain percentage of the maximum amplitude is reached.
Preferably, the step of applying a damping window can comprise using multiplying the acoustic signal with an exponential damping window:
wherein ti corresponds to the time of arrival of the first wave front and Δt, a time delay and T being the exponential time constant.
It appeared that best results in the data analysis where achieved for such an exponential damping window wherein the term Δt (Δt>0) is a time delay which shifts the starting of the damping window preferably to an earlier time to further optimize the result. Depending on the application, Δt can be a fixed value or adapted, e.g. on initialization of the device.
Advantageously, the acoustic signal can be sensed by at least two transforming means, and wherein the first wave front is identified for one, in particular only one, transforming means such that the same time origin of the damping window is applied for all transforming means. By doing so the computational effort can be kept low. Best results were obtained using the first wave front of the first sensed signal. In this context the first sensed signal is identified by using a fixed threshold on the signal amplitude of the N channels.
According to a preferred embodiment, the acoustic signal can be sensed by at least two transforming means and the weighting of the acoustic signal can be carried out using intercorrelation products of the signals sensed by the at least two transforming means. Thus, unlike above, not the directly sensed signal is weighted but the inter-correlations which are preferably used to determine the localization of an impact. Again, like for the method above the negative impact of reflections can be suppressed without losing information from the direct signal. To even further reduce the impact of spurious contributions an inventive variant consists in weighting the sensed signals in a first step like disclosed above, and weighting the intercorrelation products in a second step.
Advantageously, the step of identifying a first wave front can comprise determining the maximum value of the inter-correlation product. As an alternative, one could also base the analysis on the maximum square amplitude, the maximum peak to peak amplitude, the root mean square etc.
These are robust parameters to identify, as a first approximation, the time difference of arrival of the signal between the two transducers for which the inter-correlation has been determined.
Preferably, the step of applying a damping window can comprise applying a symmetrical window function, in particular a Gaussian, Hamming, Hanning or Blackman window to enhance the contribution of the direct signal and to dampen the contribution of the reflections without nevertheless completely losing the content.
According to an advantageous variant, the method can further comprise applying low and/or high pass filtering to the acoustic signal which leads to a further optimization of the data from which the impact location can be derived.
The invention furthermore relates to a computer program product comprising one or more computer readable media having computer-executable instructions for performing the steps of the method of one of the preceding claims.
The object of the invention is also achieved with the device according to claim 13 with which the same advantageous effects as for the method can be achieved.
Advantageous embodiments of the invention will be described in the following in conjunction with the enclosed Figures:
The interaction means 3 is a transparent, semi-transparent or opaque panel which is flat or curved and can be made out of any suitable material, such as leather, latex, silicon, plastic, glass, metal, wood, plasterboard or composite material. It can be rigid or soft as long as acoustic signals can travel therein or thereon. The interaction means 3 provides a surface for allowing an interaction between a user and the device 1. In this embodiment, the user typically provides impacts on the surface side 9 which is opposite to the transforming means, nevertheless, the transforming means 5a-5d could also be arranged on the side where the impacts occur.
In
The transforming means 5a-5d transmit the sensed signal to the signal processing means 7 which is configured to analyse the sensed signal such that the impact location 11 can be determined. Furthermore, the processing means 7 can be configured to output the location 11 of the impact towards an additional device or trigger an action linked to the location on the object where the impact occurred.
The signal processing means 7 comprises a signal conditioning unit to adapt the sensed signals coming from the transforming means 5a-5d, for example, by filtering it, amplifying it and/or converting it into a digital signal. This signal is then further treated by the impact location unit which processes the digital signals resulting from an impact on the interaction plate 3 to determine the location (e.g. the x, y coordinates) of this impact on the interaction plate 3.
One way to determine the position of the impact will now be described:
First of all, following the impact, the four acoustic transducers 5a-5d provide sensed signals si(t), with i from 1-4, which are then turned into discrete sensed signals si(n) by the signal processing means 7 (the signal conditioning unit). Afterwards, a Fourier transform is carried out to obtain Si(w) for each forming means 5a-5d. The signal conditioning unit can eventually also take into account dispersion effects. Then a cross-correlation calculation is carried out: Pij (w)=Si(w)Sj(w)* on all possible combinations. The cross-correlations are re-transformed into the time domain using an inverse Fourier transform. In the next step, the various cross-correlation products are summed up pk(u)=Σijpij(u−τijk) wherein τijk corresponds to the time difference of arrival value for a given position k on the surface of the interaction plate 3. The time difference of arrival value τijk corresponds to difference in traveling time of the acoustic signal generated by an impact at location k with respect to the position of the transforming means i and j among the means 5a-5d. The value is either theoretically determined or at the initialization or calibration of the device 1.
Then to identify the location of impact 11, the energy maximum of pk(u) is looked for. Instead of the energy, other parameters of the cross-correlation sum can also be used, for example, the maximum value, the power or maximal square amplitude, the maximal peak to peak amplitude, the root means square etc. Further details about this method can be found in the abovementioned prior art document.
In practice, the situation is, however, deteriorated by the presence of spurious contributions to the sensed signals, like the presence of reflections at the boarder of the interaction plate 3. The upper part of
Carrying out the method of determining the location of an impact as described above on the sensed signal comprising the spurious contributions, a result as illustrated in
To overcome this problem, the method according to the invention proposes to carry out a weighting of the sensed acoustic signals so that the contributions at the beginning have a higher impact than the signal at the end without, nevertheless, completely removing the tail of the signal. The data treatment is carried out in the signal processing means 7 either in the analogue domain, thus inside the signal conditioning unit, prior to carrying out the localization routine or in the digital domain.
This inventive signal treatment step comprises a first step of identifying a first wave front of the acoustic signal and a second step of applying a damping window. The first wave front identification is based on an estimation of the time of arrivals of the signal at each one of the transforming means 5a-5d.
The time of arrival estimation in this embodiment is achieved by, first of all, carrying out a full wave rectification and a subsequent smoothing routine by for example applying a first order low-pass filtering on the fully rectified signal. Once the signal envelope has been estimated, the maximum amplitude aimax is determined for each one of the transforming means 5a-5d.
The maximum values do not necessarily correspond to the time of arrival of the first wave front, however, it has been found out that it corresponds to a robust parameter from which the time of arrival can be estimated. For this purpose it is determined when the signal first reaches a given percentage of this maximum level. This point in time is then considered to represent the time of arrival of the acoustic signal at the transforming means. Thus, the time of arrival corresponds to the time ni (in a discrete signal regime (n)) for which the signal reaches α×aimax with 0<×<1. Best results have been achieved for a being in range of 0.15 to 0.20, preferably 0.15. The described situation is illustrated in
The second step of applying a damping window then consists in multiplying the sensed signals with a suitable damping window, preferably an exponential window like illustrated in
Here Δt corresponds to a positive value and T is the exponential time constant. For a discrete time index the equation becomes: w(n)=exp((ni−Δn−n)/N). Where the discrete exponential time constant N=T/Ts and where Ts is the sampling period and T the exponential time constant.
As can be seen from
According to a variant of this embodiment, it is possible to limit the time of arrival determination to only one of the transforming means, in particular to the one where the signal is observed first. By doing so the computational effort can be limited and the damping window can start at the same time ti or ti−Δt for all sensed signals.
According to a further variant, the weighting formula can also be:
In this case the beginning of the sensed signals is not cancelled.
The exponential damping window is only one inventive example, other kinds of damping windows can also be used. Indeed, any kind of damping window can be used and which is either non-symmetrical, e.g. linear, or symmetrical, e.g. Gaussian, Blackman, Hanning or Hamming. In case of a symmetrical window this could be centered around ti−Δt. This would prevent from inadvertently cancelling the first wave front on the sensed signal.
According to a second embodiment of the invention, the method for weighting the acoustic signal is carried out on the inter-correlation product of the signals sensed by the transforming means 5a-5d as described above. In the second embodiment of the inventive method, one thus identifies the maximum value of the inter-correlation products and a damping window preferably a symmetrical one, like a Gaussian, Hamming, Hanning or Blackman window, is used to enhance the contribution of the cross-correlation which is attributed to direct signal and to damp the contribution of the signals arising from reflections.
with σ=1e−2 and N=2048 at a sampling frequency of 44 kHz.
The first and second embodiments of the invention can also be combined to further suppress spurious contributions.
The first and second embodiments can further be improved by applying high and/or low pass filters to remove spurious contributions to the signals, e.g. arising from the power supply etc.
With the first and second embodiments according to the invention, it becomes possible to suppress, to a large extent, the negative impact of spurious contributions like arising from reflections at the boarder of the interaction means without, nevertheless, losing information necessary to determine the location of the impact.
Number | Date | Country | Kind |
---|---|---|---|
08290430.1 | May 2008 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2009/002903 | 4/21/2009 | WO | 00 | 6/27/2011 |